• 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.2 8.60 compiling

DaBlauwk

Psychedelic
Joined
Jun 9, 2014
Messages
41
Reaction score
4
Location
The Moon
Hi
I´ve made some source edits for gold nuggets and dual wielding and I have 3 errors while compiling.
It worked when it was just the gold nuggets so the problem must be the dual wielding.
Code:
Error C2061 syntax error: identifier 'Inbox' c:\psychoactive\src\player.cpp    line 51
Code:
Error C2612 trailing ')' illegal in base/member initializer list    c:\psychoactive\src\player.cpp    line 51
LINE 51 player.cpp
Code:
Creature(), lastPing(OTSYS_TIME()), lastPong(lastPing), inbox(new Inbox(ITEM_INBOX)), client(std::move(p))
and this error
Code:
Error C1004    unexpected end-of-file found   c:\psychoactive\src\player.cpp    line 4580
the last line is 4579 which is only }
I haven't found any working fixes yet.
Tried ; after } yet nothing changed
TFS 1.2 for 8.6
VS2017
tfs-sdk-3.2
boost 1.66.0
 
Back
Top