Server.ini FAQ

Questions and Answers


How do i get advertisments up and working?

You have the ability to place small bmps in your game which can be ads or background art. To place an ad simply made a .bmp (64*64 is best) in the SS pallette and call them ad0.bmp, ad1.bmp etc. The server will randomly pick one to display to the user.
First, in your server.ini file, section [Advertise], change it to the following so it will work.
[Advertise]
SendMode=3
DisplayMode=0
Duration=6000

SendMode

0=don't send any advertisments. 1= send them when the player enters the zone only. 2= send them when player dies. 3=when he enters game AND when he dies.

DisplayMode

0= at top of screen behind all other art, 1=at top of screen on top of all other art, 2=floating around like a backdrop.

Duration

The length of display for the ad in ms. (0 = always on)

To make the files for the ads, open up the template.bmp and change the size of it to fit your ad. Then save it as one of the following. The numbers can be changed from 0 to 999.
b_ad0.bmp - Makes the ad shown to all players.
r_ad0.bmp - Makes the ad shown only to players with full version.
s_ad0.bmp - Makes the ad shown only to players with demo version.
Save those ads you made to your server folder, and load up the subgame.exe and subbill.exe and on the subgame.exe, it should show that the ads are loaded. If not, then re-do the steps above to make it work.

How do i set the Max Players Limit for my zone?

In your server.ini, section [Arena], change the ArenaMaxPlayers to how many people you want in a arena. Then change MaxArenas to how many arena(s) you want to zone to hold. Then, in the section [Misc], change the MaxPlayers to how many people you want to be able to enter your zone. And, if you do have this number set to a low number, maybe your using a 28k, and you give out the VIP password to people, then those people will be able to 'ignore' these limits. That is what VIP does. :)

How do i get two zones to work off one billing server but not keep the same scores?
In your Server.ini file for each of your zones, change the following:
Section:Name:What to do with it:
[Misc]Port=Any number, but keep this about 100 numbers away from any other. It does help if you keep all of these settings the same except maybe the score.
[Billing]ServerId=
ScoreId=Use a range of numbers for this. Like if your ServerId is 1000, make this 1000, then next score reset, use 1100, etc. (This is how you reset zone scores)


How do i get it so subarenas can have different settings and/or map?
Well, this can work two different ways. If you have subgame 1.34.1 or newer with the fix.dll, you have the better one of the two. With the fix.dll, it makes it so that the main arena's server.cfg doesn't reset everytime someone makes a new subarena. If you have 1.34 or 1.34b, your server.cfg will keep reseting alot. But here is still how to do it:
In your server.ini, change the [Custom] Arenamode=0 to Arenamode=1. If you don't have direct access to the .ini, log into your zone as a sysop and type *s*custom:arenamode:1
You may have to recycle after that. Now every time a new subarena is made, you can have different settings. To change map, just ?setlevel mapname.lvl while in the subarena. ESC+C will change settings there.