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

TibiaCore 7.4 TFS 1.2 same Nostalrius project.

I'm trying to run this offline or online, i had no success at all, it compiles nicely and runs, just having a problem with the client, i'm running local and getting Connection Error 10061.

Since it's running on my machine i don't see the problem with it, can someone help?

Other than that, thanks in advance!
 
I'm trying to run this offline or online, i had no success at all, it compiles nicely and runs, just having a problem with the client, i'm running local and getting Connection Error 10061.

Since it's running on my machine i don't see the problem with it, can someone help?

Other than that, thanks in advance!
Do u have changed RSA or Port on server and client? Look IP on config.lua, but not is IP mysql(127.0.0.1).
 
Do u have changed RSA or Port on server and client? Look IP on config.lua, but not is IP mysql(127.0.0.1).
Yes i have changed everything, database is okay, ip on config lua is also okay, ports are open, i'm changing servers today to see if i can make any progress, i will come back here and report progress after work because right now i can't mess with it
 
Hello.

I'm closing my server and my project for a few years of improvement, this is a copy of the Ezzz Nostalrius project.
Some improvements and bug removals were made.

Added:
  • Cast System.
  • Save players logs.
  • Config.lua spear/small stone drop free/premium.
  • Config.lua make rune in backpack free/premium.
  • Luck system. see > items.srv

Custom buff effect on weapons such as Medivia's bows, attribute in items.srv:
LUA:
Attributes = {AmmoType=bolt, Attack=5, Range=7, Type=customphysical, SlotType=twohanded,Effect=18, WeaponSpecialEffect=3, Weight=4600}

Custom spawn, replacing original respawn with a specific creature name in the original monsters xml:
XML:
<monster name="bug" nameDescription="a bug" extraMonster="old bug" extraChance="25" race="venom" experience="18" speed="40" manacost="250">


  • Any Spells Adjustment.
  • Any NPCs fixed.
  • Map to 7.4 with older boat.
  • Attack rune stacks damage in the same sqm. type SD/HMM.
  • Any custom quest rare, how bright sword quest have any chance to obtain horned helmet.
  • Tasks.
  • Check auction houses in src.
  • Custom raids without msg: Cyclops, Demon, Dwarf Guard, drop any ancients stone.
  • Any monster passive and hitback.
XML:
<flag hostile="0" />
<flag hitback="1" />

Tibia.dat and Tibia.spr in zip.
And more features that I don't recall at this moment.

View attachment 83243

Have a good time.
do you have cast commits?
 
Do u have changed RSA or Port on server and client? Look IP on config.lua, but not is IP mysql(127.0.0.1).
Yes i have checked on those, i'm having ab it of a different problem here, i compiled it on my ubuntu machine and it worked fine (the server) now i copied it to my VPS and when i try to run it says :
Code:
./tfs: error while loading shared libraries: libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory

Then when i try to compile it again under the new machine, i do this:
Code:
cd compiler/src/
mkdir build
cd build
cmake ..

when i try to run
make
there's nothing on screen, it just does nothing and doesn't compile.
 
Yes i have checked on those, i'm having ab it of a different problem here, i compiled it on my ubuntu machine and it worked fine (the server) now i copied it to my VPS and when i try to run it says :
Code:
./tfs: error while loading shared libraries: libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory

Then when i try to compile it again under the new machine, i do this:
Code:
cd compiler/src/
mkdir build
cd build
cmake ..

when i try to run
make
there's nothing on screen, it just does nothing and doesn't compile.
Try:
sudo apt update
sudo apt install libboost-filesystem1.71.0 libboostsystem1.71.0
version available on your distro and reIf make finishes instantly without any output and doesn't compile anything, a few possible
You already compiled it once, and there's nothing new to build.

Try cleaning the build:
rm -rf build
mkdir build
cd build
cmake ..
make
 
Try:

version available on your distro and reIf make finishes instantly without any output and doesn't compile anything, a few possible
You already compiled it once, and there's nothing new to build.

Try cleaning the build:

i found current version is libboost 1.83, but the make problem is still happening, it does nothing
Screenshot From 2025-05-16 09-25-36.webp
 
Last edited:
Guys i've managed to get this running on docker container and also i used this client GitHub - OTCv8/otclientv8: Clean, ready to use version of OTClientV8 - Alternative, highly optimized Tibia client (https://github.com/OTCv8/otclientv8). I am very much a noob who did with the help of chatgpt. I had to write a new docker-compose file and make some changes in the Dockerfile in order for the server to run. Also i had to make some changes on the client in order to hardcode my servers IP and port (since client was trying to connect to 127.0.0.1. If anyone needs help with my setup let me know ill be happy to help!

Also my idea is to set this up for like 20 or so of my friends so we are able to have battles once a week. Does anyone know how could i make the following. Players drop items upon death and loose around 10% but they get reborn with the same backpack? Also i wanted to make the server pvp-enforced but editing the config.lua did not help me? Appriciate if anyone can help me out.

And a huge thanks for the OP for providing us with this server! :)
 
Guys i've managed to get this running on docker container and also i used this client GitHub - OTCv8/otclientv8: Clean, ready to use version of OTClientV8 - Alternative, highly optimized Tibia client (https://github.com/OTCv8/otclientv8). I am very much a noob who did with the help of chatgpt. I had to write a new docker-compose file and make some changes in the Dockerfile in order for the server to run. Also i had to make some changes on the client in order to hardcode my servers IP and port (since client was trying to connect to 127.0.0.1. If anyone needs help with my setup let me know ill be happy to help!

