• 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
Joined
Feb 26, 2010
Messages
1,738
Best answers
2
Reaction score
470
Location
Caracas, Venezuela
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:

Nottinghster

Tibia World RPG Developer
Joined
Oct 24, 2007
Messages
1,501
Best answers
4
Reaction score
351
Location
Brazil - Rio de Janeiro
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.
 
OP
Ezzz

Ezzz

Developer
Joined
Feb 26, 2010
Messages
1,738
Best answers
2
Reaction score
470
Location
Caracas, Venezuela
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.
 
OP
Ezzz

Ezzz

Developer
Joined
Feb 26, 2010
Messages
1,738
Best answers
2
Reaction score
470
Location
Caracas, Venezuela
Added functions missing.

I haven't made Blind Orc for my OT, thanks for the remind :p
 

Nothxbye

Banned User
Joined
Jan 22, 2012
Messages
1,124
Best answers
0
Reaction score
159
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.
 

Bill3000

New Member
Joined
Jul 26, 2010
Messages
106
Best answers
0
Reaction score
1
Where is functions.lua??? data/lib/050-function.lua???
 
Last edited:

carre

Well-Known Member
Joined
Apr 23, 2013
Messages
814
Best answers
0
Reaction score
87
Location
Sweden
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? :(
 
Top