Easily disable Cleo scripts
Posted 03 August 2014 - 02:10 AM
Posted 03 August 2014 - 05:02 AM
play the game as is? you mean like unmodded?
then move cleo.asi out of game dir, start game either with or without cleo, that's the easiest way
there are also other methods, like 0ABA: end_custom_thread_named or modify the cleoscripts by adding keypress checks or by adding a global var
0ABA: end_custom_thread can be easy
it requires that the cleo script have a valid thread name at script beginn
you need to open the script with sannybuilder to get the thread name and paste it to the end thread command of your "disabler script"
it works only if it is a valid name: max.7 charackters as name are valid
if the name is wrong, then correct it
if there isn' a thread name, then add it, then compile the script again
I would do the codes for a disabler script in this way
1. check with 0AAB: if the script exist in cleo folder: expects FILE NAME
2. check with 0AAA: if the thread is running: expects THREAD NAME
3. terminate thread with 0ABA: expects THREAD NAME
if 0AAB: file_exists "CLEO\RUN.cs"// check if the script exist in cleo folder: expects FILE NAME then 0AAA: [email protected] = thread 'TH_NAME' pointer // check if the thread is running: expects THREAD NAME if not [email protected] == 0 then 0ABA: end_custom_thread_named 'TH_NAME' // terminate thread: expects THREAD NAME end end
- frankandbeans likes this
Posted 03 August 2014 - 07:16 PM
Posted 04 August 2014 - 05:27 AM
Posted 04 August 2014 - 06:09 AM
You need to remove 'asi' extension from CLEO.asi file, so it won't be loaded with Asi Loader. Rename it to CLEO.jasi, for example.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users