GitHub - RCP91/TibiaCore (https://github.com/RCP91/TibiaCore) "How Compiler"For a newb. Is there an easy way to set this up to play offline by myself?
I spent some hours yesterday trying to figure it out and bumped into these errors:GitHub - RCP91/TibiaCore (https://github.com/RCP91/TibiaCore) "How Compiler"
For windows download xampp to upload sql or WSL1 also.
Ubuntu Linux install (mysql or mariadb), apache2.
If you have knowledge of Ubuntu, its the quickest and easiest way to start running the server.
ubuntu you can compiler easy using apt installs, only cmake!I spent some hours yesterday trying to figure it out and bumped into these errors:
![]()
I was told this was because of the BOOST version. Do i need to downgrade it or smth?
Im setting up a ubuntu right now to try on that first! Obrigado pela ajudaubuntu you can compiler easy using apt installs, only cmake!
Alright I think I compiled it in ubuntu, but probably missing a database. How do I do that in ubuntu? Sorry for being stupid lolubuntu you can compiler easy using apt installs, only cmake!
database is tibiacore-empty.sqlIm setting up a ubuntu right now to try on that first! Obrigado pela ajuda
Post automatically merged:
Alright I think I compiled it in ubuntu, but probably missing a database. How do I do that in ubuntu? Sorry for being stupid lol
So I need to use mysql to set it up, right?database is tibiacore-empty.sql
try:Trying to set up myaac but it doesn't recognize config.lua even though the path seems to be right. /home/user/TibiaCore
sudo chmod 644 /home/user/TibiaCore/config.lua
sudo chown user:www-data /home/user/TibiaCore/config.lua
sudo chmod 755 /home/user/TibiaCore
fixed:I spent some hours yesterday trying to figure it out and bumped into these errors:
![]()
I was told this was because of the BOOST version. Do i need to downgrade it or smth?
Post automatically merged:
I'll try to run it on a VM with ubuntu
![]()
fix: vcpkg/boost v1.89 · RCP91/TibiaCore@a59f72c
fix: boost x64 from vcpkg for compiler windows. fix: database skip SSL suport. fix: dont close the terminal if there is an error during initialization.github.com
Did the chmod chown configs but didn't help. Can't find config.local.php though.try:
Or edit path on config.local.php
Post automatically merged:
fixed:
I'm getting a crash when throwing a spear too. I added:try add in item.cpp in function :
C++:bool Item::equals(const Item* otherItem) const { if (!otherItem || id != otherItem->id) { return false; } // new if. if (isStackable()) { return true; } if (!attributes) { return !otherItem->attributes; } const auto& otherAttributes = otherItem->attributes; if (!otherAttributes || attributes->attributeBits != otherAttributes->attributeBits) { return false; } const auto& attributeList = attributes->attributes; const auto& otherAttributeList = otherAttributes->attributes; for (const auto& attribute : attributeList) { if (ItemAttributes::isStrAttrType(attribute.type)) { for (const auto& otherAttribute : otherAttributeList) { if (attribute.type == otherAttribute.type && *attribute.value.string != *otherAttribute.value.string) { return false; } } } else { for (const auto& otherAttribute : otherAttributeList) { if (attribute.type == otherAttribute.type && attribute.value.integer != otherAttribute.value.integer) { return false; } } } } return true; }

ConditionType_t conditionType = DamageToConditionType(weapon->getCombatType());ConditionType_t conditionTypeAmmo = DamageToConditionType(ammunition->getCombatType());uint32_t aD1 = ammunition->getDamageA();uint32_t aD2 = ammunition->getDamageB();ConditionType_t conditionType = DamageToConditionType(weapon->getCombatType());ConditionType_t conditionTypeAmmo = DamageToConditionType( ammunition ? ammunition->getCombatType() : COMBAT_NONE);uint32_t aD1 = ammunition ? ammunition->getDamageA() : 0;uint32_t aD2 = ammunition ? ammunition->getDamageB() : 0;Did the chmod chown configs but didn't help. Can't find config.local.php though.
EDIT: got it to work with the following:
sudo chmod +x /home
sudo chmod +x /home/user
sudo chmod +x /home/user/TibiaCore
sudo chmod +x /home/user/TibiaCore/config.lua
Thanks for the fix for the windows version!
ty for the help
My only issue now is getting to login with the client from outside the VM. Inside the VM it works fine, outside I get the following error:
Connection Failed. (ERROR 10061)
EDIT: Okay got that to work too. Had to change ip in config lua from 127.0.0.1 to my local ip
Post automatically merged:
I'm getting a crash when throwing a spear too. I added:
// new if.
if (isStackable()) {
return true;
}
to items.cpp but still crashes after recompiling, weirdly the server only crashes if I throw it with a normal character. GM character doesn't crash when throwing spear/small stone
View attachment 96196
Edit:
Fixed it by changing in combat.cpp from:
ConditionType_t conditionType = DamageToConditionType(weapon->getCombatType());
ConditionType_t conditionTypeAmmo = DamageToConditionType(ammunition->getCombatType());
uint32_t aD1 = ammunition->getDamageA();
uint32_t aD2 = ammunition->getDamageB();
to:
ConditionType_t conditionType = DamageToConditionType(weapon->getCombatType());
ConditionType_t conditionTypeAmmo = DamageToConditionType(
ammunition ? ammunition->getCombatType() : COMBAT_NONE
);
uint32_t aD1 = ammunition ? ammunition->getDamageA() : 0;
uint32_t aD2 = ammunition ? ammunition->getDamageB() : 0;
Not sure if it's gonna mess something else, but it's working now
For any project really, 7.4, 7.6. 8.0, simply the best is to read the error.What otclient is best for this project and have corret ids with this server? Because when i click right on blueberry bush i have errors in my terminal + i have to relog to see correct sprites with "3x blueberry"
You need to put the right .spr and .dat to remeres works.EDIT: I found the map editor here: TibiaCore 7.4 TFS 1.2 same Nostalrius project. (https://otland.net/threads/tibiacore-7-4-tfs-1-2-same-nostalrius-project.288396/post-2749183)
What map editor can be used with this server? I tried remeres map editor but all the tiles has wrong items placed when I load the map.
in features.lua you should activate:You need to put the right .spr and .dat to remeres works.
Post automatically merged:
After a long time trying, I managed to get TibiaCore working with OTclient classic 772, however, after about 30 seconds or 1 minute the connection drops and it goes to the character selection screen. This doesn't happen with the original client.