PDA

View Full Version : Spear Head Server Help


General_Guttless
12-01-2002, 11:29 AM
Spearhead Server questions....

a replacement for localization.txt..... loved being able to customize the settings..... boohoo.... can't do it with SH

Random crashes at the end of obj and tow maps.... it never goes to another map.... the only recognizable error is

Can't load maplist_tow.cfg

yep... it' can't doesn't exist... where's it being called from.... what should be in it...

Help

SNYPE
12-03-2002, 11:31 AM
Post your server cfg so we can look at it.

General_Guttless
12-03-2002, 12:12 PM
Glad to post it.... but it's a little confusing.... first I've extracted my callvote.cfg from the approiate .pk3.... and currently no voting... ppl just pick silly things.... had it closed down to just maps.... but even that.... once u "call a vote" on a map, it uses the internal .cfg's and I'm just too lazy to change those

I have a ffa.cfg, team.cfg.... etc... each of these call's local.cfg.... so I'll post my team.cfg and follow it by local.cfg

TEAM.CFG


//-----------------------------------------------------------------------
//
// Sample Team-Based server config file.
//
//-----------------------------------------------------------------------

// Server Name
// Name that will appear on the server browser
sv_hostname "Nameless server"

// Game Type
// 1 Free for All
// 2 Team Based
// 3 Round Based
// 4 Objective
// 5 Tug Of War
set g_gametype 2

// Team Spawn Delay
// This sets a delay in seconds between spawns. This is useful if you would like the
// player spawned in batches, rather than one at a time
// also sets the time to respawn after a kill-really need a value for the obj maps to have value
set sv_team_spawn_interval 5



// Map
// Starting map on the rotation.
map "dm/MP_Bazaar_DM"

// Map Rotation List
sv_maplist "dm/mohdm1 dm/MP_Bahnhof_DM dm/mohdm2 dm/MP_Verschneit_DM dm/mohdm3 dm/MP_Brest_DM dm/mohdm4 dm/MP_Unterseite_DM dm/mohdm5 dm/MP_Stadt_DM dm/mohdm6 dm/MP_Gewitter_DM dm/mohdm7 dm/MP_Holland_DM dm/MP_Bazaar_DM "

//The below line call's localize.cfg with common settings
exec localize.cfg


LOCALIZE.cfg (below)

//
// Default options for localization.
// Put all Options common to all game types here
// B Hughes Nov 2002

seta g_subtitle "0"
seta ui_moviesubtitle "0"

// Server Name
// Name that will appear on the server browser
sv_hostname "-=DwC=-SH TEST"

// Invulnerable Time
// Amount of time (in seconds) a player is invulnerable for after spawning (default=3 seconds)
set sv_invulnerabletime 5

// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 1

// Run Speed
// 287 Default
// 250 MOHAA speed.
set sv_runspeed 250
// Note that EA plans to make 250 the default to keep it real for the
// people that complained about the fast speed. But you will have to
// set it to 250 for your server for now.


// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 4

// Health Drop
// When enabled players will drop a health pack when killed
set g_healthdrop 1

// Realism
// Toggles reaslistic mode
set g_realismmode 0

// Team Damage
// Toggles friendly fire
set g_teamdamage 1

// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 10

// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
set sv_dmspeedmult 1.000000


// Max Players
set sv_maxclients 10

// Private Clients
// Clients that require a password to join
// set this to 10 and the server is locked down
set sv_privateclients 2

// Password
// Allows you to set a password for the server
set sv_privatepassword "dwprivate"

// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 20

// Frag Limit
// The score at which the player or team will win the current map.
fraglimit 0

// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 20

// dmflags -- flags that can be set in the dmflags variable.
// DF_NO_HEALTH 1
// DF_NO_POWERUPS 2
// DF_WEAPONS_STAY 4
// DF_NO_FALLING 8
// DF_INSTANT_ITEMS 16
// DF_SAME_LEVEL 32
// DF_NO_ARMOR 2048
// DF_INFINITE_AMMO 16384
// DF_NO_FOOTSTEPS 131072
// DF_ALLOW_LEAN 262144
//set DF_OLD_SNIPERRIFLE 524288
//set DF_GERMAN_SHOTGUN 1048576
//set dmflags (sum of all flags)
//set dmflags 1572864




// Round Reset Time
// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.
roundlimit 0

// Inactive Spectate
// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.
set g_inactivespectate 900

// Inactive Kick
// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.
set g_inactivekick 900

// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
// If this is 0, players will not be able to see your server via the in-game browser nor gamespy arcade.
set sv_gamespy 1
set ui_dedicated 1

// Pure
// Verifies that the files on the client are the same as those on the server.
set sv_pure 0
set rconpassword bobby311


// Allow Vote
// Enables players to call a vote.
set g_allowvote 1

// Flood Protect
// Limits amount of text a player can type
set sv_floodprotect 1

// Forces players to only be able to spectate behind their own team.
set g_forceteamspectate 1

// Minimum Ping to allow clients to join with. 0 means anyone
set sv_minping 0

// Maximum Ping to allow clients to join with. 0 means anyone
set sv_maxping 0

// Maximum Rate
set sv_maxrate 0

// Allow Join Time
set g_allowjointime 30

// The below line has no effect.... boohoo
//This is where I'm really stuck
exec localization.txt

SNYPE
12-03-2002, 01:53 PM
Ok first of all the localization.txt stuff is not working in Spearhead so I would just take that out.
You need to set sv_maxrate to something, check the Guides section for the Maxrate guide.
The reason your maps dont change is that you need to START with the first map in your maplist, you are telling it to start with the wrong map.
Remove the MapRotationTime setting, you already have TimeLimit set.
Make the same changes to the rest of your cfgs too.
BTW--you shouldnt post your passwords just use xxxxxx, you should change them.

General_Guttless
12-03-2002, 02:36 PM
appreciate the pw thing.... dumb.... I've changed it

You missunderstand.... maps rotate fine.... starting map doesn't have to be first map.... makes no dif

What does happen... is

When a vote is called it runs a maplist internal to the .pk3 files

btw.... u'r server is down.... heehee

check me out at 24.145.164.226

Mr_nStuff
12-03-2002, 03:21 PM
If you're having problems with the maplists being loaded from the pak1.pk3.. You can simply MOD thoughs cfg files more to your liking. Just like you did with the callvote.cfg. Or better yet, remove all the contents of thoughs maplist.CFG's and replace them all with your maplist..

Also.. It's highly possible thoughs maplist.cfg files are bad.. They all use the seta command.. Changing them all to set instead, just might fix the problem.

General_Guttless
12-03-2002, 03:54 PM
hmmm.... already did that and it worked.... glad to see you agreed with my fix.... I commented it out in the .pk3... and put it all in a new, non-compressed file called....

maplist.cfg....

One place to set em all

yea I see the seta.... doesn't seem to make a dif.... but now I can have my
sv_maplist
and
ui_maplist_(game type)

the same.... really don't understand the difference

SNYPE
12-03-2002, 04:45 PM
I only run my server on nites and weekends, I probably should write that in there...lol.
Good call guys, now anyone have a clue what hoses the maplist.cfg?

General_Guttless
12-03-2002, 05:31 PM
Yep.... Voting....

within the pak1.pk3 file are a bunch of .cfg's

remove them from the .pk3

put their contents in a file in the root of the directory.... the file name isn't important as long as it ends in a .cfg and call it from whatever u use to start u'r server.....

here's an example of the contents of this file

seta ui_maplist_ffa "dm/MP_Bahnhof_DM dm/MP_Verschneit_DM dm/MP_Brest_DM dm/MP_Unterseite_DM dm/MP_Stadt_DM dm/MP_Gewitter_DM dm/MP_Holland_DM dm/MP_Bazaar_DM"
seta ui_maplist_obj "obj/obj_team1 obj/obj_team2 obj/obj_team3 obj/obj_team4"
seta ui_maplist_round "dm/MP_Bahnhof_DM dm/MP_Verschneit_DM dm/MP_Brest_DM dm/MP_Unterseite_DM dm/MP_Stadt_DM dm/MP_Gewitter_DM dm/MP_Holland_DM dm/MP_Bazaar_DM"
seta ui_maplist_tow "obj/MP_Druckkammern_TOW obj/MP_Flughafen_TOW obj/MP_Ardennes_TOW obj/MP_Berlin_TOW"
seta ui_maplist_team "dm/mohdm1 dm/MP_Bahnhof_DM dm/mohdm2 dm/MP_Verschneit_DM dm/mohdm3 dm/MP_Brest_DM dm/mohdm4 dm/MP_Unterseite_DM dm/mohdm5 dm/MP_Stadt_DM dm/mohdm6 dm/MP_Gewitter_DM dm/mohdm7 dm/MP_Holland_DM dm/MP_Bazaar_DM"


U may have to cut and paste this into a text doc but

these values should agree with the values U set in the

sv_maplist variable


You asked one I have a handle on....

heehee