mvdsv 0.20-0.25 tested
ktpro 1.67
WinXP, FreeBSD
If I try to switch server to "bad" map (i.e. that is
damaged or incomplete) server crashes.
Here ( http://yurik.on.ufanet.ru/qwcrash.rar ) is a
generic ktpro config and map xxx.bsp (I simply renamed non-
map file to bsp).
Whould be great to remove the crash.
Logged In: NO
Ummm... This topic should go to Bugs
Logged In: YES
user_id=1116902
Okay i got 4on4 on your URL reupload this file to rapidshara.ru, slil.ru, etc
Logged In: NO
The new URL is http://yurik.on.ufanet.ru/qwcrash.zip Sorry for inconvenience.
Logged In: YES
user_id=1116902
Originator: NO
seems to be fixed in CVS. need testing...
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Logged In: YES
user_id=1116902
Originator: NO
This 'bug' is present in last release (0.26), so it's open again.
We have to decide what should we do if the map is broken. SV_Error is most simple and user unfriendly solution.
Logged In: YES
user_id=1524845
Originator: NO
Anyone has a definitive idea on the subject?
Logged In: YES
user_id=1524845
Originator: NO
2 solutions:
1)
If server crashes at first map, then load start.bsp, if that crashes too, then stop server.
If server crashes at other map than first, then load previous loaded map, if that crashes too, then stop server.
2)
If a map craches, load first map in maps directory, if that crashes, try second one, and so on. If all are done, then stop server.
What do you think?
Logged In: YES
user_id=1864525
Originator: NO
D3urk wrote: "If server crashes at other map than first, then load previous loaded map,
if that crashes too, then stop server."
I say if the server crashes at a map other than the first map, then load the next map. If that map also fails, continue loading maps to the end of the rotation. If all maps in the rotation fail, then stop the server. This will keep FFA rotations going and stop the server bouncing between a bad map and the last good map.
What thinketh you all?
Logged In: YES
user_id=1116902
Originator: NO
Server do not know which map is next. "Next map" is a mod-side thingie, not a server-side. The most just sendds to the server commands like "map dm4", "map dm6", "map blah".
Anyway the mod can be hacked to jump over bad map.
If we have cycle dm4-->dm6-->badmap-->dm2, then on changing map "dm6-->badmap" mod should detect cycle breakage and after timelmit switch to dm2. It will cause to play dm6 two times, but it's better to play it infinity times =:-)
Logged In: YES
user_id=1524845
Originator: NO
Ok, here is what I'll try to implement:
load map
if map is broken then
brokenmap = true
if lastvalidmap exists then
load lastvalidmap
else
stop with error
else
lastvalidmap = loadedmap
Of course, a GPLed version of start.bsp that we can include in MVDSV pack would be nice and would help prevent first map from being bad (server ALWAYS load start.bsp when starting, even before default map).