Ir para conteúdo

loreal

Membro
  • Registro em

  • Última visita

Tudo que loreal postou

  1. mesmo erro
  2. mesmo erro amigo
  3. agora quando entra no tp da um loop infinito de erro
  4. so fica dando mensagem
  5. agora n ta indo para sala so fica com mensagem e vc esqueceu de adicionar um "end"
  6. ola galera to com um problema quando todas salas de treiners estão lotadas aparece seguinte erro [21/5/2015 15:18:20] [Error - MoveEvents Interface] [21/5/2015 15:18:20] data/movements/scripts/trainingroom.lua:onStepIn [21/5/2015 15:18:20] Description: [21/5/2015 15:18:20] (luaGetThingPosition) Thing not found gostaria tb de por so para players level 50 entrar no tp function onStepIn(cid, item, position, fromPosition) for i = 2700, 3900 do local pos = getThingPos(i) if not isPlayer(getTopCreature(pos).uid) then doTeleportThing(cid, pos) doCreatureSay(cid, 'Using a tool to cast spells or to keep your character online is ok.', TALKTYPE_ORANGE_1, false, cid) doSendMagicEffect(position, CONST_ME_TELEPORT) doSendMagicEffect(pos, CONST_ME_TELEPORT) return true end doTeleportThing(cid, fromPosition, true) doCreatureSay(cid, 'All training slots are taken', TALKTYPE_ORANGE_1, false, cid) doSendMagicEffect(fromPosition, CONST_ME_TELEPORT) end return true end
  7. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    isso amigão rep+
  8. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    deu certo amigo mais gostaria que oSendMagicEffect(fromPosition, CONST_ME_MAGIC_GREEN) seja adicionado no mplayer esta indo na alavanca e também alavanca n esta indo para os dois lado fica parada...
  9. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    ola gostaria quando player puxar alavanca automaticamente ele fique cheio. obs: não e para adicionar food na bp e sim "doPlayerFeed". quando ele puxar alavanca ir para os dois lados igual da imagem quando ele tiver cheio por efect pof de fumaça eu fiz esse scrip só que n ta dando erro nem adicionado feed no player function onUse(cid, item, fromPosition, itemEx, toPosition) local size = 40 if(getPlayerFood(cid) + size) then doPlayerSendCancel(cid, "You are full.") doSendMagicEffect(fromPosition, CONST_ME_POFF) return true end doPlayerFeed(cid, size) doSendMagicEffect(fromPosition, CONST_ME_MAGIC_GREEN) return true end
  10. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    up
  11. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    up up up up up
  12. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    Resolvido!
  13. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    up up up up
  14. edit! já resolvi niguem ajuda
  15. loreal postou uma resposta no tópico em Suporte Tibia OTServer
    bom quando player ta de war sytem e mata um player do time contra, conta como frag mais n pega red. tem como reajustar isso ? gostaria de quando tiver de war sytem n fragar no time contra
  16. ps: esse não é o creaturescripts deixa esse ai como segunda opção continua dando para entrar n tem como fazer igual eu falei n ? via creature scripts caso player tiver globall storage = 20132 ele fica com x storage ? caso n tiver tirar essa x storage ?
  17. n deu certo tb n mais tenho um modo mais fácil.... tem como fazer via creature scripts caso player tiver globall storage = 20132 ele fica com x storage ? caso n tiver tirar essa x storage ?
  18. não deu certo n agora qualquer um pode entrar no castle e tb n ta adicionado a storage
  19. tem como adptar esse script para quando player dominar castle todoas ganhar x storage ? caso eles n for dono retirar essa x storage script -- This script is part of Castle of Honor -- Copyright (C) 2013 Roksas - ChaitoSoft -- -- 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
  20. estou utilizando um script de castle 24h oque eu quero basicamente quando player for dona do castle ganhar x storage caso n for retirar essa x stprage script 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
  21. Olá galerinha tibiaking estou quebrando-cabeça para fazer uma função mais não estou conseguindo gostaria muito da ajuda de vocês.... gostaria que quando a guild do player tiver Globallstorage= 201320111714 gostaria que todos ficassem com storage= 201320111715 caso guild n tiver essa Globallstorage= 201320111714 todos membros da guild fica sem a storage= 201320111715 alguém poderia ajudar estou muito tempo tentando fazer isso...
  22. na minha opinião já que e open source n tem nada ver... tá la para ser pego e utilizado para quem conseguir, se não pudesse copiar ninguém tb poderia criar otservers...
  23. loreal postou uma resposta no tópico em Recursos e ferramentas de Design
  24. loreal postou uma resposta no tópico em Recursos e ferramentas de Design
    Pronto
  25. verdade eu mecho muito na source uma vez eu puis um script de ralis que bugo mesmo vou da uma olhada em tudo vlw

Informação Importante

Confirmação de Termo