Ir para conteúdo

Featured Replies

  • Respostas 150
  • Visualizações 47.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Download sem website   http://adf.ly/trbnq     Senha 789/789     Baixa o serve sem website que é mais facil pra vc   Download sem website   http://adf.ly/trbnq     Abra config.lua pro

  • É CARA QUANDO VC DIZ QUE VAI COLOCAR PRA DOWNLOAD VC COLOCA MSM EM REPUTADO PARABENS BOM TRABALHO   POSTE SCAN AKI DETECTO MALWARE

  • O serve é otclient vc tem que coloca ip na pasta modules/client_entergame Abre o arquivo entergame.lua e muda o IP coloca IPv4 da sua maquina. Pra os Plays vc coloca o No-IP pra entra no serve. No

Posted Images

Postado

OU Nicrox se falo que se tivesse bug vc ia arruma ajuda ai velho.

 

 

Fly ride surf estao bugados nao da para diminuir a velocidade eles estao andando igual GOD quando usa o fly surf ou ride.

 

 

Teleport nao funciona.

 

só falta isso pra mim abrir meu ot =( ajudaaaa

Postado

Nicrox preciso da sua ajuda fera da um suporte ae pra esses bugs...

 

Theforgotenserver

 

 

Primeira coisa o surf ride e fly estao muito rapidos mesmo eu mudando as velocidades.

 

CONFIGURATION.LUA ( Podem ver que as velocidades dos pokemons que eu testei estao corretas... fearow, ponyta e poliwag.)

 

 

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},
}

 

 

 

 

 

FLY ( tudo funciona somente a velocidade que esta bugada muito rapida e nao adianta diminuir que ela continua absurda igual GOD)

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

 

 

 

 

 

 

O do Ride eu nao achei. :|

 

 

TELEPORT NAO FUNCIONA! ( se nao me engano comando era !teleport "celadon mais em lugar nenhum ai vejo a funçao )

 

function onStepOut(cid, item, position, fromPosition)
if #getCreatureSummons(cid) >= 1 then
doTeleportThing(getCreatureSummons(cid)[1], getThingPos(cid))
doSendMagicEffect(getThingPos(cid), 21)
end
end
 
function onStepIn(cid, item, fromPosition, item2, topos)
for x=-1,1 do
for y=-1,1 do
posa = {x=topos.x+x,y=topos.y+y,z=topos.z}
if getTileThingByPos(posa).itemid == 460 then
doRemoveItem(getTileThingByPos(posa).uid, 1)
end
end
end

 

end

 

 

 

 

 

E A ULTIMA COISA colocar essa talkaction somente para vip(premium) porque assim quem nao for vip vai poder montar no pokemon voador do mesmo jeito só que nao podera voar somente usar como montaria *ride*, o surf ja esta como premium.

function onSay(cid, words, param)
 
if param ~= "" then
return false
end
 
if getPlayerStorageValue(cid, 17000) <= 0 then
return true
end
 
if getThingPos(cid).z == 0 then
doPlayerSendCancel(cid, "You can\'t go higher!")
return true
end
 
local pos = getThingPos(cid)
pos.z = pos.z-1
pos.stackpos = 0
 
 
if getTileThingByPos(pos).itemid >= 1 or getTileItemById(getThingPos(cid), 1386).itemid >= 1 then
doPlayerSendCancel(cid, "You can\'t fly through constructions.")
return true
end
 
doCombatAreaHealth(cid, 0, pos, 0, 0, 0, CONST_ME_NONE)
doCreateItem(11676, 1, pos)
doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))                           --edited porygon fly sistem 
end
 
 
 
 
return true

 

end

 

 

 

 

 

Preciso de ajuda vlw galera.

Postado

Nicrox preciso da sua ajuda fera da um suporte ae pra esses bugs...

 

Theforgotenserver

 

 

Primeira coisa o surf ride e fly estao muito rapidos mesmo eu mudando as velocidades.

 

CONFIGURATION.LUA ( Podem ver que as velocidades dos pokemons que eu testei estao corretas... fearow, ponyta e poliwag.)

 

 

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},
}

 

 

 

 

 

FLY ( tudo funciona somente a velocidade que esta bugada muito rapida e nao adianta diminuir que ela continua absurda igual GOD)

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

 

 

 

 

 

 

O do Ride eu nao achei. :|

 

 

TELEPORT NAO FUNCIONA! ( se nao me engano comando era !teleport "celadon mais em lugar nenhum ai vejo a funçao )

 

function onStepOut(cid, item, position, fromPosition)
if #getCreatureSummons(cid) >= 1 then
doTeleportThing(getCreatureSummons(cid)[1], getThingPos(cid))
doSendMagicEffect(getThingPos(cid), 21)
end
end
 
function onStepIn(cid, item, fromPosition, item2, topos)
for x=-1,1 do
for y=-1,1 do
posa = {x=topos.x+x,y=topos.y+y,z=topos.z}
if getTileThingByPos(posa).itemid == 460 then
doRemoveItem(getTileThingByPos(posa).uid, 1)
end
end
end

 

end

 

 

 

 

 

E A ULTIMA COISA colocar essa talkaction somente para vip(premium) porque assim quem nao for vip vai poder montar no pokemon voador do mesmo jeito só que nao podera voar somente usar como montaria *ride*, o surf ja esta como premium.

function onSay(cid, words, param)
 
if param ~= "" then
return false
end
 
if getPlayerStorageValue(cid, 17000) <= 0 then
return true
end
 
if getThingPos(cid).z == 0 then
doPlayerSendCancel(cid, "You can\'t go higher!")
return true
end
 
local pos = getThingPos(cid)
pos.z = pos.z-1
pos.stackpos = 0
 
 
if getTileThingByPos(pos).itemid >= 1 or getTileItemById(getThingPos(cid), 1386).itemid >= 1 then
doPlayerSendCancel(cid, "You can\'t fly through constructions.")
return true
end
 
doCombatAreaHealth(cid, 0, pos, 0, 0, 0, CONST_ME_NONE)
doCreateItem(11676, 1, pos)
doTeleportThing(cid, pos)
if getCreatureOutfit(cid).lookType == 667 or getCreatureOutfit(cid).lookType == 999 then
   markPosEff(cid, getThingPos(cid))                           --edited porygon fly sistem 
end
 
 
 
 
return true

 

end

 

 

 

 

 

Preciso de ajuda vlw galera.

Mano Dos Negocios que estao rapidos só vc diminuir a velocidade do player

Postado

Mano Dos Negocios que estao rapidos só vc diminuir a velocidade do player

 

Nao é nao velho eu ja diminui... os players estao andando a 250 só

porem quando pego a ponyta ela ta igual uma bala ta mais rapido que o god andando...

 

e pode ver nos spoiler que eu diminui a velocidade.

Editado 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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo