Postado Junho 14, 2016 10 anos Então galera procurei no Tibiaking essa scripter achei, mais todas contém bugs e a melhor que achei foi essa! mais falta alguns ajustes pra essa scripter ficar ótima Quando uso alguma habilidade como fly / ride / surf ou bike sua velocidade volta pra oque era a muito tempo atras queria que ela ficasse com o mesmo speed que ganho ao upa mesmo usando as habilidades ou a bike ou logar! e se possível adicionar speed em alguns leveis como existe em outros scripter ex: [1] - 300 [100] - 600 [150]- 900 ... function onAdvance(cid, skill, oldLevel, newLevel) local speed = 275 local spood = getCreatureSpeed(cid) local level = getPlayerLevel(cid) local level1 = level * 10 if isPlayer(cid) then doChangeSpeed(cid, -spood) doChangeSpeed(cid, speed + (level * 3)) end return true end Link do Topico dessa scripter - Ficaria muito grato pra quem ajuda, deixa +rep claro Editado Junho 14, 2016 10 anos por Killua Fran Falta de Conteudo (veja o histórico de edições)
Postado Junho 14, 2016 10 anos Amigo se eu não me engano, porque eu nao entendo muito de servidor de Pokemon, mas tem que mudar na script da ( fly / ride / surf / bike ) isso que você quer. pode me mandar 1 arquivo da bike pra eu poder ver? de repente eu ajudo sláa. 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 Junho 14, 2016 10 anos Autor Scripter do Adriano SwaTT e.e local strgs = {17000,63215} -- Coloque a Storage de Controle dos Sistemas Que Deseja Bloquear. local config = { velocidadeDaSuaBike = 1000, -- A volocidade da bike (1-9) outfitMale = 2035, -- Outfit male outfitFemale = 2036, -- Outfit female storageValue = 5602, -- Storage Para a bike } function onUse(cid, item, itemEx, fromPosition, toPosition) ctrl = 0 for x = 1, #strgs do if getPlayerStorageValue(cid, strgs[x]) > 0 then ctrl = ctrl + 1 end end if ctrl < 1 then if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_RING).uid then doPlayerSendCancel(cid, "Voce deve colocar sua bike no local correto.") return TRUE end if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end if getPlayerStorageValue(cid, config.storageValue) <= 0 then local a = {lookType = config.outfitMale, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet} local b = {lookType = config.outfitFemale, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet} setPlayerStorageValue(cid, 3624, ""..getPlayerStamina(cid).."") doSendMagicEffect(getThingPos(cid), 0) doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, config.velocidadeDaSuaBike) setPlayerStorageValue(cid, config.storageValue, 1) if getPlayerSex(cid) == 0 then doSetCreatureOutfit(cid, b, -1) else doSetCreatureOutfit(cid, a, -1) end else setPlayerStorageValue(cid, config.storageValue, 0) doSendMagicEffect(getThingPos(cid), 0) doRemoveCondition(cid, CONDITION_OUTFIT) doRegainSpeed(cid) end else doPlayerSendCancel(cid, "Você não pode estar com nenhum outro sistema ativo para usar a bike.") end return true end
Postado Junho 14, 2016 10 anos Ok, vou fazer uns testes aqui se eu conseguir te mando, aguarde... amigo teste aqui funcionou porém Não sei como vai ficar ai script: local strgs = {17000,63215} -- Coloque a Storage de Controle dos Sistemas Que Deseja Bloquear. local config = { velocidadeDaSuaBike = 2000, -- A volocidade da bike (1-9) outfitMale = 2035, -- Outfit male (2035) outfitFemale = 2036, -- Outfit female (2036) storageValue = 5602, -- Storage Para a bike } function onUse(cid, item, itemEx, fromPosition, toPosition) ctrl = 0 for x = 1, #strgs do if getPlayerStorageValue(cid, strgs[x]) > 0 then ctrl = ctrl + 1 end end if ctrl < 1 then if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_RING).uid then -- CONST_SLOT_RING doPlayerSendCancel(cid, "Voce deve colocar sua bike no local correto.") return TRUE end if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end if getPlayerStorageValue(cid, config.storageValue) <= 0 then local a = {lookType = config.outfitMale, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet} local b = {lookType = config.outfitFemale, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet} setPlayerStorageValue(cid, 3624, ""..getPlayerStamina(cid).."") doSendMagicEffect(getThingPos(cid), 0) doChangeSpeed(cid, -getCreatureSpeed(cid)) doChangeSpeed(cid, config.velocidadeDaSuaBike) setPlayerStorageValue(cid, config.storageValue, 1) if getPlayerSex(cid) == 0 then doSetCreatureOutfit(cid, b, -1) else doSetCreatureOutfit(cid, a, -1) end else setPlayerStorageValue(cid, config.storageValue, 0) doSendMagicEffect(getThingPos(cid), 0) doRemoveCondition(cid, CONDITION_OUTFIT) doChangeSpeed(cid, -getCreatureSpeed(cid)) local rturn = -config.velocidadeDaSuaBike doChangeSpeed(cid, rturn) end else doPlayerSendCancel(cid, "Você não pode estar com nenhum outro sistema ativo para usar a bike.") end return true end 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 Junho 14, 2016 10 anos Autor Olá já merece meu +rep por tenta ajuda Bom testei aqui, quando saiu da bike dar um travada no player, só relogando eaew volta pra speed de antigamente @alanmtd1 Mais quando colocar a bike, sua velocidade que tinha antes é adicionada na bike, unico problema quando sair da bike, lagg o player. unico jeito e relogar e tira o speed que o player tinha
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.