Page 1 of 1

Trainer lib..

Posted: Tue Dec 21, 2004 3:30 pm
by thefool
Im writing a trainer lib!

Well these functions are already done and is working..:

GetPhandle() ;Gives the trainer acess to the procedure..
ReadGameMemory() ;Returns a value from an adress
WriteGameMemory() ;Writes a value to an adress
ChangeAdressValue() ;Adds or subtracts a value to an adress..
CloseProcess() ;Ends the game..

(of course they need variebles..)
All commands will have the Prefix tl_
[TrainerLib]

Is anybody interested in this?

[actually i plan to make a trainer maker that makes
stand alone trainers, but why not create a nice little lib before working on the other thing, and make the lib public.]

And, what more procedures should a trainer maker have?

(the lib can of course also be used to other things than making game trainers. Ill think about changing the *GameMemory to *ProcMemory. What about thaT?)

Best regards, Thefool.

Posted: Tue Dec 21, 2004 5:33 pm
by thefool
FreezeAddress() and UnFreezeAddress()
is about 90% done..

Well maybe i should call this something else than trainerlib.. Maybe that would make more interests..

Posted: Tue Dec 21, 2004 7:03 pm
by Tommeh
Sounds very good, Its just finding the address in the programme to change which can be annoying...

I can think of several uses of this :) Thanks, looking forward to it :)

Posted: Tue Dec 21, 2004 7:07 pm
by thefool
Thanks :D
FreezeMemory troubles are solved, thanks to GedB [stupid typing error :P]

So now im finnishing up and going to write a help file soon.

Re: Trainer lib..

Posted: Tue Dec 21, 2004 7:49 pm
by PB
> Is anybody interested in this?

Yes, thanks. I've always had an interest in trainers (done lots of posts here
about them). I've got my own methods of using them, similar to yours, but
a lib might be a nicer way of doing it. :)

Posted: Tue Dec 21, 2004 9:47 pm
by Bonne_den_kule
Command to change the source/commands on the fly. input as asm.
to change the source/command on fly, a prog must be open with createprocess with a special write-read flag.

I have made a trainer for Locomotion for some months ago.
Look here: http://home.no/locomotion/

Posted: Tue Dec 21, 2004 9:57 pm
by Bonne_den_kule
A good prog to find values in programs is tsearch.
search after it at google.

Posted: Tue Dec 21, 2004 10:08 pm
by thefool
TSearch is an excellent tool! i used it for a long time :D

btw: about the source/command exchange.. If i shall do that i need some help. If you are willing to supply that, just tell me. Not that i will steal
someone else's code, but i think its a bit too advanced for me to do..

Help file is finnished! Now i just need some tests, and to create the library.
Please look at my questions in the Beginners section about the proceduredll
and normal procedures, then the lib might get out later today!

Posted: Tue Dec 21, 2004 10:34 pm
by dracflamloc
Awesome I can't wait, will the lib be opensourced? That'd be awesome.

Posted: Tue Dec 21, 2004 10:35 pm
by thefool
I dunno yet.
Well i think ill release source-on-request.
So the release that everyone get is not with source, and then the ones
that email me, can get it ;)

Posted: Tue Dec 21, 2004 10:45 pm
by dracflamloc
Sounds good, got a webspace to host it?

Posted: Tue Dec 21, 2004 10:46 pm
by thefool
Not atm.
u got the mail?