EDIÇÃO DE SCRIPT SIO


pikachu rosa

Recommended Posts

 

tem como fazer esse script dar sio na party ao inves de ser pelo nome da pessoa?

cycleEvent(function ()

NAME = "FARAMIR" if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() > 0.7 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:isPlayer() and v:getName() == NAME and v:getHealthPercent() < 85 then g_game.talk("exura sio \"".. NAME) end end end end end, 100)

 

Eu queria deixar meu bot de druid igual esse aqui, mas não sei como mudar as coisas de lugar e como por o script de sio certo

https://uploaddeimagens.com.br/imagens/G13ZMWw

SE NAO DER PARA EXPLICAR....

QUERIA UM SCRIPT PARA COLOCAR LA NO ICONE "S" IGUAL ESSES AQUI QUE ACHEI DO FARAMIR, mas que seja para dar sio em Party e nao por nome como tem ali no link dele

 

 

 

 

 

Link to comment
Share on other sites

Cola o script ai em baixo dentro de um bloco de notas, entra na pasta BOT lá na pasta roaming, entra na pasta que vc deseja colocar o SIO e coloca o bloco de notas lá

Spoiler

macro(100, "Sio Friend", function()
  local friend = getPlayerByName(storage.healFriend)   
  if friend and friend:getHealthPercent() < tonumber(storage.healFriendPercent) then
      say("Exura Sio \"" .. storage.healFriend)
      delay(1000)
  end
end)
addLabel("sioname", "Player name:")
addTextEdit("healfriend", storage.healFriend or "", function(widget, text)   
  storage.healFriend = text
end)
addLabel("siopercent", "Heal Below %:")
addTextEdit("healfriendpercent", storage.healFriendPercent or "", function(widget, text)   
  storage.healFriendPercent = text
end)

 

Link to comment
Share on other sites

4 horas atrás, pikachu rosa disse:

 

tem como fazer esse script dar sio na party ao inves de ser pelo nome da pessoa?

cycleEvent(function ()

NAME = "FARAMIR" if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() > 0.7 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:isPlayer() and v:getName() == NAME and v:getHealthPercent() < 85 then g_game.talk("exura sio \"".. NAME) end end end end end, 100)

 

Eu queria deixar meu bot de druid igual esse aqui, mas não sei como mudar as coisas de lugar e como por o script de sio certo

https://uploaddeimagens.com.br/imagens/G13ZMWw

SE NAO DER PARA EXPLICAR....

QUERIA UM SCRIPT PARA COLOCAR LA NO ICONE "S" IGUAL ESSES AQUI QUE ACHEI DO FARAMIR, mas que seja para dar sio em Party e nao por nome como tem ali no link dele

 

 

 

 

 

Mano e só procurar mais um pouco na aba do Otclient de suporte que você vai encontrar o bot personalizado do Otclient o TRPGB BM, lá já tem o link para baixar. 

Link to comment
Share on other sites

8 hours ago, pikachu rosa said:

QUERIA UM SCRIPT PARA COLOCAR LA NO ICONE "S" IGUAL ESSES AQUI QUE ACHEI DO FARAMIR, mas que seja para dar sio em Party e nao por nome como tem ali no link dele

 

esse eu não tenho, mas se tu quer matar seu ek vai em frente.
qd os bicho combar e a vida do resto da pt abaixar, seu bot vai dar sio no RP por exemplo, e seu ek morre =)
quer um conselho bom? deixa o F1 programado pra dar exura gran mas res, já que vc tá em pt provavelmente tá na frente do pc, se der merda tu aperta f1
se esse não for o caso, configura uma script de algum buff, pra soltar mas res a cada x segundos

Link to comment
Share on other sites

tenta este... não cheguei a testar, avisa se funcionou depois

 

cycleEvent(function() if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() > 0.5 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:getId() ~= p:getId() and v:getHealthPercent() <= 85 and (v:getShield() == 3 or v:getShield() == 4) then g_game.talk("exura sio \"" .. v:getName()) end end end end end, 500)

 

  • Like 1
Link to comment
Share on other sites

On 8/6/2022 at 12:17 PM, Faramir said:

tenta este... não cheguei a testar, avisa se funcionou depois

 


cycleEvent(function() if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() > 0.5 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:getId() ~= p:getId() and v:getHealthPercent() <= 85 and (v:getShield() == 3 or v:getShield() == 4) then g_game.talk("exura sio \"" .. v:getName()) end end end end end, 500)

 

Rapaz, tu bem que podia tentar salvar eu em...

Spoiler

function sendEquipItem(id)
  local protocol = g_game.getProtocolGame()
  local msg = OutputMessage.create()
  msg:addU8(119)    
  msg:addU16(id)
  protocol:send(msg)


end

local ammo = InventorySlotAmmo
iArrow = 1


macro(300,"Equip Arrow",function()

local arrow= storage.sortItems1[iArrow] 
arrowId = arrow.id


if player:getInventoryItem(ammo) == nill then
  sendEquipItem(arrowId)

else

  local arrowEquip = player:getInventoryItem(ammo)
  
  if arrowEquip:getId() == iRing then
    return
  else
    sendEquipItem(arrowId)
  end

end


end)

local sortItems1 = UI.Container(function(widget, items)
  storage.sortItems1 = items
end, true)
sortItems1:setHeight(70)
sortItems1:setItems(storage.sortItems1)

local raiderHotkey = hotkey("F12", "Change Arrow", function()
if storage.sortItems1[iArrow + 1] == nil then
  iArrow = 1
else
  iArrow = iArrow + 1
end
end)

Eu queria conseguir equipar ROH no OTC sem precisar abrir bags... Eu até consigo ajustar o macro que equipa Diamond Arrow (que por sinal tá bugada depois do update) para equipar os rings, o problema é que quando o ring é equipado muda o ID, aí o macro acha que não tem nada e equipa de novo, ai bagunça tudo, e eu passei a ultima semana tentando adicionar algo que reconhece quando tá equipado, mas sem sucesso...

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...