Ir para conteúdo

QuebradaZN

Membro
  • Registro em

  • Última visita

Tudo que QuebradaZN postou

  1. Eu Uso Essa, Ela Mostra o Tempo que falta pra acabar, Achei ela super Completona! Gostei! Em Mods Coloque esse Arquivo! <?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 = 30, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 50}, costmana = {TRUE, mana = 300}, addrate = 50, -- 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, "Voce ja ta Sob o Efeito da Potion.") end if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "Voce Precisar ser Premium Para Usar") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "Voce Precisa ser " .. configs.needlvl.level .. " Para usar a Potion.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then return doPlayerSendCancel(cid, "Voce Precisar ter " .. configs.costmana.mana .. " de Mana Para usar a Potion") 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, "Efeito Final da Pocao de EXP.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "O Efeito da Pocao vai acabar em "..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 Esta Recebendo mais EXP por Matar Monstros.") 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, "O Efeito da Potion Termina em.") end creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "O Efeito da Potion Termina em "..a..".") end end return TRUE ]]></creaturescript> </mod> e nessa Parte Configure ela como desejado: configs = { time = 30, ---- TEMPO EM MINUTOS needpa = TRUE, --- NECESSITA DE PREMIUM ACCOUNT ? FALSE OU TRUE needlvl = {TRUE, level = 50}, --- LEVEL QUE MINIMO PARA USA-LÁ! costmana = {TRUE, mana = 300}, --- CUSTO DE MANA PARA USA-LÁ! addrate = 50, -- Exp que vai adicionar em % --- EXP QUE VAI DAR, 50 ESTA METADE! removeonuse = TRUE --- REMOVE A POTION APOS USAR! Vá na Script e Cace a Linha: <action itemid="7440" event="script"> e Troque o ID Pelo item ou Potion Desejado! é Isso ae! Se Ajudei Não Custa nada dar um REP né?
  2. Instalei ,mas no config/config.ini eu deixo install "no" e mesmo assim quando vou entrar no site aparece que preciso instalar! --' You must install AAC. Please visit: http://xxx.xxx.xxx.xxx//install.php
  3. QuebradaZN postou uma resposta no tópico em Suporte Tibia OTServer
    Eu não queria aproveita do post do Carinha não, mas vou aproveitar, estou com o mesmo problema e esse WebSite teu está por fora na moral! :S http://prntscr.com/6pqsqb
  4. Porque Não tenta com o DEV C++ Talvez seja muito mas simples Pra Você do que o Virtual Studio!
  5. Tipo, De Mão beijada será meio dificil voce conseguir...
  6. Use esse Tutorial, certamente irá conseguir! http://www.tibiaking.com/forum/topic/33548-dev-c-compilando-tfs-no-windows/
  7. Não, Verifiquei isso já! http://prntscr.com/6os0jm @UP @UP @UP @UP! UPPPPPPPPP!
  8. Estou com o Seguinte erro na hora da compilação configure: error: "Lua header not found." Source usada: http://www.tibiaking.com/forum/topic/46790-tfs-3884-86-war-system-anti-salt-muito-est%C3%A1vel/ Obrigado desde Já!
  9. Estou com uma Dúvida... Como retiro essa coisa de um Player atravessar o outro? :S Isso quebra minha pernas nos eventos! :S up
  10. Mas já esta assim!
  11. Eita... Agora quando morre perde tudo, Level, skill e vocation!... Vai tudo pro zero
  12. Alguém Sabe me informar se aqui é o Tópico certo pra isso? Estou Querendo saber , aonde diminuiu os leveis perdidos por morte de players... com bless e sem bless! Valendo REP+
  13. QuebradaZN postou uma resposta no tópico em Suporte Tibia OTServer
    Mesma coisa! @Problema resolvido! rateSpawnMax Puis assim no Spawn
  14. QuebradaZN postou uma resposta no tópico em Suporte Tibia OTServer
    Config.lua
  15. QuebradaZN postou uma resposta no tópico em Suporte Tibia OTServer
    [Error - TalkAction Interface] data/talkactions/scripts/serverinfo.lua:onSay Description: data/talkactions/scripts/serverinfo.lua:17: attempt to concatenate field 'rateSpawn' (a nil value) stack traceback: data/talkactions/scripts/serverinfo.lua:17: in function <data/talkactions/scripts/serverinfo.lua:11> local config = { rateExperience = getConfigInfo('rateExperience'), rateSkill = getConfigInfo('rateSkill'), rateLoot = getConfigInfo('rateLoot'), rateMagic = getConfigInfo('rateMagic'), rateSpawn = getConfigInfo('rateSpawn'), protectionLevel = getConfigInfo('protectionLevel'), stages = getBooleanFromString(getConfigInfo('experienceStages')) } function onSay(cid, words, param, channel) local exp = config.rateExperience if(config.stages) then exp = getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier) end doPlayerPopupFYI(cid, "Server Information:\n\nExperience rate: x" .. exp .. "\nSkills rate: x" .. config.rateSkill .. "\nLoot rate: x" .. config.rateLoot .. "\nMagic rate: x" .. config.rateMagic .. "\nSpawns rate: x" .. config.rateSpawn .. "\nProtection level: " .. config.protectionLevel) return true end
  16. Unica Solução que arrumei foi a que você não quer! Essa http://www.tibiaking.com/forum/topic/19267-anti-divulgacao/
  17. 8.60 e Está no linux usando as Sources Otx
  18. Estou tendo Problemas com o !Rank Quando Digito !Rank da Debug no Tibia! Alguem ajuda? Valendo REP! ---By Léo--- local ranks = { ['fist'] = {0}, ['club'] = {1}, ['sword'] = {2}, ['axe'] = {3}, ['distance'] = {4}, ['shield'] = {5}, ['fish'] = {6}, ['magic'] = {7}, ['level'] = {8}, } function onSay(cid, words, param) local msg = string.lower(param) if ranks[msg] ~= nil then str = getHighscoreString((ranks[msg][1])) else str = getHighscoreString((8)) end doShowTextDialog(cid,6500, str) return TRUE end
  19. Estou com um erro quando Digito !Notice , oque sera que seja? Tinha me Esquecido do Erro que da... [Error - TalkAction Interface] data/talkactions/scripts/notice.lua:onSay Description: data/talkactions/scripts/notice.lua:5: attempt to index global 'file' (a nil value) stack traceback: data/talkactions/scripts/notice.lua:5: in function <data/talkactions/scripts/notice.lua:3> Script! function onSay(cid, words, param) file = io.open('noticias.txt','r') notice = file:read(-1) doShowTextDialog(cid,7528,notice) file:close() end
  20. Estou com o Mesmo Problema! Quando clico em Submit a tela fica branca!
  21. QuebradaZN postou uma resposta no tópico em Suporte Tibia OTServer
    Abri outro Topico!
  22. Opa, Boa Tarde, Estou com probleminha Que está me injuriando... Eu Entro no Painel Admin do Geisor.. Vou em ADD SHOP OFFER ai Beleza, Abre a telinha de Adicionar os Itens... Quando Seleciono a Bolinha do Tipo de item que será adicionado, Da tipo um Reload (Atualiza) a Pagina e Volta pro mesmo Local (ADD SHOP OFFER) Vou Dar um Exemplo: eu Clico ali em Item Vip Volta pra essa mesma Tela! @EDIT Quando Clico em Submit, vai pra essa tela: http://prntscr.com/6m0bgx Se alguem Puder Ajudar agradeço e Reputo!
  23. QuebradaZN postou uma resposta no tópico em Suporte Tibia OTServer
    Esse Problema Foi Resolvido... Agora há outros! :S
  24. Problema resolvido! timeBetweenExActions = 1000 na Config.lua!

Informação Importante

Confirmação de Termo