Jump to content

Featured Replies

Posted
comment_549282

Olá pessoal, tudo bem com vocês?

Fiz uma lista dos problemas mais frequentes do otcliente e suas soluções impostadas por outros membros via Fórum. Também coloquei os scripts que ajudam bastante a galera que usa esse bot.

 

PROBLEMAS OBSERVADOS:                               

  • TARGET NO MONSTRO MAIS NÃO ATACA

SCRIPT:   cycleEvent(function() if g_game.isOnline() and g_game.isAttacking() then g_game.cancelAttack() end end, 60000)

  •  BONECO PARA DE ANDAR NA CAVE

SCRIPT:   cycleEvent(function() if g_game.isOnline() then g_game.stop() end end, 60000)
oBS: se o boneco travar, espera 1 minuto que ele destrava sozinho.

  •  ANTI KICK NÃO FUNCIONA

Vá em:   mods/candybot/modules/afk/events/ e substitui o antikick.lua por esse arquivo aqui: https://github.com/BenDol/otclient-candybot/blob/master/modules/01-afk/events/antikick.lua

  • HOTKEY E MAPA NÃO SALVAM

Tente deslogar e loga da forma correta para salvar normalmente APÓS SAIR BATLE, se não funcionar : Vá Em "Executar" colocar o comando "%userprofile%" sem as aspas e ver se tem uma pasta com o nome otclient, se tiver um arquivo no lugar e só apagar e criar a pasta

SCRIPTS ÚTEIS

  • ATACA QUALQUER MONSTRO E IGNORA "PETS"
 

auto_attack = cycleEvent(function()
  ignore = {'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)

repor a soft boot
cycleEvent( function()
    if g_game.isOnline() then
        local player = g_game.getLocalPlayer()
        local slot = InventorySlotFeet
        local back = InventorySlotBack
        local bootsSlot = player:getInventoryItem(slot)
        local soft = player:getItem(6529)
        local botaPos = {['x'] = 65535, ['y'] = slot, ['z'] = 0}
        local backPos = {['x'] = 65535, ['y'] = back, ['z'] = 0}

        if bootsSlot == nil then
            if soft then
                g_game.move(soft, botaPos, soft:getCount())
            end
        else
            if bootsSlot:getId() ~= 3549 and soft ~= nil then
                g_game.move(soft, botaPos, soft:getCount())
            end
        end   
    end
end, 5000)

 

  • SCRIPTS UTEIS DE :  

Mining - Anti Push -Auto Mount -Utura Gran - Dropar Potions Vazias- Vita /Utevo gran sio- Estourar Potions Vazias - Ring por Hotkey - Exani hur up/down nas setinhas - Auto Amuleto-


LINK:  

 

IMPORTANTE

Para os scripts rodarem basta copiar (Ctrl +C), abrir o terminal (Ctrl+T), colar (Ctrl + V)

alguns scripts podem não funcionar devido as atualizações do otclient

 

CREDITOS 

Gu, Pityko, Faramir e a todos que criaram e correram atrás pra ajudar a galera.

Eu só organizei aqui pra ajudar um pouco

Se alguém tiver outros scripts ou problemas com soluções me procura que eu edito aqui

 

noob.gif

mercenarys.gif

 

Guest
This topic is now closed to further replies.