View previous topic :: View next topic |
Author |
Message |
Mortalkombatman2 Newbie cheater Reputation: 0
Joined: 24 Oct 2016 Posts: 14 Location: Gilbert, AZ
|
Posted: Sat Feb 25, 2017 4:04 am Post subject: [HELP] I'm making a script via array of bytes and it errors. |
|
|
Alright.
So here's the setup.
autoAssemble([[
registerSymbol(UnQueryablePropertyCheck)
registerSymbol(UnassignablePropertyCheck)
registerSymbol(idkwhatPropertyCheckthisis)
label(UnQueryablePropertyCheck)
label(UnassignablePropertyCheck)
label(idkwhatPropertyCheckthisis)
aobscan(SetUnQueryablePropertyCheck,75 2B 8B 41 04 83 78 14 10 72 02 8B 00 50 8D 45 E0 68 ?C ?? ?? ?? 50 E8)
aobscan(SetUnassignablePropertyCheck,75 2B 8B 41 04 83 78 14 10 72 02 8B 00 50 8D 45 E0 68 ?4 ?? ?? ?? 50 E8)
aobscan(SetidkwhatPropertyCheckthisis,75 2E 8B 45 08 8B 40 04 83 78 14 10 72 02 8B 00 50 8D 45 E0 68 C? ?? ?? ?? 50 E8)
SetUnQueryablePropertyCheck:
UnQueryablePropertyCheck:
SetUnassignablePropertyCheck:
UnassignablePropertyCheck:
SetidkwhatPropertyCheckthisis:
idkwhatPropertyCheckthisis:
]])
^^scans it
autoAssemble([[
UnQueryablePropertyCheck:
db EB
UnassignablePropertyCheck:
db EB
idkwhatPropertyCheckthisis:
db EB
]])
^^bypasses the checks
autoAssemble([[
UnQueryablePropertyCheck:
db 75
UnassignablePropertyCheck:
db 75
idkwhatPropertyCheckthisis:
db 75
]])
^^ restores the checks
but whenever i enable / disable it i get this error.
"Error:attempt to call a nil value"
Can someone please explain to me what I'm doing wrong?
Thanks, and help is greatly appreciated. <3
NOTE: Yes, the checks are located and given a symbol/label, they do get found and are valid.
_________________
will edit later |
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Feb 26, 2017 8:15 am Post subject: |
|
|
Go to the line number mentioned in the error and fix the statement you're trying to call.
Code: | Error:[string "unknownvariable()
..."]:1: attempt to call a nil value (global 'unknownvariable') |
Line: 1, Variable: unknownvariable
|
|
Back to top |
|
|
Mortalkombatman2 Newbie cheater Reputation: 0
Joined: 24 Oct 2016 Posts: 14 Location: Gilbert, AZ
|
Posted: Sat Mar 25, 2017 1:32 am Post subject: |
|
|
Zanzer wrote: | Go to the line number mentioned in the error and fix the statement you're trying to call.
Code: | Error:[string "unknownvariable()
..."]:1: attempt to call a nil value (global 'unknownvariable') |
Line: 1, Variable: unknownvariable |
it doesn't say the line error, i wrote the exact error that was showing. :\
_________________
will edit later |
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Sat Mar 25, 2017 4:16 am Post subject: |
|
|
No help. No smile....
|
|
Back to top |
|
|
|