Thanks KLS, your new revision worked (almost flawlessly), it was still throwing
Code:
make[1]: *** [QuestParserCollection.o] Error 1
Which was easily fixed by taking QuestParserCollection.o out of the makefile.common.
I am having a bit of trouble with the LoginServer compile though.. /cry lol
Code:
Client.cpp: In member function ‘void Client::Handle_SessionReady(const char*, unsigned int)’:
Client.cpp:130: error: ‘LoginMode’ is not a class or namespace
make: *** [Client.o] Error 1
I did some searching on the forums here and found this fix, which for some reason didnt work last night, but when I woke up this morning apparently it fixed itself.
Code:
unsigned int mode = *((unsigned int*)data);
- if(mode == (unsigned int)LoginMode::lm_from_world)
+ if(mode == (unsigned int) lm_from_world)
{
log->Log(log_network, "Session ready indicated logged in from world(unsupported feature), disconnecting.");
connection->Close();
But I am still caught on an issue that I cant figure out myself cause I'm the suck lol..
Code:
gcc -o EQEmuLoginServer Client.o ClientManager.o Config.o DatabaseMySQL.o ErrorLog.o Main.o ServerManager.o WorldServer.o .obj/BasePacket.o .obj/Condition.o .obj/CRC16.o .obj/crc32.o .obj/debug.o .obj/emu_opcodes.o .obj/EmuTCPConnection.o .obj/EmuTCPServer.o .obj/EQPacket.o .obj/EQStream.o .obj/EQStreamFactory.o .obj/logsys.o .obj/logsys_eqemu.o .obj/misc.o .obj/MiscFunctions.o .obj/Mutex.o .obj/opcodemgr.o .obj/packet_dump.o .obj/packet_functions.o .obj/rdtsc.o .obj/TCPConnection.o .obj/TCPServer.o .obj/timeoutmgr.o .obj/timer.o .obj/unix.o -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -O -g -pthread -pipe -DEQLAUNCH -DEQDEBUG=5 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX -rdynamic -L. -lstdc++ -ldl -Wl,-Bsymbolic-functions -rdynamic -L/usr/lib/mysql -lmysqlclient -lEQEmuAuthCrypto -lcryptopp
/usr/bin/ld: 1: Syntax error: newline unexpected
collect2: ld returned 2 exit status
make: *** [EQEmuLoginServer] Error 1
Even though libcryptopp.a & libEQEmuAuthCrypto.a were placed in EQEmuLoginServer, I had to copy them to /usr/bin/ld for the compiler to find them.
Any thoughts? I'll be here all day lol...