added packetqueue implementation (sample commit)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3831 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-12-02 21:00:41 +00:00
parent 46325eca7d
commit 73bffe10b4
2 changed files with 69 additions and 1 deletions
+4 -1
View File
@@ -15,8 +15,11 @@ packetqueue pkglogger(8);
void neterr(const char *s)
{
conoutf("\f3illegal network message (%s)", s);
// might indicate a client/server communication bug, create error report
pkglogger.flushtolog("packetlog.txt");
conoutf("\f3wrote network error report to packetlog.txt, please post this file to the bugtracker now!");
conoutf("\f3wrote a network error report to packetlog.txt, please post this file to the bugtracker now!");
disconnect();
}