| View previous topic :: View next topic |
| Author |
Message |
AfroPriest How do I cheat?
Reputation: 0
Joined: 12 Apr 2013 Posts: 5
|
Posted: Mon Apr 15, 2013 4:13 pm Post subject: Help a noob use the single line assembler |
|
|
Ill cut straight to it:
in the single line assembler, what do i type to make the code add X to the value every time it gets called?
|
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Mon Apr 15, 2013 4:15 pm Post subject: |
|
|
if its dw use #10, if its float use add [eax+4],(float)10.00 if its double add [eax+4],(double)10.00
or use movq and addss/addsd to xmm's...
#=decimal number
without # its used as HEX.
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
AfroPriest How do I cheat?
Reputation: 0
Joined: 12 Apr 2013 Posts: 5
|
Posted: Mon Apr 15, 2013 4:25 pm Post subject: |
|
|
Hmm well thats a bit hard to get for me...
here's what i got
Bully.exe+30A3E8 - 01 9E 7C020000 - add [esi+0000027C],ebx
Pretty sure you can tell just by looking at it but it's a float and I wanna add 100 to it every time.
In the assembler by default: add [esi+0000027C],ebx
What would I do here?
|
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Mon Apr 15, 2013 4:36 pm Post subject: |
|
|
Its float? are you sure?
For float Im used to see for example this
| Code: | movq xmm0,[ebx+8] //Lets say ebx+8= 50 Float
movq xmm1,[ebx+10]//lets say ebx+8= 150 Float
addsd xmm0,xmm1 //adding to xmm0 the xmm1. so in total 200 Flat
movq [esi+0000027C],xmm0 |
Anyhow you can do this
| Code: |
add [esi+0000027C],(float)100.0 |
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
AfroPriest How do I cheat?
Reputation: 0
Joined: 12 Apr 2013 Posts: 5
|
Posted: Mon Apr 15, 2013 4:41 pm Post subject: |
|
|
| Works perfectly, thanks!
|
|
| Back to top |
|
 |
|