From atlantik-devel Tue Dec 31 09:45:08 2002 From: ROCHET Sylvain Date: Tue, 31 Dec 2002 09:45:08 +0000 To: atlantik-devel Subject: [atlantik-devel] [Bug 52436] New: gametype templates not loaded X-MARC-Message: https://marc.info/?l=atlantik-devel&m=104132796526840 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=52436 Summary: gametype templates not loaded Product: atlantik Version: unspecified Platform: Debian testing OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: monopd AssignedTo: atlantik-devel@mail.kde.org ReportedBy: gradator@ifrance.com Version: 0.6.2 (using KDE KDE 3.0.99) Installed from: Debian stable Packages OS: Linux hello, I have founded a big nasty bug in monopd :) look text between /* ... */ (in server.cc, line 423) -------------8<-------------8<-------------8<-------------8<-------------8<------------ void MonopdServer::loadConfig() { FILE *f = fopen(MONOPD_CONFIGDIR "/monopd.conf", "r"); if (!f) { syslog(LOG_ERR, "cannot open config file: %s", MONOPD_CONFIGDIR "/monopd.conf"); return; /* if no config file is founded -> abort, I haven't config file on my system because default value is good for me */ } [.....] /* consequentially template for games are not read, but you can start a game because gametype file is rereaded */ loadGameTemplates(); } -------------8<-------------8<-------------8<-------------8<-------------8<------------ I have succefully fix this bug if a put loadGameTemplates(); in the start of MonopdServer::loadConfig()... -- gradator -- _______________________________________________ atlantik-devel mailing list atlantik-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/atlantik-devel