If someone receiving the Incomplete LoginServer.INI file error message when starting world could do the following to try to determine why it can't properly parse the file, it'd be helpful.
Modify the net.cpp file in the world directory starting at line 329 through 338 to appear as follows & then rebuild:
if (!strncasecmp (type, "loginserver", 11))
{
cout << "loginserver" << endl;
for(int i = 0; i < 201; i++)
printf("%hhd ", buf[i]);
cout << endl;
strncpy (loginaddress, buf, 100);
items[0] = 1;
}
if (!strncasecmp (type, "worldname", 9))
{
cout << "worldname" << endl;
for(int i = 0; i < 201; i++)
printf("%hhd ", buf[i]);
cout << endl;
strncpy (worldname, buf, 200);
items[1] = 1;
}
This will dump the contents of the buffers involved in a not so nice format, but if you can post the output when starting the world server with this change it'll help determine what is going on.
|