Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Apr 2014
    Posts
    3
    Reputation
    10
    Rep Power
    0

    Bug SlimeTrainer.lua

    On the last 4 lines os SlimeTrainer.lua SCRIPT_VERSION 1.0.0 you can find:

    elseif killmother.logout and not $battlesigned then
    logout() waitping()
    closeclient()
    os.exit()
    end


    But my character didn't logout even after killing the slime mother. As far as I know the function elseif does no exist (I studied C and matlab programming, but I'm new with this bot), then I'll try to do the following modification:

    if killmother.logout and not $battlesigned then
    logout(1) waitping(1)
    closeclient(1)
    os.exit(1)
    end
    end


    I added another end because it was showing an error without it.
    Please, correct me if I'm wrong.

  2. #2
    Free User
    Join Date
    Apr 2014
    Posts
    3
    Reputation
    10
    Rep Power
    0
    Still not working. and I found out that when killing slime mother it does't change the weapon.
    Can someone help?

  3. #3
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    @brunomeni, all the scripts on the bot are written in Lua. elseif does exist in this language.

    Make sure you have logout set to true, in line 12.

    And you could always change it to:
    elseif killmother.logout and not $pvpsigned then
    xlog() waitping()
    os.exit()
    end

  4. #4
    Free User
    Join Date
    Apr 2014
    Posts
    3
    Reputation
    10
    Rep Power
    0
    Thank you very much @Lucas Terra

 

 

Tags for this Thread

Posting Permissions

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