XenoBot Forums - Powered by vBulletin

User Tag List

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: [Update] XenoBot Apophis v14.8.12.827

  1. #1
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)

    [Update] XenoBot Apophis v14.8.12.827

    This update improves many core parts of the bot, optimizes functionality, fixes some bugs, and adds a few features. This is an improved release of XenoBot Apophis v14.8.12.811, which was reported to have some bugs. This update will download automatically when you restart XenoSuite.

    Changelog:
    Code:
    v14.8.12.827
    Optimized the bot to run much better on low-FPS systems.
    Optimized various parts of the bot.
    Improved Script prioritization, preventing artificial delay of core features.
    Improved the Scripter to delay actions, instead of block them, when executed too quickly.
        This includes actions like use, move, and speak, which used to be blocked if they were being done too quickly.
        Actions can still fail due to quick execution, but there is a retry threshhold based on the type of action.
    Improved Self.DepositItems() to deposit from cascaded backpacks.
        This change is transparent to existing scripts, as it will automatically go back to the parent containers.
    Improved internal pipelining to prioritize vital functions (such as Healing).
    Improved the Shooter to active safe mode on retro PvP servers.
    Fixed a bug that caused the Skinner to wait for bodies when no tools are present.
    Fixed a bug that caused Reach Depot to fail when lagging.
    Added cooldown detection for all Dawnport spells.
    Added Self.Dequip() to the Scripter
        Functionality:
            Moves an item from an equipment slot to a container
        Parameters:
            slot: name of the slot to dequip (head, weapon, shield, etc)
            container (optional): a container object or integer index of the target container
        Return:
            True if able to dequip, false if otherwise
        Notes:
            Parameter 'container' defaults to first backpack if not specified
            Will fail if 'container' is not open.

  2. #2
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    After getting reports from the previous release of this patch, I made many small improvements and did a bunch of testing. If you still have issues, please report them immediately, and include your level, vocation, premium status, and the name of the script you're using.

    These scripts worked for me 100%, and had none of the looting or targeting issues that were previously reported:
    • [304 K] Biesje Team Carlin Dragons, 14 hours
    • [152 K] Infernal Scripts Orc Fort, 4 hours
    • [254 RP] JXS Lizard Chosens, 6 hours
    • [90 ED] JXS Water Elementals, 2 hours
    • [32 K] Private Venore Swamplings, 2 hours
    • [116 EK] Private Stonehome Bogs, 1 hour


    Based on these extensive tests, I can only assume that any new issues are likely a result of bad Scripting that the Scripter improvements are unable to account for.

  3. #3
    Banned
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    1,335
    Mentioned
    80 Post(s)
    Tagged
    0 Thread(s)
    Code:
    local flasks = {283, 284, 285}
    Module('vial-dropper', function(module)
     local vialIndex = -1
     for i = 0, #Container.GetAll() do
      local c = Container(i)
      for s = 0, c:ItemCount() do
       local item = c:GetItemData(s)
       if table.contains(flasks, item.id) then
        vialIndex = c:Index()
        break
       end
      end
      if vialIndex > 0 then
       break
      end
     end
     local vialBp = Container(vialIndex)
     if Self.Cap() < 400 or vialBp:EmptySlots() < 3 then
      for s = 0, vialBp:ItemCount() do
       local item = vialBp:GetItemData(s)
       if table.contains(flasks, item.id) then
        vialBp:MoveItemToGround(s, Self.Position().x, Self.Position().y, Self.Position().z, 100)
        break
       end
      end
     end
     if Self.Cap() < 200 or vialBp:EmptySlots() < 3 then
      module:Delay(5000)
     else
      module:Delay(30000)
     end
    end, true)
    Drop flask script still drop fck manas to ground

  4. #4
    Redspeare's Avatar
    Join Date
    Jan 2014
    Posts
    421
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Koksik22 View Post
    Code:
    local flasks = {283, 284, 285}
    Module('vial-dropper', function(module)
     local vialIndex = -1
     for i = 0, #Container.GetAll() do
      local c = Container(i)
      for s = 0, c:ItemCount() do
       local item = c:GetItemData(s)
       if table.contains(flasks, item.id) then
        vialIndex = c:Index()
        break
       end
      end
      if vialIndex > 0 then
       break
      end
     end
     local vialBp = Container(vialIndex)
     if Self.Cap() < 400 or vialBp:EmptySlots() < 3 then
      for s = 0, vialBp:ItemCount() do
       local item = vialBp:GetItemData(s)
       if table.contains(flasks, item.id) then
        vialBp:MoveItemToGround(s, Self.Position().x, Self.Position().y, Self.Position().z, 100)
        break
       end
      end
     end
     if Self.Cap() < 200 or vialBp:EmptySlots() < 3 then
      module:Delay(5000)
     else
      module:Delay(30000)
     end
    end, true)
    Drop flask script still drop fck manas to ground

    Simple thing to do is just to not restart your Xeno work fine haha

  5. #5

    Join Date
    Feb 2012
    Location
    Poland
    Posts
    400
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function dropItem(id, cnt) 
        local cont = Container.GetFirst() 
    
        while (cont:isOpen()) do 
            for spot = 0, cont:ItemCount() do 
                local item = cont:GetItemData(spot) 
                if (item.id == id and item.count >= cnt) then 
                        cont:MoveItemToGround(spot, Self.Position().x, Self.Position().y, Self.Position().z) 
                        return true 
                end 
            end 
    
            cont = cont:GetNext() 
        end 
         
        return false 
    end 
    
    
    while (true) do 
            if (Self.ItemCount(283) >= (math.random(10, 100)) or Self.ItemCount(284) >= (math.random(10, 15)) or Self.ItemCount(285) >= (math.random(10, 15))) then
    		Self.DropItems(Self.Position().x, Self.Position().y, Self.Position().z, 283, 284, 285)
            wait(30000, 45000) --Since we've already dropped a stack, wait a bit of time before trying to drop another
        else
            wait(2000) --havent dropped shit, wait2 seconds and try again. No need for randomization since we didn't do anything
        end
    end
    try this one

  6. #6
    Banned
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    1,335
    Mentioned
    80 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by kubax36 View Post
    Code:
    function dropItem(id, cnt) 
        local cont = Container.GetFirst() 
    
        while (cont:isOpen()) do 
            for spot = 0, cont:ItemCount() do 
                local item = cont:GetItemData(spot) 
                if (item.id == id and item.count >= cnt) then 
                        cont:MoveItemToGround(spot, Self.Position().x, Self.Position().y, Self.Position().z) 
                        return true 
                end 
            end 
    
            cont = cont:GetNext() 
        end 
         
        return false 
    end 
    
    
    while (true) do 
            if (Self.ItemCount(283) >= (math.random(10, 100)) or Self.ItemCount(284) >= (math.random(10, 15)) or Self.ItemCount(285) >= (math.random(10, 15))) then
    		Self.DropItems(Self.Position().x, Self.Position().y, Self.Position().z, 283, 284, 285)
            wait(30000, 45000) --Since we've already dropped a stack, wait a bit of time before trying to drop another
        else
            wait(2000) --havent dropped shit, wait2 seconds and try again. No need for randomization since we didn't do anything
        end
    end
    try this one
    still the same fck problem, before everything was working great now its suck i think its becose that "Optimized the bot to run much better on low-FPS systems"

  7. #7
    XenoBot Developer DarkstaR's Avatar
    Join Date
    Dec 2010
    Posts
    6,104
    Mentioned
    1326 Post(s)
    Tagged
    16 Thread(s)
    Quote Originally Posted by Koksik22 View Post
    still the same fck problem, before everything was working great now its suck i think its becose that "Optimized the bot to run much better on low-FPS systems"
    lua code:

    while (true) do
    Self.DropFlasks(Self.Position().x, Self.Position().y, Self.Position().z)
    wait(1000, 5000)
    end


    If you still have an issue with this code, I'll try to find a better fix by the end of the weekend.

  8. #8
    Senior Member Unuke12345's Avatar
    Join Date
    Aug 2012
    Posts
    993
    Mentioned
    130 Post(s)
    Tagged
    1 Thread(s)
    Was wondering if it'd be possible for you to make it possible to enable/disable the randomness of the Apophis rune shooter (the part of it sometimes skipping in the priority list to make for instance an exori frigo instead of avalanche to make it look less botty) just as with the healer? As I gave it a try in Oramond and when I removed the single target spells it increased my exp/h by 300k. I tried to do as you said by making several thunderstorm runes on the top priority in the shooter but it didn't seem to make any significant difference (if any).

  9. #9

  10. #10
    Banned
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    1,335
    Mentioned
    80 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DarkstaR View Post
    lua code:

    while (true) do
    Self.DropFlasks(Self.Position().x, Self.Position().y, Self.Position().z)
    wait(1000, 5000)
    end


    If you still have an issue with this code, I'll try to find a better fix by the end of the weekend.
    still the same, also he lot some items from ground and its for sure foult of dropflask maybe its becouse i run all mcs on 1fps but before update dropflask was work great without problems like drop manas

Posting Permissions

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