yago1122
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
yago1122 deu reputação a Augusto em Erro no sistema de Auto LootO meu também estava dando estes problemas...achei estas functions do Killua, inclusive já estão as funcóes com storage de tabelas...
Vá na pasta data/lib e no arquivo 050-function.lua cole o seguinte código
-- Functions library created by Vitor Bertolucci (Killua) -- Functions used to store tables in storages killua_functions = { filtrateString = function(str) -- By Killua local tb, x, old, last = {}, 0, 0, 0 local first, second, final = 0, 0, 0 if type(str) ~= "string" then return tb end for i = 2, #str-1 do if string.byte(str:sub(i,i)) == string.byte(':') then x, second, last = x+1, i-1, i+2 for t = last,#str-1 do if string.byte(str:sub(t,t)) == string.byte(',') then first = x == 1 and 2 or old old, final = t+2, t-1 local index, var = str:sub(first,second), str:sub(last,final) tb[tonumber(index) or tostring(index)] = tonumber(var) or tostring(var) break end end end end return tb end, translateIntoString = function(tb) -- By Killua local str = "" if type(tb) ~= "table" then return str end for i, t in pairs(tb) do str = str..i..": "..t..", " end str = "a"..str.."a" return tostring(str) end } function getContainerItemsInfo(containerUid) -- By Killua local table = {} if containerUid and containerUid > 0 then local a = 0 for i = 0, getContainerSize(containerUid) do local item = getContainerItem(containerUid,i) a = a + 1 table[a] = {uid = item.uid, itemid = item.itemid, quant = item.type} end return table end return false end function countTable(table) -- By Killua local y = 0 if type(table) == "table" then for _ in pairs(table) do y = y + 1 end return y end return false end function setPlayerTableStorage(cid, key, value) return doPlayerSetStorageValue(cid, key, killua_functions.translateIntoString(value)) end function getPlayerTableStorage(cid, key) return killua_functions.filtrateString(getPlayerStorageValue(cid, key)) end function setGlobalTableStorage(key, value) return setGlobalStorageValue(key, killua_functions.translateIntoString(value)) end function getGlobalTableStorage(key) return killua_functions.filtrateString(getGlobalStorageValue(key)) end function getPlayerStorageZero(cid, storage) local sto = getPlayerStorageValue(cid, storage) return sto > 0 and sto or 0 end Os créditos do Killua estão no inicio do código.
-
yago1122 deu reputação a Wase Wiss em Naruto Hero V2 - 8.60Olá usuários do Tibia King, eu peguei esse servidor aki mesmo do TK, e editei um pouco, coloquei ele na versão 8.60, e adicionei uma coisas a mais também, esse servidor é a base do Nto Hero, que um membro postou aki esses dias atras.
vocations Account Manager
Vocations Vip
Vocations De Quest
Quests
Adicionei:
Cast System Hp e Mana por % Pode usar mais de 255 effect no servidor - Graças ao Kotzlety que disponibilizou os tutoriais pro TK Entrar na area de proteção sai o pz Client pode por mais sprites, falta uns 15 mil ainda para atingir o limite Player Morre e não perde itens Anti Divulgação Bixo nace com o player na tela
Imagens
Bom Galera é isso :D
Download Server Hero + Client
Scan - Não sei por que todos esses vírus, mais eu deixo o avast ativado e ele não acusa poha nenhuma
Créditos