Xarplin Posted July 18, 2020 Report Share Posted July 18, 2020 Queria ver se alguém pode tem alguma solução pra esse problema no target do novo OTC. Na hunt ou castle, as vezes ele perde o target e não ataca novamente. (No caso do castle, o guardian aparece na tela mas não ataca. No painel fica status: waiting). Ai só ataca novamente se clicar manualmente pra voltar a atacar. Alguém sabe se tem alguma maneira de corrigir isso? Quote Link to comment Share on other sites More sharing options...
Junior.. Posted July 18, 2020 Report Share Posted July 18, 2020 Usa a hotkey de atacar tudo acho melhor para o castelo. Quote Link to comment Share on other sites More sharing options...
Xarplin Posted July 18, 2020 Author Report Share Posted July 18, 2020 2 hours ago, Junior.. said: Usa a hotkey de atacar tudo acho melhor para o castelo. Tens essa script pra passar? Quote Link to comment Share on other sites More sharing options...
Xarplin Posted July 19, 2020 Author Report Share Posted July 19, 2020 Baixei aquela função do TRPGB BM e vou deixar a opção "Keep Atack" ativada. Será que soluciona? @Cadwallow Quote Link to comment Share on other sites More sharing options...
Junior.. Posted July 19, 2020 Report Share Posted July 19, 2020 cycleEvent(function() ignore = {'Grovebeast', 'Emberwing', 'Skullfrost', 'Thundergiant', 'Pet Archer', 'Pet Blaze', 'Pet Dog', 'Pet Mage', 'Pet Mercenary', 'Pet Witchdoctor', 'Pet Wolf'} if not g_game.isOnline() then return end if g_game.isAttacking() then return end local player = g_game.getLocalPlayer() local spec = g_map.getSpectators(player:getPosition()) function isInArray(tbl, value) for k, v in ipairs(tbl) do if v == value then return k end end return false end for k,monster in pairs(spec) do if not isInArray(ignore, monster:getName()) then if monster:isMonster() and not monster:isPlayer() and not monster:isNpc() then g_game.attack(monster) break end end end end, 400) 1 Quote Link to comment Share on other sites More sharing options...
Xarplin Posted July 19, 2020 Author Report Share Posted July 19, 2020 5 minutes ago, Junior.. said: cycleEvent(function() ignore = {'Grovebeast', 'Emberwing', 'Skullfrost', 'Thundergiant', 'Pet Archer', 'Pet Blaze', 'Pet Dog', 'Pet Mage', 'Pet Mercenary', 'Pet Witchdoctor', 'Pet Wolf'} if not g_game.isOnline() then return end if g_game.isAttacking() then return end local player = g_game.getLocalPlayer() local spec = g_map.getSpectators(player:getPosition()) function isInArray(tbl, value) for k, v in ipairs(tbl) do if v == value then return k end end return false end for k,monster in pairs(spec) do if not isInArray(ignore, monster:getName()) then if monster:isMonster() and not monster:isPlayer() and not monster:isNpc() then g_game.attack(monster) break end end end end, 400) Valeu mano Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.