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 scripting

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

Joined: 13 Jan 2017
Posts: 8

PostPosted: Fri Jan 13, 2017 10:39 pm    Post subject: Help with scripting Reply with quote

Hey guys I'm new here, I found these hacks that I can use through Cheat Engine, I assume they need to be put in the table (via show cheat table lua script in the table menu), I put in the codes for it but I'm having a problem of an unexpected symbol error.

Here is the code;

<CheatEntry>
<Description>"Alien Arm"</Description>
<Color>80000008</Color>
<VariableType>Byte</VariableType>
<Address>00573BBC</Address>
</CheatEntry>

Anyone help?
Back to top
View user's profile Send private message AIM Address
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jan 13, 2017 11:07 pm    Post subject: Reply with quote

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="19">
<CheatEntries>
<CheatEntry>
<Description>"Alien Arm"</Description>
<Color>80000008</Color>
<VariableType>Byte</VariableType>
<Address>00573BBC</Address>
</CheatEntry>
</CheatEntries>
</CheatTable>


or...



Alien Arm.ct
 Description:

Download
 Filename:  Alien Arm.ct
 Filesize:  288 Bytes
 Downloaded:  330 Time(s)

Back to top
View user's profile Send private message
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Fri Jan 13, 2017 11:20 pm    Post subject: Reply with quote

Thank you, although the code has the same symbol problem, would you mind walking me through enabling the download file?
Back to top
View user's profile Send private message AIM Address
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Jan 13, 2017 11:39 pm    Post subject: Reply with quote

Regarding the symbol problem...using Notepad++, copy and paste the above code and save as .ct file. That should open with CE, latest version.

Regarding the attached table, open it using CE latest version and then attach CE to the target process. Once attached, if the address is good, editing the value should work as intended.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Jan 13, 2017 11:42 pm    Post subject: Reply with quote

Copy the XML, open CE, press Ctrl+V to paste.
Do not paste this into the Auto Assemble or Lua scripts.
Back to top
View user's profile Send private message
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Fri Jan 13, 2017 11:52 pm    Post subject: Reply with quote

Okay, so guide me through this, first time doing this, do I need to have a match started and what do I need to keep an eye out for? What do I need to enter?
Back to top
View user's profile Send private message AIM Address
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Sat Jan 14, 2017 5:48 pm    Post subject: Reply with quote

Also, how will I know it works?
Back to top
View user's profile Send private message AIM Address
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 14, 2017 6:53 pm    Post subject: Reply with quote

You expect us to just guess?
Back to top
View user's profile Send private message
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Sat Jan 14, 2017 7:56 pm    Post subject: Reply with quote

No Mr. Bond, I expect you to DIE!! Jk jk xD No I'm an ametuer to this kind of thing and with the help already provided, which I appreciate, thought you also knew how to execute it or knew how it works for this particular game.
Back to top
View user's profile Send private message AIM Address
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 14, 2017 8:43 pm    Post subject: Reply with quote

What I mean is...you did not tell us anything about the game or what the cheat is for or how you even found it, so we have no idea about it.
Back to top
View user's profile Send private message
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Sat Jan 14, 2017 10:55 pm    Post subject: Reply with quote

Ah! My bad, misinterpreted it, the game is for Metal Fatigue and I got it from a site called gamehacking with .org instead of the standard url under the thread named [pc] metal fatigue cheat engine table

The combot parts are what I'm interested in and as far as I'm aware, these codes are supposed to give you said part(s), so the one in this thread for example, is supposed to give me this arm but not entirely sure how it works, whether the spawn is in the combot assembly or parts factory or something.

Apologies to everyone!
Back to top
View user's profile Send private message AIM Address
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 14, 2017 11:01 pm    Post subject: Reply with quote

Well, since it's a simple address and the value is byte type, then it's probably a static address for a boolean or a leveler of sorts. Just change the value to 1 and see if it unlocks anything.
Back to top
View user's profile Send private message
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Sat Jan 14, 2017 11:21 pm    Post subject: Reply with quote

From the bottom window? It didn't work unless you're thinking from somewhere else?
Back to top
View user's profile Send private message AIM Address
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jan 14, 2017 11:44 pm    Post subject: Reply with quote

You have to attach Cheat Engine to the game first. You do that by clicking on the computer icon in the upper-left corner of the main window in Cheat Engine. When you click on it, a process list will come up. If the game is running (which it should be), you should see it as one of the options inside the process list. Click on it and then click 'Open'.

Once attached, assuming that you have the Alien Arm entry inside your cheat table, you should be able to double-click on the value part and change it.
Back to top
View user's profile Send private message
Syjinx
How do I cheat?
Reputation: 0

Joined: 13 Jan 2017
Posts: 8

PostPosted: Sun Jan 15, 2017 12:05 am    Post subject: Reply with quote

Okay done that, what's unusual that's just happened, I didn't click the active square, once I did, the value went to 0, so thinking if I set it to 1, as you suggested, it would have solved it but nothing happened

<- #1 noob
Back to top
View user's profile Send private message AIM Address
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