Raygleih Posted November 18, 2021 Share Posted November 18, 2021 (edited) Hi, can anybody write me a script to: 1)stand for one sec on corpse of killed mob? 2)or use F3 on corpse? 3)or relog after 15 min of logging out after seeing someone? Edited November 18, 2021 by Raygleih Link to comment Share on other sites More sharing options...
Eixim Posted November 19, 2021 Share Posted November 19, 2021 On 11/16/2021 at 6:13 AM, Tokumei said: Unfortunately I don't think it's currently possible to equip items. I could be wrong, hopefully I am, and someone else could show us how to do that. - Tokumei There is no direct function to equip, you can however move an item to the slots position. g_game.moveItem(item, Position.new(65535, slotID, 0), count) Link to comment Share on other sites More sharing options...
Tokumei Posted November 21, 2021 Share Posted November 21, 2021 (edited) On 11/20/2021 at 5:00 AM, Eixim said: There is no direct function to equip, you can however move an item to the slots position. g_game.moveItem(item, Position.new(65535, slotID, 0), count) O.o Thanks! Was that in the docs and I'm just blind? - Tokumei Edited November 21, 2021 by Tokumei Typos Link to comment Share on other sites More sharing options...
Xcr Jr Posted November 24, 2021 Share Posted November 24, 2021 I need a script to move the item in front of me where there is free space 1 Link to comment Share on other sites More sharing options...
Cashu Posted November 24, 2021 Share Posted November 24, 2021 (edited) On 8/30/2021 at 3:44 PM, zakne11 said: pairs(creatures) On 8/30/2021 at 3:44 PM, zakne11 said: creatures = g_game.getCreatures() pairs(creatures) local player local playerhp local playername = xxxx local creatures = g_game.getCreatures() for v, k in pairs(Creatures) do if k:getName() == "playername" and k:isPlayer() then player = k player:getHealthPercent() = playerhp break end end if playerhp <= 70 then g_game.talk("exura sio" playername) end auto(250) What is wrong? Edited November 24, 2021 by Cashu Link to comment Share on other sites More sharing options...
Tokumei Posted November 29, 2021 Share Posted November 29, 2021 (edited) playername should not be in " ". If it needs a string you can use tostring(playername) NOTE: I haven't tested this it's just off the top of my head looking at what you posted. Let me know if this fixes your issue. EDIT: Here's the script I used to use, haven't used it in a while, but I assume it still works. -------------------------------------------- -- Heal Friend with Spell -- by Tokumei -------------------------------------------- -- Version 1.0 (21/10/2021) -- Version 1.1 (22/10/2021) -- - Minor Syntax Update -------------------------------------------- -- Edit this part -- local friendName = "Tokumei" -- insert your friends name here local healPercent = 70 -- the % of HP you want to heal your friend at (eg 70%) local spell = 'Exura sio "' -- Spell to use for healing your friend local spellCD = 1000 -- what is the internal cooldown of the spell (1000 = 1second) -- Don't edit this unless you know what you're doing -- local friend local friendHP local creatures = g_game.getCreatures() friendHeal = function(s, f) g_game.talk(s..f) end friendCheck = function(fN, m) for v,k in pairs(m) do if k:getName() == fN and k:isPlayer() then friend = k:getName() friendHP = k:getHealthPercent() friend = true break else friend = false end end return friend end if friendCheck(friendName, creatures) then if friendHP <= healPercent then friendHeal(spell, friendName) sleep(spellCD, spellCD+100) end end auto(100,150) - Tokumei Edited November 29, 2021 by Tokumei Added script. 1 Link to comment Share on other sites More sharing options...
Mich3208 Posted December 16, 2021 Share Posted December 16, 2021 Is there a script to pick up spears? Link to comment Share on other sites More sharing options...
Azotoks Posted December 23, 2021 Share Posted December 23, 2021 Hi, I would need some scripts, mainly for DBLOTS 1: Kaioken Scrypt : When Kaioken Sie turns off due to lack of mana [when it drops below 40%] Bot will turn on kaioken again. 2: Transform Scrypt :When my transform drops due to lack of game mana, the character will have more than 40% mana. It will transform again. 3: Script for auto-turning towards the player / monster and spell wave attack Link to comment Share on other sites More sharing options...
darekpro1234 Posted January 11, 2022 Share Posted January 11, 2022 (edited) Hi i would need some scripts for dblots! i need a script to use spell when character runs up to the monster ( because he is currently running and spam all the time spell) PS. sorry for my poor english :D Edited January 11, 2022 by darekpro1234 Link to comment Share on other sites More sharing options...
gblxd95 Posted January 12, 2022 Share Posted January 12, 2022 hey guys is possible to make something like Press shift and right click the body ? i'm playing on nostalrius and they have a Quick loot feature like global tibia Link to comment Share on other sites More sharing options...
kubesz2 Posted January 30, 2022 Share Posted January 30, 2022 I need a script to click the lever on the tainers every 25 minutes Link to comment Share on other sites More sharing options...
zbuku1996 Posted January 31, 2022 Share Posted January 31, 2022 Can someone make script to play alarm when global message apear like this: dragon ball has been arrived on the earth! Link to comment Share on other sites More sharing options...
shz0r Posted April 13, 2022 Share Posted April 13, 2022 Hey, I'd like to have a script that shoot runes on target, the server has hotkeys for runes.. Also if someone has an avoidance script (ex: dodge dragon waves) since its not working for this server. Thanks in advance! Link to comment Share on other sites More sharing options...
Tokumei Posted April 14, 2022 Share Posted April 14, 2022 3 hours ago, shz0r said: Hey, I'd like to have a script that shoot runes on target, the server has hotkeys for runes.. Also if someone has an avoidance script (ex: dodge dragon waves) since its not working for this server. Thanks in advance! I don't have the time to mess around making a stay diagonal script atm, but here's the shoot Hotkey rune if you are attacking. auto(100) if not g_game.isOnline() then return end if g_game.isAttacking() then g_game.sendKey("F1") sleep(2000) end The 2000 sleep at the end is a 2second wait, you can change that to whatever the cooldown is on your server. 1 Link to comment Share on other sites More sharing options...
Raygleih Posted April 20, 2022 Share Posted April 20, 2022 Looking for script to use body id when its on the ground. (no item, just ppm). can you do it? Link to comment Share on other sites More sharing options...
Tokumei Posted April 21, 2022 Share Posted April 21, 2022 You can cycle through the items on the ground checking for corpse ID's then use a combo of these two. g_game.useMapItem(x = 123, y = 456, z = 7) and the *** : getPosition() functions. Link to comment Share on other sites More sharing options...
Kuuba Posted May 9, 2022 Share Posted May 9, 2022 Hi everyone, I need a script that will hold the target (player) all the time. Link to comment Share on other sites More sharing options...
SANTOSJR26 Posted May 16, 2022 Share Posted May 16, 2022 On 10/10/2020 at 12:45 PM, Zelek said: Turn to target: local monstersToTurn = 1 if #g_game.getMonstersAround(1) >= monstersToTurn then g_game.turn(g_game.getBestTurnDirection()) end auto(250) this one doesnt work anymore Link to comment Share on other sites More sharing options...
gafahadd Posted May 28, 2022 Share Posted May 28, 2022 How to make that bot will not attack monsters behind the wall ? Im always getting stack because of that... Link to comment Share on other sites More sharing options...
gafahadd Posted May 28, 2022 Share Posted May 28, 2022 anyone ering skrypt ? Link to comment Share on other sites More sharing options...
phjaxi2 Posted June 3, 2022 Share Posted June 3, 2022 hi im looking for a very simple script, which would check how many pots/sds/bolts I have, and then, if its not enough, it would go to label 'refill' Link to comment Share on other sites More sharing options...
Prolificx3 Posted June 9, 2022 Share Posted June 9, 2022 im trying to get a script to pick spears up from the ground and refill in my left hand. i couldnt find anything under the search bar Link to comment Share on other sites More sharing options...
Splm Posted June 11, 2022 Share Posted June 11, 2022 @Zelek can we get a script to pickup spears from.ground to left hand for training? Looked through didnt find seen numerous people requesting Link to comment Share on other sites More sharing options...
gafahadd Posted July 6, 2022 Share Posted July 6, 2022 Hello, Is there any scrypt that can use Obsidian knife or other id item after monster kill ? Link to comment Share on other sites More sharing options...
bigiello Posted September 9, 2022 Share Posted September 9, 2022 Hi, i'm looking for script that will pause bot when player is on screen, and unpause when isn't. Link to comment Share on other sites More sharing options...
Recommended Posts