Signup Now
Results 1 to 6 of 6
  1. #1
    Wind Powered wybocenooba's Avatar
    Join Date
    Jan 2014
    Posts
    409
    Reputation
    16
    Rep Power
    21

    Gold Converter (For New Servers)

    hello can someone do script to use gold converter(id=23722) on stack of 100 gold coins otherway it not working i tried to do some script or change ots gold changer but bot trying to use gold converter on first stack of gold which is almost always less then 100 gp
    Last edited by wybocenooba; 11-23-2016 at 08:15 PM.

  2. #2
    Free User
    Join Date
    Dec 2013
    Posts
    162
    Reputation
    21
    Rep Power
    21
    Hey would like this too. Heard Shadowart has them in his paid scripts but he doesn't offer for tibia coins.

  3. #3
    Wind Powered wybocenooba's Avatar
    Join Date
    Jan 2014
    Posts
    409
    Reputation
    16
    Rep Power
    21
    thanks to @Chiezuz i got script like this one its better then nothing and its working for me

    auto(500)

    if itemcount(23722) > 0 and itemcount(3031, src) >= 100 then
    local temp = itemname($back.id)
    local src = ("blue backpack")
    local cont = getcontainer(src)

    pausewalking(1500)
    while itemcount(3031, src) >= 100 and itemcount(23722) > 0 do
    for i = 1, cont.itemcount do
    local item = cont.item[i]
    if item.id == 3031 then
    if item.count < 100 then
    moveitems(3031, temp, src, item.count)
    wait(300 + $ping)
    end
    break
    end
    end

    useitemon(23722, 3031, src)
    wait(300 + $ping)
    end
    while itemcount(3031, temp) > 0 do
    moveitems(3031, src, temp, math.min(100, itemcount(3031, temp)))
    wait(300 + $ping)
    end
    pausewalking(0)
    end





    ps. if someone can change it better, feel free to do it ;p

  4. #4
    Free User shAdOwArt's Avatar
    Join Date
    Apr 2015
    Location
    Kharos
    Posts
    189
    Reputation
    151
    Rep Power
    20
    That will net you less profits and less exp than just refilling more often. It's not possible to write a gold converter worth using given Windbot's current api.

    Edit: To elaborate, it's the ability to use an item on a specific container index that's missing. Having to move stuff around in order to use it is what kills the potential.
    Last edited by shAdOwArt; 11-24-2016 at 03:30 PM.

  5. #5
    Free User
    Join Date
    Dec 2013
    Posts
    34
    Reputation
    10
    Rep Power
    0
    Thanks very much for sharing this action.
    Btw.. Is possible to edit this action to use converter only if cap goes "xxx" and no monster on screen?

  6. #6
    Free User
    Join Date
    Aug 2015
    Posts
    4
    Reputation
    10
    Rep Power
    0
    Did a few improvements xD v1.1
    plz delete any duplicate ty
    User options
    Code:
    {
                "type": "checkbox",
                "name": "GoldConverter",
                "text": "Use Gold Converter",
                "description": "Use?",
                "value": false
    },
    Script
    Code:
    --Gold Converter 1.1
    auto(600,1300)
    local Gold_Converter = getuseroption('GoldConverter')
    local store = ("Store Inbox")
    local temp = itemname($back.id)
    local src = getuseroption("GoldBP")
    local cont = getcontainer(src)
    
    if maround(7) < 2 and itemcount("platinum coin", src) >= 1 and Gold_Converter == 1 then
    pausewalking(2000)
    moveitems(("platinum coin"), getlootingdestination("mainbp"),getlootingdestination('goldbp'), 100)
    end
    
    if windowcount("Your Store Inbox") == 0 and itemcount(3031, src) >= 100 and maround(7) < 1 and windowcount() > 3 and Gold_Converter == 1 then
    while windowcount("Your Store Inbox") == 0 do
    	openitem(store, true)
    	resizewindows(0)
    	wait(400,800)
    end
    elseif itemcount(3031, src) < 100 then
    closewindows("Your Store Inbox")
    end
    if itemcount(23722) < 1 and windowcount("Your Store Inbox") == 1 then
        setuseroption('GoldConverter', false)
    elseif itemcount(23722) > 0 and itemcount(3031, src) >= 100 and maround(7) < 1 and windowcount() > 3 and Gold_Converter == 1 then
    	pausewalking(2500)
    	while itemcount(3031, src) >= 100 and itemcount(23722) > 0 do
    		for i = 1, cont.itemcount do
    			local item = cont.item[i]
    			if item.id == 3031 then
    				if item.count < 100 then
    					moveitems(3031, temp, src, item.count)
    					wait(300 + $ping)
    				end
    				break
    			end
    		end
    
    		useitemon(23722, 3031, src)
    		wait(300 + $ping)
    		moveitems(("platinum coin"), getlootingdestination("mainbp"),getlootingdestination('goldbp'), 100)
    		wait(300 + $ping)
    	end
    	while itemcount(3031, temp) > 0 do
    		moveitems(3031, src, temp, math.min(100, itemcount(3031, temp)))
    		wait(300 + $ping)
    		pausewalking(500)
    		moveitems(("platinum coin"), getlootingdestination("mainbp"),getlootingdestination('goldbp'), 100)
    	end
    	
    end
    Last edited by iafondo; 06-20-2017 at 10:16 PM.

 

 

Posting Permissions

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