|
If you see anything that looks wrong, or if you would like to see more detail placed
on something you see here, send me an email and I'll get to it when I feel like it
(hey, you want me to lie and say I'll get right on it?) |
| Contents |
|
Introduction What Demons Does Minimum Hardware Internet Connection Initial Setup of Nascar Racing Initial Setup of DeMONS What's a Host? Configuring a Host Daily Availability Timing Is Everything Timing Really Is Everything Building a Schedule Putting it Out There Not Putting it Out There Keeping Everybody Honest The Launcher Performance Considerations Scheduling Flexibility Frequently Asked Questions |
| Introduction |
|
This page is for folks who are fairly new to hosting races with Nascar Racing NR2K3, and doing so with DeMONS. Before you read this page, I insist that you go through the server.txt file that was installed from the sim's retail CD. There's A LOT of good info in there about running a Nascar Racing race server. The intent of this part of the DeMONS website is to help you come to grips with
the various timing styles and combinations thereof, and to help you understand how
best to setup your copy of DeMONS. Keep in mind that DeMONS was created to help
you to run DEDICATED servers, not open loops or that kind of stuff. It will NOT be
changed to accomodate open loopers or "setup" servers.
|
| What Does DeMONS Do? |
|
DeMONS allows you to run an UNLIMITED number of simulatenous race servers for
Nascar Racing 2003 Season. Of course the viability of running many servers is
based on your hardware and internet connection, but I'll cover that later.
Schedules can then be created with various timing considerations and with FULL
control over all aspects of the race(s) that you would find in the sim itself. The
scheduling possibilities are almost infinite in number.
|
| Minimum Hardware |
|
There's quite a bit of discussion surrouning the sim's true minimum/recommended hardware requirements. The way I see it is that what's shown on the box as "minimum" is like saying "this is the least powerful system we could get the game to even start-up on". This minimum requirements are there because a marketing nazi thinks that if they can just get the game into a user's hands, so what if the gameplay sucks. The chances are pretty good that they'll keep the game until they have a system powerful enough on which to run it properly. To some extent, they're right. Many folks who buy a game are simply too lazy to return it, and will shelve it until they upgrade their system. Next, we have the "recommended" requirements. This is actually the true minimum requirements (as specified by the guys who wrote the game. Think about it, though. A lot fewer people will buy the game because chances are, their system isn't quite up to speed - lost sale, lost customer. Of course, I have my own laws. Technically, if your system meets the minimum requirements, that should be fine to simply run a DEDICATED server. However, we all know that the faster your system is, the less it will be stressed by the game to keep up with demands. My recommended system requirements are "buy the most/fastest you can afford that EXCEEDS the minimum required system shown on the box". If you're going to save replays, get a huge hard disk (80gb would do). Also start out with a minimum of 320MB of RAM (512 would be better). You must also have a sound card and a DX8-compatible video card, EVEN IF YOU'RE JUST RUNNING A DEDICATED SERVER. The game sometimes doesn't install correctly if you don't have these two pieces of hardware. Lastly, keep this idea in mind - a typical machine can realistically handle no more
than TWO simultaneously running servers at a given time. Of course, the more powerful
your system, the better your chances will be of running more, but it's not recommended.
Besides, your internet connection will probably be a somewhat more immediate limiting
factor.
|
| Internet Connection |
|
Here's the simple truth - if you don't have a broadband connection to the net, don't bother trying to run a server AT ALL. A typical cable connection can only support about 10 cars (and that INCLUDES computer-controlled cars). The key to your connection viability is the UPSTREAM bandwidth. Each car takes
approximately 21k of upstream bandwidth. This works out to requiring a FULL T-1
connection to support a 43-car field (uses a little over 900k). Don't kid yourself,
and don't do a disservice to your drivers by overloading your server.
|
| Initial Setup of Nascar Racing |
|
Before you run DeMONS the first time, there's a few things you need to do. The very first thing is to install the sim from the retail CD. This is a more critical step than you may realize. If you don't install from the retail CD, NONE of the DeMONS components will run. Next, you need to create a user ID on Sierra for your server. I recommend that you create a unique user ID for EVERY server you wish to run. The sim creates a player folder for every ID, and DeMONS modifies the PLAYER.INI file in that folder. Finally, you need to already have created one or more Sierra ID's in order to
have your server show up in the Sierra server list.
|
| Initial Setup of DeMONS |
|
DeMONS requires no fancy setup routine. Just create a folder somewhere on your server
system, and unzip/copy the DeMONS files there. You may want to place shortcuts on your
desktop for D3CONFIG.EXE and D3LAUNCHER.EXE. This will make it easier to run these
programs later on, and from this point forward, these instructions assume that you
indeed added the shortcuts to the desktop.
IMPORTANT NOTE FOR WINDOWS 95/98/ME USERS -
Due to quirks in Windows, you need to perform an extra step before running DeMONS the
first time. A utility called D3SCRUB is provided which allows you to modify some of
the sim's INI files (the track files specifically) that are written in a non-standard
way that prevents DeMONS from reading them without going through a lot of stupid
little dances.
For performance reasons, I wrote D3SCRUB. If you want details about what it does, refer to the Reference Guide. I can guarantee that it does not cause any problems with running the sim. This step is NOT required by Windows NT, Windows 2002, or Windows XP users. Now you're ready to start using DeMONS. There are three basic steps to hosting a race with DeMONS:
To configure a host and scheudle races, click on the desktop icon for D3Config, and you will be presented with a dialog box that looks something like this:
When D3Config starts, it automatically locates the installed sim, and loads it's track list. If the sim is not found, the program will terminate with an appropriate message. The only way it won't be able to find the sim is because you didn't install it from the retail CD. This point is NOT negotiable because there's absolutely NO reason you cannot manage to install the sim correctly. (All of the DeMONS components do this.) The real meat of this dialog is in the section labelled Hosts. It contains a list of all the hosts that you've created, and buttons are provided below the list that allow you to manipulate these hosts. Along the bottom of the dialog box are the following buttons: NOTE: If you get completely flabbergasted and confused, you can wipe all of the
DeMONS configuration data by clicking the "Start Fresh" button in the lower left
corner of this dialog box.
|
| What's a Host? |
|
A host is the same thing as a "server". I decided to use the term "host" because it
controls a Nascar Racing "server". So, a "host" is what you configure in DeMONS, and
the "server" is controlled by that host.
|
| Configuring a Host |
|
By clicking the Add button or Edit button on the previously discussed dialog box, you can configure a DeMONS host. A dialog box will be displayed that contains several tabs, and will look something like this:
Visit all of the tabs to see what's on them. For explanations as to what all
the fields and buttons are for, refer to the
Reference Guide.
|
| Timing Is Everything |
|
Each host can only support ONE timing style at a time. There are ways to work
around this restriction, but we'll wait until the end of this section to talk
about it. There are three basic timing styles.
Another item of note for this timing style is that a host using this timing style ignores the daily availability settings, and instead considers itself to run every day. (The favored host setting is NOT ignored, however.) Days Of The Week Each host can be restricted to run on only certain days of the week (or every day). At least one days of the week checkbox must be checked. Other Timing Settings There are other settings that permit you to enhance the capabilities of the host
to deal with time and schedules.
Make sure you check out the Scheduling Flexibility section near the end of this
page. I've outlined how to configure one or more DeMONS hosts to perform a wide
range of host scheduling.
|
| Timing Really Is Everything |
|
Now, remembering that you can have multiple hosts, and that each host can use ANY user ID available to it, and that ANY host can run on ANY day with ANY timing style, you can probably see a potential problem - more than one NR4 or NR2K2 host using the same Sierra ID running at the same time. You're probably saying to yourself that it would make sense for DeMONS to resolve any conflicts that might exist, and you know what? You're right - it would make sense. However, you have to consider the "John's a lazy bastard" factor - I figure you should be on top of your game enough to be able to determine on your own when schedules overlap when multiple hosts use the same Sierra user ID. Wanting to at least meet my users half way by helping them more easily determine any potential problems. Once you have your hosts (and their schedules) configured, you can view a graphical representation of all configured hosts that shows the relative start/stop times, what types of timing they use, etc. On the Main D3Config dialog box, there's a button labelled "Host Recap". Clicking this button will show a window something like this:
Each day of the week is shown, and each day is broken down into six 4-hour segments (to provide a visual approximation of the hour). Each host is reflected in the chart and each one shows its host name, the Sierra user ID associated with the host, and the timing style. The primary thing you must be careful to avoid is having two hosts running at the same time that use a single Sierra user ID. I honestly don't know what would happen, but I can't imagine the results being desireable, so my advice is to avoid this situation entirely. This graphical chart will aid you in this endeavor. You might not have noticed, but timing styles are indicated by a specific colored
line: continuous loop is blue, daily is green, and specific date/time is red.
|
| Building a Schedule |
|
The whole purpose of DeMONS is to allow you to run a series of races in a pre-determined order using a variety of timing settings and even restrictions. Keep in mind that there is a default race settings page from which all new races borrow settings. This makes it much faster to configure a race because from a league administrator's standpoint, most of the race settings never change from race to race. In fact, most of the time only the venue changes. You can even move scheduled events up and down in the list. Keep in mind that races are executed in the order that they exist in the list at the time that you run the launcher. Another caveat concerns a host that is configured to use the specific date/time timing style. Since races are run in the order they show up in the list, you must take extra care NOT to arrange your races so that the times are all mixed up. Remember, DeMONS will IGNORE races whose start date/time was scheduled for a point in time that has already passed. To make schedule building a little easier, you can also build a "Quick Schedule".
This button is found on the Schedule Config dialog box, and will present a
subsequent dialog which allows you to select between the two following options:
|
| Putting it Out There |
|
You can choose to have a given host to either show up on Sierra's server list, or to
NOT show up on their list. If you choose to have your server show up on Sierra,
EVERYONE that connects to that server MUST also be logged onto Sierra. This is done
because of the ranking system - if one guy (the server) is subject to the rankings,
everyone is. This is a limitation of the sim, NOT DeMONS.
DeMONS allows each host to be individually configured to either be included on Sierra or not be included. To include your host on Sierra, go to the Connections tab on the Host Configuration dialog, and check the box labelled "Register on WON/Sierra". In order for people to see/join your race, you may have to take additional steps, especially if you're using a router like the Linksys BEFSR41 4-port router switch for cable/DSL connections. You have to forward a range of ports, but it's not that tough. If you want to know how to forward ports on your router, refer to the documentation that comes with your router. If you're using a Linux gateway machine as a router, you are probably savvy enough to know how to do this, but just in case, Papyrus has provided the necessary examples in one of the readme files that comes with the game. I have also successfully hosted races on a laptop connected via a 802.11g
wireless connection. I have not tried anything slower, but the 802.11g is
sufficiently fast enough to support the needs of a NR2K3 server.
|
| Not Putting it Out there |
|
In that last section we mentioned that you don't HAVE to have your server show up on
Sierra's server list. To facilitate this, simply go to the Connections tab on the
Host Configuration dialog, and check the box labelled "Use TCP/IP", and UN-CHECK the
"Register on WON/Sierra" box if it's checked.
When drivers are connecting to your server using TCP/IP, they have to know your IP
address AND your net server port value - *even if you're using the default port
value*.
|
| Keeping Everybody Honest |
|
You can control access to your server by specifying a race password, and making
use of the invite and/or muzzle lists. If you specify a race password, everybody
that wants to join your race MUST know the password UNLESS you have an invite
list specified for the server.
|
| The Launcher |
|
The Launcher is what makes all this other stuff pertinent. Without D3Launcher, none of
the rest of this would have a purpose. Once you think you're done setting up your
host(s), you run D3Launcher and click the Start All button, and the rest is magic.
I've been asked this question, so I'll answer it again here - Yes, the Launcher MUST
be running all the time for the schedule thing to work.
|
| Performance Considerations |
|
The Launcher is a multithreaded application that requires almost zero processor time while the clock ticks down to the start of a race for a given host. Beyond that, it needs to build a commandline and modify some files before the server is launched, and the thread is put to sleep while the sim is running. However, there are some performance considerations you must be aware of if you're running multiple simultaneous hosts.
The long and the short of it is don't let your alligator ego overload your hummingbird connection/hardware. You'll just look like a putz to the people that use your server, I won't be sympathetic, and your users will hate and revile you. |
| Scheduling Flexibility |
|
This section is provided to give you an idea about how to setup DeMONS to support a variety of sim/timing combinations without causing a Chernobyl-like meltdown of your computer or internet connection. Remember - a smaller number of great connections is MUCH more desireable than a larger number of average connections. Be honest with yourself about your hardware and available bandwidth before configuring hosts. On the Timing tab:
What will happen - When you start the host (from the launcher), the host will start cycling through all of the races in the schedule. When a race ends, the next race in the schedule will start at the next even minute (see Reference Guide for further details). The schedule will continue cycling through the scheduled races until you tell it to stop. On the Timing tab:
What will happen - When you start the host (from the launcher), the host will start cycling through all of the races in the schedule, running each event once every day at the specified time, and will continue cycling through the scheduled races until you tell it to stop. For the practice race host... On the Timing tab:
For the league race host... On the Timing tab:
What will happen - When you start both hosts (from the launcher), the practice server will immediately start cycling through all of the races. Each race will be run repeatedly until the day/time specified, at which point it will move to the next race in the schedule. The league host will terminate the practice host's sim session (if running), and will start it's race. After that race is finished, the practice host will be allowed to resume it's schedule. The time to stop for the practice host should probably be set to about 10 minutes AFTER the league host's specified start time. This will guarantee that when the practice host is automatically started back up, it will progress to the next race in the schedule. For the practice race host... On the Timing tab:
For the league race host... On the Timing tab:
What will happen - When you start both hosts (from the launcher), the practice server will immediately start cycling through all of the races. Each race will be run repeatedly until the day/time specified, at which point it will move to the next race in the schedule. The league host will terminate the practice host's sim session (if running), and will start it's race. After that race is finished, the practice host will be allowed to resume it's schedule. The time to stop for the practice host should probably be set to about 10 minutes AFTER the league host's specified start time. This will guarantee that when the practice host is automatically started back up, it will progress to the next race in the schedule. For the Race #1 host... On the Timing tab:
For the Race #2 host... On the Timing tab:
What will happen - When you start both hosts (from the launcher), both the Race #1 host and the Race #2 host will start a sim server session at the specified time every Saturday. You can schedule several Saturdays in advance for each host, requiring no human intervention from the point at which you initially started the schedules running in the Launcher. For the Race #1 host... On the Timing tab:
For the Race #2 host... On the Timing tab:
For the Practice host, do this: On the Timing tab:
What will happen - When you start the hosts (from the launcher), the practice host will start cycling through the scheduled races at (or after) 5pm. When Saturday rolls around, both the Race #1 host and the Race #2 host will start a sim server session at the specified time, and will pause the practice host (as well as terminating it's server session) in favor of their own events. It's CRITICAL that you configure both "race" hosts so that the second one doesn't cause the first one to stop. |
| Frequently Asked Questions |
|
Beyond that, you need to know which ports to forward. On your server machine, the default port range would be 32766 to 32767 + number of cars you will be hosting. For example, if you'll be hosting 20 cars, your port range should be from 32766 to 32787. You should also ensure that your core.ini file contains the correct "net_server_port" value. Set it to 32766. Each server needs to have it's own range of ports. Assuming you setup the first server machine as described above (forwarding the port range of 32766-32787), you may want to use the port range 32800-32821 for the second server. Don't forget to set the "net_server_port" value in CORE.INI on the second server machine. On the machine where you'll acytually be driving, all you have to do is specify a net_server_port value in the CORE.INI file on that machine. You don't have to forward ports to that machine, though. Remember to select a port value that does not fall within the range of the other two machines. A port value of 32850 might be a good choice. |
| document ends |