Trainer lib..

Everything else that doesn't fall into one of the other PB categories.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Trainer lib..

Post 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.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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..
Tommeh
Enthusiast
Enthusiast
Posts: 149
Joined: Sun Aug 29, 2004 2:25 pm
Location: United Kingdom

Post 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 :)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Trainer lib..

Post 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. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post 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/
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

A good prog to find values in programs is tsearch.
search after it at google.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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!
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Awesome I can't wait, will the lib be opensourced? That'd be awesome.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post 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 ;)
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Sounds good, got a webspace to host it?
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Not atm.
u got the mail?
Post Reply