• 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!

[7.4, 7.8, 7.92, 8.0] Sabrehaven.com based on Nostalrius 7.7 fork

can someone help me with this error?

I'm using ubuntu 16

By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "fmt", but
CMake did not find one.

Could not find a package configuration file provided by "fmt" with any of
the following names:

fmtConfig.cmake
fmt-config.cmake

Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
to a directory containing one of the above files. If "fmt" provides a
separate development package or SDK, be sure it has been installed.
 
There is little limitation that only Sabrehaven client can login. Its very simple yet effective idea just add once more account number like it is here and thats all you need to know.
thank you, I'll check it out and post here the results if success :)!
 
thank you, I'll check it out and post here the results if success :)!

Using Dewral's classic ui, server doesnt let me login :C anyone knows why?
View attachment 72926
Solved!

following this tip:

I recommend you to add these codes to the engine, to compat otcv8 with this distro :)!


 
The mysql tables (.sql) does not work, anyone have a fully working mysql scheme that works with this version (8.0)?
 

What is Sabrehaven​

Link to repo: GitHub - ErikasKontenis/SabrehavenServer (https://github.com/ErikasKontenis/SabrehavenServer)

Overall I feel like I have contributed to open tibia too little and worked too much in private as compared with other developers I see and respect so in return I wish to give everything I took. And I wish you the best use of the Sabrehaven server and its features. Server is based on the Nostalrius fork which uses original cipsoft resources which were leaked- however I would say this is super expansion features wise than Nostalrius fork I have started with and there we have had lots of old crash bugs fixed like aleta sio regex crash bug, creatures talk for no spectators crash bug fix and etc. All in all, I will try to make a little documentation for you. To start with, take a look at the Good reads for you about my and Sabrehaven life:

Sabrehaven features or whats new not in the Nostalrius fork​

  • 7.8-8.0 cities and quests including POI, INQ and other.
  • Outfits, Outfit Addons, Mounts, Shaders, Auras, Wings...
  • Market system.
  • Built in client shop system.
  • Offline training implementation.
  • Stamina implementation.
  • Guild wars with bounties implementation.
  • Quest log support.
  • And quite many more for you to discover including many bugfixes.

How to find things in this mess​

The very first and the very important thing is to take a look at the commit history! You can find the whole progress of the development which may be very useful for you. Now lets speak about branches:
Compile the sources just as you would compile any other TFS server. Here is also sabrehaven.sql which you must use to create clean schema and little schema changes for znoteAAC support sabrehaven_znote.sql.

Info regarding Sabrehaven 8.0​

  • You should use 800OTClient folder to login with the very specific OTClient which is based OTCv8
  • There is the most majority of the new cool features: mounts and shaders, in-game shop system, market system (there is a little snipper in www library to generate json for items), colourful loot message based on items.srv cost property, the implementation of inq, svargrond arena and other cool things. However many things are missing like no mount outfits for all outfits except citizen outfit, majority of items missing its description in items.srv.

Info regarding Sabrehaven 7.92​

It is quite precise replica of how 7.92 tibia worked only with original cipsoft client and it does not contain too much custom features.

Info regarding Sabrehaven 7.8​

It is supreme replica of 7.8 server- I was taking care of the every detail how the map and features differ from leaked 7.72 and 7.8 however didin't receive too much interest from players and I though 7.9 with POI has to be the thing I need to make server great success. Only 7.8 original client required to login.

Info regarding Sabrehaven 7.4​

Nothing much to say- wasn't a big success, it is basically a copy of 7.92 sabrehaven but without hotkeys and map has deleted PZs in boats to abuse newbies. And good old uh trap and other traps to abuse the newbies even more. Login with OTCv8.

The little QA session for you because I know what you want to ask​

Sabrehaven Tools​

Credits​

  • Erikas Kontenis for the Sabrehaven Platform
  • CustomTibia OTLand user for the mapping 8.0 custom areas
  • Nostalrius and TheForgottenServer Team
  • Maybe Cipsoft too for its resources and the whole game? Idk :)

Some pictures from in-game​

bank color_loot ingameshop inq market
Hi, how are you? I don't know how to install SabrehavenWwwLibriaryWorker, could you give me a tutorial on how to do it, please: c
 
Do we have a fully working .sql schema for this server possibly?

The .sql files does not work with the server.
It is missing market history and other things, just error out on repeat.
 
Do we have a fully working .sql schema for this server possibly?

The .sql files does not work with the server.
It is missing market history and other things, just error out on repeat.
All you have to do is import the market_history/offer tables to your database.

Lua:
CREATE TABLE IF NOT EXISTS `market_history` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `player_id` int NOT NULL,
  `sale` tinyint NOT NULL DEFAULT '0',
  `itemtype` smallint unsigned NOT NULL,
  `amount` smallint unsigned NOT NULL,
  `price` bigint unsigned NOT NULL DEFAULT '0',
  `expires_at` bigint unsigned NOT NULL,
  `inserted` bigint unsigned NOT NULL,
  `state` tinyint unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `player_id` (`player_id`, `sale`),
  FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;

CREATE TABLE IF NOT EXISTS `market_offers` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `player_id` int NOT NULL,
  `sale` tinyint NOT NULL DEFAULT '0',
  `itemtype` smallint unsigned NOT NULL,
  `amount` smallint unsigned NOT NULL,
  `created` bigint unsigned NOT NULL,
  `anonymous` tinyint NOT NULL DEFAULT '0',
  `price` bigint unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `sale` (`sale`,`itemtype`),
  KEY `created` (`created`),
  FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;
 
All you have to do is import the market_history/offer tables to your database.

Lua:
CREATE TABLE IF NOT EXISTS `market_history` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `player_id` int NOT NULL,
  `sale` tinyint NOT NULL DEFAULT '0',
  `itemtype` smallint unsigned NOT NULL,
  `amount` smallint unsigned NOT NULL,
  `price` bigint unsigned NOT NULL DEFAULT '0',
  `expires_at` bigint unsigned NOT NULL,
  `inserted` bigint unsigned NOT NULL,
  `state` tinyint unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `player_id` (`player_id`, `sale`),
  FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;

CREATE TABLE IF NOT EXISTS `market_offers` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `player_id` int NOT NULL,
  `sale` tinyint NOT NULL DEFAULT '0',
  `itemtype` smallint unsigned NOT NULL,
  `amount` smallint unsigned NOT NULL,
  `created` bigint unsigned NOT NULL,
  `anonymous` tinyint NOT NULL DEFAULT '0',
  `price` bigint unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `sale` (`sale`,`itemtype`),
  KEY `created` (`created`),
  FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;

Ok, but now I get this error when trying to relog on a character, it cannot save?

1674672519482.png

Something wrong with it?
 
Ok, but now I get this error when trying to relog on a character, it cannot save?

View attachment 72985

Something wrong with it?
Read the thread, someone already replied with a solution.

 
Getting plenty of errors when trying to compile the sources:
1674673560792.png
Post automatically merged:

Solved it, and to share it with all of you, just in case someone else run into this problem:

Compiled everything as a single solution in Visual Studio 2022 and made this edit:

query << "sex = " << player->sex << ',';
to
query << "sex = " << static_cast<uint16_t>(player->sex) << ',';

Thank you guys for the help
 
Last edited:
1674745003473.png

all works, i see my character list but i can't login - connection failed. error 1214 where is the problem?
 
Back
Top