Compiling TFS 1.2 8.60 compiling

DaBlauwk

Psychedelic
Joined
Jun 9, 2014
Messages
33
Best answers
0
Reaction score
1
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
 
OP
DaBlauwk

DaBlauwk

Psychedelic
Joined
Jun 9, 2014
Messages
33
Best answers
0
Reaction score
1
Location
The Moon
did player.cpp changes from .patch file by hand and worked like a charm
 
Top