View Full Version : Starting Punkbuster properly
Hammer
04-21-2004, 01:55 AM
Jedi_Pimp and I have seemed to have figured-out how to correctly start Punkbuster on a server. The problem relates to PB not having enough time to initialize before a map is started. So here's what we've come up with:
1. First, remove any PB-related statements from the command line used to start your server. That is, remove any +set sv_punkbuster 1 or +pb_sv_enable.
2. If you start the map rotation using the command line, i.e. if you issue either +map_rotate or +map <map_name> on the command-line, remove those as well.
3. On your server configuration file, e.g. server.cfg (or whatever it is you use on your server), add the following lines at the bottom of the file BEFORE the first map is started:
// Start Punkbuster
pb_sv_enable // If you want PB disabled, use pb_sv_disable instead
wait // This is required for proper PB startup
4. If you removed your map startup in step two, add that at the end of the server.cfg (AFTER the lines added in step 3 above).
That's pretty much it; you can use /pb_sv_enable or /pb_sv_disable as long as no map is running, which makes those command pretty much useless except within startup config scripts.
Cyberdoc
04-21-2004, 02:11 AM
great, good info. I was having a problem wher sometimes it would start other times after reboot it would not.
next question:
We have two server on one box, different IP's :
In the start line +set fs_homepath C:\Program Files\Call of Duty1 this seems to create a folder in C:\Programs In it are the main/config_mp.cgf and the pb folders. problem is that once I start server two Call of Duty2 it try's to create the same folder...they cant share config_mp.cfg because they are different gametype servers......help meh...puleeaase!!
Hammer
04-21-2004, 02:46 AM
Try enclosing the path in double quotes, i.e. +set fs_homepath "c:\Program Files\Call of Duty1". If that doens't work, you'll need the short name of each folder, e.g. set fs_homepath c:\progra~1\callof~1 ... to find out, open a dos prompt window and use dir /x from your c drive.
JaMie
04-21-2004, 10:01 AM
Any body know how to set other things up like i.e. console messages, random screenshots etc?
sphinx175
04-21-2004, 10:06 AM
Any body know how to set other things up like i.e. console messages, random screenshots etc?
If I had to guess I bet the PB commands that worked in ET and RtCW would work for CoD as well
If that's the case then I'd suggest reading:
http://www.evenbalance.com/publications/et-ad/index.htm
to get a rundown on PB server side commands.
Staley
04-21-2004, 11:09 AM
(Linux Ded)
well..umm.
I've tried this and it didn't work. I also tried to start it up with no map rotate and no mapcurrent stuff. Entered sv_punkbuster 1 in the console. Got "sv_punkbuster is read only" Also tried pb_sv_enable. Still no go.
CHMOD all the files on the server to 777, still no go. Is it just me..or is PB bugging out or something. I just cant get it to start up.
Staley
04-21-2004, 11:43 AM
well..got it working... Guess that happens when you're to eager to get the servers and PB up :D
B/c i was so eager to get it running...I copied my PB dir intead of the linux serv dir to the server...
All LOLS on me i guess :clap:
UnDead
04-21-2004, 02:42 PM
Any body know how to set other things up like i.e. console messages, random screenshots etc?
Once you got a message that says "PunkBuster Server: Game Version [COD MP 1.4 build 1948 Apr 13 2004 17:31:28 win-x86]" (the win-x86 is for windows it will be like different for linux) in console telling you that Punkbuster is active the next thing you want to do is in main console type in pb_sv_writecfg which will add a config file called pbsv.cfg where you can make further permenant modifications to punkbuster like enabling auto Screenshot which is off by default.
Cyberdoc
04-21-2004, 03:20 PM
Hammer,
Thank's, that seemed to do it for me. Now, besides seeing the server listed w/ the pb logo, is there a way to verify that the server is receiving updates?
Undead- GG, ill work on that next............arrgh...so much new stuff with pb......lol
doc -teh pb b00n
Why does IW only list sv_punkbuster as a cvar?
If what you've posted is the right way to do this then why the different cvar?
arcturus
04-21-2004, 09:08 PM
Sorry, I'm still unclear on this. I removed the +map_rotate from my command line "C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated.cfg +map_rotate.
Are you saying I need to add these lines:
// Start Punkbuster
pb_sv_enable // If you want PB disabled, use pb_sv_disable instead
wait // This is required for proper PB startup
and
//Map Rotate
set map_rotate <----------?
before
// Map rotation (sv_maprotation)
set sv_maprotation "map mp_stalingrad mp_bocage map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot
map mp_harbor map mp_hurtgen map mp_neuville map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship"
in my dedicated.cfg file because I tried this and no map was loaded.
Strangely when I added +map_rotate BACK to my command line it seems to have worked though there does seem to be some duplication. Here's what it looks like:
COD MP 1.4 build win-x86 Apr 13 2004
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Call of Duty\main\paka.pk3 (41 files)
C:\Program Files\Call of Duty\main\pak9.pk3 (149 files)
C:\Program Files\Call of Duty\main\pak8.pk3 (235 files)
C:\Program Files\Call of Duty\main\pak6.pk3 (3 files)
C:\Program Files\Call of Duty\main\pak5.pk3 (4858 files)
C:\Program Files\Call of Duty\main\pak4.pk3 (1668 files)
C:\Program Files\Call of Duty\main\pak3.pk3 (1992 files)
C:\Program Files\Call of Duty\main\pak2.pk3 (694 files)
C:\Program Files\Call of Duty\main\pak1.pk3 (2642 files)
C:\Program Files\Call of Duty\main\pak0.pk3 (12816 files)
C:\Program Files\Call of Duty\main\mp_stanjel.pk3 (79 files)
C:\Program Files\Call of Duty/main
C:\Program Files\Call of Duty\main\localized_english_pak3.pk3 (7 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak2.pk3 (9 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english
File Handles:
----------------------
30133 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found AMD w/ 3DNow!
Measured CPU speed is 2.16 GHz
System memory is 512 MB (capped at 1 GB)
Video card memory is 64 MB
Streaming SIMD Extensions (SSE) supported
Winsock Initialized
Opening IP socket: localhost:28960
Hostname: xp1700
IP: 192.168.0.6
--- Common Initialization Complete ---
Working directory: C:\Program Files\Call of Duty
PunkBuster Server: pb_sv_SsNext = 800496 (0 to 999999)
PunkBuster Server: pb_sv_LogNext = 12 (1 to 999999)
PunkBuster Server: 0 Power Players loaded from C:\Program Files\Call of Duty\pb\pbpower.dat
PunkBuster Server: 0 PB Rcon Filters loaded from C:\Program Files\Call of Duty\pb\pbrcon.dat
PunkBuster Server: 0 Map lines loaded from C:\Program Files\Call of Duty\pb\pbsvmaps.cfg
PunkBuster Server: PunkBuster Server (v1.079 | A1319 C1.074) Enabled
execing dedicated.cfg
net_ip will be changed upon restarting.
PunkBuster Server: Game Version [COD MP 1.4 build 1948 Apr 13 2004 17:31:28 win-x86]
PunkBuster Server: PunkBuster Server (v1.079 | A1319 C1.074) Enabled
map_rotate...
"sv_mapRotation" is:"map mp_stalingrad mp_bocage map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_neuville map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship"
"sv_mapRotationCurrent" is:""
Setting map: mp_stalingrad.
------ Server Initialization ------
Server: mp_stalingrad
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Call of Duty\main\paka.pk3 (41 files)
C:\Program Files\Call of Duty\main\pak9.pk3 (149 files)
C:\Program Files\Call of Duty\main\pak8.pk3 (235 files)
C:\Program Files\Call of Duty\main\pak6.pk3 (3 files)
C:\Program Files\Call of Duty\main\pak5.pk3 (4858 files)
C:\Program Files\Call of Duty\main\pak4.pk3 (1668 files)
C:\Program Files\Call of Duty\main\pak3.pk3 (1992 files)
C:\Program Files\Call of Duty\main\pak2.pk3 (694 files)
C:\Program Files\Call of Duty\main\pak1.pk3 (2642 files)
C:\Program Files\Call of Duty\main\pak0.pk3 (12816 files)
C:\Program Files\Call of Duty\main\mp_stanjel.pk3 (79 files)
C:\Program Files\Call of Duty/main
C:\Program Files\Call of Duty\main\localized_english_pak3.pk3 (7 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak2.pk3 (9 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english
File Handles:
----------------------
60266 files in pk3 files
------- Game Initialization -------
gamename: Call of Duty
gamedate: Apr 13 2004
0 teams with 0 entities
-----------------------------------
-----------------------------------
Hitch warning: 2175 msec frame time
Resolving codmaster.activision.com
codmaster.activision.com resolved to 63.146.124.59:20510
Sending heartbeat to codmaster.activision.com
Resolving codauthorize.activision.com
codauthorize.activision.com resolved to 63.146.124.59:20500
Hitch warning: 7528 msec frame time
Hitch warning: 3147 msec frame time
Jedi_Pimp
04-21-2004, 10:56 PM
lets do this step by step:
1 . remove +map_rotate from your startup (exe or file)
2. place these lines in your server cfg
pb_sv_enable
wait
3. your map rotation must be called last (last lines of your server cfg or executed in last if its in its own .cfg file):
rotation config should look like this:
sv_maprotationcurrent ""
set sv_mapRotation "gametype tdm map mp_carentan gametype tdm map mp_stalingrad gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_harbor gametype tdm map mp_neuville gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_brecourt"
map_rotate
note " set map_rotate " dont work !!! its simply "map_rotate"
Jedi_Pimp
04-21-2004, 11:17 PM
Why does IW only list sv_punkbuster as a cvar?
If what you've posted is the right way to do this then why the different cvar?
what has been posted is right !! y did they post only 1 cvar ask them ... anyhow using
pb_sv_enable
wait is the best way of doing it ! this way ull make sure to give enough time for PB to start.
PS: not eveyone has access to the startup file so this can also be used as an alternative way !
Leifless
04-22-2004, 12:30 AM
well, i did exactly what hammer said. after i edited the start script, it would not start anymore...now i probably have to get the server reinstalled, since the system admin was kinda helpless too.
i know it worked for others, so im really curious to find out what happened. :?
Jedi_Pimp
04-22-2004, 01:06 AM
do me a favor .. post your startup file or exe and your server config (s)..
i bet its a small mistake somewhere
arcturus
04-22-2004, 01:41 AM
1 . remove +map_rotate from your startup (exe or file)
Done, new exe now shows
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated.cfg
2. place these lines in your server cfg
pb_sv_enable
wait[/quote]
3. your map rotation must be called last (last lines of your server cfg or executed in last if its in its own .cfg file):
rotation config should look like this:
sv_maprotationcurrent ""
set sv_mapRotation "gametype tdm map mp_carentan gametype tdm map mp_staligrad gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_harbor gametype tdm map mp_neuville gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_brecourt"
map_rotate
note " set map_rotate " dont work !!! its simply "map_rotate"
Ok, here's how my dedicated.cfg looks:
// This config was created with Call of Duty config maker 1.1b
// Author: Bell from the clan [WC-anka]. Visit http://bunbun.milliways.st/
// Server information (public)
set sv_hostname "DesertFrag"
set scr_motd ""
sets .Admin ""
sets .Email ""
sets .Irc ""
sets .Website ""
sets .Location "Arizona"
// Server Broadcasting
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "clanservers.net"
seta sv_master4 "master3.idsoftware.com"
seta sv_gamespy "1"
// Server options
set sv_pure "1"
set rconpassword ""
set g_password ""
set sv_privatepassword ""
set sv_privateclients "0"
set sv_maxclients "12"
set sv_allowdownload "1"
set sv_cheats "0"
set g_log "games_mp.log"
set g_logsync "0"
set g_banips ""
set sv_kickbantime "300"
set sv_fps "20"
set sv_allowanonymous "0"
set sv_floodprotect "1"
// Network options
set net_ip "216.161.151.12"
set net_port "28960"
set sv_maxrate "0"
set sv_maxping "0"
set sv_minping "0"
// Game options
set g_gametype "dm"
set g_allowvote "0"
set scr_allow_vote "0"
set scr_drawfriend "0"
set scr_forcerespawn "0"
set scr_friendlyfire "0"
set scr_killcam "1"
set scr_freelook "1"
set scr_spectateenemy "1"
set scr_teambalance "0"
// Deathmatch
set scr_dm_scorelimit "50"
set scr_dm_timelimit "20"
// Team Deathmatch
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "30"
// Behind Enemy Lines
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"
set scr_bel_alivepointtime "10"
// Retrieval
set scr_re_scorelimit "10"
set scr_re_timelimit "0"
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_showcarrier "0"
// Search and Destroy
set scr_sd_scorelimit "10"
set scr_sd_timelimit "0"
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
// Headquarters
set scr_hq_scorelimit "450"
set scr_hq_timelimit "30"
// American Weapons
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_thompson "1"
set scr_allow_bar "1"
// British Weapons
set scr_allow_enfield "1"
set scr_allow_sten "1"
set scr_allow_bren "1"
set scr_allow_springfield "1"
// German Weapons
set scr_allow_kar98k "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_kar98ksniper "1"
// Russian Weapons
set scr_allow_nagant "1"
set scr_allow_ppsh "1"
set scr_allow_nagantsniper "1"
// Other Weapons
set scr_allow_fg42 "0"
set scr_allow_panzerfaust "1"
pb_sv_enable
wait
sv_maprotationcurrent ""
set sv_mapRotation "gametype tdm map mp_carentan gametype tdm map mp_staligrad gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_harbor gametype tdm map mp_neuville gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_brecourt"
map_rotate
---------------------
Producing the following:
COD MP 1.4 build win-x86 Apr 13 2004
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Call of Duty\main\paka.pk3 (41 files)
C:\Program Files\Call of Duty\main\pak9.pk3 (149 files)
C:\Program Files\Call of Duty\main\pak8.pk3 (235 files)
C:\Program Files\Call of Duty\main\pak6.pk3 (3 files)
C:\Program Files\Call of Duty\main\pak5.pk3 (4858 files)
C:\Program Files\Call of Duty\main\pak4.pk3 (1668 files)
C:\Program Files\Call of Duty\main\pak3.pk3 (1992 files)
C:\Program Files\Call of Duty\main\pak2.pk3 (694 files)
C:\Program Files\Call of Duty\main\pak1.pk3 (2642 files)
C:\Program Files\Call of Duty\main\pak0.pk3 (12816 files)
C:\Program Files\Call of Duty\main\mp_stanjel.pk3 (79 files)
C:\Program Files\Call of Duty/main
C:\Program Files\Call of Duty\main\localized_english_pak3.pk3 (7 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak2.pk3 (9 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english
File Handles:
----------------------
30133 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found AMD w/ 3DNow!
Measured CPU speed is 2.16 GHz
System memory is 512 MB (capped at 1 GB)
Video card memory is 64 MB
Streaming SIMD Extensions (SSE) supported
Winsock Initialized
Opening IP socket: localhost:28960
Hostname: xp1700
IP: 192.168.0.6
--- Common Initialization Complete ---
Working directory: C:\Program Files\Call of Duty
PunkBuster Server: pb_sv_SsNext = 800496 (0 to 999999)
PunkBuster Server: pb_sv_LogNext = 16 (1 to 999999)
PunkBuster Server: 0 Power Players loaded from C:\Program Files\Call of Duty\pb\pbpower.dat
PunkBuster Server: 0 PB Rcon Filters loaded from C:\Program Files\Call of Duty\pb\pbrcon.dat
PunkBuster Server: 0 Map lines loaded from C:\Program Files\Call of Duty\pb\pbsvmaps.cfg
PunkBuster Server: PunkBuster Server (v1.079 | A1319 C1.074) Enabled
execing dedicated.cfg
net_ip will be changed upon restarting.
PunkBuster Server: Game Version [COD MP 1.4 build 1948 Apr 13 2004 17:31:28 win-x86]
PunkBuster Server: PunkBuster Server (v1.079 | A1319 C1.074) Enabled
map_rotate...
"sv_mapRotation" is:"gametype tdm map mp_carentan gametype tdm map mp_staligrad gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_harbor gametype tdm map mp_neuville gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_brecourt"
"sv_mapRotationCurrent" is:""
Setting g_gametype: tdm.
Setting map: mp_carentan.
------ Server Initialization ------
Server: mp_carentan
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Call of Duty\main\paka.pk3 (41 files)
C:\Program Files\Call of Duty\main\pak9.pk3 (149 files)
C:\Program Files\Call of Duty\main\pak8.pk3 (235 files)
C:\Program Files\Call of Duty\main\pak6.pk3 (3 files)
C:\Program Files\Call of Duty\main\pak5.pk3 (4858 files)
C:\Program Files\Call of Duty\main\pak4.pk3 (1668 files)
C:\Program Files\Call of Duty\main\pak3.pk3 (1992 files)
C:\Program Files\Call of Duty\main\pak2.pk3 (694 files)
C:\Program Files\Call of Duty\main\pak1.pk3 (2642 files)
C:\Program Files\Call of Duty\main\pak0.pk3 (12816 files)
C:\Program Files\Call of Duty\main\mp_stanjel.pk3 (79 files)
C:\Program Files\Call of Duty/main
C:\Program Files\Call of Duty\main\localized_english_pak3.pk3 (7 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak2.pk3 (9 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english
File Handles:
----------------------
60266 files in pk3 files
------- Game Initialization -------
gamename: Call of Duty
gamedate: Apr 13 2004
0 teams with 0 entities
-----------------------------------
-----------------------------------
Hitch warning: 2257 msec frame time
Resolving codmaster.activision.com
Looks to be running OK but why does it look for the search path and file handles twice?
Leifless
04-22-2004, 02:37 AM
do me a favor .. post your startup file or exe and your server config (s)..
i bet its a small mistake somewhere
alright, heres my server.cfg:
// Hostname and Message of the Day
set sv_hostname "North American Elite Soldiers (Recruiting)"
set scr_motd "Welcome to the North American Elite Soldiers Server.
We are now recruiting goto www.naes.ca
Also goto our Website to d/l Custom Maps.
Our Server is hosted by Elucid Systems www.elucidsystems.com"
// Maximum Clients
set sv_maxclients "50"
// Team Icons
set scr_drawfriend "1"
// Forced Respawn
set scr_forcerespawn "0"
// Friendly Fire
set scr_friendlyfire "0"
// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "1"
// Rconpassword
set rconpassword "im_not_telling ;D"
// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "0"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "0"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "0"
set scr_allow_sten "1"
set scr_allow_thompson "1"
// Search and Destroy Settings
set scr_sd_graceperiod "30"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "10"
set scr_sd_scorelimit "10"
set scr_sd_timelimit "0"
set ham_stopwatch "1"
// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"
// Retrieval Settings
set scr_re_graceperiod "30"
set scr_re_roundlength "4"
set scr_re_roundlimit "10"
set scr_re_scorelimit "10"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"
// Team Deathmatch
set scr_tdm_scorelimit "200"
set scr_tdm_timelimit "30"
// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "30"
// Headquarters
set scr_hq_scorelimit "800"
set scr_hq_timelimit "30"
// Punkbuster
pb_sv_enable
wait
// Custom map rotation
set sv_mapRotation "gametype hq map mp_stalingrad gametype sd map Officespace gametype sd map mp_brecourt gametype hq map mp_pavlov gametype sd map mohsh_Berlin_Beta_v2 gametype re map mp_carentan gametype sd map mp_rocket gametype hq map mp_bellicourt_v1_1 gametype tdm map mp_bocage gametype sd map mp_dawnville gametype gametype hq map Officespace re map mp_powcamp gametype sd map mp_railyard gametype dm map mp_streetwar gametype tdm map central_market gametype re map mp_neuville gametype sd map mp_depot gametype tdm map sc_beta2 gametype hq map mp_chateau gametype sd map mp_harbour gametype re map outlaw_snowypark gametype sd map mp_hurtgen gametype re map officespace gametype dm map greenb"
and my codstart file:
screen -A -m -d -S $USER ./cod_lnxded +dedicated 2 +set net_port 28960 +exec server.cfg +sv_maxclients 50 +com_hunkMegs 64
echo "Server Started."
when i try to exec codstart it says "permission denied"
Leifless
04-22-2004, 02:39 AM
its a dedicated linux box btw.
Jedi_Pimp
04-22-2004, 04:34 AM
Looks to be running OK but why does it look for the search path and file handles twice?
@ arcturus it does the search path to check and read your files...now y file handles twice ..humm i dont know but i bet somone around here could answer you soon :wink:
@Leifless Your startup file is good ! but not your rotation...
setup you rotation as such:
sv_maprotationcurrent ""
set sv_mapRotation " Your map rotation "
map_rotate
Leifless
04-22-2004, 06:09 AM
thanks for the tip with the rotation jedi. btw, i figured out what went wrong...i forgot to set the permission on the file before i uploaded it. :?
im still a noob with this server stuff but im catching on quick. :!:
Jedi_Pimp
04-22-2004, 07:02 AM
ohh yea your talkin bout the good old chmod 777 hehehee
Heinz
04-22-2004, 09:54 AM
lets do this step by step:
1 . remove +map_rotate from your startup (exe or file)
2. place these lines in your server cfg
pb_sv_enable
wait
3. your map rotation must be called last (last lines of your server cfg or executed in last if its in its own .cfg file):
rotation config should look like this:
sv_maprotationcurrent ""
set sv_mapRotation "gametype tdm map mp_carentan gametype tdm map mp_stalingrad gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_harbor gametype tdm map mp_neuville gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_brecourt"
map_rotate
note " set map_rotate " dont work !!! its simply "map_rotate"
crap on a cracker. I did all that, and it's still not PB enabled.
:cry:
bluegum
04-22-2004, 10:18 AM
same here
----------------------
[davew@MPH cod]$ COD MP 1.4 build linux-i386 Apr 14 2004
----- FS_Startup -----
Current search path:
/home/davew/.callofduty/main
/home/davew/cod/main/zzzpamv104b.pk3 (21 files)
/home/davew/cod/main/paka.pk3 (41 files)
/home/davew/cod/main/pak9.pk3 (149 files)
/home/davew/cod/main/pak8.pk3 (235 files)
/home/davew/cod/main/pak6.pk3 (3 files)
/home/davew/cod/main/pak5.pk3 (4858 files)
/home/davew/cod/main/pak4.pk3 (1668 files)
/home/davew/cod/main/pak3.pk3 (1992 files)
/home/davew/cod/main/pak2.pk3 (694 files)
/home/davew/cod/main/pak1.pk3 (2642 files)
/home/davew/cod/main/pak0.pk3 (12816 files)
/home/davew/cod/main
/home/davew/cod/main/localized_english_pak2.pk3 (9 files)
/home/davew/cod/main/localized_english_pak1.pk3 (3736 files)
/home/davew/cod/main/localized_english_pak0.pk3 (1204 files)
File Handles:
----------------------
30068 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp_server.cfg
execing autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
Opening IP socket: 65.206.46.236:28965
--- Common Initialization Complete ---
Started tty console (use +set ttycon 0 to disable)
map_rotate...
"sv_mapRotation" is:"gametype sd map mp_neuville gametype sd map mp_bocage gamet
ype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_brecourt
gametype sd map mp_hurtgen"
"sv_mapRotationCurrent" is:""
Setting g_gametype: sd.
Setting map: mp_neuville.
------ Server Initialization ------
Server: mp_neuville
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/home/davew/.callofduty/main
/home/davew/cod/main/zzzpamv104b.pk3 (21 files)
/home/davew/cod/main/paka.pk3 (41 files)
/home/davew/cod/main/pak9.pk3 (149 files)
/home/davew/cod/main/pak8.pk3 (235 files)
/home/davew/cod/main/pak6.pk3 (3 files)
/home/davew/cod/main/pak5.pk3 (4858 files)
/home/davew/cod/main/pak4.pk3 (1668 files)
/home/davew/cod/main/pak3.pk3 (1992 files)
/home/davew/cod/main/pak2.pk3 (694 files)
/home/davew/cod/main/pak1.pk3 (2642 files)
/home/davew/cod/main/pak0.pk3 (12816 files)
/home/davew/cod/main
/home/davew/cod/main/localized_english_pak2.pk3 (9 files)
/home/davew/cod/main/localized_english_pak1.pk3 (3736 files)
/home/davew/cod/main/localized_english_pak0.pk3 (1204 files)
File Handles:
----------------------
60136 files in pk3 files
Sys_LoadDll(/home/davew/cod/main/game.mp.i386.so)... ok
Sys_LoadDll(game) found **vmMain** at 0xb1b714cc
Sys_LoadDll(game) succeeded!
------- Game Initialization -------
gamename: Call of Duty
gamedate: Apr 14 2004
0 teams with 0 entities
-----------------------------------
-----------------------------------
Hitch warning: 726 msec frame time
Resolving codmaster.activision.com
codmaster.activision.com resolved to 63.146.124.59:20510
Sending heartbeat to codmaster.activision.com
PunkBuster Server: 0 Aliases Written to pbalias.dat
PunkBuster Server: 0 Stat Records Written to pbstat.dat
PunkBuster Server: Preparing to Disable PB Server... (/home/davew/.callofduty/pb
/)
Hitch warning: 3831 msec frame time
Rcon from 65.206.46.221:28070:
echo
[davew@MPH cod]$
disable ??heres my cfg
hmm
---------------
// Hostname and Message of The Day
set sv_hostname "^1 |5thRB| Call of Duty 50 player"
set scr_motd "^2 Welcome to |5thRB|Call of Duty 50 player"
sets .Admin "|5thRB|DAVEW"
sets .Email ""
sets .IRC "#5thRB"
sets .Website "5thRB.com"
sets .Location "Pennsylvania USA"
// Set the Server IP and Port Address
set net_ip 65.206.46.236
set net_port 28965
set dedicated 2
// Set the Game type: bel, dm, re, sd, tdm
set g_gametype "sd"
// Set the Rcon Password: To control the Server Remotely
set rconpassword "youwishuknew"
// Maximum Players on the Server
set sv_maxclients "50"
// Setup for Private Player spots on the Server
sv_privateclients ""
sv_privatepassword ""
// Set the Max Rate Per Player on the server
// MaxRate = Upload Speed / (# of Players * 8)
sv_maxrate "25000"
// Pure on or Off: Pure is basicly an anticheat
sv_pure "0"
// Have the Server Show Up on GameSpy
set sv_master1 "codmaster.activision.com"
set sv_master2 "master0.gamespy.com"
set sv_gamespy "1"
sv_allowdownloads "1"
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team killers
// Allow Voting on the server: 0=No 1=Yes
set scr_allow_vote "0"
set g_allowvote "0"
// ban time
sv_kickBanTime "9000"
//killcam settings 0=off 1=on
set scr_killcam "0"
// free look
set scr_freelook "0"
// teambalance 0=off 1=on
set scr_teambalance "1"
//spectateenemy 0=off 1=on
set scr_spectateenemy "0"
// Friendly Fire: 0=Off 1=On 2=Reflect Damage
scr_friendlyfire "1"
set sv_alliedSniperLimit "2"
set sv_axisSniperLimit "2"
scr_alliedSniperLimit "2"
scr_axisSniperLimit "2"
// Team Kill Options
set g_teamkillwarn "3"
set g_teamkillkick "3"
// Invulnerable Time After a Respawn
set sv_invulnerabletime "3"
// Delay in Time Before a Player Can Switch Teams
set g_teamswitchdelay "10"
// Force Respawn: DM & TDM
set scr_forcerespawn "1"
// Punkbuster
pb_sv_enable
wait
// Draws a Team Icon Over Teammates: 0=Off 1=On
set scr_drawfriend "1"
// 0=Kill Cam 1=Team Spectate
set g_forceteamspectate "1"
// Enable Developer it Controls the Type of Log File
set developer "0"
// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "20"
// Deathmatch Settings
set scr_dm_scorelimit "80"
set scr_dm_timelimit "20"
// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "3"
set scr_re_roundlimit "7"
set scr_re_scorelimit "10"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"
// Search and Destroy Settings
set scr_sd_graceperiod "20"
set scr_sd_roundlength "3"
set scr_sd_roundlimit "20"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"
// Team Deathmatch Settings
set scr_tdm_scorelimit "150"
set scr_tdm_timelimit "20"
//Headquarters Settings
set scr_tdm_scorelimit "450"
set scr_tdm_timelimit "30"
// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"
// Set the Map Rotation
sv_maprotationcurrent ""
set sv_maprotation "gametype sd map mp_neuville gametype sd map mp_bocage gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_brecourt gametype sd map mp_hurtgen
gametype sd map mp_ship gametype tdm map mp_chateau gametype sd map mp_rocket gametype sd map mp_depot gametype sd map mp_railyard
gametype sd map mp_pavlov gametype sd map mp_harbor"
map_rotate
ok im not officialy lost
i also tried
set sv_pb_enable "1"
no dice
*linux box
chmod 777 is done
MOMMA
04-22-2004, 11:13 AM
I'm in the same boat. I removed the map rotate from my shortcut, added the two lines stated above into my config. But the server still shows PB is not enabled. I also can not drop the console and enable it. If I type /pb_sv_enable into the console it gives me a line looking like it's enabled but wont query or allow me to do anything such as a /pb_sv_plist or screenshot..nothing.. and the in-game browser still shows PB as not enabled. I also tried /sv_punkbuster 0 and 1. My server does show up as being 1.4 though.
wax108
04-22-2004, 12:22 PM
THX is was wondering why the cvar don't work.
Thanks for your post Hammer & Jedi Pimp.
For me it works now...
wax108
www.chickz-on-cod.de
Heinz
04-22-2004, 02:03 PM
I'm in the same boat. I removed the map rotate from my shortcut, added the two lines stated above into my config. But the server still shows PB is not enabled. I also can not drop the console and enable it. If I type /pb_sv_enable into the console it gives me a line looking like it's enabled but wont query or allow me to do anything such as a /pb_sv_plist or screenshot..nothing.. and the in-game browser still shows PB as not enabled. I also tried /sv_punkbuster 0 and 1. My server does show up as being 1.4 though.
yep. sounds familiar momma. bummer, eh? hopefully, we will figure it out shortly.
Jedi_Pimp
04-22-2004, 04:48 PM
ok i hope this will help you guys , im gonna post my startup file and configs...
startup
screen -S cod1 -m -d ./cod_lnxded +set dedicated 2 +set net_port 28960 +set developer 0 +exec info.cfg +set fs_homepath /home/games/.callofduty1
config info.cfg <==my server cfg
sets |Admin "-|CoP|- Jedi Pimp & -|CoP|- Silent Stig"
sets |Email "admin@copclan.org"
sets |Website "www.copclan.org/forums"
sets |Clan "Call Of Pimps"
sets |Location "London"
sets |Host "Reload-Network.co.uk"
set sv_keywords "-|CoP|-"
set scr_motd "Welcome to The ^1-|C^4o^1P|-^7 TDM Server . We are ^6Recruiting^7 Dedicated Players ,If you are interested ask a COP Member! ^4Play fair^4 and have FUN !!!^4 :) ^7www.copclan.org "
set sv_hostname "^1-|C^4o^1P|-^4 Public ^1| TDM Server ^1| ^7PB=ON ^1|^7 Recruiting ^4www.copclan.org"
// Server Switches
set scr_drawfriend "1"
set scr_teambalance "1"
set scr_killcam "1"
set scr_freelook "0"
set scr_spectateenemy "0"
set sv_kickBanTime "300"
set sv_forcerespawn "0"
set scr_friendlyfire "1" //0 = off - 1 = on - 2 = reflect damage - 3 = shared
set scr_allow_vote "0"
set g_allowVote "0"
set sv_allowDownload "1"
////////////////////////////////////////////////////////////
set sv_maxclients 28
set sv_privateclients 4
set protocol "5"
seta ui_console 1
set g_log "games_mp1.log"
set g_logsync "1"
set sv_pure "1"
set sv_cheats "0"
set sv_allowAnonymous "0"
set sv_invulnerabletime "3"
set sv_floodprotect "1"
seta sv_maxrate "18000"
set sv_minPing "0"
seta sv_maxping "175"
set sv_fps "20"
seta sv_gamespy "1"
seta sv_master1 "codmaster.activision.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "codauthorize.activision.com"
seta sv_master5 "codmaster.infinityward.com"
//General Game Default Description
set scr_allow_bar "1" //0 - disable weapon 1 - enable weapon
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"
//Team Deathmatch Settings
set scr_tdm_scorelimit "0"
set scr_tdm_timelimit "15"
// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"
// Retrieval Settings
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_scorelimit "7"
set scr_re_timelimit "0"
set scr_re_showcarrier "1"
// Search & Destroy Settings
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "10"
set scr_sd_scorelimit "0"
set scr_sd_timelimit "40"
// Headquarters Settings
set scr_hq_timelimit "20" //Map time limit, in minutes - 0 to 1440
set scr_hq_scorelimit "1500" //Score limit per
//passwords
set rconPassword "*******"
set sv_privatepassword "*******"
set g_password ""
pb_sv_enable
wait
// exec other configs
exec tdm.cfg
tdm.cfg
set g_gametype "tdm"
sv_maprotationcurrent ""
set sv_mapRotation "gametype tdm map mp_carentan gametype tdm map mp_stalingrad gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_harbor gametype tdm map mp_neuville gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_brecourt"
map_rotate
if your still not having PB to start ..make sure you updated to 1.4 CoD correctly!
MOMMA
04-22-2004, 07:23 PM
I made my config almost identical to yours. Still no PB. :cry: I'm at a loss as to what I need to do. Also define correctly. The host dl the patch and installed it. Was there some other way he was to do it? I did not have to upload any files and the server shows it is upgraded to 1.4.
Hammer
04-22-2004, 07:29 PM
There should be a pb directory at the same level as CoD linux binary, so make sure the host included that.
MOMMA
04-22-2004, 11:43 PM
Crap.. I can only see from my Main folder down.. I can't see if there is a PB folder. I will have to email my host and wait for a reply..this sucks.
shoreforge
04-23-2004, 03:09 AM
Create a config file under your pb folder named pbsvuser.cfg.
In that file place:
pb_sv_enable
MOMMA
04-23-2004, 12:45 PM
Hey we got it fixed! YAY..
Had the host restart the CoD server several times with no results..then he rebooted the machine.. now it works.
Don't ask me why. But hey, it works.
imported_Spive
04-23-2004, 01:43 PM
I was just going to mention what Hammer did... make sure that you uploaded the /pb folder and all its contents into your cod folder.
In your /cod folder you should see the linux binary, the /Main folder and a /pb folder among other things.
Jedi_Pimp
04-23-2004, 07:07 PM
Hey we got it fixed! YAY..
Had the host restart the CoD server several times with no results..then he rebooted the machine.. now it works.
Don't ask me why. But hey, it works.
glad to know it does !!!! :lol:
Glanzer
06-01-2004, 01:45 PM
Could an admin move this thread to the Punkbuster forum and sticky it? There is REALLY GREAT info here and I'd hate to see it drop out of these forums. THANKS to all you guys for such great help in these forums!
RickTB
07-17-2004, 04:31 AM
Ok I think I may have the answer to some of your problems. I too was having trouble setting up punkbuster, and initiating a map rotation in the server.cfg file.
!)Ok once you remove +map_rotate and +set punkbuster 1 or +pb_sv_enable, from the command line.
2)Your config file should have:
pb_sv_enable
wait
set sv_maprotation "blahblah"
set sv_maprotationcurrentmap ""
map_rotate
**Make sure your config file is NOT called server.cfg. I was having the same problems and I followed all the good advice and still did not work until I renamed my CFG file to codserver.cfg**
Now PB enables AND the map rotation works automatically!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.