Well that solved the missing files issue. Thanks nosfentora!
Now to find a less buggy version of questmgr.cpp ......managed to fix one of the errors and can prolly fix the invalid type conversion but the others I am not sure where to start. When looking at the syntax error nothing really jumps out at me but then again it could just be that I am rusty.
The first error was an unmatched { here:
void QuestManager::StartQuest(Mob *_owner, Client *_initiator) {
quest_mutex.lock();
owner = _owner;
initiator = _initiator;
depop_npc = false;
}
But that was clearly wrong, the QuestManager::Process() was missing a } which I added to the end and the error seems to be solved atleast for the moment, this may show up again after compiling and some testing.
The other errors are:
.\questmgr.cpp(117) : error C2664: 'Parser::Event' : cannot convert parameter 4 from 'Mob *' to 'NPC *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
.\questmgr.cpp(1190) : error C2065: 'PerlembParser' : undeclared identifier
.\questmgr.cpp(1190) : error C2059: syntax error : ')'
|