How To: Make a LAN Server
Step One: Making the basic files |
First you will need to set up most of the stuff like a regular zone. If you don't know how, go to the How To: Make a Zone page. |
Step Two: Editing the Server.ini |
OK. In the server.ini file, in the [Misc] section, you need to set the port equal to the Port of your server. In my case, 1010. You also need to set the DefaultLevelFile equal to the name of the level (must be in the server directory). In my case mylevel.lvl. |
Step Three: More editing |
Next, in the [Password] section, it is handy to set the passwords to something rememberable. I just set the sysop password to 'sysoppass'. Being sysop allows you to edit the game settings while in the game, as well as kick users etc.. When entering the game, enter your name as sysop and password as *sysoppass. Note: You need to add the * before. When in the game, you can press ESC and C to edit stuff. |
Step Four: More... |
Next, in the [Billing] section, you need to set the IP equal to the IP address of the machine the server will be running on. In my case: 192.168.0.2. It's also helpful to set a billing password. The ServerName should be set to what you want the server to be called. (This is what would appear in the servers list. Eg. "VIE Alpha whatever"). The Port should MUST be set to 900. Despite the port your server is on. (It's a good idea for your server not to be on that port). You should set the ServerID and the ScoreID to the port of your server. Eg. 1010. |
Step Five: It keeps going on like this.. |
Finally, in the [Directory] section you need to change the description to something. This is what the user sees when they click on a server in the list. The IP and the Port in this section should be left alone as they refer to the IP and Port of the server which lists all the servers. Namely sscentral.vie.com. But with a lan server, this isn't relevent. |
Step Six: To run the zone |
Your server is now ready to be run. Run subgame.exe with parameter /nb. IE: subgame /nb. This'll boot the server. (To close it, press Shift + F12 or Ctrl + C). Now, your server should work. If not, contact me. {Me as in Yann or Mine GO BOOM -Insert} |
Step Seven: Getting SubSpac to open it |
The next thing you need to do is to have it in the list of servers of the game. This should be done for all of the machines which want to access this server (even the server machine itself). #The Alpha zone!! Have fun! #Star Wars - USA server etc.. It's in the format: ServerName,IP,Port #Description ServerName,IP,Port #Description etc.. So, just add your own. MyLanServer,192.168.0.2,1010 #This is my Lan server blah blah blah As I have multiple zones (multiple servers), I have this: Zone1,192.168.0.2,1010 #Zone1 Zone2,192.168.0.2,1020 #Zone2 |
Step Eight: Extra Info! |
If someone tries to enter the zone, but it says they do not have the latest version even though they do, you need to make sure that the version is 1.34 AND the version in the server directory is also v1.34. |
Step Nine: If wanting another |
When making another server or zone, you just need to copy that same directory and change the relevent port references etc.. It is not necessary to have another copy of the billing server as well. I myself did not use the billing server. It works fine without. |