First Muito bom tava atraiz desse script.
VLW
info
Grupo: Barão
Registrado: 18/06/11
Posts: 230
Reputação: +32
Char no Tibia: Louco Do Gole

First Muito bom tava atraiz desse script.
VLW
info
Grupo: Campones
Registrado: 10/11/10
Posts: 44
Reputação: +22
Char no Tibia: Hacked :S

Perfect. rep +
info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot

hehe vlw brow.
brigado pela consideração
info
Grupo: Lorde
Registrado: 17/01/09
Posts: 2.1k
Reputação: +395
Char no Tibia: Adra Sata

uhuh'
Criativo , ja vo por no meu servidor ;D
REP + ;d
info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot

VLW ae sangbão,foi facil de fazer esse script ![]()
info
Grupo: Infante
Registrado: 27/07/09
Posts: 1.5k
Reputação: +405
Char no Tibia: Gean Riot
esse é o sistema que a equipe do heroserv usa para dar itens stars,no Hero ao atingir level 200 você é teleportado automaticamente há uma sala com as chests,ao dar use numa das chests você recebe o item e é teleportado para o templo.
simples e útil.
CREATURESCRIPTS/SCRIPTS/200.LUA
function onAdvance(cid, skill, oldLevel, newLevel) if skill == SKILL__LEVEL then if newLevel >= 200 and oldLevel < 200 then pos = {x=10475, y=10807, z=7} doTeleportThing(cid,pos) pos = {x=10475, y=10807, z=7} doPlayerSendTextMessage(cid, 22, "parabéns você atingiu o level 200 você pode escolher um star item!") end end endTAG:
em creaturescripts/scripts/login.lua
cole está tag tmbm
ACTIONS:
function onUse(cid, item, frompos, item2, topos) if item.uid == 2433 then queststatus = getPlayerStorageValue(cid,7407) if queststatus == -1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "you received your star item!.") doPlayerAddItem(cid,2433,1) pos = {x=10160, y=10054, z=7} doTeleportThing(cid,pos) pos = {x=10160, y=10054, z=7} setPlayerStorageValue(cid,7407,1) else doPlayerSendTextMessage(cid,22,"Você ja ganhou este bonus!") end else return 0 end return 1 endfunction onUse(cid, item, frompos, item2, topos) if item.uid == 7388 then queststatus = getPlayerStorageValue(cid,7407) if queststatus == -1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "you received your star item!.") doPlayerAddItem(cid,7388,1) pos = {x=10160, y=10054, z=7} doTeleportThing(cid,pos) pos = {x=10160, y=10054, z=7} setPlayerStorageValue(cid,7407,1) else doPlayerSendTextMessage(cid,22,"Você ja ganhou este bonus!") end else return 0 end return 1 endfunction onUse(cid, item, frompos, item2, topos) if item.uid == 7407 then queststatus = getPlayerStorageValue(cid,7407) if queststatus == -1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "you received your star item!.") doPlayerAddItem(cid,7407,1) pos = {x=10160, y=10054, z=7} doTeleportThing(cid,pos) pos = {x=10160, y=10054, z=7} setPlayerStorageValue(cid,7407,1) else doPlayerSendTextMessage(cid,22,"Você ja ganhou este bonus!") end else return 0 end return 1 endfunction onUse(cid, item, frompos, item2, topos) if item.uid == 7415 then queststatus = getPlayerStorageValue(cid,7407) if queststatus == -1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "you received your star item!.") doPlayerAddItem(cid,7415,1) pos = {x=10160, y=10054, z=7} doTeleportThing(cid,pos) pos = {x=10160, y=10054, z=7} setPlayerStorageValue(cid,7407,1) else doPlayerSendTextMessage(cid,22,"Você ja ganhou este bonus!") end else return 0 end return 1 endTAGS:
<action uniqueid="2433" event="script" value="2433.lua"/> <action uniqueid="7415" event="script" value="7415.lua"/> <action uniqueid="7407" event="script" value="7407.lua"/> <action uniqueid="7388" event="script" value="7388.lua"/>No map editor crie a area com as chests com as respectivas Unique IDS,mude as POSITIONS q vai ser teleportado NOs scripts.
Editado Agosto 27 por Subwat