Ir para conteúdo

runeraserver

Membro
  • Registro em

  • Última visita

Solutions

  1. runeraserver's post in (Resolvido)[ERRO] Quest Fire Walker Boots was marked as the answer   
    Quem faz isso é a aid 60126
    pra isso vc tem que adicionar mais uma moveevent com esse script:
    function getCreaturesInRange(position, radiusx, radiusy, showMonsters, showPlayers, showSummons) local creaturesList = {} for x = -radiusx, radiusx do for y = -radiusy, radiusy do if not (x == 0 and y == 0) then local creature = getTopCreature({x = position.x+x, y = position.y+y, z = position.z}) if (creature.type == 1 and showPlayers) or (creature.type == 2 and showMonsters and (not showSummons or (showSummons and getCreatureMaster(creature.uid) == (creature.uid)))) then table.insert(creaturesList, creature.uid) end end end end local creature = getTopCreature(position) if (creature.type == 1 and showPlayers) or (creature.type == 2 and showMonsters and (not showSummons or (showSummons and getCreatureMaster(creature.uid) == (creature.uid)))) then if not(table.find(creaturesList, creature.uid)) then table.insert(creaturesList, creature.uid) end end return creaturesList end local once = true local tiles = {{x=32550,y=31373,z=15}, {x=32550,y=31374,z=15}, {x=32550,y=31375,z=15}, {x=32550,y=31376,z=15}, {x=32550,y=31377,z=15}, {x=32550,y=31378,z=15}, {x=32550,y=31379,z=15}, {x=32551,y=31373,z=15}, {x=32551,y=31374,z=15}, {x=32551,y=31375,z=15}, {x=32551,y=31376,z=15}, {x=32551,y=31377,z=15}, {x=32551,y=31378,z=15}, {x=32551,y=31379,z=15}} function onStepIn(cid, item, position, fromPosition) if 99 < getPlayerLevel(cid) then if(getPlayerStorageValue(cid, 13101) < 1 and once or not once) then if getPlayerStorageValue (cid, 52187) == 14 then --check storage beregar mission local players = getCreaturesInRange({x=32566, y=31406, z=15}, 6, 7, FALSE, TRUE) if #players == 0 then local creatures = getCreaturesInRange({x=32566, y=31406, z=15}, 6, 7, TRUE, FALSE) for i = 1, #creatures do doRemoveCreature(creatures[i]) end doRemoveItem(item.uid) doSendMagicEffect(position, CONST_ME_TELEPORT) doTeleportThing(cid, {x=32560, y=31404,z=15}) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) doCreatureSay(doSummonCreature("Pythius the Rotten", {x=32572, y=31405, z=15}), "WHO IS SNEAKING AROUND BEHIND MY TREASURE?", TALKTYPE_ORANGE_2) for i = 1, #tiles do if i > 8 and i < 15 then doRelocate(tiles[i], {x=tiles[i].x+1, y=i == 14 and tiles[i].y-1 or tiles[i].y, z=tiles[i].z}) end doCreateItem(i == 14 and 1509 or 598, 1, tiles[i]) end doCreateItem(1304, 1, {x=32551,y=31379,z=15}) doCreateItem(9341, 1, {x=32551,y=31379,z=15}) return TRUE else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "There is someone else in the quest room.") end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are not a beregar member.") end else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have already completed this quest.") end end doTeleportThing(cid, {x=32553, y=31376, z=15}) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) return TRUE end function onAddItem(moveitem, tileitem, pos) doSendMagicEffect(pos, CONST_ME_TELEPORT) doRelocate(pos, {x=32560, y=31404,z=15}) doSendMagicEffect({x=32560, y=31404,z=15}, CONST_ME_TELEPORT) return TRUE end
  2. runeraserver's post in (Resolvido)Player criado no site nasce no lugar errado! was marked as the answer   
    ou em config.php altere para
    $config['site']['newchar_towns'][0] = array(0)
  3. runeraserver's post in (Resolvido)[Duvida] Spell was marked as the answer   
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 36) setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 1, -20, 1, -55, 5, 5, 4.0, 7.0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_EFFECT, 4) function onGetFormulaValues(cid, level, maglevel) local min = -((level/5)+(maglevel*4.0)+20) local max = -((level/5)+(maglevel*7.0)+55) return min, max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") setCombatCallback(combat2, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") local area = createCombatArea(AREA_SQUAREWAVE5, AREADIAGONAL_SQUAREWAVE5) setCombatArea(combat, area) setCombatArea(combat2, area) function onCastSpell(cid, var) doCombat(cid, combat, var) doCombat(cid, combat2, var) return true end
  4. runeraserver's post in (Resolvido)[Bug] Rme 2.2 Tibia 8.60 was marked as the answer   
    use o dat e o spr do site oficial Remeres Map Editor:
    http://remeresmapeditor.com/rmedl.php?file=tibia860.exe
  5. runeraserver's post in (Resolvido)Alguém já se deparou com esse erro? was marked as the answer   
    Desculpe Reviver o tópico, eu estava navegando pelos meus conteúdos e lembrei que esqueci de postar a resolução do problema.
    Sugiro que sempre tenha um backup da sua schema.sql salvo. Também é recomendável que ela esteja crua (sem players, accounts ou outras linhas adicionadas).
    Drope sua tabela e importe-a novamente que o problema estará resolvido.
     
    Obrigado a todos que de alguma forma tentou me ajudar

Informação Importante

Confirmação de Termo