05-13-2022, 08:55 AM
I need a gold changer script, to be used in kingdom swap, they have an item which u click with it on the 100 stack gold coin and turns into plat, like a gold converter in irl tibia
Thank you
Thank you
|
Change gold with item
|
|
05-13-2022, 08:55 AM
I need a gold changer script, to be used in kingdom swap, they have an item which u click with it on the 100 stack gold coin and turns into plat, like a gold converter in irl tibia
Thank you
Hello.
I think this should work. It will move gold coins to your belt/arrow slot and use gold converter then move platinum coin to a backpack. local GOLD_CONVERTER_ID = 0 -- Gold converter id.
05-13-2022, 04:49 PM
05-13-2022, 05:03 PM
05-14-2022, 11:40 AM
(This post was last modified: 05-14-2022, 12:08 PM by rodrigossl.)
also, how do i remove the simulated hotkeys, its causing me trouble when focused on client, it clicks wrong in map and shit
Hello.
I may ask you to take care when posting on Forums, to make sure you are posting on right section. Because you posted on Realesta OTBot's section instead of Kasteria OTBot, they look familiar but works bit differently internally and may have differences on its functions according to the server particularities. I disagree with about effort, since it takes a single movement. But I agree that it could be easier. I've applied a few changes on LUA function -> useitemonitem(), so it will accept item slot as well, so you can use item id, item name or item index/slot. So you can actually make gold converter to be used on right gold coin stack without moving gold coins to belt and so. Redownload and reinstall Kasteria OTBot (1.0.25-6), otherwise this will not work. local GOLD_CONVERTER_ID = 0 -- Gold converter id.If you have different gold changers then add it to the list. The script will check for each one local GOLD_CONVERTERS_IDS = { 1234, 4321, 99999 } -- Gold converters ids. If you have different gold changers then add it to the list. |