Shar Posted March 18, 2021 Share Posted March 18, 2021 I need script a heal friend for use UH rune. Link to comment Share on other sites More sharing options...
Adekz94 Posted March 19, 2021 Share Posted March 19, 2021 Hi, I need script that use item on other item. Something like upgrading item. Something like that if i was able to use elfbot: if [$itemcount.IDFIRST == 1] { useoninventoryitem IDFIRST IDSECOND} Link to comment Share on other sites More sharing options...
Santos Jr Posted March 26, 2021 Share Posted March 26, 2021 need script to use an item in my backpack in another item on the ground! Link to comment Share on other sites More sharing options...
untucbre Posted March 31, 2021 Share Posted March 31, 2021 I need a script to use a spell and a script to use a certain item permanently Link to comment Share on other sites More sharing options...
Adekz94 Posted March 31, 2021 Share Posted March 31, 2021 5 hours ago, untucbre said: I need a script to use a spell and a script to use a certain item permanently I have using this script for spells. Quote if g_game.isAttacking() then if #g_game.getMonstersAround(1) >= 2 then g_game.talk("Area Spell") else g_game.talk("Target") end end auto(500) It's using Target if you are attacking someone or use area spell if monsters are more then 2. What you want to use? Food or something like that? I use this script. Quote local foodId = food_ID g_game.use(foodId) auto(10000, 30000) Link to comment Share on other sites More sharing options...
strzala Posted April 5, 2021 Share Posted April 5, 2021 Hi i need script to fallow friend (no fallow in client) any sugestion ? Link to comment Share on other sites More sharing options...
Shadovsky Posted April 7, 2021 Share Posted April 7, 2021 I need a script that will be used sd on target Link to comment Share on other sites More sharing options...
loneydrozhat Posted April 8, 2021 Share Posted April 8, 2021 On 10/24/2020 at 12:02 PM, Zelek said: if not g_game.isOnline() then return end local leftSlot = 6 local rightSlot = 5 g_game.move(7368, {x=65535, y=leftSlot, z=0}, 100) auto(5000) Currently there is no way to read player's equipment to know when the weapon is gone, so it's best to just move the items every x amount of time. I'll be adding it in the future versions. Have arrow slot? like above leftslot Link to comment Share on other sites More sharing options...
strzala Posted April 9, 2021 Share Posted April 9, 2021 I need script "use item on dead monster" please help me Link to comment Share on other sites More sharing options...
lediv Posted April 9, 2021 Share Posted April 9, 2021 Just now, strzala said: I need script "use item on dead monster" please help me auto(100) local corpseIds = {5362, 5362} -- ids of bodies local itemIdToUse = 7803 -- id of the item to use on bodies function table.find(t, value) for k,v in pairs(t) do if v == value then return k end end end local tiles = g_map.getTiles() local corpses = {} for _, tile in pairs(tiles) do if tile:getPosition():getDistance(g_game.getLocalPlayer():getPosition()) <= 1 then local topItem = tile:getTopItem() if topItem and table.find(corpseIds, topItem:getId()) then table.insert(corpses, topItem) end end end if #corpses > 0 then for _, corpse in pairs(corpses) do setOption("Cavebot/Enabled", "false") g_game.stop() g_game.useItemOnPosition(itemIdToUse, corpse:getPosition()) sleep(1000) end else setOption("Cavebot/Enabled", "true") end Link to comment Share on other sites More sharing options...
strzala Posted April 9, 2021 Share Posted April 9, 2021 10 minutes ago, lediv said: auto(100) local corpseIds = {5362, 5362} -- ids of bodies local itemIdToUse = 7803 -- id of the item to use on bodies function table.find(t, value) for k,v in pairs(t) do if v == value then return k end end end local tiles = g_map.getTiles() local corpses = {} for _, tile in pairs(tiles) do if tile:getPosition():getDistance(g_game.getLocalPlayer():getPosition()) <= 1 then local topItem = tile:getTopItem() if topItem and table.find(corpseIds, topItem:getId()) then table.insert(corpses, topItem) end end end if #corpses > 0 then for _, corpse in pairs(corpses) do setOption("Cavebot/Enabled", "false") g_game.stop() g_game.useItemOnPosition(itemIdToUse, corpse:getPosition()) sleep(1000) end else setOption("Cavebot/Enabled", "true") end Hmmm don't work for me i correct setup id 😞 Link to comment Share on other sites More sharing options...
Drake Posted April 11, 2021 Share Posted April 11, 2021 I need a basic script.. Drag Blank Runes from Depot into main backpack Drag GFB from main backpack to depot AND Use "exevo pan" when I no longer have food. Link to comment Share on other sites More sharing options...
lediv Posted April 13, 2021 Share Posted April 13, 2021 (edited) On 4/10/2021 at 1:11 AM, strzala said: Hmmm don't work for me i correct setup id 😞 remember to put correct id of the item and body and enable "read map tiles" in info and options tab. It works for me Edited April 13, 2021 by lediv Link to comment Share on other sites More sharing options...
kawalek Posted April 16, 2021 Share Posted April 16, 2021 why re attack script doesnt work? Link to comment Share on other sites More sharing options...
shiro785 Posted April 18, 2021 Share Posted April 18, 2021 Hi i'm looking for a script that uses a spell if i'm stun by a player, or just stun. thx Link to comment Share on other sites More sharing options...
zakne11 Posted April 18, 2021 Share Posted April 18, 2021 55 minutes ago, shiro785 said: Hi i'm looking for a script that uses a spell if i'm stun by a player, or just stun. thx use g_game.getLocalPlayer():getStates() to find corect state number and then add g_game.getLocalPlayer():hasState() condition to cast spell 1 Link to comment Share on other sites More sharing options...
Poszep Posted April 28, 2021 Share Posted April 28, 2021 (edited) Hi, I'm looking for a script to use inventory item for the same item. in inventory.. I try to looking for docs : inventory item use on inventory item but i can't find ;( ... someone can help ? Edited April 28, 2021 by Poszep Link to comment Share on other sites More sharing options...
zakne11 Posted May 1, 2021 Share Posted May 1, 2021 On 4/28/2021 at 5:44 PM, Poszep said: Hi, I'm looking for a script to use inventory item for the same item. in inventory.. I try to looking for docs : inventory item use on inventory item but i can't find ;( ... someone can help ? Completly dont know if it will work, but you can tryg_game.useInventoryItemOnPosition(3031, g_game.getAttackingCreature():getPosition() instead of map position, you can try to insert bp position Link to comment Share on other sites More sharing options...
achmeda Posted May 2, 2021 Share Posted May 2, 2021 Hey i need script for utamo vita. Can any one have it? Link to comment Share on other sites More sharing options...
phjaxi Posted May 3, 2021 Share Posted May 3, 2021 hi i cant find this and other script which should work with just using on ground - doesnt can you tell me please how to make script with eating food from ground? Link to comment Share on other sites More sharing options...
zakne11 Posted May 3, 2021 Share Posted May 3, 2021 auto(1000) dofile "libs/main.lua" local foodposition = Position.new(32808, 30505, 7) g_game.useMapItem(foodposition) sleep(30000) 1 Link to comment Share on other sites More sharing options...
zakne11 Posted May 3, 2021 Share Posted May 3, 2021 19 hours ago, achmeda said: Hey i need script for utamo vita. Can any one have it? auto(1000) g_game.talk("utamo vita") sleep(15000) Link to comment Share on other sites More sharing options...
Vaha Posted May 5, 2021 Share Posted May 5, 2021 i need script for autofollow friend and attak monsters too Link to comment Share on other sites More sharing options...
gynek Posted May 12, 2021 Share Posted May 12, 2021 hello i need scripts fo attack brolly every tranform Link to comment Share on other sites More sharing options...
sebcia Posted May 13, 2021 Share Posted May 13, 2021 (edited) script for facing players after i use spell that need 3 seconds to load, Edited May 19, 2021 by sebcia Link to comment Share on other sites More sharing options...
Recommended Posts