Ir para conteúdo

notle2012

Conde
  • Total de itens

    884
  • Registro em

  • Última visita

  • Dias Ganhos

    8

Tudo que notle2012 postou

  1. data\actions\scripts\nomedoarquivo.lua adiciona isso no actions.xml <action itemid="IDDOITEM" script="nomedoarquivo.lua"/>
  2. notle2012

    Piso Falante

    pode me dizer como vc quer que eu coloque faz uma simulação ai exemplo ta assim O player [Notle] está invadindo o castelo de Rhyves. quer que eu coloque como tipo assim O player Da Guild [nomedaguild] com nome [Notle] está invadindo o castelo de Rhyves. function onStepIn(cid, item, position, fromPosition) --- configuration by notle --- local exhaust = 20 -- Tempo para player poder manda messagem denovo! (1 por segundos) local frase1 = "O player da guild" -- frase que vem antes do nome da guild local frase2 = "com nome" -- frase que vem antes do nome dos players local frase3 = "está invadindo o castelo de Rhyves." -- frase que vem depois do nome do player --- configuration by notle --- if getPlayerStorageValue(cid, 14799) >= os.time() and doPlayerSendCancel(cid, "aguardando "..(getPlayerStorageValue(cid, 14799) - os.time()).." segundos.") then return true end broadcastMessage(""..frase1.." ["..getPlayerGuildName(cid).."] "..frase2.." ["..getCreatureName(cid).."] "..frase3.." ", MESSAGE_STATUS_WARNING) setPlayerStorageValue(cid, 14799, os.time() + exhaust) return true end
  3. notle2012

    Piso Falante

    testa esse function onStepIn(cid, item, position, fromPosition) --- configuration by notle --- local exhaust = 20 -- Tempo para player poder manda messagem denovo! (1 por segundos) local frase1 = "O player" -- frase que vem antes do nome do player local frase2 = "está invadindo o castelo de Rhyves." -- frase que vem depois do nome do player --- configuration by notle --- if getPlayerStorageValue(cid, 14799) >= os.time() and doPlayerSendCancel(cid, "aguardando "..(getPlayerStorageValue(cid, 14799) - os.time()).." segundos.") then return true end broadcastMessage(""..frase1.." ["..getCreatureName(cid).."] "..frase2.." ", MESSAGE_STATUS_WARNING) setPlayerStorageValue(cid, 14799, os.time() + exhaust) return true end só editar local exhaust = 20 -- Block message (1 por segundos)
  4. assim fica difícil não tem imagem do erro? acho que alguém ta te nukando...
  5. já viu esse? http://www.xtibia.com/forum/topic/145118-creatureevent-contagem-de-frags-no-look/
  6. tenta esse function onThink(cid, interval) if getTilePzInfo(getCreaturePosition(cid)) then return true end local seg = 2 -- quantos segundos para atravesar o player. local protectionLevel = 50 -- protection level do server. local position = getPlayerPosition(cid) if getPlayerLookDir(cid) == 0 then position = {x=position.x, y=position.y-1, z=position.z} elseif getPlayerLookDir(cid) == 1 then position = {x=position.x+1, y=position.y, z=position.z} elseif getPlayerLookDir(cid) == 2 then position = {x=position.x, y=position.y+1, z=position.z} elseif getPlayerLookDir(cid) == 3 then position = {x=position.x-1, y=position.y, z=position.z} end for i = 0, 255 do local o = 0 position.stackpos = i local tile = getTileThingByPos(position) if isPlayer(tile.uid) and getPlayerLevel(tile.uid) < protectionLevel then local o = 1 setPlayerStorageValue(cid, 56421, getPlayerStorageValue(cid,56421)+1) if getPlayerStorageValue(cid, 56421) >= 2*seg then setPlayerStorageValue(cid, 56421, 0) doTeleportThing(cid, getPlayerPosition(tile.uid)) end break elseif i == 255 and o == 0 then setPlayerStorageValue(cid, 56421, 0) end end return true end só editar local seg = 2 -- quantos segundos para atravesar o player.
  7. pedido atendido reportando para move
  8. vai em Data/Creature/scripts/firstitems.lua apaga tudo e coloca isso dentro exemplo só editar os ids firstItems[1] = { 2173, 2525, 2190, 2124, 2460, 2478, 2643 } firstItems[2] = { 2173, 2525, 2182, 2124, 2460, 2478, 2643 } firstItems[3] = { 2173, 2525, 2389, 2124, 2460, 2478, 2643 } firstItems[4] = { 2173, 2525, 2428, 2124, 2460, 2478, 2643 } firstItems[1] = Sorcerer firstItems[2] = Druid firstItems[3] = Paladin firstItems[4] = Knight
  9. qual erro? já procuro tutorial como compilar?
  10. intervalo vai em data\monster\pokes procura pelo pokemon que vc quer editar intervalo exemplo Charizard <?xml version="1.0" encoding="UTF-8"?> <monster name="Charizard" nameDescription="a charizard" race="fire" experience="1604" speed="147" manacost="0"> <health now="170" max="170"/> <look type="418" head="80" body="90" legs="95" feet="113" corpse="11851"/> <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="17"/> </flags> <attacks> <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/> <attack name="Scratch" interval="2570" chance="31" range="1"/> <attack name="Ember" interval="2664" chance="30" range="4"/> <attack name="Fireball" interval="3040" chance="28" range="4"/> <attack name="Fire Fang" interval="2852" chance="29" range="1"/> <attack name="Slash" interval="2946" chance="28" range="1"/> <attack name="Fire Spin" interval="3228" chance="27" range="6"/> <attack name="Flamethrower" interval="3510" chance="25" range="6"/> <attack name="Burning Skin" interval="3369" chance="26" range="6"/> <attack name="Ranging Blast" interval="3980" chance="22" range="6"/> <attack name="Fire Blast" interval="4826" chance="17" range="6"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="CHARIZARD!"/> </voices> <loot> <item id="12152" chance="4000" count="1" countmax="1"/> <item id="12162" chance="5000" countmax="50"/> <item id="12157" chance="4000" count="1" countmax="1"/> <item id="11447" chance="400" count="1" countmax="1"/> <item id="12159" chance="4000" count="1" countmax="1"/> </loot> <script> <event name="Spawn"/> </script> </monster> só editar interval="2000" assim os pokemon selvagem vai atk mas rapido
  11. agora sim fico mas fácil pra tenta te ajudar vai em items.xml e procura pelo id ou nome e adiciona isso <attribute key="healthGain" value="150"/> <attribute key="healthTicks" value="5000"/> <attribute key="manaGain" value="350"/> <attribute key="manaTicks" value="5000"/>
  12. olha os player que morreu no seu database e ver na onde eles estas nascendo pega x,y,z depois que vc pego os x,y,z e não saber na onde editar normalmente e no config.lua se for em outro lugar que vc não sabe só abrir map editor e criar uma parte no seu mapa no mesmo lugar que vc pego x,y,z
  13. ver se é esse http://www.xtibia.co...-das-vocations/
  14. mas como é essa super soft boots oq ela faz coloca mas detalhes para facilitar pra nos te ajudar se for que corre mas só ir nos items.xml procura pelo id ou nome quando achar algo assim <attribute key="speed" value="40" /> só editar o 40
  15. se não me engano isso no config.lua procura por worldType = "pvp" muda para worldType = "no-pvp"
  16. notle2012

    Efeito Em Spell

    @Slicer ja disse ai que tava faltando um end testa esse local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 40) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) arr = { {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 1, 2, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0},} local area = createCombatArea(arr) setCombatArea(combat, area) local dur = 10 -- spell vai durar 10 segundos local delay = 500 -- delay (em ms) entre cada enviada de effect function executeCombat(cid, combat, var, time) if not isCreature(cid) or time <= os.time() then return end doCombat(cid, combat, var) addEvent(executeCombat, delay, cid, combat, var, time) end function onCastSpell(cid, var) local status = getCreatureStorage(cid, 1115) if status > os.time() then return doPlayerSendCancel(cid, "A spell já esta ativado.") end doCreatureSetStorage(cid, 1115, os.time() + 15) executeCombat(cid, combat, var, os.time() + dur) return true end
  17. área errada, vc tinha que posta sua duvida aqui http://www.xtibia.co...ores-derivados/ Servidores derivados Reportado para mover para a área correta.
  18. bom acho muito difícil pessoal passa todos balanceamentos pq vc não tenta ir balanceamento a os pouco só ir editando essa parte vai em data\lib\configuration.lua procura pelo nome do pokemon que vc quer balancear vai ter algo assim ["Charizard"] = {offense = 8.5, defense = 7.8, specialattack = 11, vitality = 7.8, agility = 167, exp = 209, level = 85, type = "fire", type2 = "flying"}, só ir editando os numeros
  19. se vc ta dizendo que é maquina de boost usa uma de cada vez vai em data\actions\scripts\boost.lua apaga tudo e coloca isso dentro
  20. qual base do poketibia vc usa? se for pda vc tem que ver se ta certo os corpse em data\lib\configuration.lua
  21. ^^ tem mesmo eu que fiz da uma olhada http://www.xtibia.com/forum/topic/193478-fazer-um-item-normal-virar-um-item-multiplos/page__p__1332507#entry1332507
  22. esse erro acontece quando firewall do windows esta ativo recomendo desativá lo ou desbloquear port dele tbm e ver se vc coloco ip do no-ip no seu config.lua
  23. se for pokemon selvagem vai em data\monster\pokes abre xml do pokemon que vc quer edita e edita o hp a velocidade de cada attack nos interval="2664" exemplo <?xml version="1.0" encoding="UTF-8"?> <monster name="Charizard" nameDescription="a charizard" race="fire" experience="1604" speed="147" manacost="0"> <health now="170" max="170"/> <look type="418" head="80" body="90" legs="95" feet="113" corpse="11851"/> <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="17"/> </flags> <attacks> <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/> <attack name="Dragon Claw" interval="2570" chance="31" range="1"/> <attack name="Ember" interval="2664" chance="30" range="4"/> <attack name="Flamethrower" interval="3580" chance="28" range="4"/> <attack name="Fireball" interval="3040" chance="28" range="4"/> <attack name="Fire Fang" interval="2852" chance="29" range="1"/> <attack name="Raging Blast" interval="3846" chance="28" range="4"/> <attack name="Fire Blast" interval="4128" chance="27" range="5"/> <attack name="Wing Attack" interval="4128" chance="27" range="5"/> <attack name="Magma Storm" interval="5128" chance="18" range="5"/> <attack name="Rage" interval="3510" chance="25" range="1"/> </attacks> <defenses armor="0" defense="0"/> <voices interval="5000" chance="10"> <voice sentence="CHARIZARD!"/> </voices> <loot> <item id="12152" chance="4000" count="1" countmax="1"/> <item id="12162" chance="5000" countmax="50"/> <item id="12157" chance="4000" count="1" countmax="1"/> <item id="11447" chance="100" count="1" countmax="1"/> <item id="12159" chance="4000" count="1" countmax="1"/> </loot> <script> <event name="Spawn"/> </script> </monster> se for pokemon dos players vai em data\lib\configuration.lua procura pelo nome do pokemon quando achar algo assim ["Charizard"] = {offense = 8.5, defense = 7.8, specialattack = 11, vitality = 7.8, agility = 167, exp = 209, level = 85, type = "fire", type2 = "flying"}, só editar os números isso só funciona com pokemon pda mas parte do xml pega qual quer base
  24. sim 0.3.6 serve pega 0.3.6pl1 e mas atual dos 0.3.6
  • Quem Está Navegando   0 membros estão online

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