Ir para conteúdo
Propaganda

destiny

Membro
  • Total de Posts

    8
  • Registro em

  • Última visita

Tudo que destiny postou

  1. Unlock = yes - é liberado igual as outfits inicial e todos podem usar Unlock = no - não é liberado igual as outfits inicial e todos podem usar, porem quando eu compro elas não aparecem para o personagem poder usar, é isso que eu me refiro
  2. para quem usar e tiver com esse problema, vai na pasta data/movements/scripts/swimming.lua substitua por essa versão: local condition = Condition(CONDITION_OUTFIT) condition:setTicks(-1) local WATER_ENTRY_EFFECT = 1468 local WATER_SPLASH_EFFECT = { [DIRECTION_NORTH] = {x = 0, y = 1, effect = 31}, [DIRECTION_EAST] = {x = -1, y = 0, effect = 50}, [DIRECTION_SOUTH] = {x = 0, y = -1, effect = 31}, [DIRECTION_WEST] = {x = 1, y = 0, effect = 52} } function onStepIn(creature, item, position, fromPosition) if not creature:isPlayer() then creature:teleportTo(fromPosition, false) return false end if creature:getStorageValue(storageBike) > 0 then creature:sendCancelMessage("Sorry, not possible while on bicycle.") creature:teleportTo(fromPosition, false) return false end local outfit = 267 if hasSummons(creature) then local summon = creature:getSummon() local summonName = summon:getName() local summonSpeed = summon:getTotalSpeed() local monsterType = MonsterType(summonName) local surfOutfit = monsterType:isSurfable() if surfOutfit > 0 then if surfOutfit > 1 then outfit = surfOutfit end creature:changeSpeed(summonSpeed) creature:setStorageValue(storageSurf, outfit) condition:setOutfit({lookType = outfit}) creature:addCondition(condition) doRemoveSummon(creature:getId(), false, nil, false) creature:say(summonName .. ", let's surf!", TALKTYPE_ORANGE_1) else creature:sendCancelMessage("Sorry, not possible. Your summon cannot surf.") creature:teleportTo(fromPosition, false) return false end else if creature:getStorageValue(storageSurf) == -1 then creature:sendCancelMessage("Sorry, not possible. You need a summon to surf.") creature:teleportTo(fromPosition, false) return false else local surfOutfit = creature:getStorageValue(storageSurf) condition:setOutfit({lookType = surfOutfit}) creature:addCondition(condition) end end return true end function onStepOut(creature, item, position, fromPosition) if not creature:isPlayer() then return false end local tile = Tile(creature:getPosition()) if not tile or not tile:getGround() then return false end local tileId = tile:getGround():getId() if (not isInArray(waterIds, tileId) and position == fromPosition) or (creature:getStorageValue(storageDive) > 0) then creature:changeSpeed(creature:getBaseSpeed() - creature:getSpeed()) creature:setStorageValue(storageSurf, -1) creature:setStorageValue(storageSurfEffect, -1) doReleaseSummon(creature:getId(), creature:getPosition(), false, false) creature:say("Thanks!", TALKTYPE_ORANGE_1) end if not (creature:getStorageValue(storageRide) > 0 or creature:getStorageValue(storageFly) > 0 or creature:getStorageValue(storageBike) > 0 or creature:getStorageValue(storageDive) > 0) then creature:removeCondition(CONDITION_OUTFIT) end return true end
  3. Boa tarde, me deparei com essa situação, quando eu compro uma outfit e ela esta no modo unlock = no <outfit type="0" looktype="2045" name="Punk Outfit" premium="no" unlocked="no" enabled="yes" /> <outfit type="1" looktype="2044" name="Punk Outfit" premium="no" unlocked="no" enabled="yes" /> ela não vai para o personagem quando compra, mas quando esta com o unlock = yes <outfit type="0" looktype="2045" name="Punk Outfit" premium="no" unlocked="yes" enabled="yes" /> <outfit type="1" looktype="2044" name="Punk Outfit" premium="no" unlocked="yes" enabled="yes" /> e o jogador compra, ela vai para ele poder usar, mas vai para todos tbm em global, ate para quem não comprou... como corrigir isso ?
  4. é o que você disponibilizou, o pokehash, algo assim edit: corrigi, era outro arquivo, mas tinha alguma coisa haver com surf
  5. Boa noite, alguem poderia me ajudar com um "bug", não sei como corrigir, os pokemons estão andando sobre a agua como se fosse um chão normal, o meu jogador não consegue andar na agua, fica bloqueado, porem os pokemons selvagens e o meu summon eles andam na agua normalmente, alguem poderia dar um help ?
  6. Era isso mesmo, muito obrigado, me salvou
  7. Boa noite, peguei para testar o POKEHASH, ele veio com um executavel do servidor de 2.709kb, quando eu compilei um novo com a source que veio la, criou um de 2,494kb,estou usando a scheme.sql que veio nele e importei, eu crio o personagem, entro no jogo tudo correto, porem quando deslogo da esse erro aqui Destiny has logged out. [Error - mysql_real_query] Query: UPDATE `players` SET `level` = 25,`group_id` = 1,`vocation` = 0,`health` = 960,`healthmax` = 960,`experience` = 204800,`lookbody` = 68,`lookfeet` = 76,`lookhead` = 78,`looklegs` = 58,`looktype` = 128,`lookaddons` = 0,`maglevel` = 0,`mana` = 75,`manamax` = Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '☺,`lastlogin` = 1766888267,`lastip` = 16777343,`conditions` = '',`skulltime` ...' at line 1 [Error - mysql_real_query] Query: UPDATE `players` SET `level` = 25,`group_id` = 1,`vocation` = 0,`health` = 960,`healthmax` = 960,`experience` = 204800,`lookbody` = 68,`lookfeet` = 76,`lookhead` = 78,`looklegs` = 58,`looktype` = 128,`lookaddons` = 0,`maglevel` = 0,`mana` = 75,`manamax` = Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '☺,`lastlogin` = 1766888267,`lastip` = 16777343,`conditions` = '',`skulltime` ...' at line 1 [Error - mysql_real_query] Query: UPDATE `players` SET `level` = 25,`group_id` = 1,`vocation` = 0,`health` = 960,`healthmax` = 960,`experience` = 204800,`lookbody` = 68,`lookfeet` = 76,`lookhead` = 78,`looklegs` = 58,`looktype` = 128,`lookaddons` = 0,`maglevel` = 0,`mana` = 75,`manamax` = Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '☺,`lastlogin` = 1766888267,`lastip` = 16777343,`conditions` = '',`skulltime` ...' at line 1 Error while saving player: Destiny com o executavel que veio la de 2.709kb não tem esse erro, mas quando eu compilo um novo com a base la, da esse erro... alguem para dar um help ?
  8. Bom dia, alguem com experiencia em devs poderia me dizer o valor que é para adicionar o level system para os pokemons em uma base ?
×
  • Criar Novo...