|
Post by f3tchusername on Jan 10, 2017 6:55:55 GMT
Hi. So I have a script that I have been running on my ZTE Paragon and for some reason after running the script for a few hours it either throws the error mentioned or the ankulua service just restarts (stopping the script). Please note it isn't because the phone is low end. That can be one of the reasons why but it isn't the only reason. I know this because I have had scripts in the past that run 24/7 without any problems. Anyone willing to help? I have exhausted all my ideas/solutions, nothing works. I still don't understand what in the script triggers this to happen. It is actually insanely frustrating because I have been trying to resolve this issue for the past week.
|
|
|
Post by vampiredbr9 on Jan 11, 2017 8:48:18 GMT
F3chusername check out a function in Lua called pcall, hope it helps.
|
|
|
Post by vampiredbr9 on Jan 11, 2017 8:48:54 GMT
It runs a function, and ignores any errors
|
|
|
Post by f3tchusername on Jan 13, 2017 21:34:29 GMT
F3chusername check out a function in Lua called pcall, hope it helps. Interesting. Thanks for the info, but it doesn't solve my issue with the script crashing.
|
|
|
Post by vampiredbr9 on Jan 13, 2017 21:41:12 GMT
F3chusername check out a function in Lua called pcall, hope it helps. Interesting. Thanks for the info, but it doesn't solve my issue with the script crashing. Let's say you make your whole script a function called antiCrash Function antiCrash() --do stuff End While (true) do Pcall(antiCrash) End It will now run, and the script will no longer crash because of errors, trust me, it worked for me
|
|