Tudo que fironfox postou
- [Link Quebrado]GLOBAL FULL DOWNLOAD 10.95 [TFS 1.2/FERUMBRAS QUEST/KRAILOS/NEW ARENA/CAST/NEW ITEMS/REWARD/EVENTS/CASINO] ~ Atualizações
- Lost Account funcionando com MailGun (HTTP API)
-
[AJUDA] Lags e Freezes
Nightz, to percebendo que deve ser isso mesmo... Andei estudando bastante nos ultimos dias e tenho certeza absoluta que ta no HD ou no MySQL, efetuei um iotop e fiquei dashando com meu Char no servidor, quando o pico de write do mysql subia para 8MB/S o char dava uns freezes in game... Pensei que o erro estava no HD e agora to procurando soluções para o MySql. Se puderes me ajudar fico grato.
-
[AJUDA] Squeezings
Bom estou com seguinte erro no meu squeezings: Lua Script Error: [Action Interface] data/actions/scripts/tools/squeezings.lua:onUse data/actions/scripts/tools/squeezings.lua:14: attempt to index local 'tile' (a nil value) stack traceback: [C]: in function '__index' data/actions/scripts/tools/squeezings.lua:14: in function <data/actions/scripts/tools/squeezings.lua:10> Ja tentei de tudo arrumar mas ele continua dando erro.... Aqui está meu script: OBS TFS 1.0 local holeId = { 294, 369, 370, 383, 392, 408, 409, 410, 427, 428, 430, 462, 469, 470, 482, 484, 485, 489, 924, 3135, 3136, 7933, 7938, 8170, 8286, 8285, 8284, 8281, 8280, 8279, 8277, 8276, 8323, 8567, 8585, 8596, 8595, 8249, 8250, 8251, 8252, 8253, 8254, 8255, 8256, 8972, 9606, 9625, 13190, 14461, 19519, 21536 } local holes = {468, 481, 483, 7932} function onUse(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) local tile = Tile(toPosition) local targetItem = Item(itemEx.uid) if isInArray(ropeSpots, tile:getGround():getId()) or tile:getItemById(14435) then player:teleportTo({x = toPosition.x, y = toPosition.y + 1, z = toPosition.z - 1}, false) elseif isInArray(holeId, itemEx.itemid) then toPosition.z = toPosition.z + 1 tile = toPosition:getTile() if tile then local thing = tile:getTopVisibleThing() if thing:isItem() and thing:getType():isMovable() then return thing:moveTo({x = toPosition.x, y = toPosition.y + 1, z = toPosition.z - 1}) elseif thing:isCreature() and thing:isPlayer() then return thing:teleportTo({x = toPosition.x, y = toPosition.y + 1, z = toPosition.z - 1}) end end elseif (itemEx.uid <= 65535 or itemEx.actionid > 0) and (itemEx.itemid == 354 or itemEx.itemid == 355) then targetItem:transform(392) targetItem:decay() toPosition:sendMagicEffect(CONST_ME_POFF) elseif itemEx.itemid == 3621 and itemEx.actionid == 12026 then local chakoyas = {"chakoya toolshaper", "chakoya tribewarden", "chakoya windcaller"} if player:getStorageValue(12026) > 0 and player:getStorageValue(12002) < 3 and player:getStorageValue(12001) == 3 then player:setStorageValue(12002, player:getStorageValue(12002) + 1) player:setStorageValue(12026, player:getStorageValue(12026) + 1) -- Questlog The Ice Islands Quest, Nibelor 1: Breaking the Ice Game.createMonster(chakoyas[math.random(1, 3)], toPosition) toPosition:sendMagicEffect(CONST_ME_TELEPORT) tile:getItemById(7185):transform(7186) addEvent(function(toPosition) local tile = toPosition:getTile() if tile then local thing = tile:getItemById(7186) if thing and thing:isItem() then thing:transform(7185) end end end, 60 * 1000, toPosition) if player:getStorageValue(12002) >= 2 then player:setStorageValue(12001, 4) player:setStorageValue(12026, 4) -- Questlog The Ice Islands Quest, Nibelor 1: Breaking the Ice end end elseif itemEx.itemid == 7200 then targetItem:transform(7236) targetItem:decay() toPosition:sendMagicEffect(CONST_ME_HITAREA) elseif isInArray(holes, itemEx.itemid) then targetItem:transform(itemEx.itemid + 1) targetItem:decay() elseif itemEx.itemid == 231 or itemEx.itemid == 9059 then local rand = math.random(100) if itemEx.actionid == 100 and rand <= 20 then targetItem:transform(489) targetItem:decay() elseif rand == 1 then Game.createItem(2159, 1, toPosition) elseif rand > 95 then Game.createMonster("Scarab", toPosition) end toPosition:sendMagicEffect(CONST_ME_POFF) elseif itemEx.actionid == 4654 and player:getStorageValue(9925) == 1 and player:getStorageValue(9926) < 1 then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You found a piece of the scroll. You pocket it quickly.') player:getPosition():sendMagicEffect(CONST_ME_POFF) player:addItem(21250, 1) player:setStorageValue(9926, 1) elseif itemEx.actionid == 4668 and player:getStorageValue(9943) == 1 and player:getStorageValue(9944) < 1 then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'A torn scroll piece emerges. Probably gnawed off by rats.') player:getPosition():sendMagicEffect(CONST_ME_POFF) player:addItem(21250, 1) player:setStorageValue(9944, 1) elseif isInArray({2782, 19433}, itemEx.itemid) then targetItem:transform(itemEx.itemid == 19433 and 19431 or itemEx.itemid - 1) targetItem:decay() elseif itemEx.itemid == 1499 then doRemoveItem(itemEx.uid) elseif itemEx.itemid == 2739 and item.itemid == 10513 then targetItem:transform(2737) targetItem:decay() Game.createItem(2694, 1, toPosition) elseif item.itemid == 10515 then if itemEx.uid == 3071 then -- In Service Of Yalahar Quest if player:getStorageValue(26) < 1 then doSetMonsterOutfit(cid, "skeleton", 3 * 1000) fromPosition:sendMagicEffect(CONST_ME_ENERGYHIT) player:setStorageValue(26, 1) player:setStorageValue(12012, player:getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" for x = -1, 1 do for y = -1, 1 do Position({x = player:getPosition().x + x, y = player:getPosition().y + y, z = player:getPosition().z}):sendMagicEffect(CONST_ME_YELLOWENERGY) end end end elseif itemEx.uid == 3072 then -- In Service Of Yalahar Quest if player:getStorageValue(27) < 1 then player:setStorageValue(27, 1) player:setStorageValue(12012, player:getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" for x = -1, 1 do for y = -1, 1 do if math.random(1, 2) == 2 then Game.createMonster("rat", {x = player:getPosition().x + x, y = player:getPosition().y + y, z = player:getPosition().z}) Position({x = player:getPosition().x + x, y = player:getPosition().y + y, z = player:getPosition().z}):sendMagicEffect(CONST_ME_TELEPORT) end end end end elseif itemEx.uid == 3073 then -- In Service Of Yalahar Quest if player:getStorageValue(28) < 1 then player:say("You have used the crowbar on a grate.", TALKTYPE_ORANGE_1) player:setStorageValue(28, 1) player:setStorageValue(12012, player:getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" end elseif itemEx.uid == 3074 then -- In Service Of Yalahar Quest if player:getStorageValue(29) < 1 then doSetMonsterOutfit(cid, "bog raider", 5 * 1000) player:say("You have used the crowbar on a knot.", TALKTYPE_ORANGE_1) player:setStorageValue(29, 1) player:setStorageValue(12012, player:getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" end elseif itemEx.itemid == 5539 and itemEx.actionid == 12127 and player:getStorageValue(12127) <= 3 then -- The Ape City - Mission 7: Destroying Casks With Crowbar toPosition:sendMagicEffect(CONST_ME_POFF) player:setStorageValue(12127, player:getStorageValue(12127) + 1) -- The Ape City Questlog - Mission 7: Destroying Casks With Crowbar if player:getStorageValue(12127) == 4 then player:setStorageValue(12120, 17) end player:say("You destroyed a cask.", TALKTYPE_ORANGE_1) targetItem:transform(2249) addEvent(function(toPosition) toPosition:sendMagicEffect(CONST_ME_MAGIC_GREEN) end, 30 * 1000, toPosition) addEvent(function(toPosition) local tile = toPosition:getTile() if tile then local thing = tile:getItemById(2249) if thing and thing:isItem() then thing:transform(5539) end end end, 30 * 1000, toPosition) elseif (itemEx.actionid == 100 and itemEx.itemid == 2593) then -- Postman Quest if player:getStorageValue(250) == 3 then player:setStorageValue(250, 4) toPosition:sendMagicEffect(CONST_ME_MAGIC_BLUE) end end else return false end -- TODO: Add jamming, spoon and kitchen knife return true end
-
[AJUDA] Lags e Freezes
Bom galera, troquei meu servidor e peguei um dedicado de 32 gb, com processador de 4/8 3.4~~3.7 ghz pra colocar meu servidor que ja nao estava rodando direito no meu vps. Transferi todos os dados certinho, instalei o servidor na nova máquina e roda perfeitamente sem nem um erro. O que está me acontecendo é que quando passa de uma média de 260 players online ou menos o servidor começa travar constantemente, e não é problemas com tráfego, ping etc. O ping continua o mesmo, o site continua acessando rapidamente, e so apenas o servidor trava! Procurei de todos os jeitos tentar achar solução pra isso e sem sucesso... Ao meu parecer, quando eu executo um comando grande no sql, eu percebo que o servidor da umas travas, to começando a achar que seja a DB que não esteja acompanhando ou o HD, pois na vps eu usava SSD e aqui nesse dedicado eu uso HD. Alguem poderia me ajudar ou dar uma dica??
-
(Resolvido)Dedicado Confiavel
Por que voce citou que não seja a server core?
-
(Resolvido)Monstro virou npc-bug
Está muito enganado amigo, fazendo isso irá apagar o monstro do jogo e tambem ira fazer gerar milhões de erros no log do servidor =) Para arrumar isso basta abrir o arquivo chamado spawn.xml e lá voce procurar pelo nome do monstro que ta como npc e ele estará assim: <npc name="Orc Berserker" x="1" y="1" z="0" spawntime="60" /> para <monster name="Orc Berserker" x="1" y="1" z="0" spawntime="60" /> Basta alterar o NPC ali para MONSTER em todas as linhas que estiverem assim e pronto, problema solucionado com o monstro funcionando normalmente.
- inserir o sistema Reward System no ot 10.76 tfs.1.0?
-
Task pirates
Como faço pra ativar essa task em meu servidor?
-
[BUGS] Tfs 1.0~~1.1
É.. Infelizmente é tarde pra eu usar outro datapack diferente... Tudo que ja arrumei e editei levaria tempo pra arrumar tudo de novo... e creio que esse bug é algo muito escroto por que o cara teve acesso a ele level 8 em Thais... Recem tinha criado char no servidor.
-
[BUGS] Tfs 1.0~~1.1
Bom galerinha eu to passando por um problema onde um player hoje conseguiu derrubar meu servidor se aproveitando de algum bug por 4 vezes seguidas! Meu intuito de criar esse tópico aqui é para reunir os maiores bug's possiveis e disponibilizar pra galera que arrumem em seus servidores. Bom esse bug que o player tava utilizando eu nao sei da onde ta surgindo, se alguem sabe o que pode ser comente ai no tópico... A cada bug novo que alguem informar eu irei atualizar esse post aqui e coloca-lo. Bugs: Pick em Rotworm = Faz o servidor desligar |Trocar arquivo pick.lua| Pick em Rat = Dinheiro |Trocar arquivo pick.lua| Npc Jack Fate LB = Ao falar Shutdown ele desliga o servidor |Remover essa parte do script do npc|
-
Teleporter Cristal (1.0, 1.1)
O da golden key tu tens??? para dar teleport em 5 players??
- Distros Compilados [TFS 1.0 e 1.2]-[10.78] x86 - x64 + DLLs
-
[AJUDA] comando if (sex) then
O primeiro não funciona, ele so executa o bloco depois do else, e o terceiro o npc ignora meu hi :/
-
[AJUDA] comando if (sex) then
Ok aqui está
-
[AJUDA] comando if (sex) then
Luan, acho que fiz o bloco corretamente mas o problema é que ele ignora e so executa o primeiro independente da condição... da uma olhadinha aqui local outfit_node = keywordHandler:addKeyword({'first summoner addon'}, if getPlayerSex(cid) == 0 then playerBuyAddonNPC, {premium = false, items = {{5958,1}}, cost = 0, outfit_female = 138, outfit_male = 133, addon = 1, storageID = 10075}) else playerBuyAddonNPC, {premium = false, cost = 0, items = {{2182,1}, {2186,1}, {2185,1}, {8911,1}, {2181,1}, {2183,1}, {2190,1}, {2191,1}, {2188,1}, {8921,1}, {2189,1}, {2187,1}, {2392,30}, {5809,1}}, outfit_female = 141, outfit_male = 130, addon = 1, storageID = 10023})
-
[AJUDA] comando if (sex) then
Sabe me informar se possui somente end ou um begin junto? ou conchetes {..}
- Distros Compilados [TFS 1.0 e 1.2]-[10.78] x86 - x64 + DLLs
- Distros Compilados [TFS 1.0 e 1.2]-[10.78] x86 - x64 + DLLs
-
[AJUDA] comando if (sex) then
Bom galera, programo em java e to começando a pegar o jeito da linguagem em lua voltada pro tibia, alguem poderia me dizer o comando pra checar o sexo e se for verdadeiro ele executar tal bloco? To com um npc addoner que ta dando summoner pro sex female com os mesmos itens do male
-
[AJUDA] Change Sex!
como eu poderia fazer isso? aqui esta o script: function onUse(cid, item, fromPosition, itemEx, toPosition, isHotkey) local player = Player(cid) if not player:isPzLocked() then player:setSex(player:getSex() == 1 and 0 or 1) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, 'You successfully changed sex!') player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) player:save() player:remove() end return true end
-
[AJUDA] Top GUilds
Pelo amor de Deus, alguem me da uma luz!!!! Ja tentei milhoes de codes pra tentar colocar o top guilds no meu site mas NENHUM funciona!!!! Preciso executa alguma query na db?? preciso ter outra pagina??? socorro! $main_content .= '<div class="NewsHeadline"> <div class="NewsHeadlineBackground" style="background-image:url(' . $layout_name . '/images/news/newsheadline_background.gif)"> <table border="0"> <tr> <td style="text-align: center; font-weight: bold;"> <font color="white">Most powerfull guilds</font> </td> </tr> </table> </div> </div> <table border="0" cellspacing="3" cellpadding="4" width="100%"> <tr>'; foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, `g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags` FROM `killers` k LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id` LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id` LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id` LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id` WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 0, 6;') as $guild) $main_content .= ' <td style="width: 25%; text-align: center;"> <a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '"><img src="guilds/' . ((!empty($guild['logo']) && file_exists('guilds/' . $guild['logo'])) ? $guild['logo'] : 'default_logo.gif') . '" width="64" height="64" border="0"/><br />' . $guild['name'] . '</a><br />' . $guild['frags'] . ' kills </td>'; $main_content .= ' </tr> </table>';
-
[AJUDA] Change Sex!
Bom ontem implementei o sistema de change sex por doll de um topico aqui do forum e beleza tudo certinho. O unico problema é que se a pessoa estiver Male com outfit do Summoner Full e virar Female, ela vai ficar com o Summoner full do Female que seria o que precisa de ferumbra's hat, como eu poderia arrumar isso?? function onUse(cid, item, fromPosition, itemEx, toPosition, isHotkey) local player = Player(cid) if not player:isPzLocked() then player:setSex(player:getSex() == 1 and 0 or 1) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, 'You successfully changed sex!') player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN) Item(item.uid):remove(1) player:save() player:remove() end return true end
-
[AJUDA] Quest paw and fur!
Mas qual script? kkkk possui varios.... eu ja tentei procurar algo referente a level mas nao diz nada, apenas tem comentarios nos scripts dizendo qual é pra qual level
-
[AJUDA] Quest paw and fur!
Queria ajuda pra saber como eu mudo o level das tasks paw and fur, pois os players pegam level muito rapido e acabam nao podendo fazer determinadas tasks