I've got an error with my script but i dont know how to fix it
(FoV Value + Address found by me, you can keep it idc)
Here's the Code.
--critical ops FOV seek bar Test script
mbym =1if gg.isVisible(true)then
gg.setVisible(false)endlocal status =0if status ==0then
search()
status =1endif status ==1then
main()endlocal value = fov
function search()
gg.setRanges(gg.REGION_CODE_APP)
gg.searchNumber("360", gg.TYPE_FLOAT,false, gg.SIGN_EQUAL,0,-1)
gg.refineAddress("944",-1, gg.TYPE_FLOAT, gg.SIGN_EQUAL,0,-1)local fov = gg.getResults(2)endfunction main()
menu = gg.prompt({"Enter FoV Value [100 ; 400]"},nil,{fov},{"number"})end
main()whiletruedoif gg.isVisible(true)then
gg.setVisible(false)
mbym =1end
gg.sleep(100)if mbym ==1then
main()endend
Here's the Error
Script ended:
Script error: luaj.LuaError:@/storage/emulated/0/FoV Test.lua:11` search()`
attempt to call nil
level =1, pc =16
stack traceback:/storage/emulated/0/FoV Test.lua:11in main chunk
[Java]:in?
at luaj.LuaValue.checkmetatag(LuaValue.java:2895)
at luaj.LuaValue.callmt(LuaValue.java:2050)
at luaj.LuaValue.call(LuaValue.java:1477)
at luaj.LuaValue.callNotNull(LuaValue.java:3233)
at luaj.LuaClosure.execute(LuaClosure.java:431)
at luaj.LuaClosure.call(LuaClosure.java:145)
at android.ext.Script.runScript(Script.java:5403)
at android.ext.Script$ScriptThread.run(Script.java:5204)
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
YeetMeister
I've got an error with my script but i dont know how to fix it
(FoV Value + Address found by me, you can keep it idc)
Here's the Code.
Please help
@CmP
@Enyby
@TopGEOYT
@BadCase
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.