Hi,
I encountered 2 compile errors when compiling the Latest zip (19/08):
D:\MQ2-Latest\MQ2Main\MQ2Data.cpp(568) : error C2001: newline in constant
D:\MQ2-Latest\MQ2Main\MQ2Data.cpp(569) : error C2143: syntax error : missing ')' before 'if'
Which the corresponding codes(underlined) are:
if (pIniFile=strtok(szIndex,","))
{
if (pSection=strtok(NULL,","))
{
if (!strcmp(pSection,"-1"))
pSection=0;
if (pKey=strtok(NULL,","))
{
if (!strcmp(pKey,"-1"))
pKey=0;
pDefault=strtok(NULL,"?);
if (!pDefault)
pDefault="";
}
}
}
Also, I found out there is a large potion of codes are commented in MQ2Utilities.cpp, from line 2656 to 3065, are they really unnecessary?
My MQ2 works fine most of the time, but sometimes it kicks me to server selection with my character locked for a long time. If I restart EQ, I can't pass thru the login process with error message like "Login server timed out". I have to wait like 10-15 mins before I can login again. I am not sure if it's really the cause.
Thx for replying.
Btw, I am using VC++ R6.0 with SP6.


