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 


Invalid Identifier?

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

Joined: 25 Aug 2019
Posts: 20

PostPosted: Sun Apr 19, 2020 8:35 pm    Post subject: Invalid Identifier? Reply with quote

I want to create a simple aobscan script. Here's the code

Code:

[ENABLE]
aobscan(goodsvalue, ?? 00 00 00 00 00 00 00 5D BC 9A FE 00 18 68 9D FC 4A 42 FD AA CE 31 B2 70 F8 ?? ?? ?? 02 00 00 ?? ?? ?? ?? ?? ?? 00 00 D9 9A 5E 6A 00 00 00 00 08 00 00 00 00 00 00 00 98 52 9B FD F6 7F 00 00 00 00 00 00 00 00 00 00)
label(goodsvalue)
registersymbol(goodsvalue)

Goods Value:

[DISABLE]
unregistersymbol(goodsvalue)


When I try to assign it to cheat table, I get an error stating, "Error in line 3 (label( 00000000)00000000)) is not a valid identifier.

I have no space between the opening parathesis and the g in "goodsvalue", so what exactly am I missing here?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 153

Joined: 06 Jul 2014
Posts: 4734

PostPosted: Sun Apr 19, 2020 8:40 pm    Post subject: Reply with quote

Remove label(goodsvalue)
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
QuarryTen
Newbie cheater
Reputation: 0

Joined: 25 Aug 2019
Posts: 20

PostPosted: Sun Apr 19, 2020 8:52 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Remove label(goodsvalue)


Thanks for the reply!

Now, would you happen to know why it just loads and loads when the script is activated, whereas when I scanned for the AOB, it loaded fairly quickly?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 153

Joined: 06 Jul 2014
Posts: 4734

PostPosted: Sun Apr 19, 2020 10:24 pm    Post subject: Reply with quote

I have absolutely no idea what you mean by "load" in this context.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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