Postado Novembro 17, 2014 10 anos fala galera peço a ajuda de voces pois nao estou conseguindo resolver essa zica.. primeiro quando uso o fly surf ou ride esta muito rapido.. mesmo estando corretos os valores no condiguration.lua por exemplo. Surf ["Poliwag"] = {lookType=278, speed = 310}, Ride ["Ponyta"] = {131, 310}, -- ponyta Fly ["Fearow"] = {226, 310}, -- fearow Ou seja ai esta correto a velocidade esta otima desse jeito porem no jogo nao é isso que acontece o fly surf e ride esta andando igual GM de tao rapido que ta. nao ta 310 ta coisa de 3000+ de tao rapido.. se alguem souber me ajudar agradeço muito. vlw galera. to aprendendo mto mexendo nesse ot kkk logo logo vo abrilo para o publico.
Postado Novembro 17, 2014 10 anos tente colocar em vez de 310 colocar 31. Se não der, Poste a script Para que seja Dada uma vistoria nela Editado Novembro 17, 2014 10 anos por alanmtd1 (veja o histórico de edições) Conteúdos Tragos Por Mim ao Fórum: • Venda de Vocações [Modern Aac] • • Comando !Saga • • [Modern Aac] DragonBall • • Esconder • • Naruto 2018 • • • • • • • 'NtoProject - Breve' [Show OFF] Disponível
Postado Novembro 18, 2014 10 anos Autor ja tente isso tbm :| vou pegar o script aqui pera ae. e sobre deixar somente para vip como faz isso? Editado Novembro 18, 2014 10 anos por ztalkerr (veja o histórico de edições)
Postado Novembro 18, 2014 10 anos Talvez seja a função usada. De qualquer forma, poste o script de ambos. 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=7680Este tópico foi movido: De: "OTServ → Scripting → Geral" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
Postado Novembro 19, 2014 10 anos Autor O CONFIGURATION.LUA NAO SEI COMO COLOCAR SPOILER PARA FICAR MENOR =( flys = { -----sempre se tira 351 da look type do fly do pokemon ["Moltres"] = {229, 2300}, -- moltres ["Articuno"] = {230, 2100}, -- artic ["Zapdos"] = {224, 2600}, -- zapdos ["Mew"] = {232, 2200}, -- 1000 ["Shiny Mew"] = {232, 2200}, -- 1000 ["Mewtwo"] = {233, 2200},-- two ["Shiny Mewtwo"] = {1394, 7000},-- two ["Donate Mewtwo"] = {1394, 7000}, -- two ["Dragonite"] = {221, 1300},-- nite ["Pidgeot"] = {222, 900}, -- geot ["Latios"] = {1188, 900}, -- geot ["Fearow"] = {226, 310}, -- fearow ["Aerodactyl"] = {227, 4000}, -- aero ["Charizard"] = {216, 4000}, -- chari ["Mega Charizard"] = {216, 4000}, -- chari ["Porygon"] = {316, 600}, -- porygon ["Shiny Dragonite"] = {1020, 4000},-- Shiny nite ["Shiny Pidgeot"] = {996, 4000}, -- Shiny geot ["Shiny Fearow"] = {997, 4000}, -- Shiny fearow --alterado v1.5 ["Shiny Charizard"] = {1343, 4000}, -- Shiny chari ["Porygon2"] = {648, 4000}, -- 2 ["Skarmory"] = {1351, 4000}, -- skarmory ["Crobat"] = {652, 4000}, -- crobat ["Shiny Aerodactyl"] = {1017, 4000}, -- Shiny aero ["Black Articuno"] = {1453, 4100}, -- black art ["Shiny Articuno"] = {1454, 4100}, -- shiny arti ["Giratina"] = {1455, 2300}, -- giratinas ["Shiny Zekrom"] = {1456, 4100}, -- zekr ["Shiny Tropius"] = {1486, 4100}, -- trop ["Tropius"] = {1487, 4100}, -- trop ["Salamence"] = {1481, 4100}, -- mencee ["Shiny Salamence"] = {1485, 4100}, -- mencee ["Dragonair"] = {1112, 1150}, ["Shiny Dragonair"] = {1113, 1400}, ["Noctowl"] = {994, 1000}, ["Farfetch'd"] = {1120, 1000}, --alterado v1.8 \/ ["Shiny Farfetch'd"] = {1121, 1000}, ["Gengar"] = {1123, 1000}, ["Mega Gengar"] = {1123, 1000}, ["Shiny Gengar"] = {1124, 1000}, ["Shiny Mega Gengar"] = {1124, 1000}, ["Heracross"] = {1125, 1000}, ["Xatu"] = {1122, 1000}, } rides = { ["Girafarig"] = {1362, 800}, -- girafarig ["Tauros"] = {128, 580}, -- tauros ["Tauros"] = {128, 580}, -- tauros ["Ninetales"] = {129, 800}, -- kyuubi ["Rapidash"] = {130, 800}, -- rapid ["Ponyta"] = {131, 310}, -- ponyta ["Rhyhorn"] = {132, 400}, -- rhyhorn ["Arcanine"] = {1337, 900}, -- arcan ["Mega Arcanine"] = {1337, 2500}, -- mega arcan ["Onix"] = {126, 450}, -- onix ["Mega Onix"] = {126, 450}, -- onix ["Venusaur"] = {1340, 390}, -- venu ["Dodrio"] = {133, 750}, -- dodrio ["Doduo"] = {135, 420}, -- doduo ["Shiny Tauros"] = {1024, 580}, -- tauros ["Shiny Arcanine"] = {1365, 900}, -- arcan ["Shiny Onix"] = {126, 450}, -- onix --alterado v1.5 ["Shiny Venusaur"] = {1354, 390}, -- venu ["Shiny Onix"] = {293, 480}, -- cristal onix ["Steelix"] = {646, 750}, -- steelix ["Meganium"] = {685, 720}, -- meganium ["Bayleef"] = {686, 555}, -- bayleef ["Stantler"] = {687, 595}, -- stantler ["Houndoom"] = {647, 820}, -- houndoom ["Piloswine"] = {689, 450}, -- piloswine ["Mareep"] = {688, 400}, -- marip ["Entei"] = {1185, 1190}, -- Entei ["Suicune"] = {1186, 1190}, -- Suicune ["Raikou"] = {1187, 1190}, -- Raikou ["Shiny Ninetales"] = {1136, 1000}, -- Shiny Ninetales --alterado v1.9 \/ ["Shiny Dodrio"] = {1145, 750}, -- shiny dodrio } surfs = { ["Poliwag"] = {lookType=278, speed = 310}, ["Poliwhirl"] = {lookType=137, speed = 480}, ["Seaking"] = {lookType=269, speed = 520}, ["Dewgong"] = {lookType=183, speed = 700}, ["Blastoise"] = {lookType=1376, speed = 850}, ["Mega Blastoise"] = {lookType=1376, speed = 1200}, ["Shiny Mega Blastoise"] = {lookType=1376, speed = 1200}, ["Tentacruel"] = {lookType=185, speed = 750}, ["Lapras"] = {lookType=186, speed = 960}, ["Gyarados"] = {lookType=187, speed = 1050}, ["Omastar"] = {lookType=188, speed = 680}, ["Kabutops"] = {lookType=189, speed = 840}, ["Poliwrath"] = {lookType=190, speed = 680}, ["Vaporeon"] = {lookType=191, speed = 800}, ["Staryu"] = {lookType=266, speed = 385}, ["Starmie"] = {lookType=267, speed = 685}, ["Goldeen"] = {lookType=268, speed = 355}, ["Seadra"] = {lookType=270, speed = 655}, ["Golduck"] = {lookType=271, speed = 760}, ["Squirtle"] = {lookType=273, speed = 365}, ["Wartortle"] = {lookType=275, speed = 605}, ["Tentacool"] = {lookType=277, speed = 340}, ["Snorlax"] = {lookType=300, speed = 500}, ----------------Shiny---------------------- ["Shiny Blastoise"] = {lookType=1361, speed = 935}, ["Shiny Tentacruel"] = {lookType=1014, speed = 825}, ["Shiny Gyarados"] = {lookType=1030, speed = 1155}, ["Shiny Vaporeon"] = {lookType=1032, speed = 880}, --alterado v1.6 ["Shiny Seadra"] = {lookType=1025, speed = 720.5}, ["Shiny Tentacool"] = {lookType=1013, speed = 374}, ["Shiny Snorlax"] = {lookType=1035, speed = 550}, ----------------Johto---------------------- ["Mantine"] = {lookType=636, speed = 820}, ["Totodile"] = {lookType=637, speed = 360}, ["Croconow"] = {lookType=638, speed = 590}, ["Feraligatr"] = {lookType=645, speed = 900}, ["Marill"] = {lookType=639, speed = 340}, ["Azumarill"] = {lookType=642, speed = 680}, ["Quagsire"] = {lookType=643, speed = 740}, ["Kingdra"] = {lookType=644, speed = 1020}, ["Octillery"] = {lookType=641, speed = 600}, ["Wooper"] = {lookType=640, speed = 315}, } ESSE É O FLY...!! local del = {'460', '1022', '1023', '1024'} function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) position.stackpos = 0 if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TV if getPlayerStorageValue(cid, 17000) <= 0 then doTeleportThing(cid, fromPosition, false) doRemoveItem(getTileThingByPos(position).uid, 1) doPlayerSendCancel(cid, "You can't fly.") return true end doAreaCombatHealth(cid, FLYSYSTEMDAMAGE, getThingPos(cid), splash, 0, 0, 255) local pos = getThingPos(cid) if pos.z == 7 then return true end pos.z = pos.z + 1 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, 3) or hasProperty(tile.uid, 7) or tile.itemid == 919 then doTransformItem(item.uid, 11677) end end end return true end function onStepOut(cid, item, position, lastPosition, fromPosition, toPosition, actor) if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TV local effect = 2 if toPosition.z == fromPosition.z and getCreatureOutfit(cid).lookType ~= 316 and getCreatureOutfit(cid).lookType ~= 648 then doSendMagicEffect(fromPosition, effect) end local oldtpos = fromPosition oldtpos.stackpos = STACKPOS_GROUND if getTileThingByPos(oldtpos).itemid >= 1 then doRemoveItem(getTileThingByPos(oldtpos).uid, 1) end return true end SURF local function doSendMagicEffecte(pos, effect) addEvent(doSendMagicEffect, 50, pos, effect) end local waters = {11756, 4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825} local flie = {'4820', '4821', '4822', '4823', '4824', '4825'} --alterado v1.6 tabelas agora em configuration.lua! local premium = false function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) or isInArray({5, 6}, getPlayerGroupId(cid)) then --alterado v1.9 return true end if getPlayerStorageValue(cid, 75846) >= 1 then return true end --alterado v1.9 if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TV if isPlayer(cid) and not isPremium(cid) and premium == true then doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "Only premium members are allowed to surf.") return true end if getCreatureOutfit(cid).lookType == 316 or getCreatureOutfit(cid).lookType == 648 then doSendMagicEffect(fromPosition, 136) end if (getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1) then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendCancel(cid, "You need a pokemon to surf.") doTeleportThing(cid, fromPosition, false) return true end --alterado v1.6 if (not isInArray(specialabilities["surf"], getPokemonName(getCreatureSummons(cid)[1]))) then doPlayerSendCancel(cid, "This pokemon cannot surf.") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 5700) == 1 then doPlayerSendCancel(cid, "You can't do that while is mount in a bike!") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 212124) >= 1 then --alterado v1.6 doPlayerSendCancel(cid, "You can't do it with a pokemon with mind controlled!") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 52480) >= 1 then doPlayerSendCancel(cid, "You can't do it while a duel!") --alterado v1.6 doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then doPlayerSendCancel(cid, "You can't do it while in the PVP Zone!") --alterado v1.7 doTeleportThing(cid, fromPosition, false) return true end --alterado v1.6 doSetCreatureOutfit(cid, {lookType = surfs[getPokemonName(getCreatureSummons(cid)[1])].lookType + 351}, -1) doCreatureSay(cid, ""..getPokeName(getCreatureSummons(cid)[1])..", lets surf!", 1) doChangeSpeed(cid, -(getCreatureSpeed(cid))) local speed = 75 + PlayerSpeed + getSpeed(getCreatureSummons(cid)[1]) * 8 * speedRate setPlayerStorageValue(cid, 54844, speed) doChangeSpeed(cid, speed) local pct = getCreatureHealth(getCreatureSummons(cid)[1]) / getCreatureMaxHealth(getCreatureSummons(cid)[1]) doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "hp", pct) doRemoveCreature(getCreatureSummons(cid)[1]) addEvent(setPlayerStorageValue, 100, cid, 63215, 1) local item = getPlayerSlotItem(cid, 8) if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) <= 0 then addEvent(sendAuraEffect, 120, cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8 end if useOTClient then doPlayerSendCancel(cid, '12//,hide') --alterado v1.8 end return true end local direffects = {30, 49, 9, 51} function onStepOut(cid, item, position, fromPosition) if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end local checkpos = fromPosition checkpos.stackpos = 0 if isInArray(waters, getTileInfo(checkpos).itemid) then if getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1 then doSendMagicEffecte(fromPosition, direffects[getCreatureLookDir(cid) + 1]) end end if not isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then if getPlayerStorageValue(cid, 17000) >= 1 then return true end if getPlayerStorageValue(cid, 63215) <= 0 then return true end doRemoveCondition(cid, CONDITION_OUTFIT) setPlayerStorageValue(cid, 63215, -1) local item = getPlayerSlotItem(cid, 8) local pokemon = getItemAttribute(item.uid, "poke") local x = pokes[pokemon] if not x then return true end if getItemAttribute(item.uid, "nick") then doCreatureSay(cid, getItemAttribute(item.uid, "nick")..", I'm tired of surfing!", 1) else doCreatureSay(cid, getItemAttribute(item.uid, "poke")..", I'm tired of surfing!", 1) end doSummonMonster(cid, pokemon) local pk = getCreatureSummons(cid)[1] if not isCreature(pk) then pk = doCreateMonster(pokemon, backupPos) if not isCreature(pk) then doPlayerSendCancel(cid, "You can't stop surfing here.") doTeleportThing(cid, fromPosition, false) return true end doConvinceCreature(cid, pk) end doChangeSpeed(pk, getCreatureSpeed(cid)) doChangeSpeed(cid, -getCreatureSpeed(cid)) doRegainSpeed(cid) --alterado v1.6 doTeleportThing(pk, fromPosition, false) doTeleportThing(pk, getThingPos(cid), true) doCreatureSetLookDir(pk, getCreatureLookDir(cid)) adjustStatus(pk, item.uid, true, false, true) if useOTClient then doPlayerSendCancel(cid, '12//,show') --alterado v1.8 end end return true end e o ride eu nao achei mais como todos estao iguais arrumando um arrumo todos. Sempre que o moderador move o topico ngm responde ALGUEM PODE ME AJUDAR? Editado Novembro 18, 2014 10 anos por ztalkerr (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.