 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
aikoncwd Grandmaster Cheater
Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Sat Jul 06, 2013 4:59 pm Post subject: How to make a 'x2 experience hack' [ASM QUESTION] |
|
|
Hi
I just want to know how to make a hack that gives me x2 experience, or x5 gold. Here is han example:
- Every time I kill a mob, I get 2 EXP points
- Here is the code is ASM:
mov [esi+34],eax (where EAX = 2)
- If I kill another mob, EAX = 4
I want to make a hack to get something like this:
mov [esi+34],eax*2 (this line can't be compiled)
How should I code this? I tried with MUL instruction but I dont know how to use it
THANKS!
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Sat Jul 06, 2013 5:20 pm Post subject: Re: How to make a 'x2 experience hack' [ASM QUESTION] |
|
|
AikonCWD wrote: | I just want to know how to make a hack that gives me x2 experience, or x5 gold. Here is han example: | FYI: what you describe will twice your TOTAL experience at each kill, it does not simply twice the xp you get per kill. Ie: if a mob gives 1 xp, you will have
1*2 xp
(2+1)*2=6 xp
(6+1)*2=14 xp
....
AikonCWD wrote: | I want to make a hack to get something like this:
mov [esi+34],eax*2 (this line can't be compiled)
How should I code this? | If that's what you want:
Code: | shl eax,1 //multiply eax by 2, one time
mov [esi+34],eax |
You mentioned money x5 earlier, use that:
Code: | lea eax,[eax+eax*4] //set eax to eax+eax*4
mov [esi+34],eax |
But if instead you want to get x2 xp INCOME, use: Code: | sub eax,dword [esi+34] //now eax=new xp-old xp=xp income
shl eax,1 //twice eax ie: twice income
add dword [esi+34], eax //add incomex2 to the old xp |
|
|
Back to top |
|
 |
aikoncwd Grandmaster Cheater
Reputation: 23
Joined: 21 Dec 2012 Posts: 591 Location: Spain (Barcelona)
|
Posted: Sat Jul 06, 2013 6:31 pm Post subject: Re: How to make a 'x2 experience hack' [ASM QUESTION] |
|
|
Gniarf wrote: | AikonCWD wrote: | I just want to know how to make a hack that gives me x2 experience, or x5 gold. Here is han example: | FYI: what you describe will twice your TOTAL experience at each kill, it does not simply twice the xp you get per kill. Ie: if a mob gives 1 xp, you will have
1*2 xp
(2+1)*2=6 xp
(6+1)*2=14 xp
....
AikonCWD wrote: | I want to make a hack to get something like this:
mov [esi+34],eax*2 (this line can't be compiled)
How should I code this? | If that's what you want:
Code: | shl eax,1 //multiply eax by 2, one time
mov [esi+34],eax |
You mentioned money x5 earlier, use that:
Code: | lea eax,[eax+eax*4] //set eax to eax+eax*4
mov [esi+34],eax |
But if instead you want to get x2 xp INCOME, use: Code: | sub eax,dword [esi+34] //now eax=new xp-old xp=xp income
shl eax,1 //twice eax ie: twice income
add dword [esi+34], eax //add incomex2 to the old xp |
|
Thats exactly what i want
Rep+ for you man. You are the boss
_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE |
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 221
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
|
Back to top |
|
 |
BadCake How do I cheat?
Reputation: 0
Joined: 08 May 2023 Posts: 7
|
Posted: Thu Oct 24, 2024 12:37 am Post subject: Re: How to make a 'x2 experience hack' [ASM QUESTION] |
|
|
Gniarf wrote: |
But if instead you want to get x2 xp INCOME, use: Code: | sub eax,dword [esi+34] //now eax=new xp-old xp=xp income
shl eax,1 //twice eax ie: twice income
add dword [esi+34], eax //add incomex2 to the old xp |
|
I wanna know that if the code is
movss [rbx+78],xmm2
instead of
mov [esi+34],eax
then, what do I do?
Description: |
|
Filesize: |
29.97 KB |
Viewed: |
2015 Time(s) |

|
|
|
Back to top |
|
 |
Diambro Newbie cheater
Reputation: 0
Joined: 12 Sep 2023 Posts: 23 Location: Austria
|
Posted: Sat Oct 26, 2024 2:34 am Post subject: |
|
|
i think this should work, dont see the full code, also id use another xmm register thats empty:
Code: |
...
registersymbol(multiplier)
...
yourcode:
mov [multiplier],(float)2.0 //Whatever you want your multiplier to be
subss xmm2,[rbx+78]
mulss xmm2,[multiplier] //multiplying the added value
addss xmm2,[rbx+78]
originalcode:
movss [rbx+78],xmm2
jmp return
multiplier:
dd 0
... |
|
|
Back to top |
|
 |
BadCake How do I cheat?
Reputation: 0
Joined: 08 May 2023 Posts: 7
|
Posted: Sat Oct 26, 2024 8:04 pm Post subject: |
|
|
Diambro wrote: |
mov [multiplier],(float)2.0 //Whatever you want your multiplier to be |
This one says can't be compiled. Also the game prevent me from changing the money that I have. float is the appeared money, 4 bytes is the "actual" money. But if I try changing the value, I still can't buy anything more than my actual money.
The code is from the float value. Unknown initial value-> increase/decease value will lead to those 2 value. I didn't try the changed value path.
I do this because the table script that I wanna use is broken and wanna try creating a mini of my own. And funnily enough, in the broken table script, there is no money value, only a multiplier of the money gain.
--unrelated--
I wanna try fixing the broken table script instead but I have no Idea of what Im doing. The picture is the original- now broken table.
If you still wanna help, ask for anything.
Description: |
|
Filesize: |
55.29 KB |
Viewed: |
1817 Time(s) |

|
|
|
Back to top |
|
 |
Diambro Newbie cheater
Reputation: 0
Joined: 12 Sep 2023 Posts: 23 Location: Austria
|
Posted: Mon Oct 28, 2024 4:24 am Post subject: |
|
|
id love to help, but im a beginner myself and this back and forth in forum would take ages. You can write me a PM (if you're intrested in a newbies help) and we'll figure things out. Or you ask the pros.
Cheers
|
|
Back to top |
|
 |
BadCake How do I cheat?
Reputation: 0
Joined: 08 May 2023 Posts: 7
|
Posted: Tue Oct 29, 2024 8:55 am Post subject: |
|
|
Diambro wrote: | id love to help, but im a beginner myself and this back and forth in forum would take ages. You can write me a PM (if you're intrested in a newbies help) and we'll figure things out. Or you ask the pros.
Cheers | I got it semi-working by being very3 lucky. Among 500 address/result, the first 10 to 20 is the right address and got the player data working. Enemy & combo gold factor hack is enough. Inventory/deck edit is preferable too but, I take what I can get. Thanks for you time anyway.
|
|
Back to top |
|
 |
|
|
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
|
|