I have a problem. Here my script, Error i think at line 22 :
gg.alert('>>>Script By MasSy ')
gg.alert('>>>This script is A demo')
--Game Guardian detection
if
gg.isVisible(true) then
gg.setVisible(false)
end
gg.clearResults()
goto START
::START::
menu = gg.choice({':GoldHack',':Exit'})
if menu==1 then goto GoldHack end
if menu==2 then goto DONE end
if menu==nil then goto DONE end
::GoldHack:: gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)
if gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)==nil then goto ERROR
else
gg.sleep(3000)
gg.getResults(1)
gg.editAll('100',gg.TYPE_FLOAT)
gg.sleep(3000)
gg.clearResults()
gg.alert('>>>It worked, if you need more money repeat the script')
goto START
::DONE::
gg.sleep(2000)
gg.alert('>>>Script Canceled')
print('ModMenu By MasSy ')
print('-------------------')
print('THIS IS A DEMO')
print('Stay tuned and ENJOY')
os.exit()
::ERROR::
gg.alert('>>>An Error happend. Open the game, and execute the script')
gg.toast('>>>Script will Cancel in 3 Sec')
gg.sleep(3000)
print('>>>Script Canceled')
print('ModMenu By MasSy ')
print('-------------------')
print('THIS IS A DEMO')
print('Stay tuned and ENJOY')
os.exit()
I get this error:
Script terminé:
Peut-être que ce script nécessite la dernière version de GameGuardian. Essayez de mettre à jour à la dernière version.
Erreur de script: luaj.LuaError: load /storage/emulated/0/Documents/ScriptParkour.lua: luaj.LuaError: /storage/emulated/0/Documents/ScriptParkour.lua:51
`null` ''end'' expected (to close ''if'' at line 22) near <eof>
at luaj.LuaValue.error(LuaValue.java:997)
at luaj.Globals.loadfile(Globals.java:256)
at android.ext.Script.runScript(Script.java:5596)
at android.ext.Script$ScriptThread.run(Script.java:5399)
Caused by: luaj.LuaError: /storage/emulated/0/Documents/ScriptParkour.lua:51
`null`
''end'' expected (to close ''if'' at line 22) near <eof>
at luaj.compiler.LexState.lexerror(LexState.java:292)
at luaj.compiler.LexState.syntaxerror(LexState.java:296)
at luaj.compiler.LexState.check_match(LexState.java:964)
at luaj.compiler.LexState.ifstat(LexState.java:2050)
at luaj.compiler.LexState.statement(LexState.java:2167)
at luaj.compiler.LexState.statlist(LexState.java:2233)
at luaj.compiler.LexState.mainfunc(LexState.java:2249)
at luaj.compiler.LuaC$CompileState.luaY_parser(LuaC.java:121)
at luaj.compiler.LuaC.compile(LuaC.java:99)
at luaj.Globals.compilePrototype(Globals.java:360)
at luaj.Globals.loadPrototype(Globals.java:348)
at luaj.Globals.load(Globals.java:268)
at luaj.Globals.loadfile(Globals.java:250)
... 2 more
But normally, when you use "else" after "then" then you don't have to use "end" ?
So i triend somethinf to see what it does. Here the interesting part of the script :
::GoldHack:: gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)
if gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)==nil then goto ERROR end
gg.sleep(3000)
gg.getResults(1)
gg.editAll('100',gg.TYPE_FLOAT)
gg.sleep(3000)
gg.clearResults()
gg.alert('>>>It worked, if you need more money repeat the script')
goto START
Here the error :
Script terminé:
Peut-être que ce script nécessite la dernière version de GameGuardian. Essayez de mettre à jour à la dernière version.
Erreur de script: luaj.LuaError: @/storage/emulated/0/Documents/ScriptParkour.lua:21
`gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)`
attempt to call a nil value (field 'searchAdresse')
level = 1, const = 35, proto = 0, upval = 1, vars = 4, code = 133
CALL v0..v2
; PC 44 CODE 0180401D OP 29 A 0 B 3 C 1 Bx 1537 sBx -129534
stack traceback:
/storage/emulated/0/Documents/ScriptParkour.lua:21 in main chunk
[Java]: in ?
at luaj.LuaValue.checkmetatag(LuaValue.java:2829)
at luaj.LuaValue.callmt(LuaValue.java:1966)
at luaj.LuaValue.call(LuaValue.java:1453)
at luaj.LuaValue.callNotNull(LuaValue.java:3197)
at luaj.LuaClosure.execute(LuaClosure.java:509)
at luaj.LuaClosure.call(LuaClosure.java:159)
at android.ext.Script.runScript(Script.java:5660)
at android.ext.Script$ScriptThread.run(Script.java:5399)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
M0wGlis
I have a problem. Here my script, Error i think at line 22 :
gg.alert('>>>Script By MasSy ')
gg.alert('>>>This script is A demo')
--Game Guardian detection
if
gg.isVisible(true) then
gg.setVisible(false)
end
gg.clearResults()
goto START
::START::
menu = gg.choice({':GoldHack',':Exit'})
if menu==1 then goto GoldHack end
if menu==2 then goto DONE end
if menu==nil then goto DONE end
::GoldHack::
gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)
if gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)==nil then goto ERROR
else
gg.sleep(3000)
gg.getResults(1)
gg.editAll('100',gg.TYPE_FLOAT)
gg.sleep(3000)
gg.clearResults()
gg.alert('>>>It worked, if you need more money repeat the script')
goto START
::DONE::
gg.sleep(2000)
gg.alert('>>>Script Canceled')
print('ModMenu By MasSy ')
print('-------------------')
print('THIS IS A DEMO')
print('Stay tuned and ENJOY')
os.exit()
::ERROR::
gg.alert('>>>An Error happend. Open the game, and execute the script')
gg.toast('>>>Script will Cancel in 3 Sec')
gg.sleep(3000)
print('>>>Script Canceled')
print('ModMenu By MasSy ')
print('-------------------')
print('THIS IS A DEMO')
print('Stay tuned and ENJOY')
os.exit()
I get this error :
Script terminé:
Peut-être que ce script nécessite la dernière version de GameGuardian. Essayez de mettre à jour à la dernière version.
Erreur de script: luaj.LuaError: load /storage/emulated/0/Documents/ScriptParkour.lua: luaj.LuaError: /storage/emulated/0/Documents/ScriptParkour.lua:51
`null`
''end'' expected (to close ''if'' at line 22) near <eof>
at luaj.LuaValue.error(LuaValue.java:997)
at luaj.Globals.loadfile(Globals.java:256)
at android.ext.Script.runScript(Script.java:5596)
at android.ext.Script$ScriptThread.run(Script.java:5399)
Caused by: luaj.LuaError: /storage/emulated/0/Documents/ScriptParkour.lua:51
`null`
''end'' expected (to close ''if'' at line 22) near <eof>
at luaj.compiler.LexState.lexerror(LexState.java:292)
at luaj.compiler.LexState.syntaxerror(LexState.java:296)
at luaj.compiler.LexState.check_match(LexState.java:964)
at luaj.compiler.LexState.ifstat(LexState.java:2050)
at luaj.compiler.LexState.statement(LexState.java:2167)
at luaj.compiler.LexState.statlist(LexState.java:2233)
at luaj.compiler.LexState.mainfunc(LexState.java:2249)
at luaj.compiler.LuaC$CompileState.luaY_parser(LuaC.java:121)
at luaj.compiler.LuaC.compile(LuaC.java:99)
at luaj.Globals.compilePrototype(Globals.java:360)
at luaj.Globals.loadPrototype(Globals.java:348)
at luaj.Globals.load(Globals.java:268)
at luaj.Globals.loadfile(Globals.java:250)
... 2 more
But normally, when you use "else" after "then" then you don't have to use "end" ?
So i triend somethinf to see what it does. Here the interesting part of the script :
::GoldHack::
gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)
if gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)==nil then goto ERROR end
gg.sleep(3000)
gg.getResults(1)
gg.editAll('100',gg.TYPE_FLOAT)
gg.sleep(3000)
gg.clearResults()
gg.alert('>>>It worked, if you need more money repeat the script')
goto START
Here the error :
Script terminé:
Peut-être que ce script nécessite la dernière version de GameGuardian. Essayez de mettre à jour à la dernière version.
Erreur de script: luaj.LuaError: @/storage/emulated/0/Documents/ScriptParkour.lua:21
`gg.searchAdresse('E5E7F5F4',gg.TYPE_FLOAT)`
attempt to call a nil value (field 'searchAdresse')
level = 1, const = 35, proto = 0, upval = 1, vars = 4, code = 133
CALL v0..v2
; PC 44 CODE 0180401D OP 29 A 0 B 3 C 1 Bx 1537 sBx -129534
stack traceback:
/storage/emulated/0/Documents/ScriptParkour.lua:21 in main chunk
[Java]: in ?
at luaj.LuaValue.checkmetatag(LuaValue.java:2829)
at luaj.LuaValue.callmt(LuaValue.java:1966)
at luaj.LuaValue.call(LuaValue.java:1453)
at luaj.LuaValue.callNotNull(LuaValue.java:3197)
at luaj.LuaClosure.execute(LuaClosure.java:509)
at luaj.LuaClosure.call(LuaClosure.java:159)
at android.ext.Script.runScript(Script.java:5660)
at android.ext.Script$ScriptThread.run(Script.java:5399)
Please i need help.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.