Ir para conteúdo

Weslley Kiyo

Membro
  • Registro em

  • Última visita

Tudo que Weslley Kiyo postou

  1. Barrier.lua --------- Special UE By WilkU / Edited by Weslley Kiyo -------------- local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 190) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.5, 0, -1.6, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 231) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.5, 0, -1.6, 0) arr1 = { {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, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 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, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr2 = { {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, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 2, 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, 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}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) setCombatArea(combat1, area1) setCombatArea(combat2, area2) local function onCastSpell1(parameters) if not isPlayer(parameters.cid) then return true end doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onCastSpell2(parameters) if not isPlayer(parameters.cid) then return true end doCombat(parameters.cid, parameters.combat2, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 } addEvent(onCastSpell1, 0, parameters) addEvent(onCastSpell2, 0, parameters) end niebieskie pioruny ue.lua --------- Special UE By WilkU / Edited by Weslley Kiyo -------------- local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 14) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.2, 0, -1.2, 0) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 14) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.2, 0, -1.2, 0) arr1 = { {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, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 1, 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, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr2 = { {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, 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, 2, 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, 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}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) setCombatArea(combat1, area1) setCombatArea(combat2, area2) local function onCastSpell1(parameters) if not isPlayer(parameters.cid) then return true end doCombat(parameters.cid, parameters.combat1, parameters.var) end local function onCastSpell2(parameters) if not isPlayer(parameters.cid) then return true end doCombat(parameters.cid, parameters.combat2, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var, combat1 = combat1, combat2 = combat2 } addEvent(onCastSpell1, 0, parameters) addEvent(onCastSpell2, 0, parameters) end
  2. Weslley Kiyo postou uma resposta no tópico em Suporte Tibia OTServer
    Então o problema é seu mapa. Quando você abre o RME ele informa os erros e o local (x, y e z) Vai até este local, pois olhei na foto e são todos perto um do outro. Caso queira tentar driblar. Com o RME que te passei, abre ele e depois vai em importar MAPA e importa o seu. Se aparecer algum aviso sobre sobrescrever ou deletar items com erros, vc clica em SIM e o RME vai fazer todo o trabalho sujo. Ou então faz um Update no mapa, coloca ele em 8.60 para ver se dar erro, salva e fecha. Ao abrir, coloque novamente em 7.6 e quando aparecer a opção de remover items bugados, clique em SIM.
  3. Weslley Kiyo postou uma resposta no tópico em Suporte Tibia OTServer
    Anexei meu RME, está tudo funcionando. OBS: Nunca use o items.xml do servidor para o RME, ele buga! O arquivo é pesado pois possui os .dat e .spr da versão 8.60 e 10.91. Remere's_Map_Editor.rar
  4. No resultado, coloque %.2s número 2 significa a quantidade de digitos após o 'ponto'.
  5. O meu também está dando erro.
  6. Baiak é um mapa editado a partir do mapa Yurots. Ele colocou esse nome 'baiak' por ser o apelido dele. Você pode baixar vários mapas baiak's por ai, no fórum possui de montes. Você pode baixar servidores baiaks já prontos. Só procurar na área de servidores.
  7. Anexei a pasta Raids completa, com todas as raids do servidor global! Você precisa modificar: fromx="32853" fromy="32025" fromz="7" tox="32868" toy="32034" toz="7" From = de To = para É a área total da raid! Canto superior esquerdo à canto inferior direito. <monster name="elf" amount="25" /> Esta parte é os monstros e a quantidade que vão ser sumonados. raids.rar
  8. Boa tarde @MatheusVidaLoka . Se você estiver começando agora, pode hospedar o website + servidor na mesma máquina. Agora se for algo mas sério, recomendo hospedar separadamente. A conexão você faz tanto em config.lua(servidor) quanto pelo config.php(website), basta colocar o IP! Lembrando que, domínios pagos, você pode adicionar mais de 1 IP para ter acesso ao mesmo.
  9. Versão Testada: OTX_2 0.3.7 (8.60) Basicamente são 2 spells: Exevo gran mas mort e exevo gran mas pox (as duas com condições curse e poison). Estas spells já estão balanceadas mas recomendo fazer testes > Imagens < Em data/spells/scripts/attack crie 2 arquivos .lua com nomes: mort core e poison core Mort Core local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 8, 15) local condition = createConditionObject(CONDITION_CURSED) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition, 4, 2000, -60) setCombatCondition(combat, condition) local area = createCombatArea(AREA_CROSS5X5) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Poison Core local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_POISONDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_GREEN_RINGS) setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 7, 14) local condition = createConditionObject(CONDITION_POISON) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition, 4, 2000, -40) setCombatCondition(combat, condition) local area = createCombatArea(AREA_CROSS6X6) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Agora em data/spells/spells.xml adicione as 2 TAGS: <instant name="Mort Core" words="exevo gran mas mort" lvl="120" mana="2100" prem="0" exhaustion="5000" selftarget="1" needlearn="0" event="script" value="attack/mort core.lua"> <vocation id="1"/> <vocation id="5"/> </instant> <instant name="Poison Core" words="exevo gran mas pox" lvl="120" mana="1900" prem="0" selftarget="1" exhaustion="5000" needlearn="0" event="script" value="attack/poison core.lua"> <vocation id="2"/> <vocation id="6"/> </instant> mana="1900" -- É a mana necessária para usar a spell exhaustion="5000" -- Tempo de exaust da spell
  10. @daring Infelizmente sem o script é impossível lhe ajudar. Por gentileza, peço que poste o niebieskie pioruny ue.lua e barrier.lua.
  11. Em data/raids/scripts crie um arquivo .xml e adicione: <raid> <announce delay="1000" type="event" message="Elf Scouts have been sighted near Venore!" /> <announce delay="20000" type="event" message="The elves attack from shadowthorn!" /> <announce delay="60000" type="event" message="Venore is under attack!" /> <!--Area Spawns--> <areaspawn delay="60000" fromx="32853" fromy="32123" fromz="7" tox="32861" toy="32130" toz="7"> <monster name="elf" amount="25" /> <monster name="elf scout" amount="20" /> <monster name="elf arcanist" amount="15" /> </areaspawn> <areaspawn delay="60000" fromx="32932" fromy="32158" fromz="7" tox="32944" toy="32168" toz="7"> <monster name="elf" amount="25" /> <monster name="elf scout" amount="20" /> <monster name="elf arcanist" amount="15" /> </areaspawn> <areaspawn delay="60000" fromx="32853" fromy="32025" fromz="7" tox="32868" toy="32034" toz="7"> <monster name="elf" amount="25" /> <monster name="elf scout" amount="20" /> <monster name="elf arcanist" amount="15" /> </areaspawn> </raid> Agora em data/raids/raids.xml adicione: <raid name="NOME DA RAID" file="ARQUIVO RAID.xml" interval2="30" margin="1000" enabled="yes"/>
  12. --[[ by vodkart / Edited by Weslley Kiyo]]-- local storagevalue_vip = 13500 local storagevalue_bau = xxxxx function onLogin(cid) if getPlayerStorageValue(cid, storagevalue_vip) - os.time() > 0 then setPlayerStorageValue(cid, 9898, 1) end local pos = {x = 157, y = 50, z = 7} -- posiçao do templo. function Vodka(cid) if isPlayer(cid) then db.query("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end end if getPlayerStorageValue(cid, 9898) == 1 and getPlayerStorageValue(cid, storagevalue_vip) - os.time() < 1 or getPlayerStorageValue(cid, storagevalue_vip) - os.time() == 0 then doTeleportThing(cid, pos) doPlayerPopupFYI(cid, "Sua VIP Account acabou.") setPlayerStorageValue(cid, 9898, -1) setPlayerStorageValue(cid, storagevalue_bau, -1) if string.find(tostring(getCreatureName(cid)),"[[VIP]]") then addEvent(Vodka, 3*1000, cid) end end return TRUE end Em storagevalue_bau = xxxxx, no xxxxx adicione a StorageValue do baú.
  13. Weslley Kiyo postou uma resposta no tópico em Suporte Tibia OTServer
    Em config.lua Procura por worldType e modifica para: worldType = "open" ou worldType = "pvp"
  14. Weslley Kiyo postou uma resposta no tópico em Playground (Off-topic)
  15. Bom dia, @hanimanitu . Tudo bom? Então, para criar monstros com spriter's próprias você necessita modificar seu cliente e adicionar a imagem do monstro 'editado' a ele. Veja este tutorial 'clicando aqui'. (É um tutorial sobre como adicionar um pokemon mas a lógica é a mesma.) Agora caso seja apenas um monstro que já possui a imagem no cliente... No próprio vídeo ele ensina isso também Boa sorte!

Informação Importante

Confirmação de Termo