Forums » General
EQ has a different money system though. In EQ you carry money with you. In Vendetta everything is in a bank account and money gets wired around. I'm not even sure they have hard currency in the Vendetta universe.
Look, I'm not one of the devs working on Vendetta, but I am a professional programmer. And I can safely say that using 64 bits for the cash won't make the game any slower. It's just one more change the devs are probably planning out of thousands.
I'm also a programmer (even a professional one too! :)) and what BountyBot is saying is correct. And FYI, I believe that the ANSI C Spec has defined a long long as a 64 bit number. (I COULD be wrong on that though.) If I am wrong, well then, GCC has defined a long long as a 64 bit number. (Assuming that your long is a 32 bit #.)
hmm I always presumed that an int int was a 32 bit number, and long long was a 64bit.
/me notices that im doing exactly the same as furry, Stop talking constantly with 2 words, tsss long long :D
cheers
/me notices that im doing exactly the same as furry, Stop talking constantly with 2 words, tsss long long :D
cheers
What about network stuff? I mean, it must send a packet of -JUST- money stuff, mustn't it, since you could theoretically do a money transaction without doing anything else.
Visual Studio has an _int64 for 64-bit numbers (e.g. for compatibility with upcoming Win64 stuff). A 64-bit value for the money would make no performance difference at all - it's only *one* value. It's not like the entire game is in 64 bit mode now.
Icarus, you are correct, AFAIR, the C spec never DID SPECIFICALLY define a size of an int other than as you say it should be the wordsize of the machine. However, AFAIR, the C spec DID define the size of a char, short, long, and in the last spec (again AFAIR) long long.
RRawk! Pieces of eight! Pieces of eight! Raaawk!
I like the designation idea! Makeit like a real monetary system. Of course, a simpler way would be to make it possible to invest your money in Gold or something like that, and then store it in a ship. You wouldn't want to get killed carrying a bunch of it, but you could sell bars of platinum for like 1 bil or something.
It's simple!! make widgits that cost 1 million, 100 million, ect, and sell for that much all over! (well, actualy, this would lead to more game play, because certain nations wouldn't buy anotehr nation's creds.)
/me still wants nation widgets to be the highest profit widgets. Serco widgets should sell for EXTREME cash in sectors 1 and 3, and vice versa.
hehe, mondo pirating on noobs!
Investments sound like a good idea. I would like to invest in a n00b and make a dividend off all his trading runs. Yes. That would be sweet. Or invest in the Syndicate and recieve portions of all their ill gotten booty.
and that's where you can go with the representative cargo idea. It also gets around the cash limit... heh...well not. You could only have 4.xxx billion of the other thing...so 4.xx billion squared would be the cash limit. I still think it's too small. wait...no its not.
Weird that these kind of bugs still exist. One of the first things they teach you in first year informatics at my university is how to avoid exactly these kind of bugs:
if ((MAX_AMOUNT - $increment) < $current_amount)
{
// handle error
}
else
{
// continue transaction
}
Maybe such a check could be useful in the bankbot software?
if ((MAX_AMOUNT - $increment) < $current_amount)
{
// handle error
}
else
{
// continue transaction
}
Maybe such a check could be useful in the bankbot software?
Errr... The bug you think is a bug is not a bug.
Say you've got 8 bits (1 byte) available for storing a number. The only numbers you can represent are 0-255. It looks like money is stored currently in a long long, which is a big number... But it looks like it's not big enough for people exploiting bugs. For me, that doesn't say that it needs increased.
Cheers,
dibblah.
Say you've got 8 bits (1 byte) available for storing a number. The only numbers you can represent are 0-255. It looks like money is stored currently in a long long, which is a big number... But it looks like it's not big enough for people exploiting bugs. For me, that doesn't say that it needs increased.
Cheers,
dibblah.
Errr... The bug you think is a bug is not a bug.
Say you've got 8 bits (1 byte) available for storing a number. The only numbers you can represent are 0-255. It looks like money is stored currently in a long long, which is a big number... But it looks like it's not big enough for people exploiting bugs. For me, that doesn't say that it needs increased.
Cheers,
dibblah.
Say you've got 8 bits (1 byte) available for storing a number. The only numbers you can represent are 0-255. It looks like money is stored currently in a long long, which is a big number... But it looks like it's not big enough for people exploiting bugs. For me, that doesn't say that it needs increased.
Cheers,
dibblah.