bem o do frags, vai em data/creaturescripts/scripts copie 1 arquivo e renomeie para fraglook.lua, e cole isso.
--Script By Theax ""
<event type="login" name="fraglook_register" event="script" value="fraglook.lua"/>
Por wazus12, 25 de jul. de 2013 em Tópicos Sem Resposta
info
Grupo: Conde
Registrado: 20/09/12
Posts: 711
Reputação: +86
Char no Tibia: noé

bem o do frags, vai em data/creaturescripts/scripts copie 1 arquivo e renomeie para fraglook.lua, e cole isso.
--Script By Theax ""
<event type="login" name="fraglook_register" event="script" value="fraglook.lua"/>
bem o do frags, vai em data/creaturescripts/scripts copie 1 arquivo e renomeie para fraglook.lua, e cole isso.
--Script By Theax ""
function getPlayerFrags(cid)local time = os.time()local times = {today = (time - 86400), week = (time - (7 * 86400))}local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC")if(result:getID() ~= -1) thenrepeatlocal content = {date = result:getDataInt("date")}if(content.date > times.today) thentable.insert(contents.day, content)elseif(content.date > times.week) thentable.insert(contents.week, content)elsetable.insert(contents.month, content)enduntil not result:next()result:free()endlocal size = {day = table.maxn(contents.day),week = table.maxn(contents.week),month = table.maxn(contents.month)}return size.day + size.week + size.monthendfunction onLogin(cid)registerCreatureEvent(cid, "fraglook")return trueendfunction onLook(cid, thing, position, lookDistance)if isPlayer(thing.uid) and thing.uid ~= cid thendoPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..']')return trueelseif thing.uid == cid thendoPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..']')local string = 'You see yourself.'if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) thenstring = string..' You are '.. getPlayerGroupName(cid) ..'.'elseif getPlayerVocation(cid) ~= 0 thenstring = string..' You are '.. getPlayerVocationName(cid) ..'.'elsestring = string..' You have no vocation.'endstring = string..getPlayerSpecialDescription(cid)..''if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil thenstring = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.'endif getPlayerGuildId(cid) > 0 thenstring = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid)string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.'endif getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) thenstring = string..'nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].'string = string..'nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.'endif getPlayerFlagValue(cid, PLAYERFLAG_CANNOTBEATTACKED) thenstring = string..'nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].'enddoPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string)return falseendreturn trueendagora em creaturescripts.xml adcione essa tag.<event type="login" name="fraglook_register" event="script" value="fraglook.lua"/>
Não deu nao... ficou na mesma!!! ![]()
info
Grupo: Conde
Registrado: 20/09/12
Posts: 711
Reputação: +86
Char no Tibia: noé

era pra ter funcionado, aki no meu servidor eu uso esse script, e funciona perfeitamente. vai no teu config.lua e procure essas linhas.
useFragHandler = true advancedFragList = true
info
Grupo: Grão-Duque
Registrado: 28/07/11
Posts: 3.5k
Reputação: +570
Gênero: Masculino
Char no Tibia: Transloko

Tópico movido para a seção de dúvidas e pedidos resolvidos.
info
Grupo: Herói
Registrado: 14/12/10
Posts: 3.6k
Reputação: +846
Gênero: Masculino

Tópico movido para a seção de dúvidas e pedidos resolvidos.
info
Grupo: Herói
Registrado: 28/11/10
Posts: 3.4k
Reputação: +585
Gênero: Masculino

info
Grupo: Campones
Registrado: 14/07/13
Posts: 16
Reputação: 0
Galera é o seguinte,
quando eu vou abrir o ot da esse erro!! esta na foto
nao sei arrumar, espero que vcs me ajudem...
Outro erro é quando eu mato algum player e meu servidor nao conta frag.... fica 0 sempre ai ele nao pega nem red nem black... e nem conta frag!!!!
Ajudem please!
Fui em um topico e um cara estava falando do mesmo erro ai ele falou que arrumou, mas nao postou como !!!
mas falou que era problema>>>>> mysql que estava sem as tag
Como eu vejo se tenho essa Tag??? ajudem porfavor
Sera que nao conta frag porque eu abro 2 tibias e mato meu proprio player pra testar ?? ou isso nao tem nada haver????
Editado Julho 25 por wazus12