Also my idea is to set this up for like 20 or so of my friends so we are able to have battles once a week. Does anyone know how could i make the following. Players drop items upon death and loose around 10% but they get reborn with the same backpack? Also i wanted to make the server pvp-enforced but editing the config.lua did not help me? Appriciate if anyone can help me out.

And a huge thanks for the OP for providing us with this server! :)
For not drop backpack add on Player::dropLoot:
if (i != CONST_SLOT_BACKPACK) {
Or for red skull drop backpack.
if (i != CONST_SLOT_BACKPACK || playerSkull == SKULL_RED) {
C++:
void Player::dropLoot(Container* corpse, Creature*)
{
    if (corpse && lootDrop) {
        Skulls_t playerSkull = getSkull();
        if (inventory[CONST_SLOT_NECKLACE] && inventory[CONST_SLOT_NECKLACE]->getID() == ITEM_AMULETOFLOSS && playerSkull != SKULL_RED) {
            g_game.internalRemoveItem(inventory[CONST_SLOT_NECKLACE], 1);
        } 
        else if (inventory[CONST_SLOT_NECKLACE] && inventory[CONST_SLOT_NECKLACE]->getID() == ITEM_AMULET_SPECIAL && playerSkull != SKULL_RED) {
            g_game.transformItem(inventory[CONST_SLOT_NECKLACE], ITEM_AMULET_SPECIAL_BACK, 1);
        }
        else {
            for (int32_t i = CONST_SLOT_FIRST; i <= CONST_SLOT_LAST; ++i) {
                Item* item = inventory[i];
                if (item) {
                    if (i != CONST_SLOT_BACKPACK || playerSkull == SKULL_RED) {
                        if (playerSkull == SKULL_RED || item->getContainer() || uniform_random(1, 100) <= getDropLootPercent()) {
                            g_game.internalMoveItem(this, corpse, INDEX_WHEREEVER, item, item->getItemCount(), 0);
                            sendInventoryItem(static_cast<slots_t>(i), nullptr);
                        }
                    }
                }
            }
        }
    }
}
 
Last edited:
hello is it possible to make a stack rune?:) What needs to be done?:)
Yes, do u need edit items.srv and tibia.dat, if ur src from github.
LUA:
TypeID        = 3160
Name        = "a ultimate healing rune"
Flags       = {Cumulative,DistUse,MultiUse,Rune,Take}
Attributes  = {Brightness=1,LightColor=215,Weight=210}

1747441879082.webp
 
Yes, do u need edit items.srv and tibia.dat, if ur src from github.
LUA:
TypeID        = 3160
Name        = "a ultimate healing rune"
Flags       = {Cumulative,DistUse,MultiUse,Rune,Take}
Attributes  = {Brightness=1,LightColor=215,Weight=210}

View attachment 92525
I did as you told me, but when I use it from the stack, for example when there are 3 of them, all 3 disappear
 
I did as you told me, but when I use it from the stack, for example when there are 3 of them, all 3 disappear
in:
C++:
int32_t newCount = std::max<int32_t>(0, item->getCharges() - 1);
change:
C++:
auto stackable = (item->isStackable() && item->canDistUse()) ? item->getItemCount() : item->getCharges();
int32_t newCount = std::max<int32_t>(0, stackable - 1);
 
Last edited:
in:
C++:
int32_t newCount = std::max<int32_t>(0, item->getCharges() - 1);
change:
C++:
auto stackable = (item->isStackable() && item->canDistUse()) ? item->getItemCount() : item->getCharges();
int32_t newCount = std::max<int32_t>(0, stackable - 1);
still consumes all runes from the stack

works fine, I didn't add "DistUse" sorry
 
Search for:
C++:
int32_t Combat::getTotalDamage(

You need add attacker in getTotalDamage.
C++:
Creature* attacker
C++:
int32_t Combat::getTotalDamage(int32_t attackSkill, int32_t attackValue, fightMode_t fightMode)
After:
C++:
int32_t Combat::getTotalDamage(Creature* attacker, int32_t attackSkill, int32_t attackValue, fightMode_t fightMode)

For new "if":
C++:
if (Player* player = attacker->getPlayer()) {
    int16_t voc = player->getVocationId();

    if ((voc >= 4 || (voc == 8)) {
        formula = (7 * (attackSkill)+50) * damage;
    }
    else {
        formula = (5 * (attackSkill)+50) * damage;
    }
}
else {
    formula = (5 * (attackSkill)+50) * damage;
}
randresult = (rand() % 100);
return -(ceil(formula * ((rand() % 100 + randresult) / 2) / 10000.));
hello friends can someone tell me how to add it? or where?
or how to make it increase paladin and knight damage ;D
 
Guys i've managed to get this running on docker container and also i used this client GitHub - OTCv8/otclientv8: Clean, ready to use version of OTClientV8 - Alternative, highly optimized Tibia client (https://github.com/OTCv8/otclientv8). I am very much a noob who did with the help of chatgpt. I had to write a new docker-compose file and make some changes in the Dockerfile in order for the server to run. Also i had to make some changes on the client in order to hardcode my servers IP and port (since client was trying to connect to 127.0.0.1. If anyone needs help with my setup let me know ill be happy to help!

Also my idea is to set this up for like 20 or so of my friends so we are able to have battles once a week. Does anyone know how could i make the following. Players drop items upon death and loose around 10% but they get reborn with the same backpack? Also i wanted to make the server pvp-enforced but editing the config.lua did not help me? Appriciate if anyone can help me out.

And a huge thanks for the OP for providing us with this server! :)
I was able to run the server without the docker file, anybody has an item editor for 7.72 i can use?
 
Last edited:
Back
Top