abre seu creaturescripts.xml ve os scripts do tipo onkill e posta tds aki, senao só vai resolver qm ja teve o mesmo problema
- Fórum
- xTibia - Notícias e Suporte
- Soluções
- Archived
- Char Nao Morre
info
Grupo: Visconde
Registrado: 11/08/10
Posts: 477
Reputação: +175
Gênero: Masculino

Bom vou contribuir com experiencia que tive recem, dentro do arquivo creaturescripts.xml
tem uns event="death" value="arquivo.lua"
Check se os arquivos estao retornando a "return TRUE", caso nao esteja ele nao deixa o player morrer.
Talvez lhe ajude.
Boa sorte.
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

aa velho.. seguinte.. depois que os player entraram na ARENA eles fikaram assim :S
aki vai meu creaturescripts.. PRESISO DE AJUDA URGENTE COM ISSO.. OS PLAYERS ESTAO SAINDO DO OT :S
OTTURBO.NO-IP.BIZ
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

aa velho.. seguinte.. depois que os player entraram na ARENA eles fikaram assim :S
aki vai meu creaturescripts.. PRESISO DE AJUDA URGENTE COM ISSO.. OS PLAYERS ESTAO SAINDO DO OT :S
OTTURBO.NO-IP.BIZ
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

aa velho.. seguinte.. depois que os player entraram na ARENA eles fikaram assim :S
aki vai meu creaturescripts.. PRESISO DE AJUDA URGENTE COM ISSO.. OS PLAYERS ESTAO SAINDO DO OT :S
OTTURBO.NO-IP.BIZ
NOSSA FOI MAL AE O TRIPLE POST.. É PORQUE CLIKEI EM ENVIAR.. AII DEMOROU D+ AII CLIKEI MUITO MAIS :S
Editado Janeiro 23 por Strondafusion
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

aa velho.. seguinte.. depois que os player entraram na ARENA eles fikaram assim :S
aki vai meu creaturescripts.. PRESISO DE AJUDA URGENTE COM ISSO.. OS PLAYERS ESTAO SAINDO DO OT :S
OTTURBO.NO-IP.BIZ
info
Grupo: Visconde
Registrado: 24/01/11
Posts: 254
Reputação: +29
Char no Tibia: Zemekiz

REPORTADO FLOOD
PEÇO QUE ALERTEM O MENBRO E TALVEZ FECHEM O TOPICO
EDIT---
VLWS CARLOS ALBERTO
Editado Janeiro 23 por TrojanBr
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

ta.. foda-se.. agora me responde o topico??
Vai Em
data\creaturescripts\scripts\onkill.lua
troca seu
onkill.lua
por esse
function onKill(cid, target)
--config--------------------- By Otal
local lvl = getPlayerLevel(cid) --players level
local nlvl = getPlayerLevel(cid) + 5 -- add 5 levels
--end-----------------------By Otal
if isPlayer(target) == TRUE then
if getPlayerIp(cid) ~= getPlayerIp(target) then
local exp = (50 * (lvl) * (lvl) * (lvl) - 150 * (lvl) * (lvl) + 400 * (lvl)) / 5
local nexp = (50 * (nlvl) * (nlvl) * (nlvl) - 150 * (nlvl) * (nlvl) + 400 * (nlvl)) / 5
local newexp = nexp - exp
doPlayerAddExp(cid,newexp)
doSendAnimatedText(getPlayerPosition(cid), "Orgasmic~", 198)
else
doPlayerAddExperience(cid, -50000)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"You have been punished for killing a player of the same IP.")
end
end
return TRUE
end
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

ps: nao tem onkill.lua aki :s
ps: nao tem onkill.lua aki :s
eu tinha um ot que dava esse erro era esse aquivo já que seu não tem tenta adiciona ele e entra em
creaturescripts.xml
adiciona essa linha
<event type="kill" name="FragReward" event="script" value="onkill.lua"/>
info
Grupo: Conde
Registrado: 13/05/07
Posts: 778
Reputação: +14
Char no Tibia: Shea Fald

Caro amigo, strondafusion não é preciso postar 4 vezes para que o respondam, tenha paciência.
Terei que te alertar em 10% por flood e comportamento agressivo.
info
Grupo: Campones
Registrado: 28/12/11
Posts: 15
Reputação: +1
Char no Tibia: GOD Mehah

Assim poste sua data/creaturescript/login.lua porque as vezes erro esta na login.lua do teu OTserver
info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion

@CarlosAlberto eu nao fui impaciente.. somente meu navegador travou na hora de clicar em RESPONDER... fazendo assim.. com que eu clike mais veses e saindo isso :x
@Mehahbr meu creaturescripts inteirinho está postado ali emcimaa
@otal2012 voou testar.. der certo ou errado eu edito aki






info
Grupo: Campones
Registrado: 04/11/11
Posts: 11
Reputação: 0
Char no Tibia: Stronda Fusion
AJUDEM PLX/ JA PESQUISEI 300 TUTORIAIS PRA ARRUMA ISSO MAN MAIS NGM TEM AO CERTO...
SEGUINTE: O PLAYER MORRE/ FIKO COM 0 DE HP/ E NAO MORRE!! JA VI TUTORIAIS QUE ERA POR CAUSA DO REP SYSTEM/ MAIS N TEM REP SYSTEM NO MEU OT.. AJUDEM : DA ESSI ERRO AKII (PRA BIXO MORRE NORMALMENTE)
[17/01/2012 17:10:18] [Error - CreatureScript Interface]
[17/01/2012 17:10:18] buffer:onKill
[17/01/2012 17:10:18] Description:
[17/01/2012 17:10:18] [string "loadBuffer"]:104: attempt to index a number value
[17/01/2012 17:10:19] stack traceback:
[17/01/2012 17:10:19] [string "loadBuffer"]:104: in function <[string "loadBuffer"]:6>
USO STYLLER 8.6