Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[request]piece of code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
zezimanian
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 18

PostPosted: Sat Dec 22, 2007 3:48 pm    Post subject: [request]piece of code Reply with quote

I am developing a trainer but don't know the correct code to
change/freeze values in a non flash game.
game: black and white 2
vb:vb9 or vb2008 express
please can someone post a simple answer/piece of code, when my trainer is finished i will upload it for distribution on this forum.

thanks


Last edited by zezimanian on Sat Dec 22, 2007 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
goldengold
Grandmaster Cheater Supreme
Reputation: -1

Joined: 11 Nov 2006
Posts: 1841
Location: -.-

PostPosted: Sat Dec 22, 2007 3:50 pm    Post subject: Re: [request]piece of code Reply with quote

zezimanian wrote:
I am developing a trainer but don't know the correct code to
change/freeze values in a non flash game.

please can someone post a simple answer/piece of code, when my trainer is finished i will upload it for distribution on this forum.

thanks



Mind telling us the game?

Might help peaople

_________________
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sat Dec 22, 2007 3:50 pm    Post subject: Reply with quote

Are you talking about VB6? or something else?
_________________
Back to top
View user's profile Send private message
zezimanian
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 18

PostPosted: Sat Dec 22, 2007 3:52 pm    Post subject: Reply with quote

its for black and white 2
and i am using vb9 or visual basic 2008 express

and thanks for the lightening quick reply! great
Back to top
View user's profile Send private message Send e-mail
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sat Dec 22, 2007 3:56 pm    Post subject: Reply with quote

I'm not sure how to do it with vb9, but if you want an easier way to do it, you can always use trainer maker pro 1.5 I think
Use tsearch to find right addresses and patch/unpatch them to use the hacks

_________________
Back to top
View user's profile Send private message
zezimanian
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 18

PostPosted: Sat Dec 22, 2007 3:57 pm    Post subject: Reply with quote

ok thanks its just when you use vb it looks better and you can do more
vb2008 is really similar just different layout and shiny buttons!

id like the code to allow my program to acces the games values if you know what i mean! Sad

i also have c++ if thats easier?
Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Dec 22, 2007 5:33 pm    Post subject: Reply with quote

You can freeze a value mainly one of two ways. You can alter the code via injection and change the value being written, or, you can create a timer / thread and constantly write the value yourself.

Which ever way you choose, if you do it from an outside program, you will need to use WriteProcessMemory.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
zezimanian
Newbie cheater
Reputation: 0

Joined: 15 Nov 2007
Posts: 18

PostPosted: Sun Dec 23, 2007 4:24 am    Post subject: Reply with quote

ok thats great can you give me an example of what i would enter for the writeprocessmemory please?

thanks

scott
Wink

_________________
Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Dec 23, 2007 10:08 am    Post subject: Reply with quote

zezimanian wrote:
ok thats great can you give me an example of what i would enter for the writeprocessmemory please?

thanks

scott
Wink


You can find a quick example here:
http://www.extalia.com/forums/viewtopic.php?f=22&t=1829

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites