Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Multiply a item

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
OswaldoAomine
Cheater
Reputation: 0

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Mon Sep 13, 2021 7:04 pm    Post subject: Multiply a item Reply with quote

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
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4289

PostPosted: Mon Sep 13, 2021 8:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
TrueWhite
How do I cheat?
Reputation: 0

Joined: 09 Sep 2021
Posts: 6
Location: My House

PostPosted: Tue Sep 14, 2021 8:05 am    Post subject: Reply with quote

Very Happy Hello there! How can I do that ? What's the script for it and what do I need to know to understand it, thanks in advance! Very Happy
_________________
Coding is dependency, once you start it, you can't finish it.
Back to top
View user's profile Send private message AIM Address
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4289

PostPosted: Tue Sep 14, 2021 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message
TrueWhite
How do I cheat?
Reputation: 0

Joined: 09 Sep 2021
Posts: 6
Location: My House

PostPosted: Wed Sep 15, 2021 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
srunblue
Newbie cheater
Reputation: 0

Joined: 21 Oct 2020
Posts: 11
Location: Cambodia

PostPosted: Wed Sep 15, 2021 10:38 am    Post subject: Hi Reply with quote

Hi truewhite can u pm me
Back to top
View user's profile Send private message
TrueWhite
How do I cheat?
Reputation: 0

Joined: 09 Sep 2021
Posts: 6
Location: My House

PostPosted: Thu Sep 16, 2021 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites