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 


need little help =D

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Seker
Grandmaster Cheater
Reputation: 0

Joined: 04 Jan 2007
Posts: 529

PostPosted: Thu Mar 29, 2007 12:29 pm    Post subject: need little help =D Reply with quote

well im not good or expierenced in asm so dont be too hard to me Very Happy

okay what i want to do is a script which changes the value of a pointer into a number i want like here 2000

pointer is 00B53320
offset 5C

wanted value 2000


Code:
[ENABLE]
registersymbol(speed)
alloc(speed,8)

speed:
mov eax, 00B53320
add eax, 5C
mov [speed], 2000

[Disable]
unregistersymbol(speed)
dealloc(speed)


thx in advance ^^

_________________
Back to top
View user's profile Send private message
trogdor0071
Grandmaster Cheater Supreme
Reputation: 0

Joined: 21 Aug 2006
Posts: 1714
Location: So-Cal

PostPosted: Thu Mar 29, 2007 2:51 pm    Post subject: Reply with quote

well what your doing isnt really changing the value of 00B53320.

Alloc() allocates a section of memory in the games code.
Meaning it makes the code bigger to add something in.
Now you made it 8 bytes bigger and registered that sections name as "speed".
So nothing you do there will really effect 00B53320. Just the section of code you allocated.
Back to top
View user's profile Send private message
Seker
Grandmaster Cheater
Reputation: 0

Joined: 04 Jan 2007
Posts: 529

PostPosted: Thu Mar 29, 2007 3:07 pm    Post subject: Reply with quote

ok :S

and now tell me how to do it right =)


edit i tried around and now i got this sh*t

Code:
[Enable]
mov [00B53320+0000005c], 2000
[Disable]
mov [00B53320+0000005c], 1000




edit and this too

Code:
[Enable]
jmp 00B53320
add eax, 5c
mov eax, 2000
[Disable]
jmp 00B53320
add eax, 5c
mov eax, 2000


would be nice if someone helps me Rolling Eyes

_________________
Back to top
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Sun Apr 22, 2007 5:05 am    Post subject: Reply with quote

Code:

[ENABLE]
alloc(speed,128)
label(return)

speed:
mov eax,[00B53320]
mov eax,[eax+5C]
mov eax,2000
//original CSEAX opcode #1
//original CSEAX opcode #2
jmp return

CSEAX ADDY:
jmp speed
return:

[Disable]
dealloc(speed)

And you could add more to the disable section.. Confused
That should be right..
Just add the cseax stuff.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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