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 


Help with this script?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
majmun
Newbie cheater
Reputation: 1

Joined: 22 Dec 2012
Posts: 15

PostPosted: Fri Sep 21, 2012 10:10 am    Post subject: Help with this script? Reply with quote

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [edi+14],03C8C
mov ecx,[ACRSP.exe+28ABFDC]


originalcode:
//mov [edi+14],eax
//mov ecx,[ACRSP.exe+28ABFDC]

exit:
jmp returnhere

"ACRSP.exe"+F1DDC0:
jmp newmem
nop
nop
nop
nop
returnhere:




[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"ACRSP.exe"+F1DDC0:
mov [edi+14],eax
mov ecx,[ACRSP.exe+28ABFDC]
//Alt: db 89 47 14 8B 0D DC BF CA 02

------------------------------------------------------------------------

Can anyone tell me why this script constatly crash,where is the problem?
Back to top
View user's profile Send private message
jgoemat
Master Cheater
Reputation: 23

Joined: 25 Sep 2011
Posts: 264

PostPosted: Fri Sep 21, 2012 11:18 am    Post subject: Re: Help with this script? Reply with quote

majmun wrote:
Can anyone tell me why this script constatly crash,where is the problem?


Add this code at the start of your enable section:
Code:
[ENABLE]
ASSERT("ACRSP.exe"+F1DDC0,89 47 14 8B 0D DC BF CA 02)


If you can't enable the script, that is not the right place in memory. Then go to the original code in the debug window and select 'Find out what addresses this code accesses'. It's entirely possible that this code accesses things other than what you want to change and you may need to look at other variables and the stack to determine if it is the correct thing to change. If you replace your code with the original code in your injection and it doesn't crash, this is probably the problem.

You really don't give much information though. This is probably not the right forum but you definitely don't follow the guidelines for the Single Player Cheat Request forum:

*7. "Posting Requests" All posts must have a title stating the name of the game. As of now anything else posted after 10-28-07 will be deleted if it is not posted correctly.
Example: It doesnt have to include the word request. But it would be better.

What's the name of the game? What version are you playing? Is this a cheat you made yourself or one in a table you downloaded? Why do you think putting 15500 decimal into [edi+14] is a good idea?
Back to top
View user's profile Send private message
majmun
Newbie cheater
Reputation: 1

Joined: 22 Dec 2012
Posts: 15

PostPosted: Fri Sep 21, 2012 12:30 pm    Post subject: Re: Help with this script? Reply with quote

Thank you jgoemat for giving me directions!
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Fri Sep 21, 2012 8:20 pm    Post subject: Reply with quote

Moved to general gamehacking. This is not a single player cheat request.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Studio80
Advanced Cheater
Reputation: 2

Joined: 12 Sep 2012
Posts: 83

PostPosted: Sat Sep 22, 2012 8:23 am    Post subject: Reply with quote

Always try it without the DISABLED part, the reason why the game crashes for many people is because they're writing a wrong code which crashes their game.
Back to top
View user's profile Send private message
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