XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 9 of 9

Thread: Bring back os.exit()

  1. #1

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Bring back os.exit()

    I'm not sure why it was taken away, but it provides functionality that Self.Logout() does not.

    An example of functionality it served was my server save logout script. Between 20-40 minutes to SS it will xlog, it waits until no creatures are on screen then closes the client.

    If i want to make my script work again i can:

    1. Stop the walker and hope monsters walking onto the screen dont keep me logged in until SS anyway.
    2. Waste money and hunting time by forcing the bot to walk back to depot, on full supplies.

    Both suck.

    Bring back os.exit()

  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 anoyn View Post
    I'm not sure why it was taken away, but it provides functionality that Self.Logout() does not.

    An example of functionality it served was my server save logout script. Between 20-40 minutes to SS it will xlog, it waits until no creatures are on screen then closes the client.

    If i want to make my script work again i can:

    1. Stop the walker and hope monsters walking onto the screen dont keep me logged in until SS anyway.
    2. Waste money and hunting time by forcing the bot to walk back to depot, on full supplies.

    Both suck.

    Bring back os.exit()
    I'm sorry but it most definitely won't be brought back. DarkstaR can confirm this if needed.

    Your best bet is to go ahead and force your script out of the spawn if its 20-40 minutes before server save (as you said above) and logout at the depot using Self.Logout().

  3. #3
    Rif's Avatar
    Join Date
    Dec 2014
    Location
    Poland
    Posts
    284
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    @anoyn go to Xenobot\Data\xb.0022.15.11.10.11~. (suggest open last file in folder) stay mouse in line 55 in library and remove or exchange this:
    lua code:
    os.exit = nil 
    os.execute = nil
    io.popen = nil

  4. #4
    Queen Fatality Fatality's Avatar
    Join Date
    Mar 2014
    Location
    Canada
    Posts
    754
    Mentioned
    83 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Rif View Post
    @anoyn go to Xenobot\Data\xb.0022.15.11.10.11~. (suggest open last file in folder) stay mouse in line 55 in library and remove or exchange this:
    lua code:
    os.exit = nil 
    os.execute = nil
    io.popen = nil
    That will only work for HIM tho, what if he wants it to work for others.

  5. #5

    Join Date
    May 2014
    Location
    Canada
    Posts
    320
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Thanks Rif, i'll definately do that.

    I'd like to hear the reasoning behind its removal.

  6. #6
    Senior Member sausting's Avatar
    Join Date
    Aug 2012
    Location
    Ontario, Canada
    Posts
    1,018
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Joshwa534 View Post
    I'm sorry but it most definitely won't be brought back. DarkstaR can confirm this if needed.

    Your best bet is to go ahead and force your script out of the spawn if its 20-40 minutes before server save (as you said above) and logout at the depot using Self.Logout().
    what about x-logs when attacked to avoid getting wasted?

  7. #7
    Senior Member sausting's Avatar
    Join Date
    Aug 2012
    Location
    Ontario, Canada
    Posts
    1,018
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rif View Post
    @anoyn go to Xenobot\Data\xb.0022.15.11.10.11~. (suggest open last file in folder) stay mouse in line 55 in library and remove or exchange this:
    lua code:
    os.exit = nil 
    os.execute = nil
    io.popen = nil
    unable to edit 'please check if this file is opened in another program'
    triple checked

  8. #8
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    os.exit() is back, just let the bot update itself (make sure you're on 1148).

  9. #9
    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 sausting View Post
    what about x-logs when attacked to avoid getting wasted?
    Was Nick's call but he added it back overnight

Posting Permissions

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