Ir para conteúdo

falling

Membro
  • Registro em

  • Última visita

Tudo que falling postou

  1. falling postou uma resposta no tópico em Suporte Tibia OTServer
    up~
  2. falling postou uma resposta no tópico em Suporte Tibia OTServer
    olha la emcima aonde kra? já resolvi eu mesmo, flei que era algo parecido? é só adicionar no items.xml e cadastrar no movements <attribute key="maxhealthpoints" value="100"/> #resolvido pode fechar!
  3. falling postou uma resposta no tópico em Suporte Tibia OTServer
    avá? nao viu que eu postei que ja coloquei no movements? o erro ta aq <attribute key="MaxHealth" value="100" /> e não é pro item healar viu? e pra ele ATRIBUIR vida cara! @Smart Maxx Que bebida cara? nao kero fazer potion! lol rs nao precisa de tudo isso kra eopkapkoepkoaeopkae mds eu tinha colocado, e só colocar um negoço parecido com esse <attribute key="MaxHealth" value="100" /> no items.xml e atribuir no movements e ja era kra mais preciso achar a função certa! ALGUEM TEM ESSA FUNÇÃO? PRA SÓ COLOCAR NO ITEMS.XML?
  4. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Olá, eu tinha já mais acabei perdendo! Ai tentei por assim <item id="2498" article="a" name="royal helmet"> <attribute key="description" value="An excellent masterpiece of a smith." /> <attribute key="weight" value="4800" /> <attribute key="armor" value="9" /> <attribute key="slotType" value="head" /> <attribute key="MaxHealth" value="100" /> </item> Mesmo assim não deu =\ ps: já coloquei em movements tb
  5. falling postou uma resposta no tópico em Monsters, NPC, Raids & Mounts
    14:42 Magnus: OK then.. your task is to kill 550 Monks. Do not spare any monster! Matei um monk e não contou :3
  6. Teria como fazer esse evento só que aleatoriamente? Por exemplo, configurar X DIAS em X TEMPO Bom, efetuei a instação passo a passo e testei: 13:08 The event BattleField was opened and We are waiting 2 Players! Team divided into 1 VS 1 13:08 We are waiting 1 players to Battlefield starts. 13:08 Battlefield will start in 1 minute, please create your strategy! 13:09 BattleField will begin now! Mais ai e as paredes? elas nao somem :x --EDIT@1 Arrumei as paredes, achei ali no mod rs, mais entrei para abrir o comando denovo /battlefield "The event already open" --ETID@2 Mudei as storages do evento, e testei funcionou, as paredes sumiram ok, mais quando vou capturar a bandeira, aparece o erro no executavel que mostrei acima, e nao acaba o evento. :S --EDIT@3 Coloquei o ID 45000 nos tiles em frente as bandeiras e entao toma TP para a area de SPEC e nao termina o event To vendo que buguei td eakoekaopea
  7. Bom, pelo meu ponto de vista, o MEU problema foi o seguinte. O Script funcionou 100%. Mais em partes, porque? 1 - Quando o evento começa, as paredes ja somem, não esperam os 10 minutos para começar. 2 - Há alguns BUG's simples de mapa, nesse mapa. 3 - Quando um Player de um time, mata o outro acontece, os 2 são teleportados. 12:27 1 Player from team Black Assassins won the event battlefield, they received a 10 crystal coin!
  8. Aqui nao foi nao :x no tibia até conta, mais no site, fica td em branco! 11:19 You killed 2 Dragon's.
  9. qe zuado ;s
  10. falling postou uma resposta no tópico em Formação de Equipe
    Contato skype: global.legalize URGENTE!
  11. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Estou com o mesmo problema, se taca MW emcima da ladder o player nao sobe! @Mitsuig Fiz oque voce disse, e mesmo assim nada
  12. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Voltando ao assunto, alguem pode me indicar a melhor distro atual? para 8.60
  13. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Compreendo, mais visando oque nosso amigo tambem disse, a distro também né? Alguem teria uma distro boa? com cast+anti dv etc..? eu nao conheco as distros, qual a mais atualizada? Estou usando 1.0.6 REV 3777
  14. falling postou uma resposta no tópico em Suporte Tibia OTServer
    voce teria algum distro para me passar? eu mesmo compilo sem problemas.
  15. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Olá bom dia, venho por meio deste deixar uma duvida minha que nao quer sanar! Porque o servidor de um kra, que eu ja localizei o host, sendo em Atlanta nao tem 1 leg, da para jogar sem proxy tranquilamente.. E no meu servidor que e hospedado na Florida eu nao consigo? a latencia e demais, 200ms Fica impossivel de se jogar, o dash tava etc. Eu achava que era por causa que era VPS e entao estou com uma maquina melhor ,quase um DEDICADO e ainda continua isso. Até eu fazendo teste, COM PROXY aqui em casa fica horrivel, o dash do personagem
  16. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Olá gostaria de saber como faço para por RAID por horario no meu sv? Eu desativei todas as raids, exclui do globalevents e talz, poderiam me ajudar? Não tenho toda hora para estar no pc para iniciar a invasao
  17. falling postou uma resposta no tópico em Suporte Tibia OTServer
    Bom dia pessoal, estou com alguns problemas no meu servidor, e estou precisando de alguem para me ajudar! Se alguem estiver disposto Skype: global.legalize Mais vou explicar aqui já. Problema 1: Annihilator Script, eu usei o script da minha annihilator para fazer outra quest, só que a questão é o seguinte, é tudo zuado, o cara pode sumona rat e ir, e se por exemplo, ele morrer na sala durante a quest e ele retornar, ele puxa a alavanca, os monstros que já estão la, são MULTIPLICADOS eles não somem pra um trash sabe? Script: http://www.tibiaking.com/forum/topic/2756-action-annihilator/ Problema 2: Ladders, no meu sv, se a pessoa taca wild growth, magic wall ou qualquer outra coisa como mobilia, se torna impossivel de subir a escada. <item id="1386" article="a" name="ladder" /> Creio eu que seja a distro, alguém tem uma distro atualizada pra me passar? eu compilo não tem problemas. Meu servidor é 8.60 Global, TFS 0.4 up
  18. duvida resolvida, pode fechar
  19. falling postou uma resposta no tópico em Suporte Tibia OTServer
    @klipstyle Resolveu pra mim, obrigado podem fechar!
  20. Pessoal, bom dia, seguinte! peguei para resolver alguns problemas que aparecem no meu distro, mais não que eu nao entenda muito de script, mais é que nao sou Scripter entendem? Bom vamos la primeiro login.lua login.lua local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } accountManager = "Account Manager" managerCounter = 0 for i, player in ipairs(getOnlinePlayers()) do if accountManager:lower() == player:lower() then managerCounter = managerCounter + 1 end end if managerCounter >= 3 then return false end local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "attackguild") registerCreatureEvent(cid, "lv100") registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "pa") registerCreatureEvent(cid, "FimVip") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "demonOakLogout") registerCreatureEvent(cid, "demonOakDeath") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "reward") registerCreatureEvent(cid, VipReceive) registerCreatureEvent(cid, "ExpBonus") registerCreatureEvent(cid, "FirstItems") registerCreatureEvent(cid, "Promot") registerCreatureEvent(cid, "PlayerKill") registerCreatureEvent(cid, "KillingInTheNameOf") registerCreatureEvent(cid, "PythiusDead") if (InitArenaScript ~= 0) then InitArenaScript = 1 for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) end setPlayerStorageValue(cid, 42350, 0) setPlayerStorageValue(cid, 42352, 0) return true end end E também esses aqui. destroy field rune.lua UNREMOVABLE_FIELDS = {1497, 1498, 1499, 1505, 1506, 1507, 1508, 7465, 7466, 7467, 7468, 7469, 7470, 7471, 7472, 7473, 11094, 11095} local function doRemoveField(cid, pos) local field = getTileItemByType(pos, ITEM_TYPE_MAGICFIELD) if(not isInArray(UNREMOVABLE_FIELDS, field.itemid)) then doRemoveItem(field.uid) doSendMagicEffect(pos, CONST_ME_POFF) return true end doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return false end function onCastSpell(cid, var) local pos = variantToPosition(var) if(pos.x == CONTAINER_POSITION) then pos = getThingPos(cid) end if(pos.x ~= 0 and pos.y ~= 0) then return doRemoveField(cid, pos) end doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) return false end zaoleave.lua function onStepIn(cid, item, position, fromPosition) local teleport = {x=33131, y=31198, z=7} -- Posição do teleport. local effect = 34 -- Efeito do teleport. if isPremium(cid) == TRUE then doTeleportThing(cid, teleport) doSendMagicEffect(getPlayerPosition(cid), effect) else doPlayerSendText(cid, MESSAGE_INFO_DESCR, "Sorry, you need a premium.") end return TRUE end zaoleave2.lua function onStepIn(cid, item, position, fromPosition) local teleport = {x=33131, y=31198, z=7} -- Posição do teleport. local effect = 34 -- Efeito do teleport. if isPremium(cid) == TRUE then doTeleportThing(cid, teleport) doSendMagicEffect(getPlayerPosition(cid), effect) else doPlayerSendText(cid, MESSAGE_INFO_DESCR, "Sorry, you need a premium.") end return TRUE end Obrigado desde já s2 Caso queiram contato direto: global.legalize (skype)
  21. falling postou uma resposta no tópico em Suporte Tibia OTServer
    @klipstyle agradeceria e muito, porque não fui eu que compilei nao tenho muito conhecimento nesta parte de programação, foi a empresa do host do meu sv que compilou kkkkk tem como me ajudar? meu skype: global.legalize
  22. falling postou uma resposta no tópico em Suporte Tibia OTServer
    não, não sei nao fui eu que compilei =\ e agora? eh linux debian 6
  23. falling postou uma resposta no tópico em Suporte Tibia OTServer
    war.lua function onSay(cid, words, param, channel) local guild = getPlayerGuildId(cid) if(not guild or getPlayerGuildLevel(cid) < GUILDLEVEL_LEADER) then doPlayerSendChannelMessage(cid, "", "You cannot execute this talkaction.", TALKTYPE_CHANNEL_W, 0) return true end local t = string.explode(param, ",") if(not t[2]) then doPlayerSendChannelMessage(cid, "", "Not enough param(s).", TALKTYPE_CHANNEL_W, 0) return true end local enemy = getGuildId(t[2]) if(not enemy) then doPlayerSendChannelMessage(cid, "", "Guild \"" .. t[2] .. "\" does not exists.", TALKTYPE_CHANNEL_W, 0) return true end if(enemy == guild) then doPlayerSendChannelMessage(cid, "", "You cannot perform war action on your own guild.", TALKTYPE_CHANNEL_W, 0) return true end local enemyName, tmp = "", db.getResult("SELECT `name` FROM `guilds` WHERE `id` = " .. enemy) if(tmp:getID() ~= -1) then enemyName = tmp:getDataString("name") tmp:free() end if(isInArray({"accept", "reject", "cancel"}, t[1])) then local query = "`guild_id` = " .. enemy .. " AND `enemy_id` = " .. guild if(t[1] == "cancel") then query = "`guild_id` = " .. guild .. " AND `enemy_id` = " .. enemy end tmp = db.getResult("SELECT `id`, `begin`, `end`, `payment` FROM `guild_wars` WHERE " .. query .. " AND `status` = 0") if(tmp:getID() == -1) then doPlayerSendChannelMessage(cid, "", "Currently there's no pending invitation for a war with " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end if(t[1] == "accept") then local _tmp = db.getResult("SELECT `balance` FROM `guilds` WHERE `id` = " .. guild) local state = _tmp:getID() < 0 or _tmp:getDataInt("balance") < tmp:getDataInt("payment") _tmp:free() if(state) then doPlayerSendChannelMessage(cid, "", "Your guild balance is too low to accept this invitation.", TALKTYPE_CHANNEL_W, 0) return true end db.query("UPDATE `guilds` SET `balance` = `balance` - " .. tmp:getDataInt("payment") .. " WHERE `id` = " .. guild) end query = "UPDATE `guild_wars` SET " local msg = "accepted " .. enemyName .. " invitation to war." if(t[1] == "reject") then query = query .. "`end` = " .. os.time() .. ", `status` = 2" msg = "rejected " .. enemyName .. " invitation to war." elseif(t[1] == "cancel") then query = query .. "`end` = " .. os.time() .. ", `status` = 3" msg = "canceled invitation to a war with " .. enemyName .. "." else query = query .. "`begin` = " .. os.time() .. ", `end` = " .. (tmp:getDataInt("end") > 0 and (os.time() + ((tmp:getDataInt("begin") - tmp:getDataInt("end")) / 86400)) or 0) .. ", `status` = 1" end query = query .. " WHERE `id` = " .. tmp:getDataInt("id") if(t[1] == "accept") then doGuildAddEnemy(guild, enemy, tmp:getDataInt("id"), WAR_GUILD) doGuildAddEnemy(enemy, guild, tmp:getDataInt("id"), WAR_ENEMY) end tmp:free() db.query(query) doBroadcastMessage(getPlayerGuildName(cid) .. " has " .. msg, MESSAGE_EVENT_ADVANCE) return true end if(t[1] == "invite") then local str = "" tmp = db.getResult("SELECT `guild_id`, `status` FROM `guild_wars` WHERE `guild_id` IN (" .. guild .. "," .. enemy .. ") AND `enemy_id` IN (" .. enemy .. "," .. guild .. ") AND `status` IN (0, 1)") if(tmp:getID() ~= -1) then if(tmp:getDataInt("status") == 0) then if(tmp:getDataInt("guild_id") == guild) then str = "You have already invited " .. enemyName .. " to war." else str = enemyName .. " have already invited you to war." end else str = "You are already on a war with " .. enemyName .. "." end tmp:free() end if(str ~= "") then doPlayerSendChannelMessage(cid, "", str, TALKTYPE_CHANNEL_W, 0) return true end local frags = tonumber(t[3]) if(frags ~= nil) then frags = math.max(10, math.min(1000, frags)) else frags = 100 end local payment = tonumber(t[4]) if(payment ~= nil) then payment = math.max(100000, math.min(1000000000, payment)) tmp = db.getResult("SELECT `balance` FROM `guilds` WHERE `id` = " .. guild) local state = tmp:getID() < 0 or tmp:getDataInt("balance") < payment tmp:free() if(state) then doPlayerSendChannelMessage(cid, "", "Your guild balance is too low for such payment.", TALKTYPE_CHANNEL_W, 0) return true end db.query("UPDATE `guilds` SET `balance` = `balance` - " .. payment .. " WHERE `id` = " .. guild) else payment = 0 end local begining, ending = os.time(), tonumber(t[5]) if(ending ~= nil and ending ~= 0) then ending = begining + (ending * 86400) else ending = 0 end db.query("INSERT INTO `guild_wars` (`guild_id`, `enemy_id`, `begin`, `end`, `frags`, `payment`) VALUES (" .. guild .. ", " .. enemy .. ", " .. begining .. ", " .. ending .. ", " .. frags .. ", " .. payment .. ");") doBroadcastMessage(getPlayerGuildName(cid) .. " has invited " .. enemyName .. " to war till " .. frags .. " frags.", MESSAGE_EVENT_ADVANCE) return true end if(not isInArray({"end", "finish"}, t[1])) then return false end local status = (t[1] == "end" and 1 or 4) tmp = db.getResult("SELECT `id` FROM `guild_wars` WHERE `guild_id` = " .. guild .. " AND `enemy_id` = " .. enemy .. " AND `status` = " .. status) if(tmp:getID() ~= -1) then local query = "UPDATE `guild_wars` SET `end` = " .. os.time() .. ", `status` = 5 WHERE `id` = " .. tmp:getDataInt("id") tmp:free() doGuildRemoveEnemy(guild, enemy) doGuildRemoveEnemy(enemy, guild) db.query(query) doBroadcastMessage(getPlayerGuildName(cid) .. " has " .. (status == 4 and "mend fences" or "ended up a war") .. " with " .. enemyName .. ".", MESSAGE_EVENT_ADVANCE) return true end if(status == 4) then doPlayerSendChannelMessage(cid, "", "Currently there's no pending war truce from " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end tmp = db.getResult("SELECT `id`, `end` FROM `guild_wars` WHERE `guild_id` = " .. enemy .. " AND `enemy_id` = " .. guild .. " AND `status` = 1") if(tmp:getID() ~= -1) then if(tmp:getDataInt("end") > 0) then tmp:free() doPlayerSendChannelMessage(cid, "", "You cannot request ending for war with " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end local query = "UPDATE `guild_wars` SET `status` = 4, `end` = " .. os.time() .. " WHERE `id` = " .. tmp:getDataInt("id") tmp:free() db.query(query) doBroadcastMessage(getPlayerGuildName(cid) .. " has signed an armstice declaration on a war with " .. enemyName .. ".", MESSAGE_EVENT_ADVANCE) return true end doPlayerSendChannelMessage(cid, "", "Currently there's no active war with " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true
  24. falling postou uma resposta no tópico em Suporte Tibia OTServer
    que erro? kkkk nao tem erro kra, nem no distro nem nada, simplismente executa o comando /war invite, GUILD, FRAG aparece not parameters no guild chat, mais no tfs nao aparece nd lol
  25. falling postou uma resposta no tópico em Suporte Tibia OTServer
    sim, simplismente nao funciona mais.

Informação Importante

Confirmação de Termo