XenoBot Forums - Powered by vBulletin

User Tag List

Page 18 of 36 FirstFirst ... 8161718192028 ... LastLast
Results 171 to 180 of 353

Thread: [Update] XenoBot Apophis v14.7.6.656 [10.50 & Apophis Global Release]

  1. #171
    Moderator Nakuu's Avatar
    Join Date
    Feb 2013
    Location
    EU
    Posts
    5,194
    Mentioned
    642 Post(s)
    Tagged
    2 Thread(s)
    @DarkstaR
    No idea if you notice my report earlier but seems like something is interrupting the Self.DepositItems() function, sometimes it doesn't deposit all items - ie. when all items are split into 2 functions, first for rares and second for stackable items then it sometimes doesn't deposit stackable items at all. Few people can confirm that. And it's not my connection for sure.

  2. #172
    Technical Support jo3bingham's Avatar
    Join Date
    Dec 2010
    Posts
    697
    Mentioned
    107 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Nakuu View Post
    @DarkstaR
    No idea if you notice my report earlier but seems like something is interrupting the Self.DepositItems() function, sometimes it doesn't deposit all items - ie. when all items are split into 2 functions, first for rares and second for stackable items then it sometimes doesn't deposit stackable items at all. Few people can confirm that. And it's not my connection for sure.
    Did you try the suggestion of placing a wait between function calls? It may be a temporary fix until DarkstaR can check it out.

  3. #173
    Moderator Nakuu's Avatar
    Join Date
    Feb 2013
    Location
    EU
    Posts
    5,194
    Mentioned
    642 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by Jo3Bingham View Post
    Did you try the suggestion of placing a wait between function calls? It may be a temporary fix until DarkstaR can check it out.
    Yes, got it like that:
    lua code:
    Self.DepositItems({7427, 0}, {21175, 0}, {3318, 0}, {21174, 0}, {3381, 0}, {3037, 0}, {21176, 0}, {3039, 0}, {3091, 0}, {8082, 0}, {7401, 0}, {3415, 0}, {7425, 0}, {21177, 0}, {21166, 0}, {3371, 0}, {3370, 0}, {3049, 0}, {3098, 0})
    wait(500, 1000)
    Self.DepositItems({21200, 1}, {7443, 1}, {5911, 1}, {21201, 1}, {5912, 1}, {5910, 1}, {21204, 1}, {21199, 1}, {239, 1}, {238, 1}, {236, 1}, {21202, 1}, {11473, 1}, {11472, 1}, {5878, 1})
    wait(500, 1000)
    Self.DepositItems({3029, 2}, {3032, 2}, {3033, 2}, {3030, 2}, {3028, 2}, {9057, 2}, {5944, 2})

    still failed to deposit items from 2nd and 3rd function call. Restarting walker at Deposit label and it deposited properly, it works fine sometimes and sometimes it doesn't.

    It simply deposit items from first function call, then open browse field where locker is and it's done, Walker keeps going.

  4. #174

    Join Date
    May 2012
    Posts
    163
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Nakuu View Post
    Yes, got it like that:
    lua code:
    Self.DepositItems({7427, 0}, {21175, 0}, {3318, 0}, {21174, 0}, {3381, 0}, {3037, 0}, {21176, 0}, {3039, 0}, {3091, 0}, {8082, 0}, {7401, 0}, {3415, 0}, {7425, 0}, {21177, 0}, {21166, 0}, {3371, 0}, {3370, 0}, {3049, 0}, {3098, 0})
    wait(500, 1000)
    Self.DepositItems({21200, 1}, {7443, 1}, {5911, 1}, {21201, 1}, {5912, 1}, {5910, 1}, {21204, 1}, {21199, 1}, {239, 1}, {238, 1}, {236, 1}, {21202, 1}, {11473, 1}, {11472, 1}, {5878, 1})
    wait(500, 1000)
    Self.DepositItems({3029, 2}, {3032, 2}, {3033, 2}, {3030, 2}, {3028, 2}, {9057, 2}, {5944, 2})

    still failed to deposit items from 2nd and 3rd function call. Restarting walker at Deposit label and it deposited properly, it works fine sometimes and sometimes it doesn't.

    It simply deposit items from first function call, then open browse field where locker is and it's done, Walker keeps going.
    I got the same issue with @Bollo scripts. @DarkstaR

  5. #175
    XenoBot Scripts Developer Syntax's Avatar
    Join Date
    Feb 2011
    Posts
    1,658
    Mentioned
    431 Post(s)
    Tagged
    4 Thread(s)
    @Nakuu, why are you splitting it into two functions? This isn't an issue related to Apophis either, it's never worked well calling it back to back. Keep it in one function.
    There's a reason you can specify multiple destination backpacks. If you really want to use multiple deposit functions, close your containers after the first deposit >.< it needs to reset.
    I don't see why you would though, it's faster to do it in one.

  6. #176
    Moderator Nakuu's Avatar
    Join Date
    Feb 2013
    Location
    EU
    Posts
    5,194
    Mentioned
    642 Post(s)
    Tagged
    2 Thread(s)
    @Syntax
    Worked fine before 10.50 update therefore seems like a bug introduced in latest update to me. Probably because DarkstaR added BrowseField to OpenDepot function. Anyway looking at the code it seems like calling function twice shouldn't really matter...

    And sure, I can do quick-fix to over ~150 scripts, dunno about other scripters though + people who doesn't check forum every day for script updates.

  7. #177
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by FranzMaurer View Post
    buncha crap

    The problem is the competition is now using anything I release against me, I can't keep promoting that. And it's a dead forum, you can't blame me for that. When I stay up from midnight until 1:30 PM with no sleep on 32 hours of up time, you can't expect me to just go post that information freely while my competitors are still looking for it. That's just retarded.

  8. #178
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Nakuu View Post
    @Syntax
    Worked fine before 10.50 update therefore seems like a bug introduced in latest update to me. Probably because DarkstaR added BrowseField to OpenDepot function. Anyway looking at the code it seems like calling function twice shouldn't really matter...

    And sure, I can do quick-fix to over ~150 scripts, dunno about other scripters though + people who doesn't check forum every day for script updates.
    I'll fix it to close the depot and sleep a bit after deposit, but it is probably better to fix the scripts.

  9. #179

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rydan View Post
    This should work, could net test it yet tho.
    was not working, but fixed it in 30 seconds and added shit items drop Thanks!!
    This is the one after my edit
    lua code:
    function Self.RemoveRust()
    local rustyitems = {8894, 8895, 8896, 8897, 8898, 8899}
    local function getFlaskContainer()
    local cont = Container.GetFirst()
    while (cont:isOpen()) do
    if ((cont:CountItemsOfID(9016)) > 0) then
    return cont
    end
    cont = cont:GetNext()
    end
    return nil
    end
    local contto = Container.GetFirst()
    while (contto:isOpen()) do
    for _, item in ipairs(rustyitems) do
    if (contto:CountItemsOfID(item) > 0) then
    contfrom = getFlaskContainer()
    if (not contfrom) then
    return false
    end
    for spotfrom = 0, contfrom:ItemCount() - 1 do
    if (contfrom:GetItemData(spotfrom).id == 9016) then
    for spotto = 0, contto:ItemCount() - 1 do
    if (contto:GetItemData(spotto).id == item) then
    local unrust = false
    while (not unrust) do
    unrust = contfrom:UseItemWithContainerItem(spotfrom, contto:Index(), spotto)
    wait(800, 1500)
    end
    return true
    end
    end
    end
    end
    end
    end
    contto = contto:GetNext()
    end
    return true
    end


    function dropshit()
    if (Self.ItemCount(3357) > 0) or (Self.ItemCount(3377) > 0) or (Self.ItemCount(3359) > 0) or (Self.ItemCount(3358) > 0) or (Self.ItemCount(3372) > 0) or (Self.ItemCount(3558) > 0) or (Self.ItemCount(3557) > 0) or (Self.ItemCount(3362) > 0) then
    Self.DropItems(Self.Position().x, Self.Position().y, Self.Position().z, 3357, 3377, 3359, 3358, 3372, 3558, 3557, 3362)
    wait(2000)
    end
    end

    while (true) do
    Self.RemoveRust()
    wait(2000)
    dropshit()
    wait(1000)
    end
    Last edited by kubax36; 07-08-2014 at 09:06 PM.

  10. #180

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    I'll fix it to close the depot and sleep a bit after deposit, but it is probably better to fix the scripts.
    that would be amazing

Posting Permissions

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