RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
HollyRidge



PostPosted: Tue Jan 23, 2007 4:47 am    Post subject: Nascar Racing 2003 Season... Reply with quote

I was asked to send the list of modifications that were needed to make the various add on mods work for the Nascar Racing 2003 Season server to work with them. Most of this is done via player.ini which is the configurable file with GameCreate for this type of server. Here is what needs to be done...

First off there is a bug in the player count working. The max_players section is missing under the [ip0]. This needs to be added...

Code:
max_players=42                             ; Max players allowed


Also the variable needs to be in place of 42 to match what GameCreate uses to set the player count. I tried different things but could not find the right combination. I hardcoded mine to do 42 max_players because I could not find the correct variable.

Next these sections need to be added into the player.ini config...

Code:
[asa2004]
SelectedCarFile=999_NSRC_Admin.cts.car       ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.cts.car   ; .car file name
SelectedRoster=                            ; .lst file name

[gn70]
SelectedCarFile=999_NSRC_Admin.cts.car               ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.cts.car          ; .car file name
SelectedRoster=                            ; .lst file name

[gn70v2]
SelectedCarFile=999_NSRC_Admin.cts.car                  ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.cts.car             ; .car file name
SelectedRoster=                            ; .lst file name

[Hooters]
SelectedCarFile=999_NSRC_Admin.gns.car              ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gns.car         ; .car file name
SelectedRoster=                            ; .lst file name

[lmpv2]
SelectedCarFile=999_NSRC_Admin.gns.car            ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gns.car       ; .car file name
SelectedRoster=                            ; .lst file name

[owr]
SelectedCarFile=999_NSRC_Admin.pta.car          ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.pta.car     ; .car file name
SelectedRoster=                            ; .lst file name

[pta]
SelectedCarFile=999_NSRC_Admin.pta.car           ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.pta.car      ; .car file name
SelectedRoster=                            ; .lst file name

[RDgtn]
SelectedCarFile=999_NSRC_Admin.gtn.car             ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gtn.car        ; .car file name
SelectedRoster=                            ; .lst file name

[RDgtp]
SelectedCarFile=999_NSRC_Admin.gtp.car             ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gtp.car        ; .car file name
SelectedRoster=                            ; .lst file name

[tptcc2]
SelectedCarFile=999_NSRC_Admin.pta.car   ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.pta.car   ; .car file name
SelectedRoster=                            ; .lst file name


Now these items need to be fixed in the player.ini for the other mods to work (Basically adding the car file to them)...

Code:
[aero88]
SelectedCarFile=999_NSRC_Admin.cts.car    ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.cts.car   ; .car file name
SelectedRoster=                            ; .lst file name

[arca]
SelectedCarFile=999_NSRC_Admin.gns.car      ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gns.car   ; .car file name
SelectedRoster=                            ; .lst file name

[cts]
SelectedCarFile=999_NSRC_Admin.cts.car    ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.cts.car   ; .car file name
SelectedRoster=                            ; .lst file name

[gns]
SelectedCarFile=999_NSRC_Admin.gns.car    ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gns.car   ; .car file name
SelectedRoster=                            ; .lst file name

[irc]
SelectedCarFile=999_NSRC_Admin.gns.car              ; .car file name
SelectedCarFileMulti=999_NSRC_Admin.gns.car         ; .car file name
SelectedRoster=                            ; .lst file name


Now with that being done GameCreate needs a way to be able to modify the addons in the player.ini using the configuration. Bascally need to change the series=cup there under [Personal Information] to match the correct mod directory. Bascially you can use the header for the mods that are used above in the player.ini modifications. In other words for the asa2004 series to work it would be "series=asa2004", for the Hooters to work it would be "series=Hooters", etc.. Anyway you get the point.

Now for all of this being said it would be nice to see a way to modify the lpi and rating limits from gamecreate as well. That is done in the following section...

Code:
[SIERRA_SERVER]
rtg_LPI_on=0                               ; Enable LPI restriction?
rtg_min_LPI=1                              ; Minimum LPI rating (1..255)
rtg_RC_max=10                              ; Rating limit
rtg_RC_min=0                               ; Rating limit
rtg_RC_on=0                                ; Enable rating restriction?
rtg_SS_max=10                              ; Rating limit
rtg_SS_min=0                               ; Rating limit
rtg_SS_on=0                                ; Enable rating restriction?
rtg_ST_max=10                              ; Rating limit
rtg_ST_min=0                               ; Rating limit
rtg_ST_on=0                                ; Enable rating restriction?
rtg_SW_max=10                              ; Rating limit
rtg_SW_min=0                               ; Rating limit
rtg_SW_on=0                                ; Enable rating restriction?


In case you are wondering about the sections above...

LPI: Laps per incident
RC: Road Course
SS: Super Speedway
ST: Short Track
SW: Speedway

Another thing that would be good is if you could set the race settings up such as those for damage, full pace lap, yellows, arcade/sim, etc. (bascally the options in the following)...

Code:
[Single Race]
AIStrengthType=0                           ; manual or auto AI strength?
ASC=1                                      ; adaptive speed control?
DamageModel=0                              ; index for amount of damage
DisplayAllOptions=1                        ; Display all options or only a subset
DoubleFileRestarts=1                       ; double file restarts?
DrivingMode=0                              ; arcade mode?
FullPaceLap=1                              ; full pace lap?
NumAI=41                                   ; number of computer opponents
PitstopFrequency=0                         ; rate at which fuel and tires are used
PracticeTime=20                            ; number of minutes of practice
QuickRace=0                                ; Only run a quick race
raceLength=100                             ; percentage of total possible laps for race
RealisticWeather=1                         ; Use realistic weather or constant weather
RosterFile=Cup2003.lst                     ; name of the roster file
StrengthAI=95                              ; percentage indicating AI strength
Temperature=70                             ; temperature in degrees fahrenheit
TrackDir=bristol_night                     ; directory of last track
WarmupTime=10                              ; number of minutes of warmup
WeatherConditions=0                        ; index of weather conditions
WindDirection=0                            ; index of wind direction
WindSpeed=0                                ; wind speed in MPH
YellowFlags=1                              ; yellow flags?


It would also be nice to be able to run multiple servers at one time. I know there may be a cleaner easier way but the best way I can think of would be able to handle multiple installs of the game. A way to make this work would be to be able to select the correct directory for the game install (default is nascar2003 in the gamecreate directory - it would be nice to tell you in gamecreate which directory it needs to be installed in as well, very confusing to get installed correctly).

It would be great too to be able to select the correct car file but thats not really a big deal.

I know this may sound like a lot but should be just a few basic modifications to the gamecreate site.

If you need any help please let me know. I will be more than happy to help out any way I can.

Thanks,
HollyRidge
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Tue Jan 23, 2007 10:56 pm    Post subject: Reply with quote

Thanks for your clear layout of what needed to be done.

I've made these changes to our global template so that it is available as standard (For your information, you could do this yourself in your domain - you didnt need us to do it).

Quote:
I hardcoded mine to do 42 max_players because I could not find the correct variable.

It's %server:players% - See http://doc.gamecreate.com/SpecialProperties

Quote:
It would also be nice to be able to run multiple servers at one time. I know there may be a cleaner easier way but the best way I can think of would be able to handle multiple installs of the game.

Yep, this is something we aim to support in every game - as far as I know all our games support multiple servers on the same install.

What is wrong with the nascar setup? I know I originally tried to find a way to specify a configuration file to use per server, but it was not possible, so I ended up going with player.ini

Is this a problem? Do existing servers re-read player.ini on map change (for example) and thus settings from one server "leak" over to another? Why is the current setup preventing servers from running more than once?

If so, we can probably work around this using something GameCreate Client can do, it's pretty smart Smile

Quote:
It would be great too to be able to select the correct car file but thats not really a big deal.

What's this in regards to? I dont have the game anymore (The original implementation was done by me over VNC and trying to get the game working on another person's setup).

Cheers,
Andrew
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.