XenoBot Forums - Powered by vBulletin

User Tag List

Page 3 of 18 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 176

Thread: shAdOwArt's Lua Scripts

  1. #21
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Fixed an issue in the HUD with rings sometimes getting counted a second time as they expired.

  2. #22
    Senior Member Bollo's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    1,865
    Mentioned
    174 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shadowart View Post
    shAdOwHUD
    Download
    Download - OT Version

    Description
    My standard HUD that displayed exp and profit gained per stamina hour. No configuration is required and rings, soft boots and amulets counts towards waste. The OT version is slightly more fragile as it cannot detect nearby NPCs, but the normal version will not work at all on many OTs. The script will generate a config file in the Documents/Xenobot folder which can be used to change the value of items.
    11:22 XenoScript Error:
    Script: shAdOwHUD.lua
    Line #: 454
    Chunk: C:?Users?Bollo?DOCUME?1?XenoBot?Scripts??SHADOW?1. LUA
    Error: attempt to perform arithmetic on field '?' (a nil value)
    This is an error with user-input and should not be reported as a bug with XenoBot.

    Crashes randomly after a while.

    #453 elseif count < 0 and not IsSupply(id) then
    #454 totalNewCount = totalNewCount + (Item.isStackable(id) and 1 or new[id])

    Any ideas?

  3. #23
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by Bollo View Post
    11:22 XenoScript Error:
    Script: shAdOwHUD.lua
    Line #: 454
    Chunk: C:?Users?Bollo?DOCUME?1?XenoBot?Scripts??SHADOW?1. LUA
    Error: attempt to perform arithmetic on field '?' (a nil value)
    This is an error with user-input and should not be reported as a bug with XenoBot.

    Crashes randomly after a while.

    #453 elseif count < 0 and not IsSupply(id) then
    #454 totalNewCount = totalNewCount + (Item.isStackable(id) and 1 or new[id])

    Any ideas?
    That's a very old bug, just redownload and it will be fixed.

  4. #24

    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yo ive been using ur hud for a few weeks allready and without any problems, rlly nice work man, however i do have one question
    when im on a pally and i hunt with spears it works fine but if i hunt with arrows the hud doesnt count each arrow as waste .. Could u help me fix this please? thx alot

  5. #25
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by FiestaMan View Post
    Yo ive been using ur hud for a few weeks allready and without any problems, rlly nice work man, however i do have one question
    when im on a pally and i hunt with spears it works fine but if i hunt with arrows the hud doesnt count each arrow as waste .. Could u help me fix this please? thx alot
    Oh fuck, I did not think about Paladins at all when I made the waste counter (I never play Paladins). I'm surprised that it has taken this long for someone to point that out. I'll edit this when I've fixed it.

    Edit: Fixed.
    Last edited by shadowart; 11-30-2015 at 01:34 PM.

  6. #26
    Senior Member xux's Avatar
    Join Date
    Apr 2013
    Posts
    713
    Mentioned
    33 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shadowart View Post
    Oh fuck, I did not think about Paladins at all when I made the waste counter (I never play Paladins). I'm surprised that it has taken this long for someone to point that out. I'll edit this when I've fixed it.
    Vocation racist :P

    Need a private build script? PM me.

  7. #27
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by xux View Post
    Vocation racist :P
    Haha, I just like that sweet exp you get when you play mages =)

    Also, fixed the ammunition issue.

  8. #28
    Senior Member xux's Avatar
    Join Date
    Apr 2013
    Posts
    713
    Mentioned
    33 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by shadowart View Post
    Haha, I just like that sweet exp you get when you play mages =)

    Also, fixed the ammunition issue.
    True exp is nice on mages

    here i got an interesting flaw on my druid
    c8967836d1.jpg
    And nope these stones are not in the looter or even in my bp
    (doing stone golems and mammoths on a 34 druid)

    Need a private build script? PM me.

  9. #29
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by xux View Post
    True exp is nice on mages

    here i got an interesting flaw on my druid
    c8967836d1.jpg
    And nope these stones are not in the looter or even in my bp
    (doing stone golems and mammoths on a 34 druid)
    That's interesting. This bunch of prefixes that I got from an old speed looter are used to identify decayed corpses: "the", "demonic", "dead", "slain", "dissolved", "remains", "elemental". However, it turns out that for stone golems we also need the "split" prefix. So what happened in your case was that you missed looting a corpse, and then the next time you came back to it it had decayed and since "split" wasnt in the prefix list it couldnt tell that it was a corpse and counted the corpse items as if they had been in a backpack, then you walked away and the small stones disappeared so it added them to the waste list.

    I've fixed the stone golem issue now.

    Edit: I also removed the OT version. The script will now automatically detect if you're on an OT and adapt accordingly, so you don't have to bother with two files if you play both OTs and regular tibia.
    Last edited by shadowart; 11-30-2015 at 04:23 PM.

  10. #30

    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    it works perfect now thx man

Posting Permissions

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