Ta faltando essa tabela no seu servidor "al_config" ve se você acha ela, veja se não está escrito errado em outra pasta essa tabela, se não tiver ela o sistema ta incompleto.
info
Grupo: Herói
Registrado: 12/06/12
Posts: 2.2k
Reputação: +739
Gênero: Masculino
Char no Tibia: Supreme Player

info
Grupo: Infante
Registrado: 27/08/11
Posts: 1.9k
Reputação: +85
Gênero: Masculino
Char no Tibia: Bruno Maciel

16 minutos atrás, Gabrieltxu disse:Ta faltando essa tabela no seu servidor "al_config" ve se você acha ela, veja se não está escrito errado em outra pasta essa tabela, se não tiver ela o sistema ta incompleto.
creio eu que esta incompleto no caso entao pois nao achei nada relacionado!!
Em 27/02/2020 em 19:51, BrunooMaciell disse:creio eu que esta incompleto no caso entao pois nao achei nada relacionado!!
acho?
e só ver qual o numero da opcode e colocar ali não precisa dessa tabela.
info
Grupo: Infante
Registrado: 27/08/11
Posts: 1.9k
Reputação: +85
Gênero: Masculino
Char no Tibia: Bruno Maciel

2 horas atrás, nociam disse:e só ver qual o numero da opcode e colocar ali não precisa dessa tabela.
Bom ja coloquei outro autoloot system.
Mas valeuu mesmo assim ^^






info
Grupo: Infante
Registrado: 27/08/11
Posts: 1.9k
Reputação: +85
Gênero: Masculino
Char no Tibia: Bruno Maciel
Estou com um BUG no autoloot.
Quando vo ativa o autoloot do OTClient da este BUG no EXE do server.
BUG
[27/02/2020 10:09:28] [Error - CreatureScript Interface]
[27/02/2020 10:09:28] data/creaturescripts/scripts/extendedopcode.lua:onExtendedOpcode
[27/02/2020 10:09:28] Description:
[27/02/2020 10:09:28] data/creaturescripts/scripts/extendedopcode.lua:40: attempt to index global 'al_config' (a nil value)
[27/02/2020 10:09:28] stack traceback:
[27/02/2020 10:09:28] data/creaturescripts/scripts/extendedopcode.lua:40: in function <data/creaturescripts/scripts/extendedopcode.lua:26>
SCRIPT
OPCODE_LANGUAGE = 1 function spliting(str, pat) local t = {} -- NOTE: use {n = 0} in Lua-5.0 local fpat = "(.-)" .. pat local last_end = 1 local s, e, cap = string.find(str, fpat, 1) while s do if s ~= 1 or cap ~= "" then table.insert(t,cap) end last_end = e+1 s, e, cap = string.find(str, fpat, last_end) end if last_end <= #str then cap = string.sub(str, last_end) table.insert(t, cap) end return t end function onExtendedOpcode(cid, opcode, buffer) if opcode == OPCODE_LANGUAGE then -- otclient language if buffer == 'en' or buffer == 'pt' then -- example, setting player language, because otclient is multi-language... --doCreatureSetStorage(cid, CREATURE_STORAGE_LANGUAGE, buffer) end elseif opcode == 44 then if string.find(buffer, "revive=") then local tab = spliting(buffer, "revive=") -- alguma verificação de poke -- print(tab[1]) doRevivePokemon(cid, tab[1]) end elseif opcode == al_config.opcode then if string.find(buffer, "/items/") then sendItemsAL(cid, spliting(buffer, "/items/")[1]) elseif string.find(buffer, "/item/") then local t = spliting(buffer, "/item/") local itemid = t[1] local type = t[2] doChangeItemInAL(cid, type, itemid) elseif string.find(buffer, "/state/") then if getPlayerStorageValue(cid, al_config.str) > 0 then setPlayerStorageValue(cid, al_config.str, 0) else setPlayerStorageValue(cid, al_config.str, 1) end sendItemsAL(cid, spliting(buffer, "/state/")[1]) end end return true endQuem puder ajudar ^^
Rep++