
Tudo que Wakon postou
- Script clicar no wooden chest (1749) voltar temple
-
(Resolvido)Proibir alguns items de serem criados no comando /i
local items = {11458, 3128} -- Aqui você coloca os items bloqueados. function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then id = getItemIdByName(t[1], false) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.") return true end end if isInArray(items, id) then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você não pode criar este item!") end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end
-
Olá onde fica os comandos no serve poketibia em que pasta?
Em "Data/talkactions".
- [8.60] Desert War 0.6
-
Anoyns Magebomb v11.0 FREE
Adicione o scan do arquivo! Links para gerar dinheiro por click é proibido! Você tem 24 horas para retira-los ou o tópico será reprovado.
- [8.60] Desert War 0.6
-
Npcs de oramond
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
- Não logar client desatualizado
-
ERRO phpmyadmin #1273
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
-
[GESIOR] Como E Aonde Editar Conteudo Dos Tópicos?
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
-
Ajuda Script Baú
Refiz aqui o script, seria isso? local t = { storage = 19881, mainBP = 2000, vocations = { [4] = {2383, 2430, 2173, 2530, 2480, 2464, 2160}, [3] = {2530, 2480, 2464, 2173, 2160}, [2] = {2190, 2175, 8820, 8819, 2173, 2160}, [1] = {2182, 2175, 8820, 8819, 2173, 2160}, }, } function onUse(cid, item) local voc = t.vocations[getPlayerVocation(cid)] if voc then if getPlayerStorageValue(cid, 19881) < 1 then local bag = doPlayerAddItem(cid, t.mainBP, 1) for i = 1, table.maxn(voc) do doAddContainerItem(bag, voc[i], 1) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Mensagem ao ganhar os items.') setPlayerStorageValue(cid, t.storage, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Mensagem caso já tenha pego os items.') end end return true end Se não é isso que você quer ou tiver algum problema, avise : ).
- Convertendo Otserver 8.4 para 8.6
-
[Pedido] Script
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
- UPDATED (Sprites Cronos)
-
Procurando por um membro do veado 10,91 baiak (servidor dedicado)
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
-
[Erro] Servidor
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
-
Frozen Orb
Procure pela linha: local orb = doCreateItem(2180, 1, position) E troque por: -- local orb = doCreateItem(2180, 1, position) Ou simplesmente apague-a.
- script nao voltar mais que level 100 otserver war
-
(Resolvido)[ERRO] Golback
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
-
DUVIDA URGENTE !!
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680
- [Erro] Zombie Event
- NPC Troca Itens X Y Z K Q por Pokemon
-
SCRIPT para CheckPoint de teleports
"Data/movements/scripts", checkTeleport.lua: local t = { mainTP = 20000, -- Aqui é o uniqueID do teleport que levará ao check point. resetTP = 20001, -- Caso queira resetar o checkPoint, coloque esse uniqueID e edite a position normalmente pelo RME. storage = 40945, -- Storage para salvar a position, só mexa se necessário! checks = { -- [uniqueid] = {pos = {position do checkPoint}} [20002] = {pos = {x = 162, y = 55, z = 7}}, [20003] = {pos = {x = 163, y = 55, z = 7}}, [20004] = {pos = {x = 164, y = 55, z = 7}}, }, } function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end local checkPos = t.checks[item.uid] if checkPos then doTeleportThing(cid, checkPos.pos) setPlayerStorageValue(cid, t.storage, "{x = ".. checkPos.pos.x ..", y = ".. checkPos.pos.y ..", z = ".. checkPos.pos.z .."}") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Check point! Agora você pode voltar a esse local pelo teleport localizado no templo.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) elseif item.uid == t.mainTP then if getPlayerStorageValue(cid, t.storage) == -1 then doTeleportThing(cid, fromPosition) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, 'Você não chegou a nenhum check point ainda.') doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) else local nPos = "return ".. getPlayerStorageValue(cid, t.storage) doTeleportThing(cid, loadstring(nPos)()) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) end elseif item.uid == t.resetTP then setPlayerStorageValue(cid, t.storage, -1) end return true end "Data/movements", movements.xml: <movevent type="StepIn" uniqueid="20000-20004" event="script" value="checkTeleport.lua"/> Não esqueça de aumentar o valor na tag caso adicione mais checks! Se tiver alguma dúvida ou der algum problema, me avise.
- Quero Criar um OT
- [8.60] Martins War!