No more money-making?
No more money-making?
Hi there,
I'm a big fan of TTD, play is since the beginning ('96?). But one thing is bothering me very much. And that is, when you make an awful lot of money, it counts to 4.294.9xx.xxx (so somewhere around 4.2 billion dollars). You see your trains, ships, airplanes and cars making money, you see the deliverd cargo at a stable rate (66.000 a quarter), but, you cannot make more then those 4.2 billion dollars in total. This was a problem with the first release, TTD for DOS, but also with TTD and the Patch, running it on XP.
Can someone give me a solution for this annoying problem? It's possible for me to send you my save-game, then you can see it for yourself.
Thanks anyway!
Greets, René from the Netherlands
I'm a big fan of TTD, play is since the beginning ('96?). But one thing is bothering me very much. And that is, when you make an awful lot of money, it counts to 4.294.9xx.xxx (so somewhere around 4.2 billion dollars). You see your trains, ships, airplanes and cars making money, you see the deliverd cargo at a stable rate (66.000 a quarter), but, you cannot make more then those 4.2 billion dollars in total. This was a problem with the first release, TTD for DOS, but also with TTD and the Patch, running it on XP.
Can someone give me a solution for this annoying problem? It's possible for me to send you my save-game, then you can see it for yourself.
Thanks anyway!
Greets, René from the Netherlands
*Aegir chuckles*
$4.294.967.296?
Sorry mate, thats because the value that holds the current amount of cash is a 32bit value (Maybe 64bit to take into account negative money, my guess is that its a 32bit register or two 16bit registers squished together holding the value, but thats just my guess
), which ends up being 2^32, or 4294967296.
$4.294.967.296?
Sorry mate, thats because the value that holds the current amount of cash is a 32bit value (Maybe 64bit to take into account negative money, my guess is that its a 32bit register or two 16bit registers squished together holding the value, but thats just my guess

Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.
14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
I never had that much cash...
I always played for seeing my trains
Well, you can try "Cht: Money 0"
EDIT: Or fund some new buildings
I always played for seeing my trains
Well, you can try "Cht: Money 0"

EDIT: Or fund some new buildings
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.

Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
- orudge
- Administrator
- Posts: 25223
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
The money is stored in a 32-bit variable - remember, TTD uses pounds internally, so the range is -£2,147,483,648 to £2,147,483,648 or so, doubled for dollars, etc.Aegir wrote:Sorry mate, thats because the value that holds the current amount of cash is a 32bit value (Maybe 64bit to take into account negative money, my guess is that its a 32bit register or two 16bit registers squished together holding the value, but thats just my guess)
-
- Tycoon
- Posts: 11501
- Joined: 20 Sep 2004 22:45
-
- Tycoon
- Posts: 11501
- Joined: 20 Sep 2004 22:45
Who is online
Users browsing this forum: No registered users and 10 guests