View previous topic :: View next topic |
Author |
Message |
OswaldoAomine Cheater Reputation: 0
Joined: 07 Aug 2021 Posts: 38 Location: Yggdrasil
|
Posted: Mon Sep 13, 2021 7:04 pm Post subject: Multiply a item |
|
|
Hello everyone, I have a little problem when I multiply an item by two, it gives me double the amount taken, but when I'm going to use it, I spend twice as much to give an example, pick an apple, I get two, but when I'm going to eat one, it takes away the two
mov [rsi+000005869],ecx this is the opcode
the script i use is this:
sub ecx,[address]
imul ecx, [ITEM]
add ecx,[address]
mov [rsi+000005869],ecx.
Please if someone knows how to make sure that I do not spend twice, I would appreciate it.Greats
#StayHome
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4289
|
Posted: Mon Sep 13, 2021 8:36 pm Post subject: |
|
|
Compare if the new value is less than the old value. If so, jump over the sub/imul/add instructions.
Look up the cmp and jcc instructions for more information.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
TrueWhite How do I cheat? Reputation: 0
Joined: 09 Sep 2021 Posts: 6 Location: My House
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4289
|
Posted: Tue Sep 14, 2021 11:42 am Post subject: |
|
|
This is basic assembly. Look up "x64 tutorial" or something if you want to start learning it.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
TrueWhite How do I cheat? Reputation: 0
Joined: 09 Sep 2021 Posts: 6 Location: My House
|
Posted: Wed Sep 15, 2021 9:33 am Post subject: |
|
|
I was meaning how to do/understand the multiply thing and can I do it on all games?
_________________
Coding is dependency, once you start it, you can't finish it. |
|
Back to top |
|
|
srunblue Newbie cheater Reputation: 0
Joined: 21 Oct 2020 Posts: 11 Location: Cambodia
|
Posted: Wed Sep 15, 2021 10:38 am Post subject: Hi |
|
|
Hi truewhite can u pm me
|
|
Back to top |
|
|
TrueWhite How do I cheat? Reputation: 0
Joined: 09 Sep 2021 Posts: 6 Location: My House
|
Posted: Thu Sep 16, 2021 6:53 am Post subject: |
|
|
can't pm sadly, what's up srunblue, you can add me on discord : MisterySoulExile#7955
_________________
Coding is dependency, once you start it, you can't finish it. |
|
Back to top |
|
|
|