Results 1 to 6 of 6

Thread: "Change Destination ?" Doubt / problem ?!?

  1. #1
    iBot User
    Join Date
    Jun 2015
    Posts
    13
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    2

    "Change Destination ?" Doubt / problem ?!?

    Hey Guys!

    I Don't know... But, should the "Change Destination?" From the iBot+ setup, update the BPs after the Looting are set?

    For example:
    I created a script set the target etc, and at the beginning I was using 'Golden Backpack' as LootBP after some time I changed my LootBP to use 'Camouflage Backpack' but unfortunately the Loot settings didn't update the field "Destination".

    I would like to know.. Is that right ? The 'Change Destination' checkbox is just to update the Destination once(At the first setup)?

    PS: I know about DestinationLUA..

    If someone could help me..
    @pink_panther or other moderator/admin

    Thank you very much for the attention!
    Last edited by OpsDead; 06-22-2015 at 08:17 PM. Reason: Solved :)

  2. #2
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Good morning,

    You can use DestinationLua in Looting > Gold Coin > DestinationLua

    Here you put your variable like goldbp or something like that you have in your setup. Same to other loots, then you go to SETUP CODE, and put this after "--#ENDSETUP" :
    Lua Code:
     
    updatelootdestination()


    Every time you change your bps in setup it will change automatcly in loots.

  3. #3
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7

  4. #4
    iBot User
    Join Date
    Jun 2015
    Posts
    13
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    2

    Thanks for the support

    Ah Ok, Yeah I imagined this was the only way :P

    It was just this doubt! Thank You for the support @Furieri

  5. #5
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by Furieri View Post
    Good morning,

    You can use DestinationLua in Looting > Gold Coin > DestinationLua

    Here you put your variable like goldbp or something like that you have in your setup. Same to other loots, then you go to SETUP CODE, and put this after "--#ENDSETUP" :
    Lua Code:
     
    updatelootdestination()


    Every time you change your bps in setup it will change automatcly in loots.
    Ahhh fair enough. I didn't know what that was for lol.

    I use my own action, because it requires no changing of the script:

    Lua Code:
    local minCap= 100 -- Minimum Cap
    local stopGold = true -- Stops looting gold coins on "minCap+200"
     
    -- Update Loot Destinations
    local lootItemsArray = getlootitems()
     
    for i = 0, lootItemsArray.count-1 do
     
    	setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", lootBp)
     
    	-- Gold Coins to gold backpack or ground
        if lootItemsArray[i].id == 3031 then
            if stopGold and cap <= minCap+200 then
                setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", 99)
            else
                setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", goldBp)
            end
    	end
     
    	-- Platinum coins to main backpack
        if lootItemsArray[i].id == 3035 then
            setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", mainBp)
    	end
     
    	-- Moves looted supplies to supply bp
    	local listSupplies = getsupplieitems()
    	for j = 0, listSupplies.count - 1 do
    		if lootItemsArray[i].id == listSupplies[j].id then
    			setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", supplyBp)
    		end
    	end
     
    end




    You just put this into a persistent action and it will update all your loot destinations.

    Yes, it's a few lines of code, but you can use it in every single script.

  6. #6
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Quote Originally Posted by pink_panther View Post
    Ahhh fair enough. I didn't know what that was for lol.

    I use my own action, because it requires no changing of the script:

    Lua Code:
    local minCap= 100 -- Minimum Cap
    local stopGold = true -- Stops looting gold coins on "minCap+200"
     
    -- Update Loot Destinations
    local lootItemsArray = getlootitems()
     
    for i = 0, lootItemsArray.count-1 do
     
    	setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", lootBp)
     
    	-- Gold Coins to gold backpack or ground
        if lootItemsArray[i].id == 3031 then
            if stopGold and cap <= minCap+200 then
                setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", 99)
            else
                setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", goldBp)
            end
    	end
     
    	-- Platinum coins to main backpack
        if lootItemsArray[i].id == 3035 then
            setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", mainBp)
    	end
     
    	-- Moves looted supplies to supply bp
    	local listSupplies = getsupplieitems()
    	for j = 0, listSupplies.count - 1 do
    		if lootItemsArray[i].id == listSupplies[j].id then
    			setsettings("Settings\\Looting\\List\\".. lootItemsArray[i].name .."\\Destination", supplyBp)
    		end
    	end
     
    end




    You just put this into a persistent action and it will update all your loot destinations.

    Yes, it's a few lines of code, but you can use it in every single script.
    Or you can just put at Destination lua and one single action

Posting Permissions

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