xcorek Posted February 23, 2021 Share Posted February 23, 2021 can I ask for a script where the bot will respond on msgcheck? 1 Link to comment Share on other sites More sharing options...
Zelek Posted February 23, 2021 Author Share Posted February 23, 2021 33 minutes ago, xcorek said: can I ask for a script where the bot will respond on msgcheck? please search this topic before posting. it has already been shared here Link to comment Share on other sites More sharing options...
xcorek Posted February 23, 2021 Share Posted February 23, 2021 5 hours ago, Zelek said: please search this topic before posting. it has already been shared here I know, but I can't turn it on. Link to comment Share on other sites More sharing options...
Zelek Posted February 23, 2021 Author Share Posted February 23, 2021 1 hour ago, xcorek said: I know, but I can't turn it on. you are trying to use some old deprecated version. Link to comment Share on other sites More sharing options...
kuzzuki Posted February 24, 2021 Share Posted February 24, 2021 Hello. The case looks like this, the bot crashes for me, it just turns it off every now and then and I don't know if it's not because of the money exchange script because I see in the logs that this script is spamming a bit. Please help i use this scripts auto(250) if not g_game.isOnline() then return end local coinIds = {3031, 3035} local playerItems = g_game.getLocalPlayer():getItems() for _, item in pairs(playerItems) do for _, coinId in pairs(coinIds) do if item and item:getId() == coinId and item:getCount() == 100 then g_game.useItem(item) return end end end Link to comment Share on other sites More sharing options...
Abc Posted February 24, 2021 Share Posted February 24, 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. I would like to request an script to refill ammo. This one doesn't really work on otpiece.com and it's to hands not ammo. Link to comment Share on other sites More sharing options...
asktheages Posted February 25, 2021 Share Posted February 25, 2021 (edited) On 2/22/2021 at 7:59 PM, zakne11 said: gotolabel (string sectionName , string labelName ) Sets the current waypoint to the one of labelName Label in sectionName Section. gotolabel("HUNTING", "start-hunting") just you have to prepare tab changer in script Thanks for answer. Still - i have no idea how to use this. Could you please prepare a script that writes .!task every 5 min, and runs the desired "gotolabel" when it detects eg. 300/300 - and when the second waypoint tab comes back to respawn - starts the main one again? I know one buddy has written that kind of script in this thread - but it just doesnt work, the script returns error. Thanks! Edited February 25, 2021 by asktheages Link to comment Share on other sites More sharing options...
kuzzuki Posted February 26, 2021 Share Posted February 26, 2021 Hello. I have a question, why do I get bothered after an hour of standing on afk? and so it is all the time .... HELP Link to comment Share on other sites More sharing options...
Zelek Posted February 26, 2021 Author Share Posted February 26, 2021 4 hours ago, kuzzuki said: Hello. I have a question, why do I get bothered after an hour of standing on afk? and so it is all the time .... HELP you what Link to comment Share on other sites More sharing options...
lediv Posted February 26, 2021 Share Posted February 26, 2021 (edited) 1) Could you modify the below script so it's only using the spell if monsters are around 5sqm in any direction of our character (this is a target spell and with this script the bot is spamming this even if the target is far away) if g_game.isAttacking() then g_game.talk("spell 1") sleep(900, 1250) end auto(100) Thanks in advance Edited February 26, 2021 by lediv Link to comment Share on other sites More sharing options...
Zelek Posted February 26, 2021 Author Share Posted February 26, 2021 26 minutes ago, lediv said: 1) Could you modify the below script so it's only using the spell if monsters are around 5sqm in any direction of our character (this is a target spell and with this script the bot is spamming this even if the target is far away) if g_game.isAttacking() then g_game.talk("spell 1") sleep(900, 1250) end auto(100) Thanks in advance if g_game.isAttacking() then local target = g_game.getAttackingCreature() if target and target:getPosition():distance(g_game.getLocalPlayer():getPosition()) <= 5 then g_game.talk("spell 1") sleep(900, 1250) end end auto(100) 1 Link to comment Share on other sites More sharing options...
zakne11 Posted February 26, 2021 Share Posted February 26, 2021 18 hours ago, asktheages said: Thanks for answer. Still - i have no idea how to use this. Could you please prepare a script that writes .!task every 5 min, and runs the desired "gotolabel" when it detects eg. 300/300 - and when the second waypoint tab comes back to respawn - starts the main one again? I know one buddy has written that kind of script in this thread - but it just doesnt work, the script returns error. Thanks! auto(300000) local messagesToDetect = "300/300" g_game.talk(".!task") -- sleep(x) -- activate and adjust if script can't detect exacly after write .!task connect("g_game", "onTextMessage", checkBotText) function checkBotText(mode, message) if string.find(message, messageToDetect, 1, true) then gotolabel("retask", "deliver-task") end as last waypoint in retask ad "ACTION" on with script gotolabel("hunt", "start-hunt") Link to comment Share on other sites More sharing options...
zakne11 Posted February 26, 2021 Share Posted February 26, 2021 Just now, zakne11 said: auto(300000) local messagesToDetect = "300/300" g_game.talk(".!task") -- sleep(x) -- activate and adjust if script cant detect exacly after write .!task connect("g_game", "onTextMessage", checkBotText) function checkBotText(mode, message) if string.find(message, messageToDetect, 1, true) then gotolabel("retask", "deliver-task") end as last waypoint in retask ad "ACTION" on with script gotolabel("hunt", "start-hunt") Link to comment Share on other sites More sharing options...
oski121 Posted February 28, 2021 Share Posted February 28, 2021 Quote local healthToCast = 75 local spellToCast = "gigantic breakers" local player = g_game.getLocalPlayer() if g_game.isAttacking() and player:getHealthPercent() >= healthToCast then g_game.talk(spellToCast) sleep(444, 555) end auto(100) Hi Guys i have a script for target spell like this, but i need add that cast just when monster will be not further than 3 or 4 sqm can some on make it for me? Link to comment Share on other sites More sharing options...
Zelek Posted February 28, 2021 Author Share Posted February 28, 2021 22 minutes ago, oski121 said: Hi Guys i have a script for target spell like this, but i need add that cast just when monster will be not further than 3 or 4 sqm can some on make it for me? Please search the forum before posting Link to comment Share on other sites More sharing options...
oski121 Posted February 28, 2021 Share Posted February 28, 2021 (edited) 36 minutes ago, Zelek said: Please search the forum before posting That's fine mate but i need Monster position and hp highter than xx in one script, i dont have idea how to add monster around to my previous script ;/ Edited February 28, 2021 by oski121 Link to comment Share on other sites More sharing options...
Boltrex Posted March 1, 2021 Share Posted March 1, 2021 hello I play a server of tibia 7.72 (REALESTA) there are functions to use in hotkey for example .. Useonself, useontarget, useoncroshair .. just putting the element id? either Manafluid, UH, Runes etc Link to comment Share on other sites More sharing options...
strat3g Posted March 3, 2021 Share Posted March 3, 2021 On 3/1/2021 at 2:35 AM, Boltrex said: hello I play a server of tibia 7.72 (REALESTA) there are functions to use in hotkey for example .. Useonself, useontarget, useoncroshair .. just putting the element id? either Manafluid, UH, Runes etc I think you should use bigger font... Like it changes anything in terms of answer for your question. LOL Link to comment Share on other sites More sharing options...
Minti Posted March 3, 2021 Share Posted March 3, 2021 hi sparring if no monster atacking Link to comment Share on other sites More sharing options...
mokosomen Posted March 4, 2021 Share Posted March 4, 2021 there is any way to move items from one conatiner to another? Link to comment Share on other sites More sharing options...
pefernandes2024 Posted March 6, 2021 Share Posted March 6, 2021 need a script to renew skill buff Link to comment Share on other sites More sharing options...
Zelek Posted March 6, 2021 Author Share Posted March 6, 2021 On 3/4/2021 at 4:05 AM, mokosomen said: there is any way to move items from one conatiner to another? Link to comment Share on other sites More sharing options...
mokosomen Posted March 6, 2021 Share Posted March 6, 2021 (edited) 1 hour ago, Zelek said: I get this error. https://gyazo.com/72437315ce4844d714c781ea8365216d Edited March 6, 2021 by mokosomen Link to comment Share on other sites More sharing options...
Gamej Posted March 7, 2021 Share Posted March 7, 2021 Need script. After kill target use item (id) on self. Thanks 😄 Link to comment Share on other sites More sharing options...
strat3g Posted March 10, 2021 Share Posted March 10, 2021 (edited) Looking for hotkey to stop persistent scripts. I use pause cavebot/targeting already but need to pause scripts also. Edited March 11, 2021 by strat3g Link to comment Share on other sites More sharing options...
Recommended Posts