XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 5 of 5

Thread: os.exit() no longer working?

  1. #1

    Join Date
    Feb 2013
    Posts
    84
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    os.exit() no longer working?

    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

  2. #2
    XenoBot Scripts Developer Joshwa534's Avatar
    Join Date
    May 2012
    Location
    Texas, USA
    Posts
    4,890
    Mentioned
    517 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by Daffik View Post
    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.

  3. #3

    Join Date
    Feb 2013
    Posts
    84
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Joshwa534 View Post
    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?

  4. #4
    XenoBot Scripts Developer Joshwa534's Avatar
    Join Date
    May 2012
    Location
    Texas, USA
    Posts
    4,890
    Mentioned
    517 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by Daffik View Post
    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.

  5. #5

    Join Date
    Feb 2013
    Posts
    84
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    ok dude thx a bunch, this is very helpful as makes my scripts 100% afk ^^

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •