Skip to main content
Topic: Simutrans Trainer (Read 9274 times) previous topic - next topic

Simutrans Trainer

Hi.
I am trying to make a simutrans trainer.
Ie so you can control how much money etc you have during the game.
Can someone tell me where the memory address is for the money?
is this value even stored in the ram?
Thanks, Jack

Re: Simutrans Trainer

Reply #1
Just use freeplay mode.
Parsley, sage, rosemary, and maggikraut.

Re: Simutrans Trainer

Reply #2
Hello,
I am afraid this is technically unfeasible. In short, there is no "memory address of money in Simutrans", you have to append "revision ABCD compiled with XYZ". Simutrans itself is an ongoing project (perhaps better said never ending). Code is being changed all the time and people compile it in at least two vastly different environments (mingw & msvc++). It would be shooting a moving target at best.

If you want such functionality, perhaps it might be a better idea to actually extend the game itself.

Plus, as Dwachs notes, there is already something similar. Beginner and Freeplay modes. Starting money can be also set...

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Re: Simutrans Trainer

Reply #3
Most trainers scan through memory to try and find values which are the same as the current value in the game, this is because the games you usually use them on are closed source so a more direct method of modifying the amount of money you have isn't possible.

Given that Simutrans is open source you could easily (or at least more easily than writing another application to scan memory locations) add a button to give yourself more money, rendering a trainer pointless. Even easier, compile a vehicle with a negative cost, then buy a bunch of them in-game. You'll make money quickly that way.

Or, as others have said, play with -freeplay turned on so that money doesn't matter, or set the starting money to a very high number.
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.