[prev in list] [next in list] [prev in thread] [next in thread]
List: atlantik-devel
Subject: [atlantik-devel] [Bug 52436] New: gametype templates not loaded
From: ROCHET Sylvain <gradator () ifrance ! com>
Date: 2002-12-31 9:45:08
[Download RAW message or body]
------- 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic