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 


Why no dialogs on assert failures ?

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

Joined: 28 Jul 2011
Posts: 12

PostPosted: Mon Feb 17, 2014 7:50 pm    Post subject: Why no dialogs on assert failures ? Reply with quote

On some (good) scripts, people use asserts to make sure the codepoint is the same.
However, if it fails, CE don't say anything, it just won't enable the script.
Is there a reason for this odd, silent behavior ?

At the very least, it should say something like, "Sorry, this script isn't for your version of the program" or whatever.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25855
Location: The netherlands

PostPosted: Mon Feb 17, 2014 7:59 pm    Post subject: Reply with quote

Ticking the scripts in the addresslist won't show them. But if you manually execute the script using the auto assembler window it will show

Also, some assert calls are done because of a timing issue, and there showing a message that the user has to click away is annoying
e.g on .net games where the script patches the code when the player takes damage. If the player has never taken damage, the code hasn't been compiled in yet.

Or in some initialization scripts where an assert is done to make sure the initialization thread has finished running (e.g: integrity check bypass which can only allow secondary cheats to run when the first one has been fully activated)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
kosh
Newbie cheater
Reputation: 0

Joined: 28 Jul 2011
Posts: 12

PostPosted: Mon Feb 17, 2014 8:02 pm    Post subject: Reply with quote

Yeah, I knew about manually running the script, I just thought it was a bit odd doing it that way.

Maybe add another assert helper function to validate the code point, something like assertValid(LUDO+001f8a6a,f3 0f 10 5d 08, "This script will not work for you")
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