Tudo que loreal postou
-
Errro nesse script de tp help
mesmo erro
-
Errro nesse script de tp help
mesmo erro amigo
-
Errro nesse script de tp help
agora quando entra no tp da um loop infinito de erro
-
Errro nesse script de tp help
so fica dando mensagem
-
Errro nesse script de tp help
agora n ta indo para sala so fica com mensagem e vc esqueceu de adicionar um "end"
-
Errro nesse script de tp help
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
-
Alavanca de food help!
isso amigão rep+
-
Alavanca de food help!
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...
-
Alavanca de food help!
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
- Trade OFF 8.60
-
Trade OFF 8.60
up up up up up
-
Trade OFF 8.60
Resolvido!
-
war sytem erro
up up up up
-
exesso de <br /> no forum do geisor
edit! já resolvi niguem ajuda
-
war sytem erro
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
-
Help Globallstorage e player_storage
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 ?
-
Help Globallstorage e player_storage
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 ?
-
Help Globallstorage e player_storage
não deu certo n agora qualquer um pode entrar no castle e tb n ta adicionado a storage
-
Help Globallstorage e player_storage
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
-
Help Globallstorage e player_storage
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
-
Help Globallstorage e player_storage
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...
-
Uso de sprites sem permissão?Concorda ou não?
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...
-
Trocar palavra
- Trocar palavra
Pronto- Potions buga so volta dando reload actions
verdade eu mecho muito na source uma vez eu puis um script de ralis que bugo mesmo vou da uma olhada em tudo vlw - Trocar palavra
Informação Importante
Confirmação de Termo