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 


Script help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
JsuisTonPere
How do I cheat?
Reputation: 0

Joined: 26 Jun 2016
Posts: 6
Location: France

PostPosted: Mon Jun 27, 2016 9:01 am    Post subject: Script help Reply with quote

Hello i want to create script with cheat engine and i know how to find static adress but i dont know how to create this script (watch the attachement) im not very good in english can you make a tutorial for me pls thanks (i want to create an unlimited items for H2S)
Thanks



Capture.PNG
 Description:
 Filesize:  23.49 KB
 Viewed:  2886 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Mon Jun 27, 2016 9:38 am    Post subject: Reply with quote

So you want to do an unlimited item cheat, but what exactly are we supposed to show you with this script?

If eax holds the value of your current item, then "mov eax,63" sets that value to 99 which is already the cheat you wanted ...
Back to top
View user's profile Send private message
JsuisTonPere
How do I cheat?
Reputation: 0

Joined: 26 Jun 2016
Posts: 6
Location: France

PostPosted: Mon Jun 27, 2016 11:01 am    Post subject: Reply with quote

hhhuut wrote:
So you want to do an unlimited item cheat, but what exactly are we supposed to show you with this script?

If eax holds the value of your current item, then "mov eax,63" sets that value to 99 which is already the cheat you wanted ...

yes but i dont find the static adress,yes but is not my script and i want to created alone



Capture.PNG
 Description:
 Filesize:  307.59 KB
 Viewed:  2858 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
M-Z
Advanced Cheater
Reputation: 1

Joined: 08 Nov 2014
Posts: 77
Location: Poland

PostPosted: Mon Jun 27, 2016 11:18 am    Post subject: Reply with quote

I must say, I don't know where CE is taking this address from.
Your problem probably lies in fact that the instruction you are watching is moving value from address pointed by EAX to EAX itself, hence overwriting address in this register.
Perhaps you should try setting normal breakpoint on this instruction and then use EAX value from before this instruction is executed?
Back to top
View user's profile Send private message Send e-mail
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Mon Jun 27, 2016 11:23 am    Post subject: Reply with quote

The address is correct, because he has that in his cheat list.

Have you tried CE's pointerscanner (rightclick on the address and click pointerscan for this address) ?
Back to top
View user's profile Send private message
JsuisTonPere
How do I cheat?
Reputation: 0

Joined: 26 Jun 2016
Posts: 6
Location: France

PostPosted: Mon Jun 27, 2016 11:36 am    Post subject: Reply with quote

hhhuut wrote:
The address is correct, because he has that in his cheat list.

Have you tried CE's pointerscanner (rightclick on the address and click pointerscan for this address) ?
yes but im a noob I do not know the use(im beginner)
Sad



Capture.PNG
 Description:
 Filesize:  128.77 KB
 Viewed:  2829 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
M-Z
Advanced Cheater
Reputation: 1

Joined: 08 Nov 2014
Posts: 77
Location: Poland

PostPosted: Mon Jun 27, 2016 11:43 am    Post subject: Reply with quote

@hhhuut you are right; what was I thinking.
But I've got another idea. This eax,[eax+4] comes after function call. So it is probably calculated inside this function and is not stored anywhere.
Back to top
View user's profile Send private message Send e-mail
JsuisTonPere
How do I cheat?
Reputation: 0

Joined: 26 Jun 2016
Posts: 6
Location: France

PostPosted: Mon Jun 27, 2016 11:51 am    Post subject: Reply with quote

M-Z wrote:
@hhhuut you are right; what was I thinking.
But I've got another idea. This eax,[eax+4] comes after function call. So it is probably calculated inside this function and is not stored anywhere.


I do not understand anything,when I did I leave pointerscan and again but I do not see how to compare an idea
Back to top
View user's profile Send private message
M-Z
Advanced Cheater
Reputation: 1

Joined: 08 Nov 2014
Posts: 77
Location: Poland

PostPosted: Mon Jun 27, 2016 12:25 pm    Post subject: Reply with quote

Instruction you are watching is just after call (function) instruction. It is customary for return values from functions to be held in EAX. If this is the case then base address you are looking for is burried in this function call. Hence the "base" pointer you find is not stored anywhere (or it is stored for a very short period of time).

Perhaps you should look into this movq xmm0,[eax] instruction. Instructions leading to it could possibly load proper address to EAX and maybe it'll be easier to find the base address.

PS. Your posts look like Google-translated. If you do not understand English at least a bit, I'm afraid this conversation is not going to end well...
Back to top
View user's profile Send private message Send e-mail
JsuisTonPere
How do I cheat?
Reputation: 0

Joined: 26 Jun 2016
Posts: 6
Location: France

PostPosted: Mon Jun 27, 2016 12:28 pm    Post subject: Reply with quote

hhhuut wrote:
The address is correct, because he has that in his cheat list.

Have you tried CE's pointerscanner (rightclick on the address and click pointerscan for this address) ?

i made it but at 3888 it does not move after
yes but im not very good in english and i use google translate if i need a word soory :/



Capture.PNG
 Description:
 Filesize:  143.04 KB
 Viewed:  2808 Time(s)

Capture.PNG


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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