Value Limit for a Character - MutantWizard - 02-10-2017
Read somewhere here that there is a value limit on a character / account. If I remember correctly it was said to be 2 billion and that exceeding it corrupts the account.
- - Is the limit for a character or an account?
- - Is the 2 billion the correct amount?
If all of the above is correct that raises a question.
- Battleship 530 mil (have)
- Armour 800 mil (have)
- Turrets and other weapons almost 50 mil (have)
- Battleship Scanner 800 mil + (not yet)
- Total so far almost 2.2 billion
- What about all the other stuff like cloak, jump drive, docking bays? how do I buy any of this other stuff without corrupting the character?
RE: Value Limit for a Character - JorgeRyan - 02-10-2017
Once bought an item/ships value is about halved, so you have to keep that in consideration as well. Also last I checked BS scanners were 250mil not 800mil, which keeps your total down a bit more. The cutoff value is a tad over 2 billion I think but I don't know and exact number
RE: Value Limit for a Character - JorgeRyan - 02-10-2017
//double post plz ignore
RE: Value Limit for a Character - diamond1 - 02-10-2017
it's around 2.17 billion i do believe, equipment costs don't count. just the credits.
RE: Value Limit for a Character - MutantWizard - 02-10-2017
Thanks, either works!
RE: Value Limit for a Character - Sombs - 02-10-2017
(02-10-2017, 03:22 AM)diamond1 Wrote: it's around 2.17 billion i do believe, equipment costs don't count. just the credits.
Equipment counts. I can't put more than 1.1 billion credits on the Apahanta, a Mako with Cap8, Battleship scanners, cloak and full weaponry. If it was only the ship value.
RE: Value Limit for a Character - Kauket - 02-10-2017
it's all value of the char.
ship+money+equipment.
basically don't go over 2 billion. Check this post out from the other thread.
(01-24-2016, 06:27 PM)Syrus Wrote: (01-23-2016, 03:47 PM)Regulus Wrote: (01-23-2016, 03:09 PM)Findarato Veneanar Wrote: Basically 2,147,483,647 is the max size a variable can get in many languages, go over that and it goes to -2,147,483,647
2,147,483,647 / 0 / -2,147,483,646
hex 7FFFFFFF
dec 2147483647
bin 01111111111111111111111111111111
hex FFFFFFFF
dec 4294967295
bin 11111111111111111111111111111111
Not to sound like a nerd or a software programmer here, but...
The (most commonly used) 32 bit signed integer, which Freelancer apparently uses to tell how much money you have, goes from -2'147'483'648 to 2'147'483'647, since 0 is considered as a number on the "positive" side.
Code: 2'147'483'647 being:
Hex: 0x 7FFF FFFF
Binary: 0b 0111 1111 1111 1111 1111 1111 1111 1111
0 being:
Hex: 0x 0000 0000
Binary: 0b 0000 0000 0000 0000 0000 0000 0000 0000
-2'147'483'648 being:
Hex: 0x 8000 0000
Binary: 0b 1000 0000 0000 0000 0000 0000 0000 0000
-1 being:
Hex: 0x FFFF FFFF
Binary: 0b 1111 1111 1111 1111 1111 1111 1111 1111
As you can see, if you add 1 to 2'147'483'647 in a signed 32 bit integer, it rolls over to -2'147'483'648 - while the hex number has increased, the signed bit was the bit changed, putting you at a substantial debt. I don't know in what way Freelancer uses the signed bit for ship value calculations, because it makes little sense to me to have it as a signed integer. It might just have been an oversight - or it is used to represent some kind of error.
Or, which is very much unlikely but still not impossible, the bit is used by some other variable and the value of the ship is stored in a 31 bit variable ... buuut that makes absolutly no sense whatsoever, so disregard this. Like, seriously, that would not just be way too complex, it would also be way too stupid and pointless.
It probably screws up the ship because a negative number is simply unexpected. Who knows where the number is used by FL and then causes problems.
Pretty sure they build in some protection in Disco in one of the updates since .85, but back then it was definatly possible to go over the limit and corrupt a character. I'd not try it out and rather stay below 2 billion overall worth on a single ship - or better yet even, below 1.8 billion. Most I have currently is a freighter with CAU 8 and 1.5 billion - keep in mind the ship and armor are not worth what you pay for them, they are worth what you would get when you sell them back.
RE: Value Limit for a Character - MutantWizard - 02-11-2017
Thanks, good, means I can get all the stuff i want!
RE: Value Limit for a Character - sasapinjic - 02-11-2017
Quote:What about all the other stuff like cloak , jump drive, docking bays? how do I buy any of this other stuff without corrupting the character?
Since NPC selling value is ridiculous for that equipment ( NPC selling price is under a 1 M to a cloak for example ) , on your account they count very little .
RE: Value Limit for a Character - MutantWizard - 02-12-2017
Thanks everybody!
|