Tudo que Zaruss postou
-
(8.60) TFS 0.4 Rev 3777 [Sem BUGS]
Apenas duas perguntas : >Essa distro e estavel? >Essa e a ultimate versao do tfs?
-
Mudar elemento da wand ?!
Va em data/talkactions/scripts crie um arquivo chamando wand.lua e coloque isso dentro: em talkactions.xml <talkaction words="!wand" event="script" value="wand.lua"/> agora em data/weapons/scripts crie um arquivo e renomeie para wand1.lua e adicione isso dentro: em weapons.xml: <wand id="xxx" level="50" mana="13" min="0" max="0" type="earth" event="script" value="wand1.lua"> <!-- wand of effects --> <vocation id="1"/> <vocation id="2"/> <vocation id="5"/> <vocation id="6"/> em items.xml: <item id="xxx" article="the" name="nome da sua wand"> <attribute key="description" value="Você pode mudar o elemento da wand digitando !wand elemento desejado." /> <attribute key="weight" value="2300" /> <attribute key="weaponType" value="wand" /> <attribute key="shootType" value="holy" /> <attribute key="range" value="8" /> em data/creaturescripts/scripts login.lua antes do ultimo return true adicione essa linha: if getPlayerStorageValue(cid, 12036) == -1 then setPlayerStorageValue(cid, 12036, 1) end Tem que ser o mesmo id em items.xml talkactions.xml e weapons.xml Creditos:Skymagnum
-
[DUVIDA] Como colocar varios tipos de house
Alguem sabe como e que eu coloco pra poder aluga uma house ou compra-la para guild ou para o player que ele possa escolher pelo comando !buyhouse <<< ja tenho, !buyhouseguild <<< para compra house !renthouse <<< para alugar se poderem ajudar eu agredeço Rep+
-
como editar o attack de uma sword
Ja que você quer com shield ta ae : </item> <item id="15413" article="an" name="ornate shield"> <attribute key="weight" value="7100"/> <attribute key="defense" value="36"/> <attribute key="absorbPercentPhysical" value="5"/> <attribute key="showattributes" value="1"/> <attribute key="weaponType" value="shield"/> <attribute key="description" value="Life + 300 Mana +200" /> <attribute key="healthGain" value="300"/> <attribute key="healthTicks" value="1000"/> <attribute key="manaGain" value="200" /> <attribute key="manaTicks" value="1000" /> <attribute key="showattributes" value="1"/> </item>
-
como editar o attack de uma sword
coloca isso aki em weapons.xml: <melee id="7405" level="70" unproperly="1" event="function" value="default"/>
-
[Resolvido] [AJUDA] Houses bugadas
agora funcionou vlw ae rep + mais qual a diferencia desse map editor para o rme?
-
[Resolvido] [AJUDA] Houses bugadas
So tem esse Carlin war mesmo. Nao troquei de mapa so baixei um serve de carlin war e começei a edita o mapa
-
[Resolvido] [AJUDA] Houses bugadas
Sim somente neste mapa, tentei com outro e funciona as houses. Mas eu nao quero troca de mapa.
-
[Resolvido] [AJUDA] Houses bugadas
Remere's Map Editor 2.2
-
[Resolvido] [AJUDA] Houses bugadas
Continua do mesmo jeito
-
[Resolvido] [AJUDA] Houses bugadas
-
[Resolvido] [AJUDA] Houses bugadas
-
[Resolvido] [AJUDA] Houses bugadas
-
[Resolvido] [AJUDA] Houses bugadas
Quando eu entro no RME eu vo la cria uma house so que quando clico em add nao aparece nada e nao tem nenhuma house na lista mais quando eu entro no ot as houses ja estao pra vende. Alguem pode me ajudar com isso?
-
como editar o attack de uma sword
<item id="7405" article="a" name="havoc blade"> <attribute key="weight" value="7200"/> <attribute key="defense" value="34"/> <attribute key="attack" value="87"/> <attribute key="elementholy" value="22"/> <attribute key="weaponType" value="sword"/> <attribute key="description" value="Life + 300 Mana +200" /> <attribute key="healthGain" value="300"/> <attribute key="healthTicks" value="1000"/> <attribute key="manaGain" value="200" /> <attribute key="manaTicks" value="1000" /> <attribute key="showattributes" value="1"/> </item> ve se funfa
-
como editar o attack de uma sword
e so ir em items.xml procura seu item e adicionar essa tag : <attribute key="elementIce" value="22" />
-
Que script que eu tenho que fazer isso
vai em moveevents.xml e adicione essa tag : <movevent type="Equip" itemid="ID" slot="armor" event="function" value="onEquipItem"> <vocation id="1"/> <vocation id="2"/> <vocation id="5"/> <vocation id="6"/> so troca o id
-
[Resolvido] Amuleto Vip
vai em items.xml e e adicione essa tag no item 8266: <attribute key="preventDrop" value="1"/> ficando assim: <item id="8266" name="koshei's ancient amulet"> <attribute key="description" value="The effects of this amulet are unknown." /> <attribute key="weight" value="500" /> <attribute key="slotType" value="necklace" /> <attribute key="absorbPercentDeath" value="8" /> <attribute key="absorbPercentHoly" value="-50" /> <attribute key="showattributes" value="1" /> <attribute key="preventDrop" value="1"/>
-
Como eu faço para criar esa runa?
tenta essa life rune aki local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 1500, 0, 2500) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
-
Bug Item de double exp
vai em mod e crie um arquivo com o nome doubleexp.lua e cole isso: <?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 = 120---- 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> ali em : configs = { time = 120, -- tempo em minutos needpa = TRUE, -- se precisa se premium para usar se nao coloque false needlvl = {TRUE, level = 50}, -- o lvl que precisa se nao coloque false costmana = {TRUE, mana = 300}, se vai custar mana se nao coloque false addrate = 20, -- Exp que vai adicionar em % removeonuse = TRUE -- remove ao da use } edite a seu gosto e aki: <action itemid="7440" event="script"><![CDATA[ -- coloque o id do item
-
[Pedido] Comando iniciante
o do bau e so vc colocar eles com o mesmo actionid e uniqueid exemplo: function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 2000 then queststatus = getPlayerStorageValue(cid,54090) if queststatus == -1 then doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Voce ganhou seu kit inicial.") doPlayerAddItem(cid,IDDOITEMAQUI,1) setPlayerStorageValue(cid,54090,1) else doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "bau vazio mano.") end end return 1 end so fazer isso mais 2 vezes(se quizer)tag: <action uniqueid="2000" script="kitinicial.lua"/> aki a talkaction: function onSay(cid, words, param, channel) local t = string.explode(param, ",") if t[1] ~= nil and t[2] ~= nil then local list = {} for i, tid in ipairs(getPlayersOnline()) do list[i] = tid end for i = 1, #list do doPlayerAddItem(list[i],t[1],t[2]) end -- Script by Dubler, written for megaevo.net doBroadcastMessage(getPlayerName(cid) .. " Presenteou: " .. t[2] .." ".. getItemNameById(t[1]) .. " Para Todos Os Jogadores Online!") else doPlayerPopupFYI(cid, "No parm...\nSend:\n /itemadd itemid,how_much_items\nexample:\n /itemadd 2160,10") end return true end
- Editando
-
Como eu faço para criar esa runa?
mana rune: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN) setCombatParam(combat, COMBAT_PARAM_EFFECT, 1) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 1500, 0, 2500) function onCastSpell(cid, var) doSendAnimatedText(getPlayerPosition(cid), "mana", math.random(1, 255)) return doCombat(cid, combat, var) end tag: <rune name="Mana Rune" id="ID DELA" allowfaruse="1" charges="5" lvl="80" exhaustion="0" maglv="5" aggressive="0" needtarget="1" blocktype="solid" script="manarune.lua"/> <vocation id="3"/> <vocation id="4" showInDescription="0"/> life rune: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, 1) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 1500, 0, 3000) function onCastSpell(cid, var) doSendAnimatedText(getPlayerPosition(cid), "mana", math.random(1, 255)) return doCombat(cid, combat, var) end tag <rune name="Life Rune" id="ID DELA" allowfaruse="1" charges="5" lvl="80" exhaustion="0" maglv="5" aggressive="0" needtarget="1" blocktype="solid" script="liferune.lua"/> <vocation id="1"/> <vocation id="2" showInDescription="0"/>
-
Editando
na pasta monster e so procurar o pokemon que vc que edita e editado-lo exemplo: (vv de tibia global) em <health now="110" max="110"/> health now e a vida que ele vai começar e max e o maximo de vida que ele vai te (para deixa-lo mais dificil de matar) em <attack name="melee" interval="2000" skill="20" attack="16"/> so almentar o skill e o atack ali(para deixar mais forte)
-
[AJUDA] Quest por vocação
ta ae : e so muda o uniqueid e o item que o player ira receber tag: