Ir para conteúdo

fodim

Campones
  • Total de itens

    80
  • Registro em

  • Última visita

Tudo que fodim postou

  1. Gente me ajuda aew eu to tentano abrir um poketibia mais quando eu do ip changer pelo localhost vai mais quando eu vo tentar pelo ip fixo nao vai, eu uso o no-ip, o meu rotiador é o da net, eu nao consigo acessar ele pois a senha é desconhecida, mais creio que nao precisa ja conseguir abrir servers de outros jogos, ajuda aew
  2. Mlz nao prestei atenção desculpa ai na proxima vou ter mais atenção
  3. Ola gente vim postar como adicionar novos pokemons quando o ot tem sistema de portrait Sao preciso 1 id e 1 look tipe ou 2 ids e 1 looktype se for colocar catch precisa de 3 se so vir em box sao 4 1ºId= Do Portrait 2ºId= Do Corpo (Opcional) 3ºLooktype= Do Pokemon Depois que tiver as 3 ou 2 coisas na mao va ate monster e crie um novo arquivo xml com o nomedopoke.xml (primeira letra minuscula se for criar versao catched): <?xml version="1.0" encoding="UTF-8"?> <monster name="Nome do poke" nameDescription="a nome do poke" race="fire" experience="7991" speed="220" manacost="590"> <health now="sangue que o poke vem" max="sangue maximo do poke"/> <look type="look do poke" head="20" body="30" legs="40" feet="50" corpse="id do corpo"/> <targetchange interval="1000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="97"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1000" range="1" min="-18000" max="-22000"/> <attack name="fury" interval="2000" chance="35" range="10"> <attack name="shadowstorm" interval="1000" chance="15" min="-12000" max="-16000"> </attack> <attack name="shadow punch" interval="1000" chance="15" min="-12000" max="-16000"> </attack> <attack name="Ice" interval="2000" chance="150" range="7" radius="4" target="1" min="-650" max="-1150"> <attribute key="shootEffect" value="Ice"/> <attribute key="areaEffect" value="Icearea"/> </attack> <attack name="Ice" interval="3000" chance="150" length="8" spread="3" min="-11000" max="-17000"> <attribute key="areaEffect" value="Icearea"/> </attack> <attack name="legendarypower mew" interval="20" chance="150" min="-16000" max="-20000"> </attack> </attack> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="o que o poke fala!"/> </voices> <loot> </loot> </monster> agora voce edita as coisa como o meu poke é o palkia vai ficar assim: <?xml version="1.0" encoding="UTF-8"?> <monster name="Palkia" nameDescription="a palkia" race="fire" experience="7991" speed="220" manacost="590"> <health now="1500000" max="1500000"/> <look type="736" head="20" body="30" legs="40" feet="50" corpse="11635"/> <targetchange interval="1000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="97"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1000" range="1" min="-18000" max="-22000"/> <attack name="fury" interval="2000" chance="35" range="10"> <attack name="shadowstorm" interval="1000" chance="15" min="-12000" max="-16000"> </attack> <attack name="shadow punch" interval="1000" chance="15" min="-12000" max="-16000"> </attack> <attack name="Ice" interval="2000" chance="150" range="7" radius="4" target="1" min="-650" max="-1150"> <attribute key="shootEffect" value="Ice"/> <attribute key="areaEffect" value="Icearea"/> </attack> <attack name="Ice" interval="3000" chance="150" length="8" spread="3" min="-11000" max="-17000"> <attribute key="areaEffect" value="Icearea"/> </attack> <attack name="legendarypower mew" interval="20" chance="150" min="-16000" max="-20000"> </attack> </attack> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="PALKIA!"/> </voices> <loot> </loot> </monster> Pronto criei minha versao selvagem do palkia so que se o seu nao tiver resp nao vai ser necessario fazer 2 agora vo fazer minha versao capturada como o meu otserver faze um xml com o Nomedopoke.xml (primeira letra maiuscula (opcional)) <?xml version="1.0" encoding="UTF-8"?> <monster name="nome do poke" nameDescription="a nome do poke" race="especie do poke" experience="7991" speed="220" manacost="590"> <health now="sangue do poke que começa" max="sangue maximo do poke"/> <look type="look do poke" head="20" body="30" legs="40" feet="50" corpse="id do corpo"/> <targetchange interval="1000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="97"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1000" range="1" min="-18000" max="-22000"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="o que o poke fala!"/> </voices> <loot> </loot> </monster> O meu é o palkia vai ficar assim <?xml version="1.0" encoding="UTF-8"?> <monster name="Palkia" nameDescription="a palkia" race="fire" experience="7991" speed="220" manacost="590"> <health now="1500000" max="1500000"/> <look type="736" head="20" body="30" legs="40" feet="50" corpse="11635"/> <targetchange interval="1000" chance="0"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="1"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="1"/> <flag convinceable="1"/> <flag pushable="1"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="97"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="1000" range="1"aq min="-18000" max="-22000"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="PALKIA!"/> </voices> <loot> </loot> </monster> Agora voce edita os ataque conforme a força do pokemon. Agora vamos adicionar o catch va na pasta data/actions/scripts e abra o arquivo catch.lua e adicione a tag ["nome do poke"] = {chance = chance de pegar (quanto menor maior é a chance), corpse = id do corpo, health = sangue inicial do pokemon, maxhealth = maximo de sangue do pokemon}, Edite conforme for seu poke o meu é o palkia eu deixei assim: ["Palkia"] = {chance = 150000, corpse = 11635, health = 150000000, maxhealth = 150000000}, Pronto agora feche e salve voce ja adicionou a catch do seu pokemon agora vai ate a pasta data/actions/scripts e abra o arquivo goback.lua e adicione a tag ["Nome do poke"] = {level = nivel para usar, cons = 251, vida = vida do seu pokemon (ajuste se nao o pokemon buga)}, O meu ficou assim: ["Palkia"] = {level = 400, cons = 251, vida = 1500000}, Agora abra a pastar data/movements/scripts e abra o arquio Portrait.lua e adicione a tag: ["Nome do poke"] = {fotopoke = id do portrait}, O meu ficou assim: ["Palkia"] = {fotopoke = 11634}, Pronto voce ja adicionou seu pokemon
  4. Tipo do script:Npc Protocolo (versão do Tibia):8.54 Servidor utilizado:Pokemon Solarian Nível de experiência:Simples Adicionais/Informações:Queria que alguem editassem esse npc para dar hds em trocas dos pokes nao dollares e eu queria bastante hd so que nao chegando a 100 hd Script: local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false local talkState = {} function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye sir!') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function sellPokemon(cid, name, price) local pokename = name local bp = getPlayerSlotItem(cid, CONST_SLOT_BACKPACK) local itemsball = getItemsInContainerById(bp.uid, 2222) local itemsultra = getItemsInContainerById(bp.uid, 2220) for _, pok in pairs(itemsball) do if string.lower(getItemAttribute(pok, "poke"):sub(9, findLetter(getItemAttribute(pok, "poke"), "'")-1)) == pokename then doRemoveItem(pok, 1) doPlayerAddMoney(cid, price) selfSay('Wow! Thanks for this wonderful pokemon! Take your money.') return true end end for _, pok in pairs(itemsultra) do if string.lower(getItemAttribute(pok, "poke"):sub(9, findLetter(getItemAttribute(pok, "poke"), "'")-1)) == pokename then doRemoveItem(pok, 1) doPlayerAddMoney(cid, price) selfSay('Wow! Thanks for this wonderful pokemon! Take your money.') return true end end selfSay('Hey, you dont have this pokemon! Make sure if its not fainted and it is inside your backpack!') end function onCreatureSay(cid, type, msg) local msg = string.lower(msg) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if (msgcontains(msg, 'bye') and focus == cid) then selfSay('See you around then!') focus = 0 elseif (msgcontains(msg, "let's fight") and focus == cid) then elseif (msgcontains(msg, "i need your help") and focus == cid) then elseif (msgcontains(msg, "i choose you") and focus == cid) then elseif (msgcontains(msg, "thanks for helping") and focus == cid) then elseif (msgcontains(msg, "it's battle time") and focus == cid) then elseif (msgcontains(msg, "excellent work") and focus == cid) then elseif (msgcontains(msg, "go,") and focus == cid) then elseif (msgcontains(msg, "you were great") and focus == cid) then elseif (msgcontains(msg, "well done") and focus == cid) then elseif (msgcontains(msg, "come back") and focus == cid) then elseif (msgcontains(msg, "let's do it") and focus == cid) then elseif (msgcontains(msg, 'hi') and (focus == 0) and (focus ~= cid) and (getDistanceToCreature(cid) <= 4)) then selfSay('Welcome to my store! I buy pokemons of all species, just tell me the name of the pokemon you want to sell.') focus = cid talkState[talkUser] = 1 talk_start = os.clock() elseif ((msgcontains(msg, 'rattata') or msgcontains(msg, 'magikarp') or msgcontains(msg, 'caterpie') or msgcontains(msg, 'weedle')) and talkState[talkUser] == 1 and focus == cid) then selfSay('I dont buy such a common pokemon!') elseif (msgcontains(msg, 'no') and talkState[talkUser] ~= 1 and focus == cid) then selfSay('Well, then what pokemon would you like to sell?') talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'poliwag') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a poliwag? I can buy it for 110 dollars.') talkState[talkUser] = "poliwag" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "poliwag" and focus == cid) then sellPokemon(cid, "poliwag", 11000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'horsea') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a horsea? I can buy it for 200 dollars.') talkState[talkUser] = "horsea" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "horsea" and focus == cid) then sellPokemon(cid, "horsea", 20000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'oddish') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me an oddish? I can buy it for 80 dollars.') talkState[talkUser] = "oddish" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "oddish" and focus == cid) then sellPokemon(cid, "oddish", 8000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'bellsprout') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a bellsprout? I can buy it for 100 dollars.') talkState[talkUser] = "bellsprout" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "bellsprout" and focus == cid) then sellPokemon(cid, "bellsprout", 10000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'pidgey') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a pidgey? I can buy it for 50 dollars.') talkState[talkUser] = "pidgey" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "pidgey" and focus == cid) then sellPokemon(cid, "pidgey", 5000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'weepinbell') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a weepinbell? I can buy it for 1500 dollars.') talkState[talkUser] = "weepinbell" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "weepinbell" and focus == cid) then sellPokemon(cid, "weepinbell", 150000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'pidgeotto') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a pidgeotto? I can buy it for 1200 dollars.') talkState[talkUser] = "pidgeotto" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "pidgeotto" and focus == cid) then sellPokemon(cid, "pidgeotto", 120000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'gloom') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a gloom? I can buy it for 1500 dollars.') talkState[talkUser] = "gloom" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "gloom" and focus == cid) then sellPokemon(cid, "gloom", 150000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'kakuna') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a kakuna? I can buy it for 250 dollars.') talkState[talkUser] = "kakuna" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "kakuna" and focus == cid) then sellPokemon(cid, "kakuna", 25000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'beedrill') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a beedrill? I can buy it for 1200 dollars.') talkState[talkUser] = "beedrill" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "beedrill" and focus == cid) then sellPokemon(cid, "beedrill", 120000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'sandshrew') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a beedrill? I can buy it for 850 dollars.') talkState[talkUser] = "sandshrew" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "sandshrew" and focus == cid) then sellPokemon(cid, "sandshrew", 85000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'sandslash') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a sandslash? I can buy it for 5000 dollars.') talkState[talkUser] = "sandslash" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "sandslash" and focus == cid) then sellPokemon(cid, "sandslash", 500000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'magnemite') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a magnemite? I can buy it for 600 dollars.') talkState[talkUser] = "magnemite" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "magnemite" and focus == cid) then sellPokemon(cid, "magnemite", 60000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'magneton') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a magneton? I can buy it for 2500 dollars.') talkState[talkUser] = "magneton" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "magneton" and focus == cid) then sellPokemon(cid, "magneton", 250000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'raticate') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a raticate? I can buy it for 850 dollars.') talkState[talkUser] = "raticate" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "raticate" and focus == cid) then sellPokemon(cid, "raticate", 85000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'seadra') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a seadra? I can buy it for 2500 dollars.') talkState[talkUser] = "seadra" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "seadra" and focus == cid) then sellPokemon(cid, "seadra", 250000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'geodude') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a geodude? I can buy it for 500 dollars.') talkState[talkUser] = "geodude" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "geodude" and focus == cid) then sellPokemon(cid, "geodude", 50000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'doduo') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a doduo? I can buy it for 650 dollars.') talkState[talkUser] = "doduo" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "doduo" and focus == cid) then sellPokemon(cid, "doduo", 65000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'dodrio') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a dodrio? I can buy it for 3000 dollars.') talkState[talkUser] = "dodrio" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "dodrio" and focus == cid) then sellPokemon(cid, "dodrio", 300000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'golbat') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a golbat? I can buy it for 1200 dollars.') talkState[talkUser] = "golbat" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "golbat" and focus == cid) then sellPokemon(cid, "golbat", 120000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'graveler') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a graveler? I can buy it for 1600 dollars.') talkState[talkUser] = "graveler" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "graveler" and focus == cid) then sellPokemon(cid, "graveler", 160000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'golem') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a golem? I can buy it for 4000 dollars.') talkState[talkUser] = "golem" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "golem" and focus == cid) then sellPokemon(cid, "golem", 400000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'voltorb') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a voltorb? I can buy it for 450 dollars.') talkState[talkUser] = "voltorb" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "voltorb" and focus == cid) then sellPokemon(cid, "voltorb", 45000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'abra') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me an abra? I can buy it for 800 dollars.') talkState[talkUser] = "abra" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "abra" and focus == cid) then sellPokemon(cid, "abra", 80000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'kadabra') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a kadabra? I can buy it for 6000 dollars.') talkState[talkUser] = "kadabra" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "kadabra" and focus == cid) then sellPokemon(cid, "kadabra", 600000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'alakazam') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me an alakazam? I can buy it for 12000 dollars.') talkState[talkUser] = "alakazam" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "alakazam" and focus == cid) then sellPokemon(cid, "alakazam", 1200000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'charmander') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a charmander? I can buy it for 3000 dollars.') talkState[talkUser] = "charmander" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "charmander" and focus == cid) then sellPokemon(cid, "charmander", 300000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'charmeleon') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a charmeleon? I can buy it for 5500 dollars.') talkState[talkUser] = "charmeleon" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "charmeleon" and focus == cid) then sellPokemon(cid, "charmeleon", 550000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'charizard') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a charizard? I can buy it for 8000 dollars.') talkState[talkUser] = "charizard" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "charizard" and focus == cid) then sellPokemon(cid, "charizard", 550000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'electrode') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me an electrode? I can buy it for 2000 dollars.') talkState[talkUser] = "electrode" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "electrode" and focus == cid) then sellPokemon(cid, "electrode", 200000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'vileplume') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a vileplume? I can buy it for 5000 dollars.') talkState[talkUser] = "vileplume" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "vileplume" and focus == cid) then sellPokemon(cid, "vileplume", 500000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'victreebel') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a victreebel? I can buy it for 5000 dollars.') talkState[talkUser] = "victreebel" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "victreebel" and focus == cid) then sellPokemon(cid, "victreebel", 500000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'pidgeot') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a pidgeot? I can buy it for 5500 dollars.') talkState[talkUser] = "pidgeot" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "pidgeot" and focus == cid) then sellPokemon(cid, "pidgeot", 550000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'zubat') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a zubat? I can buy it for 120 dollars.') talkState[talkUser] = "zubat" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "zubat" and focus == cid) then sellPokemon(cid, "zubat", 12000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'poliwrath') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a poliwrath? I can buy it for 7000 dollars.') talkState[talkUser] = "poliwrath" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "poliwrath" and focus == cid) then sellPokemon(cid, "poliwrath", 700000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'grimer') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a grimer? I can buy it for 600 dollars.') talkState[talkUser] = "grimer" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "grimer" and focus == cid) then sellPokemon(cid, "grimer", 60000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'muk') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a muk? I can buy it for 1800 dollars.') talkState[talkUser] = "muk" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "muk" and focus == cid) then sellPokemon(cid, "muk", 180000) talkState[talkUser] = 1 ---------------------------------------------------------------- elseif (msgcontains(msg, 'poliwhirl') and talkState[talkUser] == 1 and focus == cid) then selfSay('Are you sure you want to sell me a poliwhirl? I can buy it for 2200 dollars.') talkState[talkUser] = "poliwhirl" elseif (msgcontains(msg, 'yes') and talkState[talkUser] == "poliwhirl" and focus == cid) then sellPokemon(cid, "poliwhirl", 220000) talkState[talkUser] = 1 end end function onThink() if focus == 0 then selfTurn(1) else argx, argy, argz = selfGetPosition() dir = getDirectionTo({x=argx,y=argy,z=argz}, getThingPos(focus)) if dir == 7 then dir = 0 elseif dir == 6 then dir = 3 elseif dir == 5 then dir = 1 elseif dir == 4 then dir = 3 end selfTurn(dir) end if (os.clock() - talk_start) > 59 then if focus ~= 0 then selfSay('We have been talking for too much time!') focus = 0 end end if focus ~= 0 then a, b, c = selfGetPosition() if c ~= getThingPos(focus).z then focus = 0 end end if focus ~= 0 then if getDistanceToCreature(focus) > 4 then selfSay('Come back to sell me pokemons!') focus = 0 end end return true end
  5. Script De Mudança de vocation feito por min por edições de outros scripts Crie um arquivo .lua chamado vocation na pastar data/actions/scripts: ---- Script Feito Por Fodim ------ function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 36700 then queststatus = getPlayerStorageValue(cid,36700) if queststatus == -1 or queststatus == 0 then doCreatureSay(cid, "Você mudou sua vocação", TALKTYPE_ORANGE_1) setPlayerStorageValue(cid, 36700, 1) doPlayerSetVocation(cid,id) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYDAMAGE) else doPlayerSendTextMessage(cid,22,"você ja mudou sua vocação") end return true end end Edite onde ta escrito id por id da vocation escolhida e se desejar edite as mensagens Agora na pasta data/action abra no arquivo actions.xml e adicione sua tag <action actionid="36700" event="script" value="vocation.lua"/> Agora coloque o actionid e o uniqueid 36700 no item desejado no map editor e pronto!!!
  6. mano tambem to querendo issu e dps compactar tudo dnv alguem ajuda ai
  7. Poem Umas Ss's Ai
  8. onde poemissu ?
  9. so muda o corpse para o id do item
  10. Edite o xml do jorge e edite assim(Soya.xml): <?xml version="1.0" encoding="UTF-8"?> <npc name="Jorge" script="loot.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150"/> <look type="159" head="132" body="79" legs="97" feet="132" corpse="2212"/> <parameters> <parameter key="module_shop" value="1"/> <parameter key="message_greet" value="Hello |PLAYERNAME|. I buy items there is my offer! .. and also sells some ."/> <parameter key="shop_sellable" value="Small stone,1294,100;Stone orb,2674,500;Electric box,5893,250;Screw,5948,200;Sandbag,5930,150;Scythe,5944,1000;Traces of ghost,7158,900;Tooth,5097,230;Bottle of poison,5881,100;Bone,5880,900;Ice orb,5901,520;Seeds,7732,120;Future orb,5896,800;Pot of moss bug,5914,100;Squirtle hull,6126,300;Water pendant,6569,600;Water gem,7159,100;Nail,5910,200;Dragon tooth,5890,300;Essence of fire,5894,150;Seed,5954,100;Bag of pollem,5877,500;Leaves,2111,300;Feather,5888,250;"/> <parameter key="shop_buyable" value="Leaf Stone,5918,20000;Venom Stone,5929,20000;Coccon Stone,7497,20000;Crystal Stone,5885,20000;Darkness Stone,5892,20000;Water Stone,5810,20000;Thunder Stone,5928,20000;Rock Stone,5924,20000;Hearth Stone,5908,19000;Fire Stone,5907,20000;Earth Stone,5804,20000;Poke Ball,2149,100;Great Ball,2146,800;Super Ball,2147,4000;Ultra Ball,2150,8000;Small Potion,2157,50;Ultra Potion,2144,1000;HyperPotion,2145,8000;Poke Backpack,2002,1000;Poke Bag,1995,100"/> </parameters> </npc>
  11. Cara Não Entendi bem seu pedido mais da uma olhada no script Crie um .lua chamado wand lv: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -3, -68, -3, -68, 7, 6, 4, 8) local condition = createConditionObject(CONDITION_CURSED) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition, 5, 2000, -60) setCombatCondition(combat, condition) function onUseWeapon(cid, var) return doCombat(cid, combat, var) end Tag <wand id="7429" level="Nível" mana="Mana Por Hit" event="script" value="wand lv.lua"> <vocation id="1"/> <vocation id="5" showInDescription="0"/> <vocation id="2"/> <vocation id="6" showInDescription="0"/> </wand>
  12. O Script Dois vç tem que fazer um action da alavanca ai fica virado de frente para alavanca e diga /attr set actionid id da action ou /attr actionid id da action
  13. Gostei lek maneiro rep +
  14. nao consigo configurar nicaw aac xml Olha a Config <? /* Copyright (C) 2006 Nicaw 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 2 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. http://www.gnu.org/copyleft/gpl.html */ error_reporting(E_ALL ^ E_NOTICE); //---------------------------- Data Dir ---------------------------------------- /*Set location of data directory IMPORTANT! Use / to separate folders, put / in the end */ $cfg['dirdata'] = 'C:\NowOTTZ\data\'; //----------------------------- Website Configuration -------------------------- //look in skins folder to see available skins $cfg['skin'] = 'dark'; //name displayed in window title $cfg['server_name'] = 'NSO'; /*Encrypt passwords. (true / false) Works together with md5passwords = "yes" in server config.lua Strongly recomended, but off by default. After changing this, existing accounts will become inaccessible!*/ $cfg['md5passwords'] = False; /*(true / false) Using captcha will prevent automated sripts from flooding server with accounts. Note that GD library must be enabled in php.ini for this to work. extension_loaded('gd') means "auto"*/ $cfg['use_captha'] = extension_loaded('gd'); /*(advanced users only) Asks user's email when registering and attempts to send greeting. SMTP can be configured function mailex() in functions.php. Email content can be found in new.php. You must have DNS MX record if sending from local SMTP. Correct reverse DNS is also recomended.*/ $cfg['ask_email'] = false; /* Session security. Set medium if you get kicked out after loging in account. 0 - low (no fancy stuff) 1 - medium (users are loged out after being idle for specified time interval) 2 - high (IPs are checked to prevent session hijacking)*/ $cfg['session_security'] = 2; //seconds in which user is loged out. default is 10 minutes: 10*60 $cfg['session_timeout'] = 10*60; //allowed characters per account $cfg['maxchars'] = 3; /* enable unban feature. some servers ban permanetly for pking. if this enabled players will be unbaned when generating highscores (true / false)*/ $cfg['unban_allow'] = false; /* time in seconds after which player can be unbaned (2 days) d*hh*mm*ss; kapish? */ $cfg['unban_after'] = 2*24*60*60; //Delete old characters? $cfg['delete_allow'] = false; //delete players older than (seconds) $cfg['delete_player'] = 2*30*24*60*60; //(2 months) //only delete players with level lower than $cfg['delete_level'] = 20; /* Predefined account number. 0 - none (leave blank field), 1 - offer (put account number, but user can change it), 2 - force (dont allow user to select his own account number)*/ $cfg['account_number'] = 0; //Vocation names $cfg['voc_normal'] = array('None','Uzumaki Naruto','Uchiha Sasuke','Haruno Sakura','Neji hyuuga','shino','Lee','Kiba Inzuka','Gaara','Hinata','Itachi'); //Promoted names $cfg['voc_promoted'] = array('None','Master Sorcerer','Elder Druid','Royal Paladin','Elite Knight'); //Access level names $cfg['positions'] = array("Player", "Player", "Tutor", "Counselor", "GM"); //Access level to use admin panel $cfg['admin_access'] = 6; //Admin Panel - attributes to load from player file (root tag only) $cfg['admin_attrs'] = array('name', 'account', 'sex', 'exp', 'voc', 'level', 'access', 'cap', 'maglevel', 'lastlogin', 'premticks', 'promoted', 'banned'); //generate CVS players.xml file (true/false) This is mostly needed for 7.7 servers. $cfg['CVSplayers'] = False; //For online status. Do not change, unless you running on diferent port. $cfg['server_ip'] = "localhost"; $cfg['server_port'] = 7171; //----------------------------- Highscore Configuration ------------------------ //seconds in which highscores will be reloaded. default is 3 hours: 3*60*60 $cfg['rank_refresh'] = 1*60; // this access level and above not included in ranks $cfg['gm_access'] = 4; //number of ranks to cache $cfg['highscoreshow'] = 200; //how many displayer per page $cfg['number_per_page'] = 30; //----------------------------- All vocations ---------------------------------- $cfg['lvl'] = 1; // initial level (can be float like: 8.3 or 14.7) //whether to allow users to choose vocations. Set to false if you have Rook system $cfg['vocation_choose'] = True; //Players Temple(s) $cfg['temple']['Rook']['x'] = 137; $cfg['temple']['Rook']['y'] = 194; $cfg['temple']['Rook']['z'] = 7; // you might want to add GM chars here $cfg['vip_file'] = '<?xml version="1.0"?> <vips><vip id="1" name="Administrator"/></vips>'; //Depending on server, you might need to change depot configuration $cfg['depots'] = ' <depots> <depot depotid="1"><item id="2590"><inside><item id="2594"/></inside></item></depot> <depot depotid="2"><item id="2590"><inside><item id="2594"/></inside></item></depot> <depot depotid="3"><item id="2590"><inside><item id="2594"/></inside></item></depot> <depot depotid="4"><item id="2590"><inside><item id="2594"/></inside></item></depot> <depot depotid="5"><item id="2590"><inside><item id="2594"/></inside></item></depot> <depot depotid="6"><item id="2590"><inside><item id="2594"/></inside></item></depot> <depot depotid="7"><item id="2590"><inside><item id="2594"/></inside></item></depot> </depots> '; // Leave this stuff as it is if (!defined('MALE')) define('MALE', 1); if (!defined('FEMALE')) define('FEMALE', 0); if (!defined('UZUMAKI')) define('UZUMAKI', 1); if (!defined('Uchiha')) define('Uchiha', 2); if (!defined('Haruno')) define('Haruno', 3); if (!defined('Hyuuga')) define('Hyuuga', 4); if (!defined('Haku')) define('Haku', 5); if (!defined('Lee')) define('Lee', 6); if (!defined('Inzuka')) define('Inzuka', 7); if (!defined('TenTen')) define('TenTen', 8); if (!defined('Gaara')) define('Gaara', 9); if (!defined('HyuugaHinata')) define('HyuugaHinata', 10); if (!defined('Itachi')) define('Itachi', 11); if (!defined('Shino')) define('Shino', 12); //-------------------------------- naruto ------------------------------------ // Looks $cfg['look'][uZUMAKI][MALE] = '70'; $cfg['look'][uZUMAKI][FEMALE] = '70'; // HP, mana, magic level $cfg['health'][uZUMAKI] = '195'; $cfg['mana'][uZUMAKI] = '95'; $cfg['mlvl'][uZUMAKI] = '0'; $cfg['cap'][uZUMAKI] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][uZUMAKI] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][uZUMAKI] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][uZUMAKI] = '<item id="0" count="0"/><item id="0" count="0"/>'; //--------------------------------- sakura -------------------------------------- // Looks $cfg['look'][Haruno][MALE] = '71'; $cfg['look'][Haruno][FEMALE] = '71'; // HP, mana, magic level $cfg['health'][Haruno] = '195'; $cfg['mana'][Haruno] = '95'; $cfg['mlvl'][Haruno] = '0'; $cfg['cap'][Haruno] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][Haruno] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][Haruno] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][Haruno] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- neji ------------------------------------- // Looks $cfg['look'][Hyuuga][MALE] = '69'; $cfg['look'][Hyuuga][FEMALE] = '69'; // HP, mana, magic level $cfg['health'][Hyuuga] = '195'; $cfg['mana'][Hyuuga] = '95'; $cfg['mlvl'][Hyuuga] = '0'; $cfg['cap'][Hyuuga] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][Hyuuga] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][Hyuuga] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][Hyuuga] = '<item id="0" count="0"/><item id="0" count="0"/>'; //--------------------------------- lee ------------------------------------- // Looks $cfg['look'][Lee][MALE] = '59'; $cfg['look'][Lee][FEMALE] = '59'; // HP, mana, magic level $cfg['health'][Lee] = '195'; $cfg['mana'][Lee] = '95'; $cfg['mlvl'][Lee] = '0'; $cfg['cap'][Lee] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][Lee] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][Lee] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][Lee] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- Uchiha --------------------------------- // Looks $cfg['look'][uchiha][MALE] = '66'; $cfg['look'][uchiha][FEMALE] = '66'; // HP, mana, magic level $cfg['health'][uchiha] = '195'; $cfg['mana'][uchiha] = '95'; $cfg['mlvl'][uchiha] = '0'; $cfg['cap'][uchiha] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][uchiha] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][uchiha] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][uchiha] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- kiba --------------------------------- // Looks $cfg['look'][inzuka][MALE] = '25'; $cfg['look'][inzuka][FEMALE] = '25'; // HP, mana, magic level $cfg['health'][inzuka] = '195'; $cfg['mana'][inzuka] = '95'; $cfg['mlvl'][inzuka] = '0'; $cfg['cap'][inzuka] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][inzuka] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][inzuka] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][inzuka] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- gaara --------------------------------- // Looks $cfg['look'][Gaara][MALE] = '5'; $cfg['look'][Gaara][FEMALE] = '5'; // HP, mana, magic level $cfg['health'][Gaara] = '195'; $cfg['mana'][Gaara] = '95'; $cfg['mlvl'][Gaara] = '0'; $cfg['cap'][Gaara] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][Gaara] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][Gaara] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][Gaara] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- hinata --------------------------------- // Looks $cfg['look'][HyuugaHinata][MALE] = '58'; $cfg['look'][HyuugaHinata][FEMALE] = '58'; // HP, mana, magic level $cfg['health'][HyuugaHinata] = '195'; $cfg['mana'][HyuugaHinata] = '95'; $cfg['mlvl'][HyuugaHinata] = '0'; $cfg['cap'][HyuugaHinata] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][HyuugaHinata] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][HyuugaHinata] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][HyuugaHinata] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- itachi --------------------------------- // Looks $cfg['look'][itachi][MALE] = '64'; $cfg['look'][itachi][FEMALE] = '64'; // HP, mana, magic level $cfg['health'][itachi] = '195'; $cfg['mana'][uItachi] = '95'; $cfg['mlvl'][itachi] = '0'; $cfg['cap'][itachi] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][itachi] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][itachi] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][itachi] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------------- shino --------------------------------- // Looks $cfg['look'][shino][MALE] = '73'; $cfg['look'][shino][FEMALE] = '73'; // HP, mana, magic level $cfg['health'][shino] = '195'; $cfg['mana'][shino] = '95'; $cfg['mlvl'][shino] = '0'; $cfg['cap'][shino] = '470'; // Skills: fist, club, sword, axe, dist, shld, fish $cfg['skill'][shino] = array(10, 10, 10, 10, 10, 15, 10); // Eq: helm, amul, bp, armor, rght, left, legs, boot, ring, ammo $cfg['equip'][shino] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); // Backpack: $cfg['bp'][shino] = '<item id="0" count="0"/><item id="0" count="0"/>'; //-------------------------- NOOB SENSATIVE ----------------------------------- //relative paths hidden here from newbs. If you are one: DO NOT EDIT $cfg['diraccount'] = $cfg['dirdata'].'accounts/'; $cfg['dirplayer'] = $cfg['dirdata'].'players/'; $cfg['dirmonster'] = $cfg['dirdata'].'monster/'; $cfg['dirvip'] = $cfg['dirdata'].'vip/'; $cfg['dirhouse'] = $cfg['dirdata'].'houses/'; $cfg['dirdeleted'] = $cfg['dirdata'].'deleted/'; //-------------------------- END OF CONFIGURATION ----------------------------- //checking if directories defined previously really exist if (!(is_dir($cfg['dirplayer']) && is_dir($cfg['diraccount']))){ $error = "Warning!<br/>\n Please set correct data directory in config.php"; } //checking if IP not banned if (file_exists('banned.txt')){ $banned_ips = file ('banned.txt'); foreach ($banned_ips as $ip){ if ($ip == $_SERVER['REMOTE_ADDR']){ die("Sorry, your IP is banned from the website."); //ha ha ha. die die die. I love this function you're dead bye } } } //Calculating correct exp for level $cfg['exp'] = round(50*($cfg['lvl']-1)*($cfg['lvl']*$cfg['lvl']-5*$cfg['lvl']+12)/3); $cfg['lvl'] = floor($cfg['lvl']); //disable magic_quotes_gpc. ty wrzasq if( get_magic_quotes_gpc() ) { $_POST = array_map('stripslashes', $_POST); $_GET = array_map('stripslashes', $_GET); $_COOKIE = array_map('stripslashes', $_COOKIE); $_REQUEST = array_map('stripslashes', $_REQUEST); } //Check for correct PHP version if (!version_compare(phpversion(), "5.1.4", ">=") ) $error = "You need PHP 5.1.4 or later to run this AAC. Try the latest XAMPP."; //Check if extensions loaded if (!extension_loaded('simplexml')) $error = "SimpleXML is not enabled in php.ini"; ?> Pasta do ot:C:\Nowzin Ip Fixo: deidaraoot.no-ip.biz para ver o erro deidaraoot.no-ip.biz
  15. Nem Pega eu coloco no diretorio do meu tibi 8.6 e pede dnv mo bugado
  16. Poem SS
  17. Ou aki so da pá captura um pokemon alguem me ajuda ai
  18. EU quero um item que quando usado regenera por segundo uma certa quantidade de HP/MP e quando tirada para de regenera alguem pode me ajuda ?
  19. fodim

    Ei Me Ajuda Ip Changer

    Ei Me ajudem o ip changer nao ta pegando gente eu aperto change ip ai nao muda o ip no tibia me ajudem ou me passem outro ip changer o do asprate nao ta pegando !!
  20. fodim

    Pedido Pet System 8.42

    Gente quero tipo um sistema de pet se compra com npc exemplo um amazon se fala com o npc o npc te da um item e pergunta o nome do pet ai se fala ai na hora que usa o item criase a amazon com o nome que falou para o npc que ele evoluice tipo amazon para vallkyre de valkyre para witch me ajudem ai
  21. fodim

    3 Pedidos 8.42

    Responde Eu Ai
  22. Tipo eu queria que quando vestisse a armor colocasse mana e quando tirasse tirasse a mana ou o sangue tem como me ajudar ?
  23. fodim

    Promotion [2]

    Olha mano nao entendi bem + tipo voce ja teve ter a 2 Promo na voc vo te manda um script npc Crie um lua na pasta npc/script E cole esse script 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 local node1 = keywordHandler:addKeyword({'second'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Promotion 2 é pra lvl 1000'}) node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 10000, level = 60, promotion = 2, text = 'Parabens Voce Conseguiu a second promotion'}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true}) npcHandler:addModule(FocusModule:new()) Salve Como Second Promotion Agora Crie Uma XML Na Pasta Npc Com Seguinte Codigo <npc name="Second Promotion" script="data/npc/scripts/second promotion.lua" floorchange="0" access="5" level="1" maglevel="1"> <health now="150" max="150"/> <look type="289" head="114" body="94" legs="79" feet="91" addons="3" corpse="2212"/> <parameters> <parameter key="Ola |PLAYERNAME| Eu Vendo Second Promo Se Quiser a second promo fale {Second}" /> </parameters> </npc> Salve Como Second Promotion Eu nao sei sua versao + essa funfo no meu ot 8.54 Espero ter ajudado
  24. Olha cara eu nao entendi tua pergunta tipo se quer que mude a vocation ou que coloque na vip list tbm ? e me fale quanto custa isso é uma talkaction me informe para eu te ajudar Edit: Eu nao li direito agora eu li crie uma lua no talkations/scripts chamada buyvip coloque o seguinte codigo function onSay(cid, words, param) if doPlayerRemoveItem(cid,2160, 1) then doSendMagicEffect(getPlayerPosition(cid), 7) doCreatureSay(cid, "Vip 1 Ano", TALKTYPE_ORANGE_1) doPlayerAddPremiumDays(cid, 365) else doPlayerSendCancel(cid, 'Voce Nao Tem 1 Crystal Coin !.') doSendMagicEffect(getPlayerPosition(cid), 7) end end Dias P.a 1 ano Mudar Dia em 365 Legenda Quantas Crystais (Onde Esta o 1) Agora abra o xml do talkaction e coloque o seguinte tag <talkaction words="!buyvip" event="script" value="buyvip.lua"/> Espero Ter Ajudado
  25. Mano eu sei mexer nos weapons + tipo vo precisa do id da wand o hit minimo da sd e o maximo da sd responda para que eu possa te ajudar
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...