| View previous topic :: View next topic |
| Author |
Message |
Seker Grandmaster Cheater
Reputation: 0
Joined: 04 Jan 2007 Posts: 529
|
Posted: Thu Mar 29, 2007 12:29 pm Post subject: need little help =D |
|
|
well im not good or expierenced in asm so dont be too hard to me
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 |
|
 |
trogdor0071 Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Aug 2006 Posts: 1714 Location: So-Cal
|
Posted: Thu Mar 29, 2007 2:51 pm Post subject: |
|
|
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 |
|
 |
Seker Grandmaster Cheater
Reputation: 0
Joined: 04 Jan 2007 Posts: 529
|
Posted: Thu Mar 29, 2007 3:07 pm Post subject: |
|
|
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  _________________
|
|
| Back to top |
|
 |
smartz993 I post too much
Reputation: 2
Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Sun Apr 22, 2007 5:05 am Post subject: |
|
|
| 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..
That should be right..
Just add the cseax stuff. |
|
| Back to top |
|
 |
|