rodrygosos 4 Postado Outubro 2, 2010 Share Postado Outubro 2, 2010 to usando o Diamond Server 1.0.4 8.60 e eu boto esse script ai quando dou deathlist o serve fecha sozinho. =s Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-940759 Compartilhar em outros sites More sharing options...
buzurck 2 Postado Outubro 30, 2010 Share Postado Outubro 30, 2010 poxa ta perfeito funfou certinho n costumo comentar mas agora vc foi demais, parabens vai ganhar meu primeiro REP+ thankx Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-950789 Compartilhar em outros sites More sharing options...
onokamisama 2 Postado Dezembro 28, 2010 Share Postado Dezembro 28, 2010 funciona com ot 7.81 ? Bom eu acho que não neh, mais tem alguma coisa do tipo pra esta versão ? Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-982005 Compartilhar em outros sites More sharing options...
Sanf 22 Postado Janeiro 1, 2011 Share Postado Janeiro 1, 2011 Funciona mesmo, porém esta diferente do meu ;/ obrigado por postar. Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-983463 Compartilhar em outros sites More sharing options...
refi 2 Postado Março 13, 2011 Share Postado Março 13, 2011 Infelizmente não fuincionou do Real server. Se puder postar algum que funcione nele ficaria mt grato! :confused: Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1012264 Compartilhar em outros sites More sharing options...
gustavoMtek 31 Postado Julho 15, 2011 Share Postado Julho 15, 2011 coloquei no meu server e quando eu tento usar o server buga 8.60 Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1066036 Compartilhar em outros sites More sharing options...
69768489 2 Postado Agosto 26, 2011 Share Postado Agosto 26, 2011 (editado) Deathlist funcionando! [TFS 0.3.6+] Fala galera, muitos OTs estão com o comando Death List (!deathlist) bugado, então estava pesquisando algum script semelhante que não bugasse o servidor e achei! Vá até a pasta Talkactions abra o arquivo Talkactions.xml e adicione esta Tag: <talkaction words="!deathlist" event="script" value="deathlist.lua"/> Depois de ter adicionado e salvado, vá até a pasta Scripts dentro da pasta Takactions e abra ou faça um script deathlist.lua e adicione isto dentro: local config = { deathAssistCount = getConfigValue('deathAssistCount') + 1, maxDeathRecords = getConfigValue('maxDeathRecords'), limit = "" } if(config.deathAssistCount > 0) then config.limit = " LIMIT 0, " .. config.deathAssistCount end function onSay(cid, words, param, channel) local target = db.getResult("SELECT `name`, `id` FROM `players` WHERE `name` = " .. db.escapeString(param) .. ";") if(target:getID() == -1) then doPlayerSendCancel(cid, "A player with that name does not exist.") return true end local targetName, targetId = target:getDataString("name"), target:getDataInt("id") target:free() local str, deaths = "", db.getResult("SELECT `id`, `date`, `level` FROM `player_deaths` WHERE `player_id` = " .. targetId .." ORDER BY `date` DESC LIMIT 0, " .. config.maxDeathRecords) if(deaths:getID() ~= -1) then repeat local killers = db.getResult("SELECT environment_killers.name AS monster_name, players.name AS player_name FROM killers LEFT JOIN environment_killers ON killers.id = environment_killers.kill_id LEFT JOIN player_killers ON killers.id = player_killers.kill_id LEFT JOIN players ON players.id = player_killers.player_id WHERE killers.death_id = " .. deaths:getDataInt("id") .. " ORDER BY killers.final_hit DESC, killers.id ASC" .. config.limit) if(killers:getID() ~= -1) then if(str ~= "") then str = str .. "\n" .. os.date("%d %B %Y %X ", deaths:getDataLong("date")) else str = os.date("%d %B %Y %X ", deaths:getDataLong("date")) end local count, i = killers:getRows(false), 0 repeat local monster = killers:getDataString("monster_name") if(i == 0 or i == (count - 1)) then monster = string.gsub(monster:gsub("an ", ""), "a ", "") end if(killers:getDataString("player_name") ~= "") then if(i == 0) then str = str .. "Killed at level " .. deaths:getDataInt("level") .. " by:\n " elseif(i == count) then str = str .. " and by " elseif(i % 4 == 0) then str = str .. ",\n " else str = str .. ", " end if(monster ~= "") then str = str .. monster .. " summoned by " end str = str .. killers:getDataString("player_name") else if(i == 0) then str = str .. "Died at level " .. deaths:getDataInt("level") .. " by:\n " elseif(i == count) then str = str .. " and by " elseif(i % 4 == 0) then str = str .. ",\n " else str = str .. ", " end str = str .. monster end i = i + 1 if(i == count) then str = str .. "." end until not(killers:next()) killers:free() end until not(deaths:next()) deaths:free() else str = "No deaths recorded." end doPlayerPopupFYI(cid, "Deathlist for player: " .. targetName .. ".\n\n" .. str) return true end Pronto, seu deathlist agora está funcionando normalmente! Créditos: Desconhecido.~ Coloquei tudo certinho, como está no tutorial mais não funcionou! Quando eu falei "!deathlist" o Ot simplesmente caiu. O que eu faço? Protocolo (versão do Tibia): 8.60. Servidor utilizado: Baiak Yurots, Editado por mim! Nível de experiência: Mapper: 50% // Script: 10%. Adicionais/Informações: Vivendo e aprendendo! Obrigado! :XTibia_smile: Editado Agosto 26, 2011 por RomarioTibia Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1092399 Compartilhar em outros sites More sharing options...
gabrielamorim 0 Postado Agosto 30, 2011 Share Postado Agosto 30, 2011 legal Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1094311 Compartilhar em outros sites More sharing options...
gustavoMtek 31 Postado Outubro 28, 2011 Share Postado Outubro 28, 2011 velho que escroto... so porque é o doidin e todo mundo acha que o script ta perfeito.Quem teve o minimo bom senso de testa antes de posta alguma critica viu que essa merda nao ta funcionando em nem 1 OT e quando alguem fala !deathlist o otserv fecha... Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1123807 Compartilhar em outros sites More sharing options...
Bababoom 1 Postado Outubro 30, 2011 Share Postado Outubro 30, 2011 Ai manin não funfo naum =/ o ot CAI .. ajuda ai ? Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1125121 Compartilhar em outros sites More sharing options...
jamersonandres 14 Postado Novembro 1, 2011 Share Postado Novembro 1, 2011 ae doidin voce sempre surpreendendo o :XTibia_smile:xtibia e toodos mano valew por este sistema muita gente vai usar inclusive eu! valews REP :button_ok: POSSO ADD MSN? :mellow: Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1125914 Compartilhar em outros sites More sharing options...
gustavoMtek 31 Postado Novembro 9, 2011 Share Postado Novembro 9, 2011 ae doidin voce sempre surpreendendo o :XTibia_smile:xtibia e toodos mano valew por este sistema muita gente vai usar inclusive eu! valews REP :button_ok: POSSO ADD MSN? :mellow: esse nao testo o script e ja veio falando que é o melhor script de todos.... Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1130279 Compartilhar em outros sites More sharing options...
LucasCastro 9 Postado Março 10, 2012 Share Postado Março 10, 2012 Vlw's Mto Bom ! Aque funcionou perfeitamente! ;D Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1214866 Compartilhar em outros sites More sharing options...
kelvinvictor 14 Postado Março 16, 2012 Share Postado Março 16, 2012 Testando em casa funciona, pq só ta você online no 127.0.0.1, MAIS FUI INVENTAR DE COLOCAR NOVAMENTE ESSE CÓDIGO NO MEU SERVIDOR DEDICADO E O SERVIDOR CAIA, PERDI MUITOS PLAYERS ATÉ DESCOBRIR QUE ERA ISSO. té + baiakhere.no-ip.info Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1218384 Compartilhar em outros sites More sharing options...
Marcelo96 0 Postado Março 18, 2012 Share Postado Março 18, 2012 ae pegou só que nao ta mostrando as mortes :X tem como arrumar? não ta dando nem um erro no executer :C Link para o comentário https://xtibia.com/forum/topic/131506-talkactions-deathlist-funcionando-tfs-036/page/2/#findComment-1219449 Compartilhar em outros sites More sharing options...
Posts Recomendados