PDA

View Full Version : os.exit() no longer working?



Daffik
11-14-2015, 02:18 AM
hey guys, for over a year, this has worked fine for me, but since the update,
"Error: attempt to call field 'exit' (a nil value)"

elseif (labelName == "log-out") then
print([[This Script Was Created By Daffik, I hope You Enjoed It]])
wait(2000)
Self.UseItemFromGround(32246, 31066, 6)
wait(2000)
os.exit()

any ideas would be much appreciated,
Thanks in Advance

Joshwa534
11-14-2015, 02:23 AM
hey guys, for over a year, this has worked fine for me, but since the update,
"Error: attempt to call field 'exit' (a nil value)"

elseif (labelName == "log-out") then
print([[This Script Was Created By Daffik, I hope You Enjoed It]])
wait(2000)
Self.UseItemFromGround(32246, 31066, 6)
wait(2000)
os.exit()

any ideas would be much appreciated,
Thanks in Advance

Use Self.Logout() now, os.exit() no longer exists and Self.Logout() won't close the client.

Daffik
11-14-2015, 11:19 AM
Use Self.Logout() now, os.exit() no longer exists and Self.Logout() won't close the client.

hey dude, i can get get the client to logout no problem, the Self.UseItemFromGround(32246, 31066, 6) is actually the offline training for axe in svargrond, its getting the client to close after this has happened, is there no longer a way to get the client to close/ exit itself?

Joshwa534
11-14-2015, 07:47 PM
hey dude, i can get get the client to logout no problem, the Self.UseItemFromGround(32246, 31066, 6) is actually the offline training for axe in svargrond, its getting the client to close after this has happened, is there no longer a way to get the client to close/ exit itself?

os.exit() just got added back last night.

Daffik
11-15-2015, 04:08 PM
ok dude thx a bunch, this is very helpful as makes my scripts 100% afk ^^