| View previous topic :: View next topic |
| Author |
Message |
Eraser Grandmaster Cheater
Reputation: 0
Joined: 23 Jul 2008 Posts: 504 Location: http://www.youtube.com/PCtrainers
|
Posted: Mon Oct 28, 2013 3:53 pm Post subject: How do you make this line work? |
|
|
Hi, I can edit simple lines like this one (ammo code):
| Code: | sub [esi+64],eax
test eax,eax |
I can just change eax to any number and change sub to mov and it sets bullets to certain number when I shoot.
However, sometimes I encounter something like this and I can't seem to edit this line in any way:
| Code: | originalcode:
movss [ecx+1],xmm0 |
This is a code for score so I can't nop it as I want to receive more score instead of regular 100 when I kill an enemy. How do I modify that line? I tried like everything.
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Oct 28, 2013 4:04 pm Post subject: |
|
|
Like this:
| Code: | addss xmm0,xmm0
originalcode:
movss [ecx+1],xmm0 |
You will receive 200 for regular enemy. (multiple by 2)
There are other ways of course. (multiple by 12)
| Code: | push (float)12.0
mulss xmm0,[esp]
add esp,04
originalcode:
movss [ecx+1],xmm0 |
_________________
|
|
| Back to top |
|
 |
Eraser Grandmaster Cheater
Reputation: 0
Joined: 23 Jul 2008 Posts: 504 Location: http://www.youtube.com/PCtrainers
|
Posted: Mon Oct 28, 2013 4:20 pm Post subject: |
|
|
| Thank you, it worked, hopefully I can apply this in the future as well.
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Oct 28, 2013 5:03 pm Post subject: |
|
|
No problem.
(let me guess, Batman?)
_________________
|
|
| Back to top |
|
 |
Eraser Grandmaster Cheater
Reputation: 0
Joined: 23 Jul 2008 Posts: 504 Location: http://www.youtube.com/PCtrainers
|
Posted: Tue Oct 29, 2013 2:42 am Post subject: |
|
|
Battlefield 4
|
|
| Back to top |
|
 |
|