XenoBot Forums - Powered by vBulletin

User Tag List

Page 13 of 15 FirstFirst ... 31112131415 LastLast
Results 121 to 130 of 150

Thread: [Update] XenoBot v3.0.0

  1. #121
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by dondiablo View Post
    I got this when the bot tries to deposit items:

    Code:
    16:53 XenoScript Error:
               Script: [Spheres] Spheres v2.lua
               Line #: 1684
               Chunk: C:\Program Files ?x86??XenoBot?Data?XenoLuaLib.lua
               Error: attempt to call field 'GetItemIDFromDualInput' (a nil
    value)
    This is an error with user-input and should not be reported as a
    bug with XenoBot.
    The function where it stucks is:
    Code:
        elseif label == "Depot" then
            setWalkerEnabled(false)
            Self.ReachDepot()
            Self.DepositItems({"wand of starstorm", 1}, {"energy soil", 0}, {"berserk potion", 0}, {"small amethyst", 0}, {"great health potion", 0})
            wait(500, 900)
            Self.WithdrawItems(2, {"small enchanted amethyst", 0, 20})
            if Self.ItemCount(678) < 20 then
                gotoLabel("Depot")

    This is a bug with Forgee's library. He overwrites the global item class on accident, causing it to break. Before, the Item class wasn't used extensively so this went unnoticed. Now, though, I use it a lot more and so Forgee's library causes issues.

  2. #122
    Banned
    Join Date
    Apr 2012
    Location
    Little Red Dot
    Posts
    2,957
    Mentioned
    204 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    Thats because it is Creature:Follow, a member function, but calling it using the static call syntax (. instead of causes the "self" field to be the first argument (in this case, the NPC name). We then do a Creature.New() and call :Follow() from there.

    This works, I use it personally.

    Quote Originally Posted by DarkstaR View Post
    Creature.Follow("NpcName") wait(2000) is a much better way to reach NPC's
    .........

  3. #123
    dondiablo's Avatar
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    118
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    This is a bug with Forgee's library. He overwrites the global item class on accident, causing it to break. Before, the Item class wasn't used extensively so this went unnoticed. Now, though, I use it a lot more and so Forgee's library causes issues.
    So how am I supposed to fix this?
    Yours,
    DonDiablo



  4. #124
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by dondiablo View Post
    So how am I supposed to fix this?
    Learning to read and comprehend is the first step.

    Go to the first post in this thread.

  5. #125

    Join Date
    Jul 2012
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I for example using old version (from 20 th dec) since witch update half of my scripts fucked up

  6. #126
    Gold Seller/Official Reseller PunktG's Avatar
    Join Date
    Dec 2011
    Posts
    4,085
    Mentioned
    196 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rydan View Post
    Tibia updates -> Bot needs update
    Bot updates -> Scripts need updates

    Get the fact that scripts do sometimes need an update to work with new things.
    ye is true
    all should be hapy bot is better each update


  7. #127
    Masiar's Avatar
    Join Date
    Aug 2012
    Location
    Here
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Problem with Windows 8.


  8. #128
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Masiar View Post
    Problem with Windows 8.

    Make sure it's run as admin.


    Also, Sublime Text is the shit.

  9. #129
    Lifetime Subscriber Stusse's Avatar
    Join Date
    Dec 2011
    Location
    solid-scripts.com
    Posts
    3,523
    Mentioned
    346 Post(s)
    Tagged
    1 Thread(s)
    Not sure what I'm doing wrong either but the creature.follow doesnt seem to work the way I use it. Just followed your instructions previously posted in this thread.

  10. #130
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Stusse View Post
    Not sure what I'm doing wrong either but the creature.follow doesnt seem to work the way I use it. Just followed your instructions previously posted in this thread.
    Are you following a creature behind a counter, or something?

    As long as you are on the creatures screen it works fine. I use it.

Posting Permissions

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