por que simplesmente não coloca um AntiMC no seu servidor ?
info
Grupo: Visconde
Registrado: 01/07/15
Posts: 416
Reputação: +206
Gênero: Masculino
Char no Tibia: Bluester

info
Grupo: Campones
Registrado: 10/12/15
Posts: 16
Reputação: +1

por que simplesmente não coloca um AntiMC no seu servidor ?
Não está nos meus planos ;s
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

Manda os scripts do sistema.
info
Grupo: Campones
Registrado: 10/12/15
Posts: 16
Reputação: +1

Manda os scripts do sistema.
function onKill(cid, target, lastHit)
if(isPlayer(target) ~= true) then
return true
end
if (isPlayer(cid) == true) and (isPlayer(target) == true) then
if getPlayerSkullType(target) == SKULL_WHITE then
addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_YELLOW then
addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_RED then
addPlayerRep(cid, 40, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_BLACK then
addPlayerRep(cid, 45, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_NONE then
removePlayerRep(cid, 30, TEXTCOLOR_RED)
end
return TRUE
end
end
Creature Script
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

function onKill(cid, target, lastHit)
if(isPlayer(target) ~= true) then
return true
end
if getPlayerIp(cid) ~= getPlayerIp(target) then
if (isPlayer(cid) == true) and (isPlayer(target) == true) then
if getPlayerSkullType(target) == SKULL_WHITE then
addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_YELLOW then
addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_RED then
addPlayerRep(cid, 40, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_BLACK then
addPlayerRep(cid, 45, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_NONE then
removePlayerRep(cid, 30, TEXTCOLOR_RED)
end
return true
end
else
doPlayerSendCancel(cid, "The IP of your enemy has to be different from yours.")
end
end
info
Grupo: Campones
Registrado: 10/12/15
Posts: 16
Reputação: +1

function onKill(cid, target, lastHit) if(isPlayer(target) ~= true) then return true end if getPlayerIp(cid) ~= getPlayerIp(target) then if (isPlayer(cid) == true) and (isPlayer(target) == true) then if getPlayerSkullType(target) == SKULL_WHITE then addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE) elseif getPlayerSkullType(target) == SKULL_YELLOW then addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE) elseif getPlayerSkullType(target) == SKULL_RED then addPlayerRep(cid, 40, TEXTCOLOR_LIGHTBLUE) elseif getPlayerSkullType(target) == SKULL_BLACK then addPlayerRep(cid, 45, TEXTCOLOR_LIGHTBLUE) elseif getPlayerSkullType(target) == SKULL_NONE then removePlayerRep(cid, 30, TEXTCOLOR_RED) end return true end else doPlayerSendCancel(cid, "The IP of your enemy has to be different from yours.") end end
Dan, o sistema não deixa o player morrer, acc pega life 0, mas eu ainda consigo locomover as acc mesmo estando com vida 0.![]()
Editado Dezembro 27 por TomProgammer
info
Grupo: Conde
Registrado: 07/04/15
Posts: 926
Reputação: +335
Gênero: Masculino

Vê assim:
function onKill(cid, target, lastHit)
if(isPlayer(target) ~= true) then
return true
end
if getPlayerIp(cid) ~= getPlayerIp(target) then
if (isPlayer(cid) == true) and (isPlayer(target) == true) then
if getPlayerSkullType(target) == SKULL_WHITE then
addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_YELLOW then
addPlayerRep(cid, 30, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_RED then
addPlayerRep(cid, 40, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_BLACK then
addPlayerRep(cid, 45, TEXTCOLOR_LIGHTBLUE)
elseif getPlayerSkullType(target) == SKULL_NONE then
removePlayerRep(cid, 30, TEXTCOLOR_RED)
end
return true
end
else
doPlayerSendCancel(cid, "The IP of your enemy has to be different from yours.")
return true
end
end
info
Grupo: Campones
Registrado: 10/12/15
Posts: 16
Reputação: +1

Agora foi, vlw.



info
Grupo: Campones
Registrado: 10/12/15
Posts: 16
Reputação: +1
Falaaa xtibianos...
Galera, to com um script aqui, de rep system, queria saber se alguem consegue privar ele pra um sistema, que matar o player com o msm IP, não da rep.. Entendeu? Sempre tem os safadinhos que abrem MC e vão ficar matando o MC pra ganhar rep.. Será que também consigo tira o sistema da database? As vezes da um lagzin ao player morrer, creio eu q seja por causa da db..