XenoBot Forums - Powered by vBulletin

User Tag List

Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 49

Thread: [Update] XenoBot v3.2.4

  1. #31
    XenoBot Scripts Developer Joshwa534's Avatar
    Join Date
    May 2012
    Location
    Texas, USA
    Posts
    4,890
    Mentioned
    517 Post(s)
    Tagged
    3 Thread(s)
    @xux

    Do you have anything checking your position after a teleport to ensure you did in fact teleport? If not, here's some examples of what you could do instead.
    lua code:

    elseif(labelName == "afterTeleport")then
    if (Self.Position().z ~= 7) then -- Changing floors
    Walker.Goto("beforeTeleport")
    end

    elseif(labelName == "afterTeleport")then
    if (Self.Position().y > 12345) then -- Teleporting north
    Walker.Goto("beforeTeleport")
    end

    elseif(labelName == "afterTeleport")then
    if (Self.Position().y < 12345) then -- Teleporting south
    Walker.Goto("beforeTeleport")
    end

    elseif(labelName == "afterTeleport")then
    if (Self.Position().x < 12345) then -- Teleporting east
    Walker.Goto("beforeTeleport")
    end

    elseif(labelName == "afterTeleport")then
    if (Self.Position().x > 12345) then -- Teleporting west
    Walker.Goto("beforeTeleport")
    end

  2. #32
    Moderator Nakuu's Avatar
    Join Date
    Feb 2013
    Location
    EU
    Posts
    5,194
    Mentioned
    642 Post(s)
    Tagged
    2 Thread(s)
    @xux
    Stand next to teleport and use Self.Step('direction'). You can't actually Stand on teleport because it immediately teleports you and Xenobot doesn't register it so you get stuck.

  3. #33
    Senior Member xux's Avatar
    Join Date
    Apr 2013
    Posts
    713
    Mentioned
    33 Post(s)
    Tagged
    0 Thread(s)
    Ah yes ofc thanks both of you.
    I should have done the self.step function i think that works good.
    And yea i was already checking for the location where i was but seemed irrelevant to the question here.

    But thanks for the quick reply guys!!

    Need a private build script? PM me.

  4. #34

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Hello, my tibia just stop responding on this label
    Code:
    	elseif (labelName == 'checksoft') then
    		if (Self.ItemCount(6530) >0)  then
                        gotoLabel("gorepairsofts")
                  else
                    gotoLabel("dalej")
    end
    its first time it happen at this label.

  5. #35
    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 kubax36 View Post
    Hello, my tibia just stop responding on this label
    Code:
    	elseif (labelName == 'checksoft') then
    		if (Self.ItemCount(6530) >0)  then
                        gotoLabel("gorepairsofts")
                  else
                    gotoLabel("dalej")
    end
    its first time it happen at this label.
    I'm just curious, try this instead and see if this solves your issue:
    lua code:

    elseif (labelName == 'checksoft') then
    Walker.ConditionalGoto((Self.ItemCount(6530) > 0), "gorepairsofts", "dalej")[

  6. #36

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Joshwa534 View Post
    I'm just curious, try this instead and see if this solves your issue:
    lua code:

    elseif (labelName == 'checksoft') then
    Walker.ConditionalGoto((Self.ItemCount(6530) > 0), "gorepairsofts", "dalej")[
    i have same checker in all my scripts and it happen only in 1 script just this one time so i wont change it ;p. Seems its server issue as it was before, cuz my tibia stops to reponding now again on other spawn while attacking behemoth. I am lucky that behe was on black hp while it happen so i didnt die

    edit: the funniest thing is that always when i log in after crash i am in totaly other place than place it gets crashed
    Last edited by kubax36; 07-03-2013 at 04:18 PM.

  7. #37

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    yeah, as i thought, while site is offline then tibia clients are getting crashed

  8. #38
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by kubax36 View Post
    yeah, as i thought, while site is offline then tibia clients are getting crashed
    Then you're not using the latest version.

  9. #39

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    nvm..
    Last edited by kubax36; 07-04-2013 at 12:15 PM.

  10. #40
    Banned
    Join Date
    Jul 2012
    Location
    Sweden, Gbg
    Posts
    661
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    I Think the old magwall timers was better! D:
    Anyways, nice!

Posting Permissions

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