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 


Need help with this script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Taka IV
Newbie cheater
Reputation: 0

Joined: 26 Feb 2012
Posts: 24

PostPosted: Mon Mar 05, 2012 1:27 am    Post subject: Need help with this script Reply with quote

This script keeps changing every time

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 [esi+58],#500
mov [esi+5C],#500
push esi
call 0171B2B0

originalcode:
//mov [esi+58],eax
//push esi
//call 0171B2B0

exit:
jmp returnhere

"ACBSP.exe"+10571F0:
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)
"ACBSP.exe"+10571F0:
mov [esi+58],eax
push esi
call 0171B2B0


The code 'call 0171B2B0' keeps changing every time I restart the game. Can somebody help? Please. Darkbyte maybe or other pro hacker? Any help?

Thanks.

_________________
Understand what you can't.

That's how it usually works.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25900
Location: The netherlands

PostPosted: Mon Mar 05, 2012 4:52 am    Post subject: Reply with quote

use modulename+offset notation for the call instead of the hexadecimal value

e.g: call acbsp.exe+101b2b0

(use the option to show modules to show the real instruction)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Taka IV
Newbie cheater
Reputation: 0

Joined: 26 Feb 2012
Posts: 24

PostPosted: Mon Mar 05, 2012 6:41 am    Post subject: Reply with quote

So basically I just need to change 'call 0171B2B0 ' to 'call ACBSP.exe+10571F0'. Is that right?
_________________
Understand what you can't.

That's how it usually works.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25900
Location: The netherlands

PostPosted: Mon Mar 05, 2012 6:49 am    Post subject: Reply with quote

yes, but not ACBSP.exe+10571F0. That is the wrong offset

go to to original instruction, check where it points to and then make that a modulename+offset notation

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Taka IV
Newbie cheater
Reputation: 0

Joined: 26 Feb 2012
Posts: 24

PostPosted: Mon Mar 05, 2012 6:58 am    Post subject: Reply with quote

How do you do that?
_________________
Understand what you can't.

That's how it usually works.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25900
Location: The netherlands

PostPosted: Mon Mar 05, 2012 7:04 am    Post subject: Reply with quote

set ce to show module addresses (view->show module addresses) and go to the address of "ACBSP.exe"+10571F0 in the disassembler

with luck it'll already show the call in the format you need

if not, select the call, and press space. Then get the address from the left side of the disassembler using modulename+offset notation

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Taka IV
Newbie cheater
Reputation: 0

Joined: 26 Feb 2012
Posts: 24

PostPosted: Mon Mar 05, 2012 7:14 am    Post subject: Reply with quote

I open the address "ACBSP.exe"+10571F0 in the disassembler and got

Quote:
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

originalcode:
mov [esi+58],eax
push esi
call ACBSP.exe+58B2B0

exit:
jmp returnhere

"ACBSP.exe"+10571F0:
jmp newmem
nop
nop
nop
nop
returnhere:


If I understand what your saying, I should take the 'call ACBSP.exe+58B2B0'. Am I right?

_________________
Understand what you can't.

That's how it usually works.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25900
Location: The netherlands

PostPosted: Mon Mar 05, 2012 7:40 am    Post subject: Reply with quote

yes, "call ACBSP.exe+58B2B0 " is correct
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Taka IV
Newbie cheater
Reputation: 0

Joined: 26 Feb 2012
Posts: 24

PostPosted: Mon Mar 05, 2012 7:49 am    Post subject: Reply with quote

Okay. Thanks. By the way. Do you play or have played this game? It's Assassin's Creed Brotherhood. If you have. Can you please give me a script for stealth mode or atleast could you teach me how to find the instruction?

Thanks.

_________________
Understand what you can't.

That's how it usually works.
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