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 


What is with this error?

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

Joined: 24 Jan 2014
Posts: 2

PostPosted: Fri Jan 24, 2014 6:15 am    Post subject: What is with this error? Reply with quote

Hello people,

I've been trying to use this table in Auto Assembler.

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>0</ID>
<Description>"godmode and plentiful ammo"</Description>
<Color>80000008</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>//Hotline miami
//plentiful ammo+godmode patch
//V4
[ENABLE]
aobscan(HookPlace_,88 14 03 40 49 75 CA)
aobscan(CodeCave,8D 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
label(HookPlace)
label(CodeChecker)
label(MeleeScriptHook)
label(AmmoScriptHook)
label(OriginalCode)
registersymbol(HookPlace)
registersymbol(CodeChecker)
registersymbol(OriginalCode)

HookPlace_:
HookPlace:
jmp CodeChecker

CodeCave+5:
CodeChecker:
MOV BYTE PTR DS:[EBX+EAX],DL //original code
cmp dl,')' //did we just write
//"if bullets&gt;1 or round(random(1)) or energie&lt;0 {0xd 0xa
//my_id=instance_create(x,y,objPlayerDead)"
//?
//lazyness says: just check Dead,my_i,if bulle
jne MeleeScriptHook
cmp dword [EBX+EAX-4],'Dead'
jne MeleeScriptHook
cmp dword [EBX+EAX-27],'my_i'
jne MeleeScriptHook
cmp dword [EBX+EAX-58],'if b'
jne MeleeScriptHook
cmp dword [EBX+EAX-54],'ulle'
jne MeleeScriptHook
//yes, so turn "if bullets&gt;1 or round(random(1)) or energie&lt;0 {"
//into if "bullets&gt;1 and bullets&lt;1 /*1)) or energie*/"
mov dword [EBX+EAX-4b],'and ' //patch the string
mov dword [EBX+EAX-47],'bull'
mov dword [EBX+EAX-43],'ets&lt;'
mov dword [EBX+EAX-3f],'1 /*'
mov word [EBX+EAX-2d],'*/'
jmp OriginalCode

MeleeScriptHook:
cmp dl,'e' //did we just write a "scrPlayerDie"?
jne AmmoScriptHook
cmp dword [EBX+EAX-4],'erDi'
jne AmmoScriptHook
cmp dword [EBX+EAX-8],'Play'
jne AmmoScriptHook
cmp word [EBX+EAX-a],'cr'
jne AmmoScriptHook
//yes,turn "scrPlayerDie" into "//rPlayerDie"
mov word [EBX+EAX-b],'//'
jmp OriginalCode

AmmoScriptHook:
cmp dl,'o' //did we just write a "my_id.ammo=ammo"?
jne OriginalCode
cmp dword [EBX+EAX-4],'=amm'
jne OriginalCode
cmp dword [EBX+EAX-8],'ammo'
jne OriginalCode
cmp dword [EBX+EAX-c],'_id.'
jne OriginalCode
cmp word [EBX+EAX-e],'my'
jne OriginalCode
//yes,turn "my_id.ammo=ammo" into "my_id.ammo=ammo=9999"
mov dword [EBX+EAX-3],'9999'

OriginalCode:
INC EAX
DEC ECX
jmp HookPlace+5

[DISABLE]
unregistersymbol(HookPlace)
unregistersymbol(CodeChecker)
unregistersymbol(OriginalCode)
</AssemblerScript>
</CheatEntry>
<CheatEntry>
<ID>1</ID>
<Description>"HookPlace"</Description>
<Color>80000008</Color>
<VariableType>Byte</VariableType>
<Address>HookPlace</Address>
</CheatEntry>
<CheatEntry>
<ID>3</ID>
<Description>"Loader from..."</Description>
<Color>80000008</Color>
<VariableType>Byte</VariableType>
<Address>CodeChecker</Address>
</CheatEntry>
<CheatEntry>
<ID>2</ID>
<Description>"...to"</Description>
<Color>80000008</Color>
<VariableType>Byte</VariableType>
<Address>OriginalCode+2</Address>
</CheatEntry>
</CheatEntries>
</CheatTable>

The code is there, the one with 'bigass table'. So, whenever I try to execute, it gives this error.

"Error in line 1 (<?xml version="1.0" encoding="utf-8"?> : This instruction can't be complied."

Any help?
Back to top
View user's profile Send private message
Bronzdragon
How do I cheat?
Reputation: 1

Joined: 27 Dec 2013
Posts: 9

PostPosted: Fri Jan 24, 2014 7:17 am    Post subject: This post has 1 review(s) Reply with quote

I can help you.

This is not an auto-assembler script. Try saving this text as a .ct file and opening it in Cheat Engine.
Back to top
View user's profile Send private message
Halokrauser
How do I cheat?
Reputation: 0

Joined: 24 Jan 2014
Posts: 2

PostPosted: Fri Jan 24, 2014 7:20 am    Post subject: Reply with quote

Bronzdragon wrote:
I can help you.

This is not an auto-assembler script. Try saving this text as a .ct file and opening it in Cheat Engine.


Thank you! Worked.
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 programming 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