Results 1 to 2 of 2

Thread: Refill ammo issue

  1. #1
    iBot User
    Join Date
    Sep 2014
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3

    Question Refill ammo issue

    Hello Guys,

    I'm trying to get my iBot Plus to reload Crystalline Arrows when I get down to 20 arrows.

    Somehow the bot keeps refilling at 99 arrows and spamming the reload at ALL times. I get the message, "there's not enough room" even standing still because the bot is trying to put more arrows into the slot, even though there's already 100 arrows there.

    Here's the config, can anybody shed some light?

    Click image for larger version. 

Name:	prob.png 
Views:	30 
Size:	3.7 KB 
ID:	20581

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Try using an action instead:

    Lua Code:
     
    --Name of ammunition to equip:
    local nameAmmoToEquip = "crystalline arrow"
     
    --Minimum amount of ammunition to refill:
    local minAmmoToRefill = 50
     
     
    if itemcount(nameAmmoToEquip) > 0
    then
        if ammoamount <= minAmmoToRefill
        then
            moveitems(nameAmmoToEquip, "all", "ammo", 100)
            wait(1000)
        end
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

Posting Permissions

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