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

Compiling TFS 1.4.2 compilation errors.

OTcreator

Active Member
Joined
Feb 14, 2022
Messages
425
Solutions
1
Reaction score
44
Hello!
I try compile TFS 1.4.3 candidate and have this fail:

C++:
return map->spawns.loadFromXml(map->spawnfile.string());
In release 1.4.2 orginal:
C++:
return map->spawns.loadFromXml(map->spawnfile);

When I change this one, have next error:

Code:
/var/www/tfs/src/game.cpp: In member function ‘bool Game::playerYell(Player*, const string&)’:
/var/www/tfs/src/game.cpp:3549:48: error: ‘asUpperCaseString’ was not declared in this scope
 3549 |     internalCreatureSay(player, TALKTYPE_YELL, asUpperCaseString(text), false);
      |                                                ^~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/tfs.dir/build.make:394: CMakeFiles/tfs.dir/src/game.cpp.o] Error 1

I don't have idea how edit to compile this distro.
 
The latest official TFS 1.4 version is 1.4.2.
1.4.3 is a custom distro.

Official TFS 1.4

Here you can see the official version number (1.4.2) as well as client used (10.98)

In any case, what you have there is custom which makes it harder to assist with since we do not access to the sources.
 
Last edited:
Back
Top