XenoBot Forums - Powered by vBulletin

User Tag List

Page 1 of 18 12311 ... LastLast
Results 1 to 10 of 176

Thread: shAdOwArt's Lua Scripts

  1. #1
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)

    shAdOwArt's Lua Scripts

    Here I will be sharing some longer lua scripts.

    LUA SCRIPTS
    Last edited by shadowart; 12-27-2016 at 05:09 PM.

  2. #2
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    shAdOwHUD
    Download

    Description
    My standard HUD that displays exp rate and profits. No configuration is required and rings, soft boots and amulets counts towards waste.

    The script will generate a config file in the Documents/Xenobot/Configs folder which can be used to change the value of items.


    If your scripts are doing backpack resets its best if those are done in the presence of either a npc, a depot chest or a training statue. However, if your backpacks are full when you're doing it I should be able to ignore it anyway in most cases.
    Last edited by shadowart; 07-12-2016 at 05:09 PM.

  3. #3
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Speed Looter
    Download


    Description
    A speed looter that also optionally opens corpses next to you. You can set a minimum value and a minimum value/oz ratio and the script will automatically loot all items that exceed either of those values. Of course there's also an explicit loot list for items that have no NPC price, but it should not have to be very long at all.

    The corpse opener works significantly better when you stand still so all in all it's much more useful for Knights. Of course you can run the script with the corpse opener disabled as well.

    Finally, the corpse opener may not work on most OTs and it has problems with corpses that fall on top of ladders and rope spots.
    Last edited by shadowart; 12-08-2015 at 05:03 PM.

  4. #4
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Dynamic Looting
    Download


    Description
    This script dynamically changes your lootlist depending on cirumstance. It can, for example, be used to loot gold only over certain capacities.

    You will need to supply the xbst with the original loot-list in the config. There is short-hand notation for expressing that you want an item to be looted only over a certain capacity and a more general notation for describing any circumstance.

    One limitation is that conditionally looted items cannot be deposited by the built-in Deposit Items waypoint.
    Last edited by shadowart; 11-24-2015 at 10:36 AM.

  5. #5

    Join Date
    Nov 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello shadowart.

    I found one of your scripts that I wanted to use and have a question about some of the editable settings.

    What would be or what I should select for the "local TmpFile =" ?

    http://forums.xenobot.net/showthread...re-items-first

    http://webcache.googleusercontent.co...&ct=clnk&gl=jp

    Thanks

  6. #6
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Do not touch anything after:
    lua code:

    -------------------------------------
    ---------- END OF SETTINGS ----------
    -------------------------------------

  7. #7

    Join Date
    Nov 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shadowart View Post
    Do not touch anything after:
    lua code:

    -------------------------------------
    ---------- END OF SETTINGS ----------
    -------------------------------------
    Thanks for the reply.

    So for example (I'm using one of your old ice witch temple script):

    lua code:

    local TmpFile = "../Tmp_"..Self.Name():gsub(" ", "_")
    local xbst = "[Mage] Ice Witch Temple"
    local RaresList = {"spider silk", "knight armor"}
    local Timeout = 10 -- After how many seconds do we switch back to loot-last if we fail to loot the rare?


    The first line, where the "local TmpFile =" is located. Should I edit something or no?

    Thanks again...

  8. #8
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    That script is not from this thread. It is old and outdated and should not be used. Since Binary the built in looter now has an option for looting only rares first - that is what you should use.
    Last edited by shadowart; 11-22-2015 at 07:30 PM.

  9. #9

    Join Date
    Nov 2015
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The problem I'm facing is that most of the profit comes from the Spider Silks which has a value of 100 gold so it keeps ignoring it.

    Thanks

  10. #10
    Kajane's Avatar
    Join Date
    Feb 2014
    Posts
    39
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Just change the HUD settings, you can add some other values if you need like spider silk
    configfile.jpg

Posting Permissions

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