Ir para conteúdo

Pifafa

Membro
  • Registro em

  • Última visita

Tudo que Pifafa postou

  1. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Então é como o senhor escreveu se ele da logout o mesmo falha realmente kkkk, ele funciona cerca de 1 hora ou 2... As vezes ele funciona até pessoa deslogar, e as vezes ele nunca para de funcionar. ... Não sei mais o que fazer testei uns 3 script e todos bugan e etc... Meu servidor versão 9.80 a 9.86 ....
  2. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Problema, que preciso que ele funcione por 2 horas... e quando termine o tempo possa usar novamente, o item.... Estranho encima la falava que é 1 hora, o senhor poderia me ajudar a arrumar ele pra fica 100% ou até mesmo algum que senhor use? desculpe posta errado não sei onde estava com a cabeça.
  3. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Amigos, estou usando esse script para 1 certo item ser de double exp em meu servidor.... local config = { rate = 2, -- 4x More Experience time = 1, -- Hours of Exp Time storage = 21123 } local function endExpRate(cid) if isPlayer(cid) == TRUE then doPlayerSetRate(cid, SKILL__LEVEL, 1) -- config.lua rate setPlayerStorageValue(cid, config.storage, -1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Your extra experience time has ended.") end end function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerStorageValue(cid, config.storage) < 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your extra experience rate is now: " .. config.rate .. ". It will last for ".. config.time .." hours.") doPlayerSetRate(cid, SKILL__LEVEL, config.rate) setPlayerStorageValue(cid, config.storage, os.time() + config.time * 3600) addEvent(endExpRate, config.time * 3600 * 1000, cid) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You still have extra experience time left.") end return TRUE end Mas o mesmo está sempre bugando e virando no tinhoso..... Tipo as vezes o player usa e fica 100% normal mas as vezes o player usa, quando precisar usa novamente o mesmo não funciona alguém poderia me ajudar?
  4. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Olá amigos, recentemente aconteceu que um jogador do meu ot deposito 3kk no bank system. (Até ai ok, porem ao dar o comando para retirada do dinheiro o mesmo não sai??? O que devo fazer?) Script que uso: Como devo fazer para arrumar?, não sei qual opção pra por ele no bbcode no novo forum desculpe pessoal.
  5. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    não deu, ainda continua bugado pra min kkkkkkkkk
  6. lamento fala mais isso databse, do ot que bugo ja deu no meu isso ai. se tive um bkp use ele tente ve se volta ao normal.
  7. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Amigos, gostaria muito que entrasse em meu site e me ajuda-se arrumar o meu layout, ou imagem de fundo que aparece no site, do meu pequeno servidor... Ela fica bugada site: http://cnserver.servegame.com/
  8. Distro OTX ta com um bug de clonar dinheiro fudido, eu mesmo não estou conseguindo arrumar, não sei como pedir ajuda pq, se chega de fala em 1 fórum os noob pira em fica clonando sem parar.
  9. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Alguém sabe algum script pra double exp funcional na versão 9.6+ do tibia otserver? Testei 3 e as 3 estão bugando ja...
  10. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    Olá, amigos estou usando um item meu pequeno ot para que deixe as pessoa com aumento de exp por cerca de 60 minutos. <?xml version="1.0" encoding="UTF-8"?> <mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="XTibia.com"> <!-- Configs and Functions --> <config name="PotionExpConfigs"><![CDATA[ ------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSE configs = { time = 1, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 50}, costmana = {TRUE, mana = 300}, addrate = 20, -- Exp que vai adicionar em % removeonuse = TRUE } function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end CreatureEventChecker = function(event, ...) -- Colex if isCreature(arg[1]) then event(unpack(arg)) end end creatureEvent = function(event, delay, ...) -- Colex addEvent(CreatureEventChecker, delay, event, unpack(arg)) end function getPlayerExtraExpRate(cid) -- By MatheusMkalo return (getPlayerRates(cid)[8]-1)*100 end ]]></config> <!-- exppotion.lua --> <action itemid="7440" event="script"><![CDATA[ domodlib('PotionExpConfigs') if getPlayerStorageValue(cid, 62164) >= 1 then return doPlayerSendCancel(cid, "You are already taking effect from this item.") end if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use this item.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level " .. configs.needlvl.level .. " to use this item.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then return doPlayerSendCancel(cid, "You need " .. configs.costmana.mana .. " mana to use this item.") else doCreatureAddMana(cid, -configs.costmana.mana) end end if configs.removeonuse then doRemoveItem(item.uid, 1) end for i = configs.time*60, 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == configs.time*60 then creatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) doPlayerSendTextMessage(cid, 22, "Agora voce ira receber mais exp por matar os mosntros.") setPlayerStorageValue(cid, 62164, os.time()) creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0) return TRUE ]]></action> <creaturescript type="login" name="ExpPotion" event="script"><![CDATA[ domodlib('PotionExpConfigs') local time = configs.time if os.time()-getPlayerStorageValue(cid, 62164) < time *60 then doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0) for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) then creatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end end return TRUE ]]></creaturescript> </mod> Porem fica a duvida, ao termina o efeito disso, teve 1 player que aparentemente não perdeu o efeito, e ele não pode mais usar o item? Na teoria o que vocês acham que possa ser? E como posso resolver esse erro?
  11. Gostaria de Editar, por exemplo deixando ela centralizada, essas coisas desse tipo que programa posso usar?
  12. Olá amigos, estou com uma duvida, que é bem recorrente, gostaria de editar melhor o meu last news do meu site, porem não consigo encontra uma forma de fazer isso?! È usado algum programa para isso? Gostaria de formata bem certinho, tipo centralizar o texto, por letras diferenciadas coisas desse geito, alguém sabe como posso fazer? Outra coisa é que gostaria de criar 1 botão chamado RAID para pode por uma pagina no ot sobre os horários das minhas raids.
  13. Pifafa postou uma resposta no tópico em Suporte & Pedidos
    Normal, o PXG ja tem som e efeitos dos cenários maravilhoso's
  14. Do seu jeito não deu mais eu fiz assim! --[[ - hora deve ser exata SERVER - para fazer o raid tera que ser ex: 00 hour(horas) e 00 minu (minutos) - para fazer a raid na data e hora no tempo exato, uso "exact" - para fazer a raid ocorrer todas as semanas (pelo menos 1x na semana) uso "weekly" - o nome dos dias sao ultilizados apenas para o tipo semanal que devera ser - "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" - tambem devem estar dentro de uma matriz-> {} ]] local raids = { [1] = { name = 'Morgaroth', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 20, minu = 00 }, [2] = { name = 'Ferumbras', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 14, minu = 05 }, [3] = { name = 'Undead Cavebear', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 21, minu = 00 }, [4] = { name = 'Undead Cavebear', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 09, minu = 30 }, [5] = { name = 'Midnight Panther', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 11, minu = 25 }, [6] = { name = 'Midnight Panther', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 21, minu = 50 }, [7] = { name = 'Jaul', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 19, minu = 00 }, [8] = { name = 'ghazbaran', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 15, minu = 00 }, [8] = { name = 'Orshabaal', type = 'weekly', days = {'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'}, hour = 23, minu = 55 }, } local last_execsutes = {} function onThink(interval, lastExecution, thinkInterval) local static_time = os.time() for k, raid in ipairs(raids) do if (raid.type == 'weekly') then local day = os.date("%A", static_time):lower() if isInArray(raid.days, day) then local hour = tonumber(os.date("%H", static_time)) if (raid.hour == hour) then local minute = tonumber(os.date("%M", static_time)) if (raid.minu == minute) then local day_number = tonumber(os.date("%d", static_time)) if (last_execsutes[k] ~= day_number) then last_execsutes[k] = day_number doExecuteRaid(raid.name) end end end end elseif (raid.type == 'exact') then local month = tonumber(os.date("%m", static_time)) if (raid.date.month == month) then local day = tonumber(os.date("%d", static_time)) if (raid.date.day == day) then local hour = tonumber(os.date("%H", static_time)) if (raid.hour == hour) then local minute = tonumber(os.date("%M", static_time)) if (raid.minu == minute) then if (last_execsutes[k] ~= day) then last_execsutes[k] = day doExecuteRaid(raid.name) end end end end end end end return true end Dai funciona, CRIA a Raid, na pasta raid certinha, e porem esse script, no global eventos ele aciona em determinados horários como o descrito.
  15. CACETE DO CACETE , parece que vai da certo!!!
  16. testei isso, até funga mas não da msg da invasão, dai perde o tesão da coisa aeuhaehahueauae
  17. mas ja ta como vc falou. weekly outra coisa o que sera isso houseSkipInitialRent = false e quero saber das raids tb, pra por elas semanal! acho que tem comando que por hora se não me engano..
  18. Esse modelo eu uso, queria 1 que fosse semanal sempre x horário corretamente entende? Outra duvida com o Aluguel das casas do meu servidor, vou posta a configuração pois não vejo ninguém perdendo a casa por não pagar aluguel nele.... -- Houses buyableAndSellableHouses = true houseNeedPremium = false bedsRequirePremium = false levelToBuyHouse = 80 housesPerAccount = 1 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 2000 houseRentPeriod = "weekly" houseCleanOld = 8 * 24 * 60 * 60 guildHalls = false houseSkipInitialRent = false houseProtection = true Alguém poderia me ajudar, o que devo está fazendo errado éra pra ser semanal!
  19. Olá, amigo uso um server 9.80 a 9.86, estou com dificuldade para por minhas raid's semanais, como deveria mudar esse script que iniciação as raid's? <?xml version="1.0" encoding="UTF-8"?> <raids> <!-- executed on average once every 2 minutes <raid name="Example" file="example.xml" interval2="2" margin="0" reftype="single" ref="no"/> won't be executed again till Cave Rat gets killed <raid name="Example2" file="example.xml" interval2="2" margin="0" reftype="block" ref="no"/> will stay as 'running' until Cave Rat gets killed --> <raid name="Jaul" file="Jaul.xml" interval2="8000" margin="0" reftype="single" ref="no"/> <raid name="Undead Cavebear" file="Undead Cavebear.xml" interval2="3000" margin="0" reftype="single" ref="no"/> <raid name="Midnight Panther" file="Midnight Panther.xml" interval2="6000" margin="0" reftype="single" ref="no"/> <raid name="Rats" file="Rats.xml" interval2="600" margin="0" reftype="single" ref="no"/> <raid name="Giant Spider" file="Giant Spider.xml" interval2="800" margin="0" reftype="single" ref="no"/> <raid name="ghazbaran" file="ghazbaran.xml" interval2="13000" margin="0" reftype="single" ref="no"/> <raid name="Ferumbras" file="Ferumbras.xml" interval2="20000" margin="0" reftype="single" ref="no"/> <raid name="Morgaroth" file="Morgaroth.xml" interval2="30000" margin="0" reftype="single" ref="no"/> </raids> tem tentei alguns outros modelos mas todos falharam, nesse método é diário, mas gostaria que fosse semanal!
  20. pode fecha resolvi o cara do dedicado fez uma macumba do diabo e arrumo. não sei como mas ele arrumo...
  21. E o cara fala ainda que não é a vps? hmm...
  22. Bom, a tempo venho lidando com ot, simplório, mais mt legal de brincar, até então a empresa WEBLARA ( Isso mesmo essa que aparece por ai, nos anúncios comunicar que o vps meu estava com um certo problema eu deveria trocar, então claro trocamos) Porem ai vem a questão, ao fazer BKP, de tudo correto, e mudar de vps, simplesmente meu servidor loga nas ACC mas não entra nos char, Então pensei mt que fosse bugs de script e etc, e nada e nada... então lidei e lidei e lidei até que em um ato de loucura pensei algo muito mais loco, e vejam as fotos..... Agora me digam o que pode vim a ser isso? o VPS está com as portas bloqueadas mesmo liberando no sistema operacional dele? Que seria isso? È problema no vps? .... não sei mais o que fazer... http://www.canyouseeme.org/ Site que verifica se as porta estão ok VPS1 que eu usava... Success: I can see your service on198.xxxxxxxxxxx on port (7171) Your ISP is not blocking port 7171 Success: I can see your service on198.xxxxxxxxxxx on port (7172) Your ISP is not blocking port 7172 AGORA VEJAMOS A VPS2 que ( querem que eu use) Error: I could not see your service on192.XXXXXXXXXXX on port (7171) Reason: Connection refused Error: I could not see your service on192.XXXXXXXXXXX on port (7172) Reason: Connection refused É uma grande tristeza não conseguir arrumar isso, e o atendente da weblara fala que as portas estão liberadas mas então o que pode vim ser isso?
  23. Pifafa postou uma resposta no tópico em Suporte Tibia OTServer
    LOL cara, eu tenho uma vps com eles a mais de 1 mês e nunca tive problema nenhum, olha essa distro do seu ot se não ta bugada.
  24. Pifafa postou uma resposta no tópico em Suporte Bots
    Dispensa você de posta coisa sem scan ai
  25. Isso Crasha o ot, não recomendo recomendo verificar o distro que está usando pro ot.

Informação Importante

Confirmação de Termo