Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28

    OTServer Gold Changer

    OTServer Gold Changer


    Description

    Uses stacks of 100 gold/platinum coins. Useful when playing OTServers with that functionality.


    Code

    init start
    -- local SCRIPT_VERSION = '1.0.0'

    local goldIds = {itemid('gold coin'), itemid('platinum coin')}
    init end

    auto(200, 300)

    local cont, item
    for i = 0, 15 do
    cont = getcontainer(i)

    if cont.isopen then
    for j = 0, cont.itemcount do
    item = cont.item[j]

    if item.count == 100 and table.find(goldIds, item.id) then
    useitem(item.id, i, j)
    waitping()
    end
    end
    end
    end

    Gist
    Last edited by Raphael; 04-26-2014 at 08:38 PM.

  2. #2
    Free User
    Join Date
    Dec 2013
    Posts
    7
    Reputation
    10
    Rep Power
    0
    Well done! Thanks =D

  3. #3
    Banned
    Join Date
    Dec 2013
    Location
    Brazil,São Paulo
    Posts
    15
    Reputation
    10
    Rep Power
    0
    It works, thank you Raphael!

  4. #4
    Free User
    Join Date
    Feb 2014
    Posts
    1
    Reputation
    10
    Rep Power
    0
    Hey platinum for crystal coins change?

  5. #5
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by ahazin View Post
    Hey platinum for crystal coins change?
    It does that as well.

  6. #6
    Banned
    Join Date
    Mar 2014
    Posts
    26
    Reputation
    10
    Rep Power
    0
    Doesn't works for me. Made this into a HUD Lua but still he doesn't converts the gold.

  7. #7
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,579
    Reputation
    149
    Rep Power
    27
    Quote Originally Posted by mrlaffo View Post
    Doesn't works for me. Made this into a HUD Lua but still he doesn't converts the gold.
    You need to put it in Scripter>Persistant

  8. #8
    Banned
    Join Date
    Mar 2014
    Posts
    26
    Reputation
    10
    Rep Power
    0
    Where is this "scripter > persistant" ?

  9. #9
    Free User Nightshade's Avatar
    Join Date
    Dec 2013
    Location
    Brasil
    Posts
    513
    Reputation
    31
    Rep Power
    22
    Quote Originally Posted by mrlaffo View Post
    Doesn't works for me. Made this into a HUD Lua but still he doesn't converts the gold.
    you do not use HuD to make it work, you use a action in Cavebot > scripter tab or Scripter > Persistent tab

    edited
    @mrlaffo

    open your bot and search for Scripter tab, next tab after Targeting
    Last edited by Nightshade; 03-23-2014 at 12:01 AM.
    Tibia player since 2003

    +Rep Everyone That Helped You.

    New on WindBot?, Try this amazing tutorial

  10. #10
    Banned
    Join Date
    Mar 2014
    Posts
    26
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Nightshade View Post
    you do not use HuD to make it work, you use a action in Cavebot > scripter tab or Scripter > Persistent tab

    edited
    @mrlaffo

    open your bot and search for Scripter tab, next tab after Targeting
    Thanks so much Anyone can link for me normal vial dropper ?

 

 

Posting Permissions

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