Ezzz
Developer of Nostalrius and The Violet Project
Here all Rookgaard NPCs from RealTibia, based in the leaked NPC files from 2005.
Nothing is missing, not even one single line, all quests included, and dialogs.
I'm releasing it, because I've temporarily stopped my 7.7 real tibia clone server, because I don't have a list that things that will need to be done in an empty 7.7 real map file (converted from dat to otbm).
Contains; Tom, Al Dee, Dixi, Lily, Obi, The Gatekeeper, The Oracle, Seymour, Hyacinth, Willie, Billy, Norma, Amber, Lee'Delle, and Cipfried. It's missing Blind Orc.
npc.rar - Speedy Share - upload your files here
Functions you will need to run these NPCs, paste in functions.lua.
Nothing is missing, not even one single line, all quests included, and dialogs.
I'm releasing it, because I've temporarily stopped my 7.7 real tibia clone server, because I don't have a list that things that will need to be done in an empty 7.7 real map file (converted from dat to otbm).
Contains; Tom, Al Dee, Dixi, Lily, Obi, The Gatekeeper, The Oracle, Seymour, Hyacinth, Willie, Billy, Norma, Amber, Lee'Delle, and Cipfried. It's missing Blind Orc.
npc.rar - Speedy Share - upload your files here
Functions you will need to run these NPCs, paste in functions.lua.
Lua:
function isMsg(messages, msg)
local keys = split(messages, "|")
if getmsg(keys, msg) then
return true
end
return false
end
function table.contains(table, element)
for _, value in ipairs(table) do
if value == element then
return true
end
end
return false
end
function getmsg(t, msg)
for v, a in ipairs(t) do
if msgcontains(msg, a) then
return true
end
end
return false
end
function keyContains(t, msg)
for v, t in ipairs(t) do
if t == msg then
return true
end
end
return false
end
function split(str, pat)
local t = {} -- NOTE: use {n = 0} in Lua-5.0
local fpat = "(.-)" .. pat
local last_end = 1
local s, e, cap = str:find(fpat, 1)
while s do
if s ~= 1 or cap ~= "" then
table.insert(t,cap)
end
last_end = e+1
s, e, cap = str:find(fpat, last_end)
end
if last_end <= #str then
cap = str:sub(last_end)
table.insert(t, cap)
end
return t
end
Last edited: