Problems we had with PizzaMod

Wanna understand E=mc2, English grammer, or maybe just build a computer? We can help!

Moderator: Moderators

Post Reply
User avatar
XMEN Gambit
Site Admin
Posts: 4122
Joined: Thu Nov 18, 1999 12:00 am

Problems we had with PizzaMod

Post by XMEN Gambit »

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>
Image
User avatar
Spinning Hat
Inmate
Posts: 2564
Joined: Wed Jun 07, 2000 10:06 am
Location: Minneapolis, MN
Contact:

Re: Problems we had with PizzaMod

Post by Spinning Hat »

wow. Seems like quite a bit of work as a work around, unless there's only 1 or 2 maps that're named incorrectly... <p></p><i></i>
Image
"Never, Never, Never quit." - Winston Churchill
"Men don't like to cuddle. They only cuddle if it leads to.. You know.. Lower cuddling." - Ray Romano
"Tell your wife that she looks pretty, even if she looks like a dump truck." - Ricky, age 10
User avatar
XMEN Gambit
Site Admin
Posts: 4122
Joined: Thu Nov 18, 1999 12:00 am

Re: Problems we had with PizzaMod

Post by XMEN Gambit »

I'd have done it without complaint, just to get through the frustration of getting the mod to work right. <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END--> <p></p><i></i>
Image
XMEN_Hammer
Inmate
Posts: 390
Joined: Sat Sep 01, 2001 12:32 pm
Location: Texas

Re: Problems we had with PizzaMod

Post by XMEN_Hammer »

Ya its an AWSOME mod <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END--> Fun as heck getting your name up on the board <!--EZCODE EMOTICON START :) --><img src=http://www.ezboard.com/images/emoticons/smile.gif ALT=":)"><!--EZCODE EMOTICON END--> <p><!--EZCODE IMAGE START--><img src="http://www.xmenclan.org/avatars/hammer_ ... <!--EZCODE IMAGE END--><br>Proud Member of the XMEN Clan<br>Proud Member of the Dragon Talon Mercenaries<br>If you run, you will only die tired. </p><i></i>
Image
Proud member ot the Soup Clan
Proud Member of the XMEN Clan
Proud Member of the Dragon Talon Mercenaries
If you run, you will only die tired.
Post Reply