XenoBot Forums - Powered by vBulletin

User Tag List

Page 12 of 15 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 150

Thread: [Update] XenoBot v3.0.0

  1. #111
    dondiablo's Avatar
    Join Date
    Jan 2012
    Location
    The Netherlands
    Posts
    118
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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")
    Yours,
    DonDiablo



  2. #112
    Gold Seller/Official Reseller PunktG's Avatar
    Join Date
    Dec 2011
    Posts
    4,085
    Mentioned
    196 Post(s)
    Tagged
    0 Thread(s)
    testing
    thx for all
    and Merry xmas


  3. #113
    KingDavey's Avatar
    Join Date
    Dec 2012
    Posts
    69
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    Creature.Follow is a library function, not one you have to make. I fixed that.

    *REMOVED*
    Yo bro, did you mean you removedthis function from the library? cause i cant seem to find it in there, if not how do i use it?

    Just do like:
    Local npcName = "Noob"
    Creature.Follow(npcName)

    help please haha

  4. #114
    Bomasz's Avatar
    Join Date
    May 2012
    Location
    Poznań, Poland
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OP Update.

    Lua saved with XBST is what I was looking for, for a long long time.
    Will test it as soon as I go home.
    "O tempora, o mores!"

  5. #115
    Banned
    Join Date
    Apr 2012
    Location
    Tennessee, USA
    Posts
    252
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very long update. Did a great job, thanks DarkstaR!

  6. #116
    Banned
    Join Date
    Aug 2012
    Location
    Netherlands
    Posts
    1,460
    Mentioned
    38 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    Creature.Follow("NpcName") wait(2000) is a much better way to reach NPC's
    I can't get this to work :S

    PHP Code:
    elseif (labelName == "GoVenore"then
            setWalkerEnabled
    (false)
            
    Creature.Follow("Captain Breezelda"
            
    wait(2000)
            
    Self.SayToNpc({"hi""Venore""yes"}, 65)
            
    setWalkerEnabled(true

  7. #117
    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 Avani View Post
    I can't get this to work :S

    PHP Code:
    elseif (labelName == "GoVenore"then
            setWalkerEnabled
    (false)
            
    Creature.Follow("Captain Breezelda"
            
    wait(2000)
            
    Self.SayToNpc({"hi""Venore""yes"}, 65)
            
    setWalkerEnabled(true
    Because Creature.Follow("NpcName") doesn't work and I can't find it in the XenoLuaLib.lua

  8. #118

    Join Date
    Dec 2011
    Location
    mexico, Sinaloa
    Posts
    460
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    @DarkstaR
    could u explain me why it dont work anymore????

    PHP Code:
    Self.UseLever(Self.Position().1Self.Position().ySelf.Position().z2772
    Last edited by nato12; 12-26-2012 at 04:19 AM.

  9. #119
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by martinpwnage View Post
    I was using Self.DropFlask() but i removed it and it works fine now and continues with the supply checking, no idea why it meant Self.DropItems() though :s


    Edit: now i get this error in the Self.DepositItems()

    Code:
    05:54 XenoScript Error:
               Script: ?Corym?Config.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.
    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.

  10. #120
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Joshwa534 View Post
    Because Creature.Follow("NpcName") doesn't work and I can't find it in the XenoLuaLib.lua
    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.

Posting Permissions

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