Ir para conteúdo

Bagon

Membro
  • Registro em

  • Última visita

Tudo que Bagon postou

  1. Fala galera do TK.. Bom eu estou querendo um script de um npc que quando o player falar hi/boss/yes ele irá ser teletransportado para um certo lugar.E QUE POSSA FAZER SO UMA VEZ EM CADA CHAR ! Grato, desde já.
  2. Boa Noite galera do TK. Estou com duvidas.. estou querendo tirar falas que aparece ao soltar magia por exemplo (MANASHIELD,HEALING,etc..) gostaria de e ficar so o nome da magia mesmo ! Grato desde já Exemplo ..
  3. Bagon postou uma resposta no tópico em Suporte Tibia OTServer
    Ae galera do TK. Estou precisando de uma ajuda.. Meu ot contém castle 24 horas, para pode-lo dominar precisa andar pela action 16202. Quero que ao invés de andar pela action, mate um monstro e passe a dominar o castelo. Me ajude se for possível. Vou deixar o script aqui .. Grato, desde já ! -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- // function onStepIn(cid, item, pos, fromPosition) local pos = getThingPos(cid) if item.actionid == 16203 then if not isPlayer(cid) then return true end if getGlobalStorageValue(COH_STATUS) == getPlayerGuildName(cid) then doSendMagicEffect(getThingPos(cid), 14) doSendAnimatedText(pos, "CoH", math.random(1, 255)) else doSendMagicEffect(getThingPos(cid), 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não pertence á guild "..getGlobalStorageValue(COH_STATUS)..".") end return true end if item.actionid == 16202 then if not isPlayer(cid) then return true end if getPlayerGuildId(cid) > 0 then if (getGlobalStorageValue(COH_STATUS) ~= getPlayerGuildName(cid)) then doPlayerSendTextMessage(cid, 20, "[Castle of Honor] Você e sua guild estão no comando, os antigos donos ["..tostring(getGlobalStorageValue(COH_STATUS)).."] podem se vingar!") setGlobalStorageValue(COH_PREPARE1, -1) setGlobalStorageValue(COH_PREPARE2, -1) setGlobalStorageValue(COH_STATUS, getPlayerGuildName(cid)) doCastleRemoveEnemies() doBroadcastMessage("[Castle of Honor] O jogador ["..getCreatureName(cid).."] e sua guild ["..getPlayerGuildName(cid).."] estão no comando do castelo, vá dominar e impedir isso!") end else doSendMagicEffect(pos, 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não possui uma guild.") end return true end if item.actionid == 16200 then if not isPlayer(cid) then return true end if getPlayerGuildId(cid) > 0 then doSendAnimatedText(pos, "CoH", math.random(1, 255)) if (getGlobalStorageValue(COH_PREPARE1) ~= getPlayerGuildName(cid)) and ((getGlobalStorageValue(COH_PREPARE2) ~= getPlayerGuildName(cid))) then setGlobalStorageValue(COH_PREPARE1, getPlayerGuildName(cid)) doBroadcastMessage("[Castle of Honor] Atenção! A guild "..getPlayerGuildName(cid).." está tentando dominar o castelo, preparem-se!") end else doSendMagicEffect(pos, 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não possui uma guild.") return true end end if item.actionid == 16201 then if not isPlayer(cid) then return true end doSendAnimatedText(pos, "CoH", math.random(1, 255)) if (getGlobalStorageValue(COH_PREPARE2) ~= getPlayerGuildName(cid)) then setGlobalStorageValue(COH_PREPARE2, getPlayerGuildName(cid)) doBroadcastMessage("[Castle of Honor] Atenção! A guild "..getPlayerGuildName(cid).." está muito próxima do domínio, ataquem!") end end return true end Up up
  4. http://www.tibiaking.com/forum/topic/36441-exclusivobaiak-zik-vip-15-editado-deathrocks/pega dae, nao estou axando na pasta do ot .. o castle praticamente és o mesmo ..
  5. ja tentei pelo mesmo script da alavanca nao deu. Sim!
  6. Bom não sei se ja existe essa pergunta no TK.. dei uma pesquisada e nao encontrei (me corrijam caso esteja errado) Meu castle 24 hrs, por enquanto para ser dominado precisa puxar uma alavanca..Entao , eu desejo que seja algum monstro ao invés de ser dominado pela alavanca. E quando ser invadido mostrar uma mensagem no DEFAULT, avisando que esta sendo invadido Grato, desde já.
  7. Boa noite galera do TK, Bom como diz o titulo quero um script(ou algo relacionado) que façar salvar o player que disser o comando !saveme Grato, desde já.

Informação Importante

Confirmação de Termo