Ir para conteúdo

homersapiens

Cavaleiro
  • Total de itens

    173
  • Registro em

  • Última visita

Tudo que homersapiens postou

  1. Parece que funcionou mais eu presciso ter lvl 5 , so 5 pra usar tem como colocar pra 265 em diante? altera PlayerLevel = 5 para PlayerLevel= 265
  2. Estuda .lua, e concerta uai, quer sempre tudo de mão beijada? o cara ja disponibilizo o server , corre atrás -.-' ots admins
  3. Alguem faz um torrent? net de merd@
  4. Fico Dahora cara! Muito bom. Se fosse do Wolverine eu ia amar ;x
  5. Olá, o poke dos players, não está tomando hits para pokes selvagems, se alguem souber como ajeitar, rep+
  6. Funcionará sim, basta configurar o .txt complicado nao, basta saber mecher no visual studio desculpe mas nao vou passar o client, pois nao sou o unico dono.
  7. Eu gosto de .net(afinal programo bastante nessa linguagem), da pra vc fazer um por visual studio 2012+ aconselho http://www.youtube.com/watch?v=t3lHQdKNcgo se quiser baixar: http://www.mediafire.com/download/3kxeq60f7e25rm1/Sawq+Update.zip
  8. Tenta esse: http://www.xtibia.com/forum/topic/188059-launcher-update-para-o-seu-otserver/
  9. Embora eu ja saiba disso, vai ajudar muita gente! Boa Codeur REP+
  10. Esse Código vai dar erro. Tenta : function onThink(cid, interval) return false end if spell == "Illusion" then local time = 5 * 1000 local name = getCreatureName(cid) local status = getPokemonStatus(name, getOffense(creature) / pokes[name].off) local newSummon = doSummonMonster(cid, name) elseif not isCreature(newSummon) then return end setWildPokemonLevel(newSummon, getLevel(cid), status) doTeleportThing(newSummon, getThingPos(cid), false) doSendMagicEffect(getThingPos(newSummon), CONST_ME_TELEPORT) addEvent(function(uid) if isCreature(uid) then doSendMagicEffect(getThingPos(uid), CONST_ME_TELEPORT) doRemoveCreature(uid) end end, time, newSummon)
  11. VB.NET/VB6/JAVA/C++/PASCAL ;/
  12. Manda outfits .xml, e diz qual o nome da outfit que vc quer que eu bote -.-'
  13. Não... O npc nao da a looktype. Ele da uma storage(valor) , aquilo <outfit id="17" quest="181615"> <list gender="0" lookType="1153" name="Malefic"/> <list gender="1" lookType="1157" name="Malefic"/> </outfit> é o valor, vc pega o antigo, da ctrl+f no npc procura e altera o valor antigo pelo valor que se quer da nova outfit pronto.
  14. Tem duas opções; Configuration.lua: pokes = { ["Bulbasaur"] = {offense = 4.9, defense = 4.9, specialattack = 6.5, vitality = 4.5, agility = 196, exp = 64, level = 5, wildLvl = 20, type = "grass", type2 = "poison"}, Cada monster.xml <?xml version="1.0" encoding="UTF-8"?> <monster name="Bulbasaur" nameDescription="a bulbasaur" race="grass" experience="216" speed="107" manacost="0"> <health now="60" max="60"/> <look type="376" head="15" body="30" legs="95" feet="113" corpse="11847"/> <targetchange interval="10000" 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"/> <flag hungerdelay="23"/> </flags> <attacks> <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/> <attack name="Quick Attack" interval="2476" chance="28" range="2"/> <attack name="Razor Leaf" interval="2758" chance="30" range="4"/> <attack name="Vine Whip" interval="2993" chance="28" range="6"/> <attack name="Headbutt" interval="2711" chance="30" range="1"/> <attack name="Leech Seed" interval="4476" chance="28" range="5"/> <attack name="Solar Beam" interval="4779" chance="17" range="6"/> <attack name="Sleep Powder" interval="5766" chance="18" range="6"/> <attack name="Stun Spore" interval="4497" chance="21" range="6"/> <attack name="Poison Powder" interval="5202" chance="19" range="6"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="BULBASAUR!"/> </voices> <loot> <item id="12163" chance="10000" countmax="50"/> <item id="12155" chance="5000" count="1" countmax="1"/> <item id="12153" chance="6000" count="1" countmax="1"/> <item id="12154" chance="4000" count="1" countmax="1"/> </loot> <script> <event name="Spawn"/> </script> </monster>
  15. Inves de vc botar a looktype da outfit , bota a quest dela. Exemplo: <outfit id="17" quest="181615"> <list gender="0" lookType="1153" name="Malefic"/> <list gender="1" lookType="1157" name="Malefic"/> </outfit> pda é por storage(quest) ^^
  16. Va em data/talkactions/scripts e mude seu tele.lua por este local poke = {'Abra', 'Kadabra', 'Alakazam', 'Drowzee', 'Hypno', 'Mr. Mime', 'Porygon', 'Porygon2', "Shiny Abra", "Shiny Alakazam", "Shiny Hypno"} local etele = 9499 local cdtele = 1800 local config = { premium = false, -- se precisa ser premium account (true or false) battle = true -- se precisa estar sem battle (true). Se colocar false, poderá usar teleport no meio de batalhas } local places = { [1] = {name = "Cerulean", id = 1, sto = 897530}, [2] = {name = "Saffron", id = 2, sto = 897531}, [3] = {name = "Lavender", id = 3, sto = 897532}, [4] = {name = "Celadon", id = 4, sto = 897533}, [5] = {name = "Pewter", id = 5, sto = 897534}, [6] = {name = "Viridian", id = 6, sto = 897535}, --alterado v1.7 [7] = {name = "Vermilion", id = 7, sto = 897536}, [8] = {name = "Fuchsia", id = 8, sto = 897537}, [9] = {name = "Cinnabar", id = 9}, [10] = {name = "Snow", id = 10, sto = 897538}, [11] = {name = "Golden", id = 11, sto = 897539}, [12] = {name = "Hamlin", id = 12, sto = 897540}, [13] = {name = "Butwal", id = 13, sto = 897541}, [14] = {name = "Shamouti", id = 14, sto = 897542}, [15] = {name = "Murcott", id = 15, sto = 897543}, [16] = {name = "Outland North", id = 16, sto = 897544}, [17] = {name = "Outland East", id = 17, sto = 897545}, [19] = {name = "Outland South", id = 18, sto = 897546}, } function onSay(cid, words, param) if #getCreatureSummons(cid) == 0 then doPlayerSendCancel(cid, "You need a pokemon to use teleport.") return true end if not isInArray(poke, getCreatureName(getCreatureSummons(cid)[1])) then return 0 end if getPlayerStorageValue(cid, 22545) == 1 then --golden arena doPlayerSendCancel(cid, "You can't do that while the golden arena!") return true end if getPlayerStorageValue(cid, 212124) >= 1 then --alterado v1.6 return doPlayerSendCancel(cid, "You can't do it with a pokemon with mind controlled!") end if getPlayerStorageValue(cid, 52480) >= 1 then return doPlayerSendCancel(cid, "You can't do it while a duel!") --alterado v1.6 end if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then return doPlayerSendCancel(cid, "You can't do it while in the PVP Zone!") --alterado v1.7 end if exhaustion.get(cid, etele) and exhaustion.get(cid, etele) > 0 then local tempo = tonumber(exhaustion.get(cid, etele)) or 0 local min = math.floor(tempo) doPlayerSendCancel(cid, "Your pokemon is tired, wait "..getStringmytempo(tempo).." to teleport again.") return true end if config.premium and not isPremium(cid) then doPlayerSendCancel(cid, "Only premium members are allowed to use teleport.") return true end if config.battle and getCreatureCondition(cid, CONDITION_INFIGHT) then doPlayerSendCancel(cid, "Your pokemon can't concentrate during battles.") return true end if (param == '') then local str = "" str = str .. "Places to go :\n\nHouse\n" for a = 1, #places do str = str..""..places[a].name.."\n" end doShowTextDialog(cid, 7416, str) return true end local item = getPlayerSlotItem(cid, 8) local nome = getPokeballName(item.uid) local summon = getCreatureSummons(cid)[1] local lastppos = getThingPos(cid) local lastspos = getThingPos(summon) local telepos = {} local myplace = "" local townid = 0 local citySto = 0 --alterado v1.7 if string.lower(param) == "house" then if not getHouseByPlayerGUID(getPlayerGUID(cid)) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "You don't own a house.") return true end telepos = getHouseEntry(getHouseByPlayerGUID(getPlayerGUID(cid))) myplace = "our home" else for x = 1, #places do if string.find(string.lower(places[x].name), string.lower(param)) then townid = places[x].id myplace = places[x].name citySto = places[x].sto or -1 --alterado v1.7 end end if myplace == "" then doPlayerSendCancel(cid, "That place doesn't exist.") return true end end if myplace ~= "" and townid > 0 then telepos = getTownTemplePosition(townid) end if getDistanceBetween(getThingPos(cid), telepos) <= 15 then doPlayerSendCancel(cid, "You are too near to the place you want to go!") return true end doSendMagicEffect(getThingPos(summon), 29) doSendMagicEffect(getThingPos(cid), 29) doTeleportThing(cid, telepos, false) local pos2 = getClosestFreeTile(cid, getPosByDir(getThingPos(cid), SOUTH)) doTeleportThing(summon, pos2, false) doSendMagicEffect(getThingPos(cid), 29) doCreatureSay(cid, ""..nome..", teleport to "..myplace.."!", 1) doCreatureSay(cid, ""..nome..", teleport to "..myplace.."!", 1, false, 0, lastppos) doCreatureSay(summon, "TELEPORT!", TALKTYPE_MONSTER) doCreatureSay(summon, "TELEPORT!", TALKTYPE_MONSTER, false, 0, lastspos) doCreatureSetLookDir(cid, SOUTH) doCreatureSetLookDir(summon, SOUTH) doSendMagicEffect(getThingPos(summon), CONST_ME_TELEPORT) exhaustion.set(cid, etele, cdtele) return true end
  17. Meu Client está com a health bar bugada Uso pda by slicer, qualquer otc funcionava bem antes disso, se alguem poder ajudar... Print Rep+++++
  18. Codeur e seu Dom para design, sabe que tem meu voto na AMA ^^
  19. Tem sim. \/ if getPlayerLevel(cid) > 5 then --alterado v1.3 altera o 5
  • Quem Está Navegando   0 membros estão online

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