[Scripts] OTClient


Gugu - Karin Uzumaki

Recommended Posts

  • 2 months later...

Esse script funcionam em Xenobot?

Funciona só se vc substituir as funções, pq até onde eu sei o Xenobot usa a linguagem lua tbm mas pra funcionar vc tem que substituir as funções.

Tipo, a função g_game.talk() que tem no otclient provavelmente não tem no Xenobot, deve ser algo como say() ou talk(). Então pode funcionar se vc substituir as funções, pq a estrutura e a linguagem é a mesma.

  • Like 1
Link to comment
Share on other sites

  • 8 months later...
  • 3 weeks later...
  • 1 month later...
Em 22/12/2018 at 11:30, PARAMAX disse:

Alguem tem algum script para puxar felcha/bolt no OTC ? seria perfect

 

Mano, peguei um script aqui de exemplo e dei uma mexida pra fazer isso. Só da uma testada e me fala se precisar melhorara algo!

--[[ Script de Auto Refill Ammo
id da do item a ser recarregado = 16141 // prismatic bolta
slot da boots = InventorySlotAmmo
]]
cycleEvent( function()
    if g_game.isOnline() then
        local player = g_game.getLocalPlayer()
        local slot = InventorySlotAmmo
        local back = InventorySlotBack
        local bootsSlot = player:getInventoryItem(slot)
        local soft = player:getItem('16141')
        local botaPos = {['x'] = 65535, ['y'] = slot, ['z'] = 0}
        local backPos = {['x'] = 65535, ['y'] = back, ['z'] = 0}

            if bootsSlot == nil then
                g_game.move(soft, botaPos, soft:getCount())
            elseif bootsSlot:getId()  ~= 16141 then
                g_game.move(bootsSlot, backPos, bootsSlot:getCount())
            elseif bootsSlot:getId() == 16141 then
                return
            end
            
    end
end, 3000)
 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 1 year later...
Em 02/09/2014 at 23:12, Gugu - Karin Uzumaki disse:

Aviso: As scripts que eu fiz nesse tópico são antigas. Fiz quando eu tinha pouca experiência com programação então considero obsoletas. Sendo sincero, não recomendo usa-las.

Iae galera, beleza?
A um tempo já que estava querendo alguns scripts do otclient, mas ninguém tinha. Então eu tomei coragem e fui tentar fazer algumas... e consegui, e vim compartilhar aqui com vocês.

 

Mining

Alguém pode me ajudar pf, não estou conseguindo usar o script de mining. Já copiei e colei uma parte de cada vez la no maneger um em cada espaço, depois todos em um só, já tentei colocar todos de uma vez no ctrl + t  e um de cada vez também, alguem que manja pode me dizer onde estou errando pf.

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...