Ir para conteúdo

ZoR

Membro
  • Registro em

  • Última visita

Tudo que ZoR postou

  1. ZoR postou uma resposta no tópico em Sprites
    Tipo Assim http://prntscr.com/ghfuei ??
  2. Tenho Contato de um Otimo Designer. Se Quiser Só Mandar PM,ele cobra 120 por trabalho
  3. Qual seu Projeto? Tibia,Derivado?
  4. function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return false end local p, mc = getPlayersOnline(), 0 for _, pid in pairs(p) do if getPlayerIp(cid) == getPlayerIp(pid) and pid ~= cid then doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) break end end return true end movevent type="StepIn" actionid="action id desejada" event="script" value="nomedoarquivo.lua"/>
  5. ZoR postou uma resposta no tópico em Sprites
    Como Expliquei para voce "(Num Forum Qualquer)" que a cor dele esta Muito Forte.
  6. local config = { max = 1, -- Número de players permitido com o mesmo IP. } local accepted_ip_list = {} -- Lista dos players permitidos passar com o mesmo ip, exemplo: {"200.85.3.60", "201.36.5.222"} local function antiMC(p) if #getPlayersByIp(getPlayerIp(p.pid)) >= p.max then doTeleportThing(cid, fromPosition, TRUE) doPlayerSendCancel(cid, 'Você não pode estar com MC para passar.') end return true end function onStepIn(cid, item, position, fromPosition, toPosition) if isPlayer(cid) and getPlayerLevel(cid) < level then if isInArray(accepted_ip_list,doConvertIntegerToIp(getPlayerIp(cid))) == false then addEvent(antiMC, 1000, {pid = cid, max = config.max+1}) end end return true end em Movements.xml adicione a Tag <movevent type="StepIn" actionid="BUAAA" event="script" value="Blaaa.lua"/> Deixe em algum Tile quando o cara tiver Mc e for Passar ele nao vai conseguir passar. Se te Ajudei,me Ajuda com REP+ e melhor resposta!
  7. ZoR postou uma resposta no tópico em Suporte Tibia OTServer
    Troque sua Distro.
  8. @leozincorsair Talkaction local config = { --[vocation id] = { level, nova voc, looktype, efeito} -- Naruto -- [1] = { 25, 2, 199, 122}, [2] = { 50, 3, 769, 122}, [3] = { 75, 4, 198, 122}, [4] = { 100, 5, 201, 122}, [5] = { 125, 6, 309, 122}, [6] = { 150, 7, 797, 122}, [7] = { 175, 8, 303, 122}, [8] = { 200, 9, 301, 122}, [9] = { 225, 10, 771, 122}, [10] = { 250, 11, 751, 122}, [11] = { 275, 12, 308, 122}, [12] = { 300, 13, 197, 122}, [13] = { 325, 14, 196, 122}, [14] = { 350, 15, 291, 122}, [15] = { 400, 16, 207, 122}, -- Sasuke -- [19] = { 25, 19, 240, 110}, [19] = { 50, 20, 240, 110}, [20] = { 70, 21, 774, 110}, [21] = { 75, 22, 311, 110}, [22] = { 100, 23, 241, 110}, [23] = { 125, 24, 773, 110}, [24] = { 150, 25, 762, 110}, [25] = { 175, 26, 312, 110}, [26] = { 200, 27, 314, 110}, [27] = { 225, 28, 315, 110}, [28] = { 250, 29, 315, 110}, [29] = { 275, 30, 316, 110}, [30] = { 300, 31, 292, 110}, [31] = { 325, 32, 295, 110}, [32] = { 350, 33, 317, 110}, [33] = { 400, 34, 296, 110}, -- Lee -- [35] = { 25, 35, 325, 110}, [35] = { 50, 36, 324, 110}, [36] = { 70, 37, 323, 110}, [37] = { 75, 38, 322, 110}, [38] = { 100, 39, 321, 110}, [39] = { 125, 40, 320, 110}, [40] = { 150, 41, 319, 110}, [41] = { 200, 42, 745, 110}, [42] = { 255, 43, 726, 110}, [43] = { 350, 44, 318, 110}, [44] = { 400, 45, 294, 110}, -- Shikamaru -- [47] = { 25, 47, 251, 122}, [47] = { 50, 48, 251, 122}, [48] = { 75, 49, 243, 122}, [49] = { 100, 50, 245, 122}, [50] = { 125, 51, 242, 122}, [51] = { 150, 52, 246, 122}, [52] = { 175, 53, 247, 122}, [53] = { 220, 54, 248, 122}, [54] = { 275, 55, 249, 122}, -- Minato -- [58] = { 25, 58, 329, 122}, [58] = { 75, 59, 332, 122}, [59] = { 125, 60, 330, 122}, [60] = { 175, 61, 331, 122}, [61] = { 225, 62, 333, 122}, [62] = { 275, 63, 334, 122}, [63] = { 375, 64, 335, 122}, [64] = { 450, 65, 300, 122}, -- Sakura -- [70] = { 25, 70, 722, 122}, [70] = { 50, 71, 723, 122}, [71] = { 75, 72, 255, 122}, [73] = { 100, 74, 254, 122}, -- Neji -- [80] = { 25, 80, 760, 122}, [80] = { 50, 81, 759, 122}, [81] = { 75, 82, 758, 122}, [82] = { 100, 83, 757, 122}, [83] = { 125, 84, 756, 122}, [84] = { 150, 85, 755, 122}, [85] = { 175, 86, 754, 122}, [86] = { 225, 87, 253, 122}, [88] = { 350, 89, 252, 122}, -- Tenten -- [94] = { 25, 94, 718, 122}, [94] = { 50, 95, 717, 122}, [95] = { 75, 96, 716, 122}, [96] = { 100, 97, 715, 122}, [97] = { 125, 98, 714, 122}, [98] = { 150, 99, 713, 122}, [99] = { 175, 100, 712, 122}, [100] = { 220, 101, 711, 122}, [101] = { 300, 102, 710, 122}, -- Hinata -- [110] = { 25, 110, 709, 122}, [110] = { 50, 111, 708, 122}, [111] = { 75, 112, 707, 122}, [112] = { 100, 113, 706, 122}, [113] = { 125, 114, 704, 122}, [114] = { 150, 115, 703, 122}, [115] = { 175, 116, 702, 122}, [116] = { 200, 117, 701, 122}, [117] = { 225, 118, 700, 122}, [118] = { 275, 119, 700, 122}, -- Jyraia -- [128] = { 25, 128, 209, 122}, [128] = { 50, 129, 210, 122}, [129] = { 75, 130, 211, 122}, [130] = { 100, 131, 212, 122}, [131] = { 125, 132, 213, 122}, [132] = { 150, 133, 214, 122}, [133] = { 175, 134, 215, 122}, [134] = { 200, 135, 216, 122}, -- Killer Bee -- [165] = { 25, 165, 280, 122}, [165] = { 50, 166, 281, 122}, [166] = { 75, 167, 282, 122}, [167] = { 100, 168, 283, 122}, [168] = { 125, 169, 284, 122}, [169] = { 150, 170, 285, 122}, [170] = { 175, 171, 286, 122}, [171] = { 200, 172, 287, 122}, [172] = { 225, 173, 288, 122}, [173] = { 235, 174, 289, 122}, [174] = { 275, 175, 290, 122}, -- Itachi -- [180] = { 25, 180, 81, 122}, [180] = { 50, 181, 80, 122}, [181] = { 75, 182, 77, 122}, [182] = { 100, 183, 78, 122}, [183] = { 125, 184, 76, 122}, [184] = { 150, 185, 75, 122}, [185] = { 175, 186, 74, 122}, [186] = { 200, 187, 73, 122}, -- Tsunade -- [193] = { 25, 193, 267, 122}, [193] = { 50, 194, 268, 122}, [194] = { 75, 195, 269, 122}, [195] = { 100, 196, 270, 122}, [196] = { 125, 197, 271, 122}, [197] = { 150, 198, 272, 122}, [198] = { 175, 199, 273, 122}, [199] = { 200, 200, 274, 122}, [200] = { 225, 201, 275, 122}, [201] = { 235, 202, 276, 122}, -- Temari -- [211] = { 25, 211, 259, 122}, [211] = { 50, 212, 260, 122}, [212] = { 75, 213, 261, 122}, [213] = { 100, 214, 262, 122}, [214] = { 125, 215, 263, 122}, [215] = { 150, 216, 264, 122}, [216] = { 175, 217, 265, 122}, [217] = { 200, 218, 266, 122}, -- Madara -- [228] = { 25, 228, 10, 122}, [228] = { 50, 229, 11, 122}, [229] = { 75, 230, 12, 122}, [230] = { 100, 231, 13, 122}, [231] = { 125, 232, 14, 122}, [232] = { 150, 233, 15, 122}, [233] = { 175, 234, 15, 122}, [234] = { 200, 235, 338, 122}, -- Tobirama -- [412] = { 25, 412, 739, 122}, [412] = { 50, 413, 738, 122}, [413] = { 75, 414, 194, 122}, [414] = { 100, 415, 193, 122}, [415] = { 125, 416, 192, 122}, [416] = { 150, 417, 191, 122}, [417] = { 175, 418, 188, 122}, [418] = { 200, 419, 187, 122}, -- Raikage -- [239] = { 25, 239, 87, 122}, [239] = { 50, 240, 88, 122}, [240] = { 75, 241, 89, 122}, [241] = { 100, 242, 90, 122}, [242] = { 125, 243, 91, 122}, [243] = { 150, 244, 179, 122}, [244] = { 175, 245, 178, 122}, [245] = { 200, 246, 177, 122}, [246] = { 200, 247, 176, 122}, [247] = { 200, 248, 99, 122}, -- Hashirama -- [254] = { 25, 254, 16, 122}, [254] = { 50, 255, 17, 122}, [255] = { 75, 256, 18, 122}, [256] = { 100, 257, 19, 122}, [257] = { 125, 258, 20, 122}, [258] = { 150, 259, 21, 122}, [259] = { 175, 260, 22, 122}, [260] = { 200, 261, 23, 122}, [261] = { 200, 262, 24, 122}, -- Ino -- [272] = { 25, 272, 799, 122}, [272] = { 50, 273, 2, 122}, [273] = { 75, 274, 3, 122}, [274] = { 100, 275, 4, 122}, [275] = { 125, 276, 5, 122}, [276] = { 150, 277, 6, 122}, [277] = { 175, 278, 7, 122}, [278] = { 200, 279, 8, 122}, -- Sai -- [315] = { 25, 315, 625, 122}, [315] = { 50, 316, 624, 122}, [316] = { 75, 317, 623, 122}, [317] = { 100, 318, 622, 122}, [318] = { 125, 319, 621, 122}, [319] = { 150, 320, 620, 122}, -- Chouji -- [295] = { 25, 295, 635, 122}, [295] = { 50, 296, 634, 122}, [296] = { 75, 297, 633, 122}, [297] = { 100, 298, 632, 122}, [298] = { 125, 299, 631, 122}, [299] = { 150, 300, 630, 122}, [300] = { 175, 301, 616, 122}, [301] = { 200, 302, 615, 122}, -- Shino -- [285] = { 25, 285, 53, 122}, [285] = { 50, 286, 54, 122}, [286] = { 75, 287, 55, 122} } local t = { -- voc = {da vocação, até a vocação}, o lookType será = X [1] = {voc = {1,15}, lookType = 261}, [2] = {voc = {19,33}, lookType = 761}, [3] = {voc = {35,44}, lookType = 86}, [4] = {voc = {47,54}, lookType = 364}, [5] = {voc = {58,64}, lookType = 336}, [6] = {voc = {70,73}, lookType = 122}, [7] = {voc = {80,88}, lookType = 84}, [8] = {voc = {94,101}, lookType = 83}, [9] = {voc = {110,118}, lookType = 362}, [10] = {voc = {128,142}, lookType = 52}, [11] = {voc = {165,174}, lookType = 82}, [12] = {voc = {180,186}, lookType = 76}, [13] = {voc = {193,201}, lookType = 798}, [14] = {voc = {211,217}, lookType = 85}, [15] = {voc = {228,234}, lookType = 366}, [16] = {voc = {412,418}, lookType = 182}, [17] = {voc = {239,247}, lookType = 208}, [18] = {voc = {254,261}, lookType = 363}, [19] = {voc = {295,301}, lookType = 390}, [20] = {voc = {272,278}, lookType = 9} } local tempo = 15 -- em segundos function onSay(cid, words, param, channel) local p = getPlayerPosition(cid) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") doSendMagicEffect(p, CONST_ME_POFF) return true end param = param:lower() local voc = config[getPlayerVocation(cid)] local outfit = getCreatureOutfit(cid) if getPlayerStorageValue(cid, 23481) - os.time() > 0 then doPlayerSendCancel(cid, "Você tem que esperar " .. tempo .. " segundos para usar o comando novamente.") doSendMagicEffect(p, CONST_ME_POFF) return true end if getPlayerStorageValue(cid, 8974555) == -1 then doPlayerSendCancel(cid, "Você não é da Akatsuki!") doSendMagicEffect(p, CONST_ME_POFF) return true end if setAkatsuki(cid, t) == nil then return true end if param == 'on' then outfit.lookType = setAkatsuki(cid, t) doCreatureChangeOutfit(cid, outfit) doCreatureSay(cid, "Você virou um Akatsuki!", TALKTYPE_ORANGE_1) setPlayerStorageValue(cid, 23481, tempo + os.time()) return true elseif param == 'off' then outfit.lookType = voc[3] doCreatureChangeOutfit(cid, outfit) doCreatureSay(cid, "Você voltou ao normal!", TALKTYPE_ORANGE_1) setPlayerStorageValue(cid, 23481, tempo + os.time()) return true end end function setAkatsuki(cid, table) local vocs = getPlayerVocation(cid) for i, v in pairs(table) do if v.voc[1] <= vocs and v.voc[2] >= vocs then return v.lookType end end return nil end Talkaction.xml <talkaction words="!Akatsuki" event="script" value="akat.lua"/> Rep Para Dwarfer! Creditos @Dwarfer
  9. ZoR postou uma resposta no tópico em Suporte Tibia OTServer
    Qual a Vps? oque voce ta executando nela? só esse print nao vai resolver!! oque voce faz para aparecer ele? melhora o Topico amigo ai sim posso te ajudar!.
  10. Sim tem como,mas tem que ter um Programador de C++ que vai fazer uma dll ou algo do tipo fazendo o cliente aceitar musicas. porem isso pesa mais o cliente e a grana que ira gastar é muito grande,é dificil achar programador que iram fazer isso por Tibia ser uma engine muito antiga.
  11. toma amigo. http://www.mediafire.com/file/j23ciuxnhi5i52o/ItemEditor.rar scan:https://www.virustotal.com/#/file/634137765cc40c872f50b581120fd58d2ed56cb597a1ee15df7fc0a2ff130480/detection se ajudei marca como melhor resposta e rep! pfv
  12. -- config, in percent of normal training with 2 trainers and player vocation mana regeneration [by food] OfflineTraining_rates = { [SKILL_CLUB] = 25, [SKILL_SWORD] = 25, [SKILL_AXE] = 25, [SKILL_DISTANCE] = 25, [SKILL_SHIELD] = 25, [SKILL__MAGLEVEL] = 25 } -- function that you should edit to make it add other skill etc. function OfflineTraining_canStartTraining(cid) -- return bool return getCreatureStorage(cid, 62669) > 0 end function OfflineTraining_onStartTraining(cid) -- maybe someone will need -- to save your time, this: doPlayerPopupFYI(cid, "You started offline training.") -- NOT WORK :( end function OfflineTraining_onEndTraining(cid) doCreatureSetStorage(cid, 62669, 0) end function OfflineTraining_addTrainedSkills(cid, trainTime) -- time in minutes! local timeInSeconds = trainTime * 60 local vocInfo = getVocationInfo(getPlayerVocation(cid)) if(getCreatureStorage(cid, 62669) == SKILL_SWORD) then doPlayerAddSkillTry(cid, SKILL_SWORD, ((timeInSeconds * 1000) / vocInfo["attackSpeed"]) * OfflineTraining_rates[SKILL_SWORD] / 100, true) elseif(getCreatureStorage(cid, 62669) == SKILL_AXE) then doPlayerAddSkillTry(cid, SKILL_AXE, ((timeInSeconds * 1000) / vocInfo["attackSpeed"]) * OfflineTraining_rates[SKILL_AXE] / 100, true) elseif(getCreatureStorage(cid, 62669) == SKILL__MAGLEVEL) then doPlayerAddSpentMana(cid, ((timeInSeconds / vocInfo["manaGainTicks"]) * vocInfo["manaGain"]) * OfflineTraining_rates[SKILL__MAGLEVEL] / 100, true) elseif(getCreatureStorage(cid, 62669) == SKILL_CLUB) then doPlayerAddSkillTry(cid, SKILL_CLUB, ((timeInSeconds * 1000) / vocInfo["attackSpeed"]) * OfflineTraining_rates[SKILL_CLUB] / 100, true) elseif(getCreatureStorage(cid, 62669) == SKILL_DISTANCE) then doPlayerAddSkillTry(cid, SKILL_DISTANCE, ((timeInSeconds * 1000) / vocInfo["attackSpeed"]) * OfflineTraining_rates[SKILL_DISTANCE] / 100, true) end doPlayerAddSkillTry(cid, SKILL_SHIELD, timeInSeconds * OfflineTraining_rates[SKILL_SHIELD] / 100, true) end -- 4 functions to show right values on 'bar' in Tibia 9.6 function OfflineTraining_getTime(cid) return getCreatureStorage(cid, 62666) end function OfflineTraining_setTime(cid, newTime) -- set values only between 0 - 720 [12 hours] doCreatureSetStorage(cid, 62666, math.max(0, math.min(newTime, 720))) -- now code to force server to send 'PlayerStats' (including Offline Time) -- we must change any stat: hp,mana,stamina,cap,soul,exp,level doPlayerAddSoul(cid, 1) doPlayerAddSoul(cid, -1) end function OfflineTraining_addTime(cid, addTime) OfflineTraining_setTime(cid, OfflineTraining_getTime(cid) + addTime) end function OfflineTraining_removeTime(cid, removeTime) OfflineTraining_setTime(cid, OfflineTraining_getTime(cid) - removeTime) end -- functions for library to add skills/mlvl function OfflineTraining_initialize(cid) if(OfflineTraining_getTime(cid) == -1) then OfflineTraining_setLogoutTime(cid) -- block problem with first login 'add time' end end function OfflineTraining_isTraining(cid) return (getCreatureStorage(cid, 62667) > 0) end function OfflineTraining_turnOnTraining(cid) doCreatureSetStorage(cid, 62667, 1) end function OfflineTraining_turnOffTraining(cid) doCreatureSetStorage(cid, 62667, 0) end function OfflineTraining_getOfflineTime(cid) return math.floor((os.time() - getCreatureStorage(cid, 62668)) / 60) end function OfflineTraining_setLogoutTime(cid) return doCreatureSetStorage(cid, 62668, os.time()) end usa essa Lib.
  13. ZoR postou uma resposta no tópico em Suporte Tibia OTServer
    tem colocar pra subir todos os andares?
  14. ZoR postou uma resposta no tópico em Suporte Tibia OTServer
    No caso Dwarf ele só sobe no Floor 6? é configuravel ?
  15. Queria um Bau que quando clica,sortei 1/10 items para o player só pode pegar 1 vez por dia
  16. Sei que esse pedido pode ser meio abusado mas se alguem fizer vai ajudar nao só o meu mais como varios projetos. Script Funciona Assim Para Participar tem que ter Guild. o Lider da Guild Fala com Npc e entao a guild dele já esta pronta para participar o Evento Inicia as 18:00 e termina as 19:30 de Domingo. Para Isso tera um Trono o Player que clicar Teleporta para o Trono e a guild dele tem que Protejer ele no Trono. Á Guild que clicar e ficar lá até as 19:30 Ganha o Evento e ganha 1 Semana de Hunts Se Nao tiver Guild Nao passa pelo Tile. Script Inicia Sozinho ou Por um Staff Quando der 19:30 Todos irao para o DP ("As guilds")
  17. Warning: [Protocol::RSA_decrypt]. First byte != 0 ta dando esse erro ao tentar logar no meu game alguem sabe oque pode ser?
  18. 100% Funcional!
  19. 100% Funcional
  20. 100% Funcional
  21. o corpse esta aparecendo em outro lugar
  22. 1 ta no action 2 no spells Tag <instant name="bacu dois" words="bacu dois" lvl="75" mana="3900" aggressive="1" range="5" blockwalls="1" selftarget="1" exhaustion="800" needlearn="0" event="script" value="coraco.lua"> <vocation id="1-15"/> </instant> Tag <action itemid="5943" script="coracotp.lua" />
  23. eu ultilizei mas nao funciona,nao aparece nem erro no console
  24. o primeiro é uma Spell nao uma Action Id ou seja o Player vai falar exemplo "Bilada" e sim acontece as coisas
  25. Funciona assim Ao Usar com 15% de HP o player teleporta e naonde ele teleportou aparece um corpse ("Checa a vocaçao dele e manda um corpo") - "Aparece assim na tela dele" (Obs: ele só fica 3 segundos e volta Full Life) "Coraçoes 5/6" quando aparecer "Coraçoes 3/6" Fica Red a palavra ele pode usar 6 vezes isso Coldown de 5 Segundos/se ele usar as 6 Vezes no dia,ele tem um Coldown de 3 Horas para usar novamente. 2 Script

Informação Importante

Confirmação de Termo