Solutions
-
kaiquegabriel's post in (Resolvido)Source? was marked as the answerNa verdade, source nada mais é do que o seu executável (programa que clica pro servidor abrir) normalmente se chama theforgottenserver. Ele é uma junção de vários arquivos, no caso, vários códigos que quando compilados (transformados em um só) vira esse executável. Nesses códigos é onde estão as funções dos scripts do seu servidor,
por exemplo: doBroadcastMessage
esse doBroadcastMessage não vem do além, é uma função escrita na source e também pode ser editado por lá (não recomendado).
Há algumas modificações que você pode fazer mexendo na source, por exemplo, trocando a linguagem do seu servidor. (Traduzilo para português, requer pouco conhecimento e bastante trabalho)
Você também pode traduzir um servidor por scripts .lua mas precisaria de um bom conhecimento da linguagem.
-
kaiquegabriel's post in (Resolvido)[Dúvida] Speed was marked as the answerVê se te ajuda:
http://www.tibiaking.com/forum/topic/12786-pedido-addons-bonus/
-
kaiquegabriel's post in (Resolvido)Alterar atack do Wand was marked as the answerData/weapons/weapons.xml
<wand id="2187" level="33" mana="13" min="55" max="75" type="fire" function="default">
Modifique min="55" max="75"
-
kaiquegabriel's post in (Resolvido)Script !frags para tfs 1.0 was marked as the answerCrie um arquivo chamado kills.lua e coloque isso dentro.
function onSay(cid, words, param) local player = Player(cid) local fragTime = configManager.getNumber(configKeys.FRAG_TIME) if fragTime <= 0 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kill.") return false end local skullTime = player:getSkullTime() if skullTime <= 0 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kill.") return false end local kills = math.ceil(skullTime / fragTime) local remainingSeconds = math.floor((skullTime % fragTime) / 1000) local hours = math.floor(remainingSeconds / 3600) local minutes = math.floor((remainingSeconds % 3600) / 60) local seconds = remainingSeconds % 60 local message = "You have " .. kills .. " unjustified kill" .. (kills > 1 and "s" or "") .. ". The amount of unjustified kills will decrease after: " if hours ~= 0 then if hours == 1 then message = message .. hours .. " hour, " else message = message .. hours .. " hours, " end end if hours ~= 0 or minutes ~= 0 then if minutes == 1 then message = message .. minutes .. " minute and " else message = message .. minutes .. " minutes and " end end if seconds == 1 then message = message .. seconds .. " second." else message = message .. seconds .. " seconds." end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, message) return false end
Adicione esta tag em talkactions.xml
<talkaction words="!kills" script="kills.lua"/> -
kaiquegabriel's post in (Resolvido)[PEDIDO] Script dos Vagões de Kazordoon was marked as the answerlocal nodes = { [8034] = {x = 32657, y = 31903, z = 8}, -- Depo [8035] = {x = 32606, y = 31905, z = 9}, -- Shops [8036] = {x = 32628, y = 31922, z = 11}, -- Temple [8037] = {x = 32576, y = 31973, z = 9}, -- Main Gate [8038] = {x = 32676, y = 31976, z = 15}, -- Steam Ship } function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerStorageValue(cid, 1131) > os.time()) then if(getPlayerStorageValue(cid, 1132) < 100) then setPlayerStorageValue(cid, 1132) end doTeleportThing(cid, nodes[item.actionid]) doSendMagicEffect(nodes[item.actionid], CONST_ME_TELEPORT) else doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "To travel by ore wagons you must purchase a wagon ticket from any kazordoon's merchant.") end return true end
Tenta assim, vê se dá algum erro.
-
kaiquegabriel's post in (Resolvido)Editar velocidade do SD? was marked as the answerdata/spells/spells.xml
<rune name="Sudden Death" id="2268" allowfaruse="1" charges="3" lvl="45" maglv="15" exhaustion="1500" needtarget="1" blocktype="solid" event="script" value="attack/sudden death.lua"/>
Edita esse número exhaustion="1500"
-
kaiquegabriel's post in (Resolvido)Me tirem essa duvida; was marked as the answer-- Red Skull Config fragsToRedSkull = 3 - frags diários fragsSecondToRedSkull = 5 - frags semanais fragsThirdToRedSkull = 10 - frags mensais.
-
kaiquegabriel's post in (Resolvido)como trocar item que ganha na quest por otro? was marked as the answerAbra seu map editor, vá até o baú da quest e clique duas vezes em cima, ou então segue a imagem;
Depois disso adicione a Action ID 20001, clique no quadrado preto e procure pelo ID da VIP Stone, no seu map editor vai aparecer o nome normal, mas pode colocar mesmo assim, pra ficar mais explicado, segue o exemplo;
De OK em tudo, salve e feche, reinicie seu servidor e testa.
-
kaiquegabriel's post in [MB] Magia Exhaust was marked as the answerInfelizmente o magebot não serve pra isso.. ou você deixa soltando de 1 em 1 segundo, ou deixa soltar só com mana full, usando runemaker.
Atenciosamente.
-
kaiquegabriel's post in Bug no Efl was marked as the answerExatamente, mas não é heal de magia, deve ser potions ou ultimate healing rune, talvez 'mana rune', tenta ver se tem esse tipo de heal no seu bot.