• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling Errors while compiling TFS 0.2.1

Digaral

New Member
Joined
Jan 22, 2010
Messages
11
Reaction score
2
Hi community!

Right now I´m compiling the TFS 0.2.1 source with Stian´s Dev C++ on Windows 7.

I have 4 errors right now that i cant solve, so I would appreciate your help. The errors are:

22 C:\OT Server\0.2.1.r54\actions.cpp In file included from ../actions.cpp
231 C:\OT Server\0.2.1.r54\const.h 'uint8_t' does not name a type
259 C:\OT Server\0.2.1.r54\const.h 'uint8_t' does not name a type
259 C:\OT Server\0.2.1.r54\const.h *** [obj//actions.o] Error 1

Refer to:
on actions.cpp: #include "const.h"
so the problem is in const.h; on lines

231:
const uint8_t reverseFluidMap[] =
{
FLUID_EMPTY,
FLUID_WATER,
FLUID_MANA,
FLUID_BEER,
FLUID_EMPTY,
FLUID_BLOOD,
FLUID_SLIME,
FLUID_EMPTY,
FLUID_LEMONADE,
FLUID_MILK
};

259:
const uint8_t fluidMap[] =
{
CLIENTFLUID_EMPTY,
CLIENTFLUID_BLUE,
CLIENTFLUID_RED,
CLIENTFLUID_BROWN_1,
CLIENTFLUID_GREEN,
CLIENTFLUID_YELLOW,
CLIENTFLUID_WHITE,
CLIENTFLUID_PURPLE
};

Thanks in advance.
 
Last edited:
Back
Top