• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NPC Perfect Rookgaard Real Tibia NPC Clones

Ezzz

Developer of Nostalrius and The Violet Project
Joined
Feb 26, 2010
Messages
1,884
Solutions
3
Reaction score
791
Location
Spain, Europe
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.

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:
Old System, but it's nice

But Jiddo's NPC System for me, is the best, I did alot of changes on Jiddo's NPC System.

Jiddo NPC System works the same old system does. The only difference is that it hides abunch of code lines.
I use old system because it allowes me to customize a bunch of stuff. In real Tibia, npcs have a different line for selling objects, indeed.
 
Added functions missing.

I haven't made Blind Orc for my OT, thanks for the remind :p
 
I've got all real tibia npc's clones for 7.4 (jiddos) with every single script one thing what i missed are some keywords. I think it's not important to do.
 
Where is functions.lua??? data/lib/050-function.lua???
 
Last edited:
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.

Lua:
function isMsg(messages, msg)
    local keys = split(messages, "|")
    if getmsg(keys, msg) then
        return true
    end
    return false
end
Rehost? ):

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

Rehost? :(
 
Back
Top