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 


Cheat Engine 7.4 suggestion For AOB symbols naming

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
byteburner
Cheater
Reputation: 0

Joined: 09 Feb 2023
Posts: 31

PostPosted: Mon Feb 13, 2023 2:41 pm    Post subject: Cheat Engine 7.4 suggestion For AOB symbols naming Reply with quote

hey guys,

I looked this up in the fixes logs for newer versions of CE but I couldn't find it so I'm posting here.

So I was making an AOB it prompted me to put the name of the symbol for the injection point. I chose two separated words to describe it.
the templet popped up, added few lines. when executing got an error "error in line 12 (alloc(newmem,$1000,Infinite Jump)): Failure to determine what Infinite Jump means". so I got rid of the part of (near address) argument in alloc function. then you will get an error "Infinite was supposed to be added to the symbollist but it isn't declared". it didn't even mention the whole name as before in thee alloc error!
it seems for the name of the injection point you have to use single name without spaces, hyphen or underscore.Shocked it's my first AOB and started to burn braincells lol. all the compilers I've ever used accept at least hyphen and underscore.

Please either prevent such unacceptable names to be added from the start or give a notification regarding that and even better if they can be fully supported.Wink


with love and respect
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Mon Feb 13, 2023 3:26 pm    Post subject: Reply with quote

Underscore works fine.

What programming language accepts spaces or hyphens (minus sign, `-`) in variable names? I don't think I've ever seen that before.

It would be nice if CE scans through the string and rejects it if it contains invalid characters.

_________________
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
byteburner
Cheater
Reputation: 0

Joined: 09 Feb 2023
Posts: 31

PostPosted: Mon Feb 13, 2023 4:58 pm    Post subject: Reply with quote

space is not allowed in almost all languages I just mentioned it there as a fact. hyphen is used in Unix, CSS, Forth, GOBOL, Fortran, Lisp.. etc.
Underscore is working actually. it didn't work for me early because when I tried to modify the names to run the script, I only modify it where the error pointed to. and CE didn't object on the first line
https:
//i.imgur.
com/VHc3gts.png

then I modified with underscore got the same error. thus I got confused

https:
//i.imgur.
com/XB9gH5U.png

the confusion came because I didn't expect the prompted window was asking for a name as a variable at first, and second because it didn't check syntax for the first code at line 11 as if it was correct which is not apparently.

I'm not allowed yet to post URLs so you have to copy paste and combine. sorry for the inconvenient.

Thanks
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Mon Feb 13, 2023 5:19 pm    Post subject: Reply with quote

Lisp is the only one I'll give you. Even in that case, it's only possible due to how "unique" Lisp is.

Unix isn't a programming language (if you're referring to program arguments, those are strings), CSS is a style sheet language, never heard of GOBOL before (if you're referring to COBOL, it's dying for good reasons), and Fortran doesn't allow hyphens.

You should've replaced every instance of "Infinite Jumps" with "Infinite_Jumps"

_________________
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 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