Ir para conteúdo

FearWar

Membro
  • Registro em

  • Última visita

Tudo que FearWar postou

  1. Pode ser mesmo, porque pelo repositório no GITHUB, tem muitas coisas fixadas kkkk
  2. Remove do código essa linha doRemoveItem(item.uid)
  3. Quando coloco os items.otb e items.xml dentro da pasta do RME e vou abrir o mapa, da o seguinte erro "Could not read item id from item node" sabe porque?
  4. Tem cast system?
  5. Muito boa sua divulgação. Parabéns!
  6. FearWar postou uma resposta no tópico em Suporte Tibia OTServer
    Eu tenho, me chama no whats 51995827361
  7. A solução é simples, quando você instala o minimal ele vai pra outro diretório. Makefile /usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4 Só fazer essa alteração é irá compilar normalmente.
  8. Não contém erro, simplesmente não funciona
  9. Olá, Após baixar o Baiak PVP, vi uma script de Watch Cast System, ela tem a função de poder visualizar os cast online sem ter que deslogar o character. Bom, conforme na pasta do server ela está desativada por não estar funcionando 100%, alguém tem essa script funcionando, ou poderia ajudar a corrigir a mesma? Segue a script abaixo: function getPlayerList(cid) local result_plr = db.getResult("SELECT `name` FROM `players` WHERE `broadcasting` > 0") local names = "" local tabela = {} if(result_plr:getID() ~= -1) then while(true) do local name = result_plr:getDataString("name") local id = getCreatureByName(name) if id ~= nil then if name ~= getCreatureName(cid) then --names = "-"..names..name .."{Lv. "..getPlayerLevel(id).."}" table.insert(tabela, name) end end if not result_plr:next() then break end --[[ if teste == false then names = names.."-" end ]]-- end result_plr:free() end return tabela end function getPlayerVocString(cid) if not isPlayer(cid) then return false end local id = getPlayerVocation(cid) if id == 0 then return "Ro" elseif id == 1 then return "S" elseif id == 2 then return "D" elseif id == 3 then return "P" elseif id == 4 then return "K" elseif id == 5 then return "MS" elseif id == 6 then return "ED" elseif id == 7 then return "RP" elseif id == 8 then return "EK" end end function setChannelString(cid, tabela) local names = "" local qtd = 0 for i = 1,#tabela do local name = tabela[i] local id = getCreatureByName(name) if id ~= nil then if name ~= getCreatureName(cid) then if i == 1 then qtd = qtd +1 names = names..name .."{"..getPlayerLevel(id).. " "..(getPlayerVocString(id) or "").. " "..#getPlayerSpectators(cid).."/50".."}" else names = names.."-"..name .."{"..getPlayerLevel(id).. " "..(getPlayerVocString(id) or "").. " "..#getPlayerSpectators(cid).."/50".."}" qtd = qtd +1 end end end end return names, qtd end function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerStorageValue(cid, "broadcast") == 1 then doPlayerSendCancel(cid, "Você não pode assistir a outros players enquanto tiver com seu cast ligado!") return true end local storage = "watchsys" local waittime = 3 if exhaustion.check(cid, storage) then if isPlayer(cid) then if exhaustion.get(cid, storage) then doPlayerSendCancel(cid, "Aguarde " .. exhaustion.get(cid, storage) .. " antes de usar o watch novamente.") end end return false end local tabela = getPlayerList(cid) if #tabela == 0 then doPlayerSendCancel(cid, "Cast não disponível.") return true end local str, numero = setChannelString(cid, tabela) if str == "" then doPlayerSendCancel(cid, "Cast não disponível.") return true end exhaustion.set(cid, storage, waittime) local result = {} if numero > 1 then result = string.explode(str, "-") else result[1] = str end local strings = "" for i = 1,#result do local name = string.explode(result[i], "{") local number = getPlayerGUID(getPlayerByName(name[1])) + 1000 strings = strings.. tostring(number)..";"..tostring(result[i]) if i ~= #result then strings = strings..";" end end doPlayerOpenCustomDialog(cid, strings) return false end
  10. Opa, se eu quiser usar com o sistema vip do Mock, eu preciso alterar a parte ispremium?
  11. Este sistema é bem complexo, não vai achar FREE na internet
  12. Fala Tks, Alguém poderia me ajudar a criar uma script de NPC que teleporta de o player tiver X horas online? - Configurável Tempo - Configurável Level Exemplo: Player: Hi NPC: Olá, gostaria de ter acesso a infernalist? para ter acesso e necessário ser level 260+ e ter 8h jogadas no dia, caso teira diga yes. Player: yes NPC: Você tem apenas 1 hora, 24 minutos e 31 segundos de tempo online até agora você precisa ter 8h online no dia para ter acesso infernalist.
  13. FearWar postou uma resposta no tópico em Tibia Global OTServer
    Alguém tem o link do server?
  14. FearWar postou uma resposta no tópico em Suporte Tibia OTServer
    Eu tenho esse map, caso tenha interesse entre em contato comigo (51) 99582-7361
  15. player.cpp: In member function ‘virtual void Player::onThink(uint32_t)’: player.cpp:2030:44: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if ((regenerationActivated) && (timeInPz >= timeNow)) { ^ cc1plus: all warnings being treated as errors Makefile:40: recipe for target 'obj/player.o' failed make: *** [obj/player.o] Error 1
  16. Estou com esse problema também, achou a solução?
  17. Muito bom o sistema REP+! Uma dúvida, quando eu mato ferumbras, não dropa ferumbras hat que deveria ser toda vez, é assim mesmo?
  18. Opa, sistema muito bom! Uma dúvida, teria como adicionar para Free poder usar apenas 2 slots, e VIP Storage 55555 usar 5 Slots?
  19. Teria como colocar um tempo pra usar novamente a FOOD, tipo em 4 em 4 horas? Além de Refilar toda a vida teria como setar tipo 5k ou 2k?
  20. Que bacana isso, trazendo conteúdo diferenciado!

Informação Importante

Confirmação de Termo