XenoBot Forums - Powered by vBulletin

User Tag List

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

Thread: [Update] XenoBot Apophis v14.11.19.881 [Protocol 10.71]

  1. #31
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Byrd View Post
    I had a debug also @DarkstaR
    Quote Originally Posted by Boomtune View Post
    My tibia clients are freezing after a time randomly... dunno why this happen now.
    Quote Originally Posted by marcin252 View Post
    getting debug after deposit items in dp or in while he is depositing. on all tibia. using with otland ip changer from shadowcores.twifysoft.net
    Quote Originally Posted by eddyN View Post
    same here, but it only happend to my paladins.. strange as fuck

    If you're getting debugs on OT, please do not report them here. It seems like many of these issues are issues with the TFS update for 10.70, not with XenoBot.

    If you're getting the debugs on RL tibia and I've quoted/tagged you in this post, please respond with more detail so I can start tracking the bug down.
    @Byrd @Boomtune @marcin252 @eddyN

  2. #32

    Join Date
    Nov 2013
    Posts
    69
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    yeah, im getting on rl tibia too, on server morta with my ek he is debugging when he is reopening bps in depo or on reopening wpt. Why? is it something with reopen function?
    btw, when i enter shadowcores ip on xeno ip changer it says "cant find server"
    Last edited by marcin252; 12-18-2014 at 05:33 PM.

  3. #33
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by marcin252 View Post
    yeah, im getting on rl tibia too, on server morta with my ek he is debugging when he is reopening bps in depo or on reopening wpt. Why? is it something with reopen function?
    btw, when i enter shadowcores ip on xeno ip changer it says "cant find server"
    I'll check it out, it might be a retro bug. Thanks.

  4. #34

    Join Date
    Jul 2012
    Posts
    152
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    @DarkstaR I believe I had x-logged in spawn, so I loaded settings before logging in. Upon logging in the script started to open the backpacks and it debugged.



  5. #35
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Byrd View Post
    @DarkstaR I believe I had x-logged in spawn, so I loaded settings before logging in. Upon logging in the script started to open the backpacks and it debugged.

    Trying to get crashes on retro didn't work, so I'll look into this next. What script are you using?

  6. #36

    Join Date
    Jul 2012
    Posts
    152
    Mentioned
    22 Post(s)
    Tagged
    0 Thread(s)
    I think it was JXS Deeper Ancient Ruins. Wasn't retro, just normal game world.



  7. #37

    Join Date
    Nov 2013
    Posts
    69
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    im using xeno on my vps but i dont think this can do something about debugs because in previous version all worked fine, now all my bots are debugging in dp. ALWAYS IN DP i can post how its my reopen bp and depositer looking:
    if (labelName == "OpenToDeposit") then
    Walker.Stop()
    Self.CloseContainers() -- closes all backpacks

    while (Dedi_WindowCount("all") < 3) do
    Self.CloseContainers()
    wait(500,600)
    Self.OpenMainBackpack(true) -- Opening main backpack
    wait(500,600)
    Container.GetByName(MainBackpack):OpenChildren({St ackBackpack, true}) -- Opening backpack with stackable items
    wait(500,600)
    Container.GetByName(MainBackpack):OpenChildren({Lo otBackpack, true}) -- Opening backpack with items
    Container:Minimize()
    end
    Walker.Start()
    elseif (labelName == "Deposit") then
    --Opening depot & bps
    Walker.Stop()
    findDepot()
    wait(500,600)
    Container.GetByName("Locker"):OpenChildren({3502, true}) -- Opens depot chest
    wait(500,600)
    Container.GetByName("Locker"):Close() -- Closes locker
    wait(500,600)
    Container.GetByName("Depot Chest"):OpenChildren({ItemsDepotBP, true}) -- Opens depot bp for normal items
    wait(500,600)
    Container.GetByName("Depot Chest"):OpenChildren({StackDepotBP, true}) -- Opens depot bp for stackables
    wait(500,600)

    while (Container.GetByName(ItemsDepotBP):isFull()) do -- Opening next backpack untill reach non fully filled
    Dedi_OpenNextBp(ItemsDepotBP)
    wait(200,400)
    end

    while (Container.GetByName(StackDepotBP):isFull()) do -- Opening next backpack untill reach non fully filled
    Dedi_OpenNextBp(StackDepotBP)
    wait(200,400)
    end


    --Depositing items
    for i=0,5 do -- Repeat 4 times (put here amount of loot backpacks you have on yourself)
    for j=Container.GetByName(LootBackpack):ItemCount()-1, 0, -1 do -- Checks all slot takens
    local ItemName = Item.GetName(Container.GetByName(LootBackpack):Get ItemData(j).id):titlecase()

    if table.contains(Items, ItemName) then -- If item is in Item list, move from loot backpack to depot bp)
    Container.GetByName(LootBackpack):MoveItemToContai ner(j, Container.GetByName(ItemsDepotBP):Index(), Container.GetByName(ItemsDepotBP):ItemCapacity()-1)
    wait(200,400)
    end

    if Container.GetByName(ItemsDepotBP):isFull() then -- If depot backpack is filled open next
    Dedi_OpenNextBp(ItemsDepotBP)
    wait(200,400)
    end
    end
    Dedi_OpenNextBp(LootBackpack) -- Checked all slots in current loot backpack, so open next and repeat looking for items again
    wait(200,400)
    end


    --Depositing stackables
    -- Here we have only 1 backpack, so we don't have to repeat it few times
    for j=Container.GetByName(StackBackpack):ItemCount()-1, 0, -1 do
    local ItemName = Item.GetName(Container.GetByName(StackBackpack):Ge tItemData(j).id):titlecase()
    if table.contains(Stackable, ItemName) then
    Container.GetByName(StackBackpack):MoveItemToConta iner(j, Container.GetByName(StackDepotBP):Index(), Container.GetByName(StackDepotBP):ItemCapacity()-1)
    wait(200,400)
    end

    if Container.GetByName(StackDepotBP):isFull() then
    Dedi_OpenNextBp(StackDepotBP)
    wait(200,400)
    end
    end


    --Closing bps with items
    Container.GetByName(ItemsDepotBP):Close()
    wait(200,400)
    Container.GetByName(StackDepotBP):Close()
    wait(200,400)


    -- Opening main backpack and backpack for supplies
    Self.CloseContainers()
    while Dedi_WindowCount("all") < 5 do
    Self.CloseContainers()
    wait(500,600)
    Self.OpenMainBackpack(true)
    wait(500,600)
    Container.GetByName(MainBackpack):OpenChildren({Su pplyBackpack, true}, {LootBackpack, true}, {StackBackpack, true}, {FoodBackpack, true})
    wait(500,600)
    Container:Minimize()
    end

    Walker.Start()

    end
    end
    and depositer function:
    -- Farmine Depots
    local depots = {{33025, 31443,11},{33027, 31443,11},{33034, 31450,11},{33034, 31452,11},{33034, 31454,11},{33034, 31456,11},
    {33019, 31451,11},{33019, 31453,11},{33019, 31455,11},{33019, 31449,11},{33030, 31462,11},{33028, 31462,11}}
    -- Just a simple function that says if a position is on the screen or not
    function onScreen(pos)
    return (math.abs(Self.Position().x - pos.x) <= 7) and (math.abs(Self.Position().y - pos.y) <= 5)
    end
    -- Simple function that waits until your char isn't moving anymore
    function waitUntilStill()
    local pos = Self.Position()
    repeat
    pos = Self.Position()
    wait(1000,1500)
    until (Self.Position().x == pos.x) and (Self.Position().y == pos.y)
    end
    -- Calculates how many times you have to use the ground to get somewhere
    function amountOfSteps(pos)
    local dx = math.ceil(math.abs(Self.Position().x - pos.x)/6)
    local dy = math.ceil(math.abs(Self.Position().y - pos.y)/4)
    return math.max(dx,dy)
    end
    -- Function that makes your char "walk" somewhere using the ground.
    function walkTo(pos)
    local fromPos = Self.Position()
    local toPos = pos
    local tries = 0
    local booly = false
    repeat
    if not onScreen(pos) then
    local steps = amountOfSteps(pos)
    for i = 1, steps do
    toPos = {x = fromPos.x + math.ceil((pos.x - fromPos.x)*(i/steps)),
    y = fromPos.y + math.ceil((pos.y - fromPos.y)*(i/steps)), z = pos.z}
    if onScreen(toPos) then
    Self.UseItemWithGround(3003, toPos.x, toPos.y, toPos.z)
    waitUntilStill()
    end
    end

    if onScreen(pos) then
    booly = true
    else
    wait(2000)
    print("Depot still not on the screen. Trying for the " .. tostring(tries) .. " time.")
    end
    else
    booly = true
    Self.UseItemWithGround(3003, toPos.x, toPos.y, toPos.z)
    waitUntilStill()
    end
    tries = tries + 1
    until booly or (tries > 3)
    return booly
    end
    -- Randomly chooses a depot to go to
    function findDepot()
    local tries = 3
    local booly = false
    local reached = false
    repeat
    local maxi = #depots
    -- Very random not pseudo !
    math.randomseed( os.time() )
    math.random(); math.random(); math.random()
    local i = math.random(maxi)
    print("Trying to reach depot " .. tostring(i) .. ".")
    local pos = {x = depots[i][1], y = depots[i][2], z = depots[i][3]}
    if walkTo(pos) and (Self.LookPos().x == pos.x) and (Self.LookPos().y == pos.y) then
    if Self.OpenDepot() then
    booly = true
    print("Depot reached and opened!")
    else
    print("Depot reached but could not open it.")
    end
    else
    print("Depot cant be reached.")
    gotoLabel("Start")
    end
    tries = tries + 1
    until booly or (tries > 3)
    return booly
    end
    Last edited by marcin252; 12-19-2014 at 03:24 PM.

  8. #38

    Join Date
    Nov 2013
    Posts
    69
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    it's something with refiller 100%

  9. #39
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    I know the bug with using VPS. I can't track it down though, as I don't have a VPS. I've made some guesses as to what it might be and fixed those things, will release soon. Until then, leave RDP open.

  10. #40

    Join Date
    Nov 2013
    Posts
    69
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    I know the bug with using VPS. I can't track it down though, as I don't have a VPS. I've made some guesses as to what it might be and fixed those things, will release soon. Until then, leave RDP open.
    okay thanks! waiting

Posting Permissions

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