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 inputting script into ce

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

Joined: 28 Jul 2015
Posts: 16

PostPosted: Tue Jul 28, 2015 6:43 pm    Post subject: need help with inputting script into ce Reply with quote

i have a lua script and i would like to know how to input it into ce?

currently i use ctrl alt a, copy and paste the script in and click execute.

but everytime i wana disable and enable it i have to restart the game and ce




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

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
mov [eax+4C],ecx
mov ecx,[esi+0C]

exit:
jmp returnhere

"Skyforge.exe"+992E50:
jmp newmem
nop
returnhere:




[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Skyforge.exe"+992E50:
mov [eax+3C],ecx
mov ecx,[esi+0C]
//Alt: db 89 48 4C 8B 4E 0C
</AssemblerScript>
</CheatEntry>
</CheatEntries>
<CheatCodes>
<CodeEntry>
<Description>Code :mov ebx,[ebx+3C]</Description>
<Address>0196FD3C</Address>
<ModuleName>Skyforge.exe</ModuleName>
<ModuleNameOffset>B2FD3C</ModuleNameOffset>
<Before>
<Byte>45</Byte>
<Byte>0C</Byte>
<Byte>8B</Byte>
<Byte>5B</Byte>
<Byte>0C</Byte>
</Before>
<Actual>
<Byte>8B</Byte>
<Byte>5B</Byte>
<Byte>3C</Byte>
</Actual>
<After>
<Byte>50</Byte>
<Byte>56</Byte>
<Byte>E8</Byte>
<Byte>8A</Byte>
<Byte>46</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Code :mov ecx,[eax+3C]</Description>
<Address>019432D0</Address>
<ModuleName>Skyforge.exe</ModuleName>
<ModuleNameOffset>B032D0</ModuleNameOffset>
<Before>
<Byte>FF</Byte>
<Byte>D2</Byte>
<Byte>8B</Byte>
<Byte>46</Byte>
<Byte>18</Byte>
</Before>
<Actual>
<Byte>8B</Byte>
<Byte>48</Byte>
<Byte>3C</Byte>
</Actual>
<After>
<Byte>3B</Byte>
<Byte>4D</Byte>
<Byte>08</Byte>
<Byte>74</Byte>
<Byte>0F</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Code :mov [eax+3C],ecx</Description>
<Address>017D2E50</Address>
<ModuleName>Skyforge.exe</ModuleName>
<ModuleNameOffset>992E50</ModuleNameOffset>
<Before>
<Byte>4D</Byte>
<Byte>08</Byte>
<Byte>8B</Byte>
<Byte>46</Byte>
<Byte>18</Byte>
</Before>
<Actual>
<Byte>89</Byte>
<Byte>48</Byte>
<Byte>3C</Byte>
</Actual>
<After>
<Byte>8B</Byte>
<Byte>4E</Byte>
<Byte>0C</Byte>
<Byte>3B</Byte>
<Byte>CB</Byte>
</After>
</CodeEntry>
<CodeEntry>
<Description>Code :mov eax,[eax+3C]</Description>
<Address>014D1DAE</Address>
<ModuleName>Skyforge.exe</ModuleName>
<ModuleNameOffset>691DAE</ModuleNameOffset>
<Before>
<Byte>D2</Byte>
<Byte>85</Byte>
<Byte>C0</Byte>
<Byte>74</Byte>
<Byte>04</Byte>
</Before>
<Actual>
<Byte>8B</Byte>
<Byte>40</Byte>
<Byte>3C</Byte>
</Actual>
<After>
<Byte>C3</Byte>
<Byte>33</Byte>
<Byte>C0</Byte>
<Byte>C3</Byte>
<Byte>CC</Byte>
</After>
</CodeEntry>
</CheatCodes>
<UserdefinedSymbols/>
</CheatTable>



can anyone please help me?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Jul 28, 2015 6:50 pm    Post subject: Reply with quote

You need to keep better track of your posts before you get banned.
http://forum.cheatengine.org/viewtopic.php?t=583079
Back to top
View user's profile Send private message
skyz888
Newbie cheater
Reputation: 0

Joined: 28 Jul 2015
Posts: 16

PostPosted: Tue Jul 28, 2015 6:56 pm    Post subject: Reply with quote

sorry was trying to find my old post but couldnt... anyway found. thanks
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 Lua Scripting 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