Ir para conteúdo

9k22

Membro
  • Registro em

  • Última visita

Tudo que 9k22 postou

  1. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Mais não é bem isso. 2 = Terça-Feira 5 = Sexta-Feira 7 = Domingo O problema é quando ele vai executar o evento: addEvent(doBroadcastMessage,pol*1000,"The next coliseum gate will open in " .. config.tempoparaabrir .. " seconds! Good luck!",MESSAGE_EVENT_ADVANCE) end Essa msg apareçe umas 3 a 4 vezes e nada do teleport apareçer ;s
  2. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Qual a versão do servidor e qual o nome do distro? Ex: crystal server, tfs 0.4, 0.3.6...? postarei o item.otb que funcione para o servidor.
  3. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Bem, quando vai iniciar apareçe a seguinte mensagem: The next coliseum gate will open in 120 seconds! Good luck! Mais ai não inicia, essa mensagem se repete umas 3 a 4 vezes e depois para. Coliseum.lua em globalevents: local config = { semana_mes = "semana", days = {2,5,7}, goblet = 5805, -- id of the gold goblet you'll get when finishing the event. rewards = {2195, 2152, 2160}, -- You will get this + a gold goblet with your name on. moneyReward = {2160, 10, 1}, -- second collumn(count) 0 if you don't want money to be used. or a stackable item you want more than 1 of. playerCount = 12001, -- Global storage for counting the players left/entered in the event teleportActionId = 12008, -- Action id of the teleport needed for the movement script teleportPosition = {x = 32361, y = 32239, z = 7, stackpos = 1}, -- Where the teleport will be created teleportToPosition = {x = 32143, y = 32202, z = 7}, -- Where the teleport will take you teleportId = 1387, -- Id of the teleport timeToStartEvent = 10, -- Minutes, after these minutes the teleport will be removed and the event will be declared started coliseumName = "event lion", -- Name of the coliseum that should be summoned coliseumName2 = "event tiger", -- Name of the coliseum that should be summoned playersNeededToStartEvent = 3, -- Players needed before the coliseums can spawn. -- Should be the same as in the creaturescript! -- The coliseums will spawn randomly inside this area fromPosition = {x = 32129, y = 32188, z = 7}, -- top left cornor of the playground toPosition = {x = 32159, y = 32215, z = 7}, -- bottom right cornor of the playground posportoescima={{{x = 32143, y = 32188, z = 7},{x = 32144, y = 32188, z = 7}},{{x = 32144, y = 32215, z = 7},{x = 32145, y = 32215, z = 7}}}, posportoeslado={{{x = 32131, y = 32202, z = 7},{x = 32131, y = 32201, z = 7}},{{x = 32156, y = 32202, z = 7},{x = 32156, y = 32203, z = 7}}}, idportaocima = 1547, idportaolado = 1546, tempoparaabrir = 120, --em segundos poslion = {{x = 32142, y = 32187, z = 7},{x = 32130, y = 32201, z = 7},{x = 32146, y = 32216, z = 7}, {x = 32157, y = 32201, z = 7}}, postigre = {{x = 32142, y = 32187, z = 7},{x = 32129, y = 32203, z = 7},{x = 32143, y = 32216, z = 7}, {x = 32157, y = 32204, z = 7}} } function onTime() local time = os.date("*t") local asd = config.timeToStartEvent*60 for x=0,3 do local pol = asd + (x*config.tempoparaabrir) addEvent(doBroadcastMessage,pol*1000,"The next coliseum gate will open in " .. config.tempoparaabrir .. " seconds! Good luck!",MESSAGE_EVENT_ADVANCE) end if (config.semana_mes == "semana" and isInArray(config.days,time.wday)) or (config.semana_mes == "mes" and isInArray(config.days,time.day)) or config.semana_mes == "" then local tt = config.timeToStartEvent*60000 for p,u in pairs(config.posportoescima) do for a,b in pairs(u) do doCreateItem(config.idportaocima,b) addEvent(rrport,tt,b,config.idportaocima) end tt = tt + (config.tempoparaabrir*(p - 1)*1000) end for p,u in pairs(config.posportoeslado) do for a,b in pairs(u) do doCreateItem(config.idportaolado,b) addEvent(rrport,tt,b,config.idportaolado) end tt = tt + (config.tempoparaabrir*p*1000) end local tp = doCreateTeleport(config.teleportId, config.teleportToPosition, config.teleportPosition) doItemSetAttribute(tp, "aid", config.teleportActionId) doBroadcastMessage("Coliseum event starting in " .. config.timeToStartEvent .. " minutes! The teleport will be closed when the event start!", MESSAGE_STATUS_WARNING) setGlobalStorageValue(config.playerCount, 0) addEvent(startEvent2, config.timeToStartEvent * 1000 * 60) for _,k in pairs(config.poslion) do doCreateMonster(config.coliseumName, k,false) end for _,k in pairs(config.postigre) do doCreateMonster(config.coliseumName2, k,false) end end return TRUE end function rrport(pos,id) local uid = getTileItemById(pos,id).uid doRemoveItem(uid) end function startEvent2() local get = getThingfromPos(config.teleportPosition) if get.itemid == config.teleportId then doRemoveItem(get.uid, 1) end local fromp, top = config.fromPosition, config.toPosition if getGlobalStorageValue(config.playerCount) >= config.playersNeededToStartEvent then doBroadcastMessage("Good luck in the Coliseum event people! The teleport has closed!", MESSAGE_STATUS_WARNING) for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos(areapos) if isPlayer(getPlayers.uid) then --doPlayerSendTextMessage(getPlayers.uid, MESSAGE_EVENT_ADVANCE, "The next coliseum gate will open in " .. config.tempoparaabrir .. " seconds! Good luck!") pvgaylord2() return true end end end end else doBroadcastMessage("The coliseum event could not start because of to few players participating.\n At least " .. config.playersNeededToStartEvent .. " players is needed!", MESSAGE_STATUS_WARNING) for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} getPlayers = getThingfromPos(areapos) if isPlayer(getPlayers.uid) then doTeleportThing(getPlayers.uid, getTownTemplePosition(getPlayerTown(getPlayers.uid)), false) doSendMagicEffect(getPlayerPosition(getPlayers.uid), CONST_ME_TELEPORT) elseif isMonster(getPlayers.uid) then doRemoveCreature(getPlayers.uid) end end end end end end function spawncoliseum(p) if getGlobalStorageValue(config.playerCount) >= 2 then if p ~= getGlobalStorageValue(config.playerCount) then doBroadcastMessage("There is currently " .. getGlobalStorageValue(config.playerCount) .. " players in the coliseum event!", MESSAGE_STATUS_CONSOLE_RED) end else local fromp, top = config.fromPosition, config.toPosition for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do areapos = {x = x, y = y, z = z, stackpos = 253} cid = getThingfromPos(areapos).uid if isPlayer(cid) then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false) doBroadcastMessage(getCreatureName(cid)..' has survived at coliseum event!') local n = #config.rewards if config.moneyReward[3] then n = n + 1 end if config.rewards[math.random(1,n)] then doPlayerAddItem(cid, items, 1) else doPlayerAddItem(cid, config.moneyReward[1], config.moneyReward[2]) end doBroadcastMessage(getPlayerName(cid) .. " won the coliseum event! Congratulations!", MESSAGE_STATUS_WARNING) local goblet = doPlayerAddItem(cid, config.goblet, 1) doItemSetAttribute(goblet, "description", "Awarded to " .. getPlayerName(cid) .. " for winning the coliseum event.") doPlayerAddLevel(cid, 1, "You advanced from level " ..getPlayerLevel(cid).. " to level " ..(getPlayerLevel(cid) + 1).. " in Coliseum Event.") elseif isMonster(cid) then doRemoveCreature(cid) end end end end end end function pvgaylord2() local fromp, top, p, m = config.fromPosition, config.toPosition, 0, 0 for x = fromp.x, top.x do for y = fromp.y, top.y do for z = fromp.z, top.z do local areapos = {x = x, y = y, z = z, stackpos = 253} local cid = getThingfromPos(areapos).uid if isPlayer(cid) then p = p+1 elseif isMonster(cid) then m = m+1 end end end end local ll = getGlobalStorageValue(config.playerCount) if p ~= getGlobalStorageValue(config.playerCount) then setGlobalStorageValue(config.playerCount, p) end spawncoliseum(ll) if p < 2 then return true end addEvent(pvgaylord2,300,nil) end
  4. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    <outfit id="1"> <list gender="0" lookType="136" name=" Citizen "> <attribute speed="10"/> <stats maxHealth="100"/> </list> <list gender="1" lookType="128" name=" Citizen "> <attribute speed="10"/> <stats maxHealth="100"/> </list> </outfit> <outfit id="2"> <list gender="0" lookType="137" name=" Hunter "> <skills dist="3"/> </list> <list gender="1" lookType="129" name=" Hunter "> <skills dist="3"/> </list> </outfit> <outfit id="3"> <list gender="0" lookType="138" name=" Mage "> <stats magLevel="2"/> <stats maxMana="200"/> </list> <list gender="1" lookType="130" name=" Mage "> <stats magLevel="2"/> <stats maxMana="200"/> </list> </outfit> <outfit id="4"> <list gender="0" lookType="139" name=" Knight "> <skills sword="3"/> </list> <list gender="1" lookType="131" name=" Knight "> <skills sword="3"/> </list> </outfit> <outfit id="5" premium="yes"> <list gender="0" lookType="140" name=" Noblewoman "> <skills club="3"/> </list> <list gender="1" lookType="132" name=" Nobleman "> <skills club="3"/> </list> </outfit> <outfit id="6" premium="yes"> <list gender="0" lookType="141" name=" Summoner "> <stats magLevel="3"/> <stats maxMana="200"/> </list> <list gender="1" lookType="133" name=" Summoner "> <stats magLevel="2"/> <stats maxMana="200"/> </list> </outfit> <outfit id="7" premium="yes"> <list gender="0" lookType="142" name="Warrior"> <skills melee="3"/> </list> <list gender="1" lookType="134" name="Warrior"> <skills melee="3"/> </list> </outfit> <outfit id="8" premium="yes"> <list gender="0" lookType="147" name="Barbarian"> <skills axe="5"/> <skills sword="2"/> <skills club="2"/> <stats maxHealth="200"/> </list> <list gender="1" lookType="143" name="Barbarian"> <skills axe="3"/> <skills sword="2"/> <skills club="2"/> <stats maxHealth="200"/> </list> </outfit> <outfit id="9" premium="yes"> <list gender="0" lookType="148" name="Druid"> <stats magLevel="3"/> <absorb percentPoison="5"/> </list> <list gender="1" lookType="144" name="Druid"> <stats magLevel="3"/> <absorb percentPoison="5"/> </list> </outfit> <outfit id="10" premium="yes"> <list gender="0" lookType="149" name="Wizard"> <stats magLevel="1"/> <stats maxHealth="100"/> <stats maxMana="200"/> <absorb percentDeath="5"/> </list> <list gender="1" lookType="145" name="Wizard"> <stats magLevel="1"/> <stats maxHealth="100"/> <stats maxMana="200"/> <absorb percentDeath="5"/> </list> </outfit> <outfit id="11" premium="yes"> <list gender="0" lookType="150" name="Oriental"> <stats maxHealth="200"/> <stats maxMana="200"/> <attribute speed="50"/> </list> <list gender="1" lookType="146" name="Oriental"> <stats maxHealth="200"/> <stats maxMana="200"/> <attribute speed="50"/> </list> </outfit> <outfit id="12" premium="yes"> <list gender="0" lookType="155" name="Pirate"> <stats maxHealth="100"/> <skills club="5"/> </list> <list gender="1" lookType="151" name="Pirate"> <stats maxHealth="100"/> <skills club="5"/> </list> </outfit> <outfit id="13" premium="yes" > <list gender="0" lookType="156" name="Assassin"> <attribute speed="80"/> <skills dist="3"/> <stats magLevel="2"/> </list> <list gender="1" lookType="152" name="Assassin"> <attribute speed="80"/> <skills dist="3"/> <stats magLevel="2"/> </list> </outfit> <outfit id="14" premium="yes" > <list gender="0" lookType="157" name="Beggar"> <absorb percentAll="5"/> </list> <list gender="1" lookType="153" name="Beggar"> <absorb percentAll="5"/> </list> </outfit> <outfit id="15" premium="yes" > <list gender="0" lookType="158" name="Shaman"> <stats magLevel="2"/> <absorb percentEnergy="5"/> </list> <list gender="1" lookType="154" name="Shaman"> <stats magLevel="2"/> <absorb percentEnergy="5"/> </list> </outfit> <outfit id="16" premium="yes" > <list gender="0" lookType="252" name="Norsewoman"> <skills shielding="5"/> <absorb percentIce="15"/> <stats maxHealth="200"/> <skills club="3"/> <stats magLevel="2"/> </list> <list gender="1" lookType="251" name="Norseman"> <skills shielding="5"/> <absorb percentIce="15"/> <stats maxHealth="200"/> <skills club="3"/> <stats magLevel="2"/> </list> </outfit> <outfit id="17" premium="yes" > <list gender="0" lookType="269" name="Nightmare"> <skills shielding="5"/> <absorb percentPhysical="15"/> </list> <list gender="1" lookType="268" name="Nightmare"> <skills shielding="5"/> <absorb percentPhysical="15"/> </list> </outfit> <outfit id="18" premium="yes"> <list gender="0" lookType="270" name="Jester"> <stats maxMana="100"/> <attribute speed="50"/> <stats maxHealth="100"/> </list> <list gender="1" lookType="273" name="Jester"> <stats maxMana="100"/> <attribute speed="50"/> <stats maxHealth="100"/> </list> </outfit> <outfit id="19" premium="yes"> <list gender="0" lookType="279" name="Brotherhood"> <stats magLevel="3"/> <absorb percentDeath="5"/> <stats maxHealth="100"/> </list> <list gender="1" lookType="278" name="Brotherhood"> <stats magLevel="3"/> <absorb percentDeath="5"/> <stats maxHealth="100"/> </list> </outfit> <outfit id="20" premium="yes" > <list gender="0" lookType="288" name="Demonhunter"> <attribute speed="10"/> <stats maxHealth="300"/> <absorb percentFire="5"/> </list> <list gender="1" lookType="289" name="Demonhunter"> <attribute speed="10"/> <stats maxHealth="300"/> <absorb percentFire="5"/> </list> </outfit> <outfit id="21" premium="yes" > <list gender="0" lookType="324" name="Yalaharian"> <attribute speed="20"/> <stats magLevel="2"/> <stats maxHealth="250"/> <stats maxMana="250"/> </list> <list gender="1" lookType="325" name="Yalaharian"> <attribute speed="20"/> <stats magLevel="2"/> <stats maxHealth="250"/> <stats maxMana="250"/> </list> </outfit> <outfit id="22" premium="yes"> <list gender="0" lookType="336" name="Warmaster"> <stats maxMana="200"/> <stats maxHealth="200"/> <stats magLevel="2"/> <absorb percentHoly="5"/> </list> <list gender="1" lookType="335" name="Warmaster"> <stats maxMana="200"/> <stats maxHealth="200"/> <stats magLevel="2"/> <absorb percentHoly="5"/> </list> </outfit> Coloca no vocation.xml
  5. Se ele da Unsupported client version (8) faça o seguinte: Abra o Rme e... File>Import>Import Map... Você salva o mapa por cima do anterior... infelismente quando esse erro aconteçe, você só vai poder abrir o map importando o mesmo.
  6. 9k22 postou uma resposta no tópico em Outros Jogos
    Eu jogo e estou viciado, + fiz uma build errada com meu marauder e criei outro! level 26 marauder
  7. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Você coloca normal, um ItemiD ... <action itemid="10523" event="script" value="summon_pet.lua"/>
  8. Sem flood por favor, leia as regras do fórum e tome cuidado. -rep! Caso o flood continue fecharei o tópico.
  9. 9k22 postou uma resposta no tópico em OTServer Derivados
    Double post é proibido, por favor, leia as regras do fórum e tome cuidado, isso é considerado flood! Espero que isso não venha a se repetir, obrigado.
  10. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { creature = 'Summon Wolf', -- Nome da criatura a ser sumonada maxsummon = 1, -- Numero maximo de summons que o player podera sumonar level = 30, -- Level para poder sumonar delay = 10, -- minutos de espera para poder sumonar novamente stor = 819902 } local function removeSummon(cid, summon) if not isCreature(cid) then return LUA_ERROR end if isCreature(summon) then doRemoveCreature(summon) end end if getPlayerLevel(cid) < config.level then return doPlayerSendCancel(cid, "Você precisa ter level "..config.level.." ou mais para usar o item.") elseif #getCreatureSummons(cid) >= config.maxsummon then return doPlayerSendCancel(cid, "Você já está com seu pet ativado.") elseif getPlayerStorageValue(cid, config.stor) >= os.time() then local minutos = math.floor((getPlayerStorageValue(cid,config.stor) - os.time())/(60)) return doPlayerSendCancel(cid, "Você deve esperar ".. (minutos <= 0 and getPlayerStorageValue(cid, config.stor) - os.time() or minutos) .." "..(minutos <= 0 and "segundos" or "minutos").." para usar esse item de novo.") elseif (getTilePzInfo(getCreaturePosition(cid))) then return doPlayerSendCancel(cid, "Você não pode usar esse item em PZ.") end local summon = doSummonCreature(config.creature, getCreaturePosition(cid)) doConvinceCreature(cid, summon) addEvent(removeSummon, config.delay*60*1000, cid, summon) setPlayerStorageValue(cid, config.stor, os.time()+config.delay*60) return true end
  11. 1º - Coloque guild war system no seu servidor! 2º - Arrume os items do personagem, tire a shovel ou rope para o player ficar com cap...
  12. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Na verdade importar um mapa completo não vai dar erro nas posições! Ele vai apenas alterar de arquivo e deletando os tiles bugados ou aqueles tiles que não existem...
  13. COmo assim limite? Level minimo para criar ou entrar na guild? Não tem level minimo para entrar me guild, e nem máximo, só tem o lvl minimo para criar a guilda.
  14. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Crie um novo map e importe o antigo, salve e pronto. Tenta cuidado no CTRL C + V na hora de copiar um mapa pro seu, as vezes da erro...
  15. Coloque pelo menos um panteom ou um i3 se quiser pelo menos passar de 100 players... Sugiro que faça o seguinte, modifique sua maquina: Se não tiver dinheiro: Se tiver dinheiro: Quando maior sua memoria, mais facil de guardar os dados, assim o clean, save, scripts no servidor ficaram + estaveis (+ rapido, não travando o servidor, e não freezando)... Quanto maior seu processador, mais facil de agrupar players, principalmente na hora do pvp ou no Up lvl... Hd não serve de muita coisa, mais vc precisa de 20gb+ para informaçoes do mysql Placa mãe nem preciso explicar...
  16. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Mostra o script para que eu possa lhe ensinar e explicar como funciona!
  17. 9k22 postou uma resposta no tópico em Formação de Equipe
    Belo projeto, uma ótima ídeia as dungeons! Parabéns e boa sorte com o projeto...
  18. Não entendi muito bem no final da sua pergunta. Poderia expecifica-la?
  19. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Up!
  20. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    Agora se mando bem Mal. + skydangerous é uma mulher da vida, o Daaniel ainda está se conheçendo, se descobrindo
  21. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    Ai vocÊ tem razão, vou começar a tirar logo o seu kkk da logo -2 rep ksaposkoa (presente) kkkkkk Só um politico muito do foda, mais se quiser negocia, posso deixa vc ir, 50 pila kkkkkkkkkk Até porque o nick dele não existe Tópico movido! Obs: O tópico está tão feio e gay que nem percebemos que tava na área errada, fora o meigo e fofo tb kspoAKSPAKSPOAko
  22. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Cara 1º, sem double post pela mor de Deus! 2º, estou arrumando seu script, anoite ainda posto ele... Agora essa cor de Eggs é foda né! Me diz umas coisas, você vai querer como? Pets levam dano ou pets imortal? Hp dos pets altos? Quanto tempo para o player poder sumonar seu pet novamente quando o pet morrer? VocÊ quer seu pet magico ou melee? Ele que vai tankar tudo? (usando utevo res?) Pode sumonar em área pz ou não? me diz as informações para que eu possa fazer ao seu gosto...
  23. 9k22 postou uma resposta no tópico em Playground (Off-topic)
    Ta tudo rosa isso ai, vale n
  24. 9k22 postou uma resposta no tópico em Suporte Tibia OTServer
    Uppp....
  25. Obrigado a todos Se eu tivesse tempo, poderia até lhe ajudar! Talvez eu tenha um tempinho livre aos dias de sábado, caso isso aconteça, lhe enviarei um Pm e poderei tirar suas dúvidas.

Informação Importante

Confirmação de Termo