Tudo que ViitinG postou
- Nolis Show Off
- (Resolvido)Remover pedra ao pizar em pizos.
-
como trocar o ataque do pokemon
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de Scripts" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
-
(Resolvido)Adicionando Weapons [HELP!]
Ao em vez da galera postar a tag do movements.xml e simplificar o que o membro deve fazer para solucionar o problema, criam mais perguntas e talvez mais problemas.. Aqui brother, está é a tag que você tem que adicionar em movements,xml : <movevent event="DeEquip" itemid="18412" slot="hand" function="onDeEquipItem"/> <movevent event="Equip" itemid="18412" slot="hand" function="onEquipItem"/> obs : mude somente o número que está entre parêntesis : itemid="18412"
-
Ajuda por favor! Modem
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de Infraestrutura"
-
Qual a melhor versão do xampp para ligar otserver ?
@ricksi2012 cuidado com flood jovem, mensagens sem conteúdo, que não contribuem em nada ou que não estejam relacionadas ao assunto do tópico são consideradas flood e é proibido no fórum, preste mais atenção ! Leia as regras do fórum : http://www.tibiaking.com/forum/topic/1281-regras-gerais/?p=7680#entry7680
-
Vocações E Transformações
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
-
Qual a melhor versão do xampp para ligar otserver ?
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de WebSites"
-
Patrocínio de Servidor
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Projetos / Formação de Equipes → Projetos de OTServ" Para: "OTServ → Projetos / Formação de Equipes → Formação de Equipes"
-
[Pedido] Gender System para Pokémon Dash!
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de Scripts" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
- Lib 000-Const
-
Loot
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "Bots para Tibia → Tibia Auto" Para: "Bots para Tibia → Suporte Bots"
-
Painel Para Tibia e derivados
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de Infraestrutura"
-
(Resolvido)Gunbai
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Scripting → Tutoriais de Scripting" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
-
Npcs
Tenta agora. obs : testa com um player e não com o ADM. days = 15 gold = 2152 quant = 10 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if isPlayer(cid) then if getPlayerItemCount(cid,gold) >= quant then doPlayerAddPremiumDays(cid,days) doPlayerRemoveItem(cid,gold,quant) npcHandler:say('Obrigado |PLAYERNAME|, Está aqui seus "..days.." dias de Premium', cid) else npcHandler:say('Voce não tem "..quant.." platinum coin(s)', cid) end end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Olá |PLAYERNAME|. Eu vendo {Premium} Days.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..days.." dias de Premium por "..quant.." platinum coins?'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())
-
(Resolvido)Adicionando um Amuleto com atributos. [Por Favor HELP!]
Ja adicionou as tags no items.xml e no movements.xml ? item.xml : <attribute key="skillClub" value="3" /> <attribute key="skillSword" value="3" /> <attribute key="skillAxe" value="3" /> <attribute key="skillDist" value="3" /> <attribute key="skillShield" value="3" /> <attribute key="magiclevelpoints" value="3" /> <attribute key="absorbPercentall" value="2" /> movements.xml : <movevent type="Equip" itemid="2197" slot="necklace" event="function" value="onEquipItem"/> <movevent type="DeEquip" itemid="2197" slot="necklace" event="function" value="onDeEquipItem"/> obs : troque o ID 2197 pelo ID do seu amuleto.
-
Npcs
Realmente estava errado. Aqui : dias = 15 gold = 2160 quant = 1 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if isPlayer(cid) then if getPlayerItemCount(cid,vipcoins) >= quant then doPlayerAddPremiumDays(cid,dias) doPlayerRemoveItem(cid,vipcoins,quant) npcHandler:say('Obrigado |PLAYERNAME|, Está aqui seus "..dias.." dias de Premium', cid) else npcHandler:say('Voce não tem "..quant.." crystal coin(s)', cid) end end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Olá |PLAYERNAME|. Eu vendo {Premium} Days.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..dias.." dias de Premium por "..quant.." crystal coins?'}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..dias.." dias de Premium por "..quant.." crystal coins?'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())
-
Npcs
O xml você usa o do Johnny que te mandei mesmo, só muda o nome do script que ta pra localizar. No caso vai ficar assim : Johnny.xml : <?xml version="1.0" encoding="UTF-8"?> <npc name="Johnny" script="premium.lua" walkinterval="2000" floorchange="0" skull="green"> <health now="100" max="100"/> <look type="133" head="114" body="119" legs="132" feet="114"/> </npc> Premium.lua : dias = 15 gold = 2160 quant = 1 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if isPlayer(cid) then if getPlayerItemCount(cid,vipcoins) >= quant then doPlayerAddPremiumDays(cid,dias) doPlayerRemoveItem(cid,vipcoins,quant) npcHandler:say('Obrigado |PLAYERNAME|, Está aqui seus "..dias.." dias de Premium', cid) else npcHandler:say('Voce não tem "..quant.." crystal coin(s)', cid) end end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Olá |PLAYERNAME|. Eu vendo {Premium} Days.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..dias.." dias de Premium por "..quant.." crystal coins?'}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..dias.." dias de Premium por "..quant.." crystal coins?'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusMo
-
(Resolvido)[Ajuda] Erro na Distro
Aqui : local starterpokes = { ["Cyndaquil"] = {x = 167, y = 593, z = 7}, ["Totodille"] = {x = 166, y = 593, z = 7}, ["Chikorita"] = {x = 168, y = 593, z = 7} } local level = 5 local extrastr = 1.5 local btype = "normal" function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) > 10 then return true end local pokemon = "" for a, b in pairs (starterpokes) do if isPosEqualPos(topos, b) then pokemon = a end end if pokemon == "" then return true end local gender = getRandomGenderByName(pokemon) local mypoke = getPokemonStatus(pokemon) if not mypoke then return true end local offense = mypoke.off * level * extrastr local defense = mypoke.def * level * extrastr local speed = mypoke.agi * level * extrastr local vit = mypoke.vit * level * extrastr local spatk = mypoke.spatk * level * extrastr local happy = 180 local leveltable = getPokemonExperienceTable(pokemon) doPlayerAddItem(cid, 2152, 2) doPlayerAddItem(cid, 2394, 10) doPlayerAddItem(cid, 12344, 2) local balls = doPlayerAddItem(cid, 2394, 10) doItemSetAttribute(balls, "unique", cid) local item = doCreateItemEx(2219) doItemSetAttribute(item, "poke", pokemon) doItemSetAttribute(item, "hp", 1) doItemSetAttribute(item, "level", level) doItemSetAttribute(item, "exp", leveltable[level]) doItemSetAttribute(item, "nextlevelexp", leveltable[level+1] - leveltable[level]) doItemSetAttribute(item, "offense", offense) doItemSetAttribute(item, "defense", defense) doItemSetAttribute(item, "speed", speed) doItemSetAttribute(item, "vitality", vit) doItemSetAttribute(item, "specialattack", spatk) doItemSetAttribute(item, "happy", happy) doItemSetAttribute(item, "gender", gender) doItemSetAttribute(item, "description", "Contains a "..pokemon..".") doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon..".") doItemSetAttribute(item, "unique", getCreatureName(cid)) --alterado v2.6 doPlayerAddItemEx(cid, item, true) doTransformItem(item, pokeballs[btype].on) doPlayerSendTextMessage(cid, 27, "Você achou um novo pokemon, boa jornada.") doPlayerSendTextMessage(cid, 27, "Não esqueca de usar a pokedex neste novo pokemon.") doSendMagicEffect(getThingPos(cid), 29) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doSendMagicEffect(getThingPos(cid), 27) doSendMagicEffect(getThingPos(cid), 29) return TRUE end
-
Npcs
Para vender premium você pode usar este script : dias = 15 gold = 2160 quant = 1 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if isPlayer(cid) then if getPlayerItemCount(cid,vipcoins) >= quant then doPlayerAddPremiumDays(cid,dias) doPlayerRemoveItem(cid,vipcoins,quant) npcHandler:say('Obrigado |PLAYERNAME|, Está aqui seus "..dias.." dias de Premium', cid) else npcHandler:say('Voce não tem "..quant.." crystal coin(s)', cid) end end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Olá |PLAYERNAME|. Eu vendo {Premium} Days.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..dias.." dias de Premium por "..quant.." crystal coins?'}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..dias.." dias de Premium por "..quant.." crystal coins?'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusMo
-
Como colocar Poketibia Online Via Hamachi?
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Aprendizagem → Começando seu Servidor" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
- Npcs
-
Spells Trocadas
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de Spriting" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
- Npcs
-
(Resolvido)Ajuda com pz mapa editor
Seleciona a opção para colocar o PZ e segura o botão ctrl e vai passando onde você quer retirar.