Ir para conteúdo

Crypter

Membro
  • Registro em

  • Última visita

Tudo que Crypter postou

  1. então cara precisa da storage 7545 pra ganhar a outfit, vê se o jogador que tu testo já ñ tem essa storage
  2. <?xml version="1.0"?> <outfits> <outfit id="1" quest="7545"> <list gender="0" lookType="31" name="Test"/> <list gender="1" lookType="31" name="Test"/> </outfit> </outfits> Faz uma script que seta a storage 7545 e testa
  3. Se você colocar o atributo storageId na outfit o servidor vai ligar normalmente, então foi algum erro na modo que tu coloco a nova outfit, pode ser que o teu 0.3.6 já tenha esse sistema
  4. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    Conheço um método e funciona em qualquer otserv
  5. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    A Creaturescripts que faz o jogador fique imune a dano, foi registrada somente no login.lua ( Que é para os players), caso queira que funciona em monstros vai ter que registrar o creatureevent em todos os monstros
  6. local config = { storage = 98200, trap_time = 10, exhaustion_time = 30, effect = 1 } function onCastSpell(cid, var) if exhaustion.check(cid, config.storage) then doPlayerSendCancel(cid, "Aguarde "..exhaustion.get(cid, config.storage).." segundos.") return false end local position = {x = getCreaturePosition(var.number).x + 0, y = getCreaturePosition(var.number).y + 0, z = getCreaturePosition(var.number).z} doCreatureSetNoMove(var.number, true) addEvent(doCreatureSetNoMove,config.trap_time*1000,var.number, false) doSendMagicEffect(position, config.effect) exhaustion.set(cid, config.storage, config.exhaustion_time) return true end
  7. function onMoveItem(moveItem, frompos, position, cid) if getHouseFromPos(frompos) then if not getPlayerGUID(cid) == getHouseOwner(getHouseFromPos(frompos)) then doSendMagicEffect(getCreaturePosition(cid), 3) return doPlayerSendCancel(cid,"Voce nao pode mover itens desta house") and false end end return true end
  8. o código ta funcionando cara copia dnv
  9. local storage = 65321 local seconds = 10 local value = {1,400} local effect = 2 function onCast(cid, target) if exhaustion.check(cid, storage) then return true end local master = getCreatureMaster(cid) if isCreature(master) and getCreatureHealth(master) < getCreatureMaxHealth(master) then local health_value = math.random(value[1],value[2]) doCreatureAddHealth(master, health_value) doCreatureAddHealth(cid, health_value) doSendMagicEffect(getCreaturePosition(cid), effect) and doSendMagicEffect(getCreaturePosition(master), effect) return true and exhaustion.set(cid, storage,seconds) end return true end
  10. Galera estou com um problema no meu servidor, ele está apagando algumas contas/players do banco de dados, eu já olhei se foi alguma tentativa de invasão ou do tipo e não é pois está bem seguro, alguém já teve esse problema ou sabe como é causado?
  11. O jeito mais facil de se fazer isso é nas sources, qual servidor tu usa?
  12. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    function onCastSpell(cid, var) local time = 15 local vocation_start = getPlayerVocation(cid) local config_vocation={ --[id inicial] = {vocation_newId = novo id da vocação,outfit_id= id da newtype,msg_onChance=" 11You changed your vocation("..time..")."}, [1] = {vocation_newId = 2,outfit_id=20,msg_onChance=" 11You changed your vocation("..time..")."}, [2] = {vocation_newId = 3,outfit_id=21,msg_onChance=" 222You changed your vocation("..time..")."}, } local vocation = config_vocation[getPlayerVocation(cid)] if vocation then doSetCreatureOutfit(cid, {lookType = vocation.outfit_id, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, time*1000) doPlayerSetVocation(cid,vocation.vocation_newId) addEvent(doPlayerSetVocation, time*1000, cid, vocation_start) else doPlayerSendCancel(cid, "Sua vocação não tem nenhuma transformação.") end end
  13. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    Você acha mesmo que estou falando do caminho? Estou falando do modo que tu colocou errado eu eu comentei o correto era só copiar e usar o site ,rs rsrsrsrs
  14. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    o Notepad mostra que ta errado e você insiste em tentar acessar o site $config['site']['serverPath'] = 'C:\Users\sd410\Downloads\otglobal\Pack Premium\otpremium/';
  15. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    <?PHP # Account Maker Config $config['site']['serverPath'] = 'C:\Users\sd410\Downloads\ot global 10.97\Pack Premium\otpremium/'; $config['site']['useServerConfigCache'] = false; $towns_list = array(1 => 'Venore', 2 => 'Thais', 3 => 'Kazordoon', 4 => 'Carlin', 5 => 'Ab Dendriel', 6 => 'Rookgaard', 7 => 'Liberty Bay', 8 => 'Port Hope', 9 => 'Ankrahmun', 10 => 'Darashia', 11 => 'Edron', 12 => 'Svargrond', 13 => 'Yalahar', 14 => 'Farmine', 15 => 'Gray Beach', 16 => 'Roshamuul', 30 => 'Rathleton'); Tenta dessa forma
  16. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    LUA config file doesn't exist. Path: C:/Users/sd410/Downloads/ot global 10.97/Pack Premium/otpremium/config.lua Não foi encontrado o arquivo config.lua na pasta especificada
  17. Crypter postou uma resposta no tópico em Suporte Tibia OTServer
    <?PHP # Account Maker Config $config['site']['serverPath'] = 'C:/Users/sd410/Downloads/ot global 10.97/Pack Premium/otpremium/'; $config['site']['useServerConfigCache'] = false; $towns_list = array(1 => 'Venore', 2 => 'Thais', 3 => 'Kazordoon', 4 => 'Carlin', 5 => 'Ab Dendriel', 6 => 'Rookgaard', 7 => 'Liberty Bay', 8 => 'Port Hope', 9 => 'Ankrahmun', 10 => 'Darashia', 11 => 'Edron', 12 => 'Svargrond', 13 => 'Yalahar', 14 => 'Farmine', 15 => 'Gray Beach', 16 => 'Roshamuul', 30 => 'Rathleton');
  18. Você não pode dar Up em seu tópico por comentário, foi adicionado a opção de subir o tópico, tome cuidado, leia as regras.
  19. Posta seu otserv.cpp ( Arquivo da source )
  20. local config = { time = 120 -- em segundos requiredLevel = 1, daily = true, centerRazzagornRoomPosition = Position(33423, 32466, 14), playerPositions = { Position(33388, 32457, 14) }, newPositions = { Position(33417, 32467, 14), Position(33417, 32467, 14), Position(33417, 32467, 14), Position(33417, 32467, 14), Position(33417, 32467, 14) }, RazzagornPositions = { Position(33425, 32466, 14) } } function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid == 9825 then if getGlobalStorageValue(56789) == 1 then return player:sendTextMessage(MESSAGE_STATUS_SMALL, "You can not access this quest, please wait ...") end local storePlayers, playerTile = {} for i = 1, #config.playerPositions do playerTile = Tile(config.playerPositions[i]):getTopCreature() if not playerTile or not playerTile:isPlayer() then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You need 5 players.") return true end if playerTile:getLevel() < config.requiredLevel then player:sendTextMessage(MESSAGE_STATUS_SMALL, "All the players need to be level ".. config.requiredLevel .." or higher.") return true end storePlayers[#storePlayers + 1] = playerTile end local specs, spec = Game.getSpectators(config.centerRazzagornRoomPosition, false, false, 22, 22, 22, 22) for i = 1, #specs do spec = specs[i] if spec:isPlayer() then player:sendTextMessage(MESSAGE_STATUS_SMALL, "A team is already inside the quest room.") return true end spec:remove() end for i = 1, #config.RazzagornPositions do Game.createMonster("Razzagorn", config.RazzagornPositions[i]) end local players setGlobalStorageValue(56789,1) addEvent(setGlobalStorageValue,config.time*1000,56789,0) for i = 1, #storePlayers do players = storePlayers[i] config.playerPositions[i]:sendMagicEffect(CONST_ME_POFF) players:teleportTo(config.newPositions[i]) config.newPositions[i]:sendMagicEffect(CONST_ME_ENERGYAREA) players:setDirection(DIRECTION_EAST) end elseif item.itemid == 9825 then if config.daily then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_NOTPOSSIBLE)) return true end end item:transform(item.itemid == 9826 and 9825 or 9826) return true end
  21. Parece com o remake do servidor dbo brasil
  22. if target.itemid == 26398 then target:transform(26443) target:decay() item:remove(1) broadcastMessage("The".. player:getName() .." improved item to +1", MESSAGE_EVENT_ADVANCE) return true end Como você não postou o codigo tomo, eu coloquei o player ( na linha 5), caso de erro veja os callbacks do evento e me manda que posso arrumar
  23. Você fez alguma cagada e apagou algum end
  24. local hit_counts = 3 local hit_delay = 150 for z = 1,hit_counts do for a = 1, 9 do addEvent(sendStickEff,hit_delay*z,cid, t[a]) end end

Informação Importante

Confirmação de Termo