Ir para conteúdo

theloy

Campones
  • Total de itens

    5
  • Registro em

  • Última visita

Sobre theloy

Informações

  • Char no Tibia
    ADM Theloy
  • Forma que conheci o xTibia
    Amigos
  • Sou
    Não Informado

theloy's Achievements

  1. Legal gostei criatividade ao topo.
  2. 30%Me 70%apellmos são 8 diferentes formas q essa spell ira ser lançada é uma sequencia tipow 8 rajadas de agua.Parece com a chuva de meteoros do colex soh q essa é inferior. abra data/spells/spells.xml e digite: <instant name="Water Beam" words="water beam" lvl="20" maglv="15" mana="50" soul="0" exhaustion="1" prem="1" enabled="1" script="water beam.lua"><vocation id="2"/><vocation id="1"/><vocation id="3"/><vocation id="4"/><vocation id="6"/><vocation id="5"/><vocation id="7"/><vocation id="8"/><vocation id="9"/><vocation id="10"/><vocation id="11"/><vocation id="12"/></instant> salve.Deixe do jeito que quiser.Se o seu ot ja tiver n presisa colocar isso apenas o script agora vá em data/spells/scripts abra um arkivo apague tudo e digite: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat7 = createCombatObject() setCombatParam(combat7, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) local combat8 = createCombatObject() setCombatParam(combat8, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -0.5, -30, -1.1, 0) arr1 = { {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0}, {1, 1, 1, 0, 0, 0, 1, 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1, 0, 1, 0, 0, 1, 0, 1, 0, 1}, {1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0}, } arr8 = { {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1}, {1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1}, {1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1}, {1, 0, 1, 0, 1, 0, 0, 2, 0, 0, 1, 0, 1, 0, 1}, {1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1}, {1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1}, {1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) local area4 = createCombatArea(arr4) local area5 = createCombatArea(arr5) local area6 = createCombatArea(arr6) local area7 = createCombatArea(arr7) local area8 = createCombatArea(arr8) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) setCombatArea(combat6, area6) setCombatArea(combat7, area7) setCombatArea(combat8, area8) local function onCastSpell1(parameters) doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, parameters.combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, parameters.combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, parameters.combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, parameters.combat5, parameters.var) end local function onCastSpell6(parameters) doCombat(parameters.cid, parameters.combat6, parameters.var) end local function onCastSpell7(parameters) doCombat(parameters.cid, parameters.combat7, parameters.var) end local function onCastSpell8(parameters) doCombat(parameters.cid, parameters.combat8, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2, combat3 = combat3, combat4 = combat4, combat5 = combat5, combat6 = combat6, combat7 = combat7, combat8 = combat8 } addEvent(onCastSpell1, 0, parameters) addEvent(onCastSpell2, 250, parameters) addEvent(onCastSpell3, 500, parameters) addEvent(onCastSpell4, 750, parameters) addEvent(onCastSpell5, 1000, parameters) addEvent(onCastSpell6, 1250, parameters) addEvent(onCastSpell7, 1500, parameters) addEvent(onCastSpell8, 1750, parameters) end salve como water beam.lua pronto divirta-se pode editar como quiser.
  3. A galera sempre fas umas modificações e se der errado e n tiver backup ai vai os monstros: download !@#$%¨& ninguem comenta q !@#$%
  4. Ajuda mt a galera q quer botar um npc q fala as regras.N vi esse npc aki no forum entaum me corrijam se ja tiver. ai vai: vá até data/npc e abra o bloco de notas e coloue isso: <?xml version="1.0"?> <npc name="Assistente do Server" script="data/npc/scripts/rules.lua" access="3" lookdir="2" > <mana now="800" max="800"/> <health now="200" max="200"/> <look type="75" head="0" body="95" legs="0" feet="95"/> </npc> save como Assistente do Server.xml agora va em data/npc/scripts abra um akivo e apague oq está dentro e digite: focus = 0 talk_start = 0 target = 0 following = false attacking = false function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. creatureGetName(cid) .. '! Do you want to hear about the Rules?') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'yes') then selfSay('Right. Do you want to hear about "Name" Rules,"Talking" Rules or "Game" Rules?') elseif msgcontains(msg, 'name') then selfSay('É Proibido: 1)Nomes ofensivos; 2)Nomes com partes de sentenças; 3)Nomes com formado inválido;') elseif msgcontains(msg, 'talking') then selfSay('É Proibido: 1)Frases ofensivas; 2)Spam; 3)Anúncio de produtos,servidores,sites,etc.; 3)Qualquer envolvimento em dinheiro; 4)Xingamentos em geral; 5)Calúnia contra um GM ou GOD.') elseif msgcontains(msg, 'game') then selfSay('É Proibido: 1)Abusar de Bug, para prejudicamento do server; 2)Usar software não-oficial; 3)Quaisquer Métodos de Hackeamento; 4)Multiclients; 5)Trocas de accounts; 6)Divisão de accounts; 7)Insistência com GODs e GMs;') elseif string.find(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() if (os.clock() - talk_start) > 20 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end save como rules.lua Vc pode traduzir,modificar as falas bote conforme seu gosto.
  5. theloy

    Exxori

    Meu primeiro post.Vim trazer a exxori q é mt boa.´ Vá ne data/spells/spells.xml e digite isso: <instant name="ultimate exori" words="exxori" lvl="50" maglv="5" manapercent="30" soul="0" exhaustion="1" prem="1" enabled="1" script="exxori.lua"><vocation id="4"/><vocation id="8"/><vocation id="12"/></instant> agora vá em data/spells/scripts abra quaquer arquivo apague tudo e digite isso e save como exxori e digite isso: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ENERGYHIT) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) function onGetFormulaValues(cid, level, maglevel) min = -(level * 50) / 10 max = -(level * 100.5) / 10 return min, max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") local arr = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0}, {0, 0, 1, 1, 0, 1, 2, 1, 0, 1, 1, 0, 0, 0, 0}, {0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0}, {0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end n ta mt boa pq é a minha primeira mais da pro gasto. :49_49:
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...