Problems we had with PizzaMod
Posted: Sat May 31, 2003 9:12 am
Wish I'd known this before. This is exactly what was happening when we tried PizzaMod.<br><!--EZCODE HR START--><hr /><!--EZCODE HR END--><br>Message: 3<br><br>On Fri, 2003-05-30 at 17:41, Troy Farrell wrote:<br>> Another question, which might be a question for fish-e, but when running <br>> atfadmin, I see the server restart when everyone leaves. This wouldn't <br>> be a problem, except that when running Classic 1.? (whatever ships with <br>> 25034), the server resets to 64 players and no password (instead of 24 <br>> players with a password). I'm looking for the Classic 1.3 update, but I <br>> can't find it, though I'm hoping that will fix this behavior. Any <br>> hints? Does anyone know how to keep the server from resetting when <br>> everyone leaves?<br><br>From what I've seen, this is not atfadmin-specific. It's usually a problem with maps filenames. Map filenames that have a hyphen (-) or space in their names will cause syntax errors in ServerPrefs.cs files and prevent your prefs from loading, resulting in the default playerlimit (64) and other default values being used instead of your desired values. The arena map pack is especially bad about this. (I have sent a fixed version to FlyingElmo, but he never used it... oh well...)<br><br>Here's how you fix the problem(s):<br><br>1. Stop your server.<br><br>2. Unzip the VL2 file(s) containing the offending map(s). Look in your ServerPrefs.cs file for clues, especially noting the $Host::MapPlayerLimits lines.<br><br>3. Rename the corresponding *.mis and *.spn files to something without spaces or hyphens. This will not affect how the map name appears in-game unless there is no DisplayName comment in the mis file. If you want to<br>keep the old name, just add a DisplayName comment indicating the original name at the very top of the mis file.<br><br>4. Rebuild and reinstall the VL2 file(s).<br><br>5. If you are using a custom maprotation (with atfadmin), either change the map filenames therein to reflect the new values, or remove the MapRotation.cs file and let it be rebuilt automatically when you restart the server.<br><br>6. Remove ALL of the $Host::MapPlayerLimits lines from ServerPrefs.cs unless you know exactly which lines are causing problems. It won't hurt anything to remove them, they'll be re-added automatically again, anyway. You may also need to edit the $Host::Map value if it was set to load one of the offending maps. Edit the rest of the file to your liking and make a backup in case the problem happens again.<br><br>7. Remove all old *.dso files.<br><br>8. Start your server, shut it down again, then restart it to make sure it'll come up with your desired prefs. If all goes well, then you're finished. If not, then start again at step one.<br><br>Regards,<br><br>fishie<br> <p><!--EZCODE IMAGE START--><img src="http://www.xmenclan.org/xmengambit.gif"/><!--EZCODE IMAGE END--><br>XMEN member<br>Card-carrying DTM<br>OKL Fish-napper<br><br>Though a program be but three lines long, someday it will have to be maintained.<br><!--EZCODE ITALIC START--><em> The Tao of Programming</em><!--EZCODE ITALIC END--></p><i></i>