View previous topic :: View next topic |
Author |
Message |
dark1337 How do I cheat? Reputation: 0
Joined: 18 Jul 2018 Posts: 8 Location: 1337
|
Posted: Wed Jul 18, 2018 1:28 am Post subject: I cant disable my script |
|
|
Code: | function CECheckbox2Change(sender)
if UDF1.CECheckbox2.Checked == true then
autoAssemble([[
label(airp)
registersymbol(airp)
aobscan(Airp,0F 84 ?? ?? ?? ?? 83 7F 14 07)
airp:
Airp:
db 0F 85
label(dcm11)
registersymbol(dcm11)
aobscan(Dcm11,F3 0F 11 11 0F 28 D7 F3 0F 11 41 04)
dcm11:
Dcm11:
db 90 90 90 90
label(dcm22)
registersymbol(dcm22)
aobscan(Dcm22,F3 0F 11 53 20 F3 0F 11 43 24 38 ?? 31 01 00 00)
dcm22:
Dcm22:
db 90 90 90 90 90
]])
else
autoAssemble([[
db 0F 84
unregistersymbol(airp)
db F3 0F 11 11
unregistersymbol(dcm11)
db F3 0F 11 53 20
unregistersymbol(dcm22)
]])
end
end |
why i disable the script my game will crash
how i fix this
_________________
a new new newbie ce user
Last edited by dark1337 on Wed Jul 18, 2018 3:14 am; edited 1 time in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25291 Location: The netherlands
|
Posted: Wed Jul 18, 2018 1:38 am Post subject: |
|
|
it's weird the game crashes on disable as you're writing to 00000000: which is usually unallocated memory so it shouldn't do anything
_________________
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 |
|
|
dark1337 How do I cheat? Reputation: 0
Joined: 18 Jul 2018 Posts: 8 Location: 1337
|
Posted: Wed Jul 18, 2018 1:44 am Post subject: |
|
|
Dark Byte wrote: | it's weird the game crashes on disable as you're writing to 00000000: which is usually unallocated memory so it shouldn't do anything |
so how i fix that?
_________________
a new new newbie ce user |
|
Back to top |
|
|
panraven Grandmaster Cheater Reputation: 55
Joined: 01 Oct 2008 Posts: 942
|
Posted: Wed Jul 18, 2018 4:59 am Post subject: |
|
|
No sure the real crash reason, but some seemly error ...
1. no address before db line in disable script,
2. airp and Airp (and etc) seems treat as same symbol in AA (AA symbol is case-insensitive?)
3. given airp and Airp are different symbol, (rename airp to _airp),
this
Code: |
label(_airp)
registersymbol(_airp)
aobscan(Airp,0F 84 ?? ?? ?? ?? 83 7F 14 07)
_airp:
Airp:
db 0F 85
|
probably won't run , since it is define Airp (already has a value from AOBSCAN) by an undefined label _airp. Might try reverse order
Code: |
Airp:
_airp:
db 0F 85
|
_________________
- Retarded. |
|
Back to top |
|
|
dark1337 How do I cheat? Reputation: 0
Joined: 18 Jul 2018 Posts: 8 Location: 1337
|
Posted: Wed Jul 18, 2018 5:26 am Post subject: |
|
|
panraven wrote: | No sure the real crash reason, but some seemly error ...
1. no address before db line in disable script,
2. airp and Airp (and etc) seems treat as same symbol in AA (AA symbol is case-insensitive?)
3. given airp and Airp are different symbol, (rename airp to _airp),
this
Code: |
label(_airp)
registersymbol(_airp)
aobscan(Airp,0F 84 ?? ?? ?? ?? 83 7F 14 07)
_airp:
Airp:
db 0F 85
|
probably won't run , since it is define Airp (already has a value from AOBSCAN) by an undefined label _airp. Might try reverse order
Code: |
Airp:
_airp:
db 0F 85
|
|
if i enable and disable like this is work fine but if i mix all in lua script and i disable will crash
Description: |
|
Filesize: |
1.71 KB |
Viewed: |
1867 Time(s) |
|
_________________
a new new newbie ce user |
|
Back to top |
|
|
|