
Tudo que murilao postou
- [Tutorial] Como compilar tfs v1.2 com MSVC 2015
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
OtherWorld [MAP]
Ah, então o map editor nao esta na versao 10.96 10.97.
-
OtherWorld [MAP]
Ja foi disponibilizado com datapack com mapa global no post do malucooo confere lá.
-
Erro Createcharacter
Ja deixa +REP ai
-
Gesior Posts erro
Até que eu sei não.
-
Gesior Posts erro
Aqui no forum.
-
Gesior Posts erro
Todos Gesior é assim, caso nao quer grande em uma linha so ir dando enter e continuar a frase. Ajudei? +REP !
-
por favor alguém pode me ajudar com esses erros ?
Qual a versao do mapa?
- [Formação Da Equipe]
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
- [Tutorial] Como compilar tfs v1.2 com MSVC 2015
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
Erro Createcharacter
Poste seu config.php aqui em formato code e spoiler
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
Tornar Script para premmy
AUTO_LOOT_TAX = 25 -- Tax for using the service (in %) (min 0, max 100) AUTO_LOOT_BANK = true -- Will the money go to the bank? If false, the money will go to the player AUTO_LOOT_STORAGE = 38199 -- Storage of the status of the Auto Loot if isPremium(cid) then function findItemsInContainer(ids, container) local items_found = {} local v_uids = {} for i = 0, getContainerSize(container)-1 do container_item = getContainerItem(container, i) if isContainer(container_item.uid) then local container_recursive = findItemsInContainer(ids, container_item.uid) for a, b in ipairs(container_recursive) do if not isInArray(v_uids, b.uid) then table.insert(v_uids, container_item.uid) table.insert(items_found, b) end end end if isInArray(ids, container_item.itemid) and not isInArray(v_uids, container_item.uid) then table.insert(v_uids, container_item.uid) table.insert(items_found, container_item) end end return items_found end function executeAutoLoot(cid, pos, target_name) AUTO_LOOT_TAX = AUTO_LOOT_TAX > 100 and 100 or AUTO_LOOT_TAX < 0 and 0 or AUTO_LOOT_TAX local corpse = getTileItemByType(pos, ITEM_TYPE_CONTAINER).uid local total_count = 0 for a, b in ipairs(findItemsInContainer({ITEM_GOLD_COIN, ITEM_PLATINUM_COIN, ITEM_CRYSTAL_COIN}, corpse)) do if b.itemid == ITEM_CRYSTAL_COIN then total_count = total_count+b.type*10000 elseif b.itemid == ITEM_PLATINUM_COIN then total_count = total_count+b.type*100 elseif b.itemid == ITEM_GOLD_COIN then total_count = total_count+b.type end doRemoveItem(b.uid, b.type) end if AUTO_LOOT_BANK then doPlayerSetBalance(cid, getPlayerBalance(cid)+math.ceil(total_count*(1-AUTO_LOOT_TAX/100))) else doPlayerAddMoney(cid, math.ceil(total_count*(1-AUTO_LOOT_TAX/100))) end if total_count > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Money collected from "..target_name..": "..total_count.." gold coins."..(AUTO_LOOT_TAX > 0 and " Tax ("..AUTO_LOOT_TAX.."%) discounted: "..math.floor(total_count*(AUTO_LOOT_TAX/100)).." gold coins." or " No tax.")) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Total collected: "..math.ceil(total_count*(1-AUTO_LOOT_TAX/100)).." gold coins.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "No money collected from "..target_name..".") end end return true end Tenta ai agora.
-
Tornar Script para premmy
if isPremium(cid) then AUTO_LOOT_TAX = 25 -- Tax for using the service (in %) (min 0, max 100) AUTO_LOOT_BANK = true -- Will the money go to the bank? If false, the money will go to the player AUTO_LOOT_STORAGE = 38199 -- Storage of the status of the Auto Loot function findItemsInContainer(ids, container) local items_found = {} local v_uids = {} for i = 0, getContainerSize(container)-1 do container_item = getContainerItem(container, i) if isContainer(container_item.uid) then local container_recursive = findItemsInContainer(ids, container_item.uid) for a, b in ipairs(container_recursive) do if not isInArray(v_uids, b.uid) then table.insert(v_uids, container_item.uid) table.insert(items_found, b) end end end if isInArray(ids, container_item.itemid) and not isInArray(v_uids, container_item.uid) then table.insert(v_uids, container_item.uid) table.insert(items_found, container_item) end end return items_found end function executeAutoLoot(cid, pos, target_name) AUTO_LOOT_TAX = AUTO_LOOT_TAX > 100 and 100 or AUTO_LOOT_TAX < 0 and 0 or AUTO_LOOT_TAX local corpse = getTileItemByType(pos, ITEM_TYPE_CONTAINER).uid local total_count = 0 for a, b in ipairs(findItemsInContainer({ITEM_GOLD_COIN, ITEM_PLATINUM_COIN, ITEM_CRYSTAL_COIN}, corpse)) do if b.itemid == ITEM_CRYSTAL_COIN then total_count = total_count+b.type*10000 elseif b.itemid == ITEM_PLATINUM_COIN then total_count = total_count+b.type*100 elseif b.itemid == ITEM_GOLD_COIN then total_count = total_count+b.type end doRemoveItem(b.uid, b.type) end if AUTO_LOOT_BANK then doPlayerSetBalance(cid, getPlayerBalance(cid)+math.ceil(total_count*(1-AUTO_LOOT_TAX/100))) else doPlayerAddMoney(cid, math.ceil(total_count*(1-AUTO_LOOT_TAX/100))) end if total_count > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Money collected from "..target_name..": "..total_count.." gold coins."..(AUTO_LOOT_TAX > 0 and " Tax ("..AUTO_LOOT_TAX.."%) discounted: "..math.floor(total_count*(AUTO_LOOT_TAX/100)).." gold coins." or " No tax.")) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Total collected: "..math.ceil(total_count*(1-AUTO_LOOT_TAX/100)).." gold coins.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "No money collected from "..target_name..".") end end return true end Tente ai e me avisa se funcionou.
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
Auto Restart
Como que vc executa no linux? ./tfs ou ./theforgottenserver
-
Shop Admin
Para qual versão ?
- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
-
[v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
Adiciona isso na sua database adiciona um por um: ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance_tries` bigint(20) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount` int(10) unsigned NOT NULL DEFAULT 0 ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount_tries` bigint(20) unsigned NOT NULL DEFAULT 0 Ajudei? +REP !
-
GesiorACC 2019 8.60 UPDATE 29/06/2019
Ímagem do forum no primeiro post nem tem na pages é daquele comum