RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
Goto page 1, 2  Next 
View previous topic :: View next topic  
Author Message
Sprengel



PostPosted: Sun Feb 15, 2009 8:24 pm    Post subject: COD4 without Punkbuster? Reply with quote

Hey,

how can i disable punkbuster on starting cod4 linux server? if i choose "punkbuster = off" on configuration tab, it still seems to start punkbuster. if someone of my clan wants to connect, they receive the message, that they have to activate punkbuster.
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Sprengel



PostPosted: Mon Feb 16, 2009 5:26 am    Post subject: settings Reply with quote

i guess gamecreate doesn't write the settings to server.cfg. i have set a rcon password and a join password, but it doesn't take effect.

what's wrong with it?
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Feb 16, 2009 6:41 am    Post subject: Reply with quote

GC doesn't write anything to server.cfg. It writes to %mod%/port%server:port%.cfg,
where %server:port% gets replaced with the port your server uses. Your cmd-
line must be configured to use that file instead of server.cfg. Can you post the
command-line here, as well as any PB-related parts from your port%server:port%.cfg
file?

The config file should have a line like this:
Code:
set sv_punkbuster %pb%

and your command line should look something like this:
Code:
%server:port% +set dedicated 2 +set net_port %server:port% +exec port%server:port%.cfg +map %startmap% <gc:if>%mod%!=main<gc:then>+set fs_game "%mod%"</gc:if> +set fs_homepath "configs/%server:port%"

The essential part here is whatever comes after the +exec statement.
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 6:52 am    Post subject: Reply with quote

Thx Kybber for responding so fast.

When my cod4 server runs, i can find a default_server.cfg in /mods/ModWarfare

but in this file i cannot find anything about punkbuster
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 6:59 am    Post subject: Reply with quote

and the commandline shows
Code:

%server:port% +set dedicated 1 +set net_ip %server:ip% +set net_port %server:port% +exec port%server:port%.cfg +map %startmap% <gc:if>%mod%!=main<gc:then>+set fs_game "%mod%"</gc:if> +set fs_homepath "configs/%server:port%"
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Feb 16, 2009 8:23 am    Post subject: Reply with quote

default_server.cfg is irrelevant. You need to look for the port%server:port%.cfg
file in your callofduty4/main directory (provided you are not running any mods).
Do you have any such file? GC should create it a second or two before the
COD server is started.

Also, just to make sure you haven't overridden any command line settings
for your server, can you go to the server's overview page and post the actual
command line as it is stated there? If should have %server:port% replaced
with the server's actual port like this:
Code:
cod4_launch.exe 28960 +set dedicated 2 +set net_port 28960 +exec port28960.cfg +map mp_crash +set fs_homepath "configs/28960"
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 4:34 pm    Post subject: Reply with quote

well, it's linux server. the command line is:

Code:

cod4_lnxded 28960 +set dedicated 1 +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +exec port28960.cfg +map mp_backlot +set fs_homepath "configs/28960"


in the directory ../callofduty4/main there only are iwd-files, nothing else.

i deleted the server, there was no cfg file. i created the server, there is no file, the server started and there is no cfg file
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 5:56 pm    Post subject: problem solved Reply with quote

as a root i decompressed the server-package and wrote the rights of "2525" to the directory. "2525" seems to be the user, who has compressed all files to the tar-file.

gamecreate had no rights to write in /main.

chown -R gamecreate:users callofduty4 - and it runs...
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Feb 16, 2009 6:29 pm    Post subject: Reply with quote

Ah, there you go then - glad you worked it out Smile
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 6:31 pm    Post subject: Reply with quote

thanks a lot Wink
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 6:39 pm    Post subject: damn Reply with quote

it wrote the file port28960.cfg, there is the line set sv_punkbuster 0

BUT when i wanna connect with the server, the game needs punkbuster to be installed. why?!?

i am sure the server uses this file, because i have set a password and the server shows it's locked with a password now.
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Feb 16, 2009 6:44 pm    Post subject: Reply with quote

Not sure because, frankly, I've never seen the point in running a server
without punkbuster Wink

Can you check whether the server actually uses PB, either from the ingame
server browser or from a tool such as game-monitor.com? You may have to
set the server up as an internet server and not a LAN server to do this.
Back to top
View user's profile Send private message
Sprengel



PostPosted: Mon Feb 16, 2009 6:48 pm    Post subject: Reply with quote

you mean i have to set dedicated 2 to run the server without pb?

in game the info shows me "punkbuster is enabled"
Back to top
View user's profile Send private message
Kybber



PostPosted: Mon Feb 16, 2009 7:40 pm    Post subject: Reply with quote

I don't know - I don't think so since it makes little sense, but as I said I don't
have any experience with this. But you may have to set it to dedicated 2 to
use the tools I mentioned to check.

However, you have already verified that it does indeed run PB, so don't worry
about it. You should check all the config files and see if there's one that perhaps
overrides the setting you have. Or perhaps there is another trick to disabling
PB for COD4-servers. This is most likely not a GC issue, but a COD4-issue.

You could try to disable PB from the command line before the exec-statement.
It may be that PB is enabled by default and before the config file is even read.
Back to top
View user's profile Send private message
Sprengel



PostPosted: Tue Feb 17, 2009 4:16 pm    Post subject: error Reply with quote

when i start the server on command line, there are two lines i cannot understand:


dedicated is read only.
sv_punkbuster is write protected.

why is sv_punkbuster write protected? on gamecreate configuration i can choose punkbuster = off?!?
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
Goto page 1, 2  Next
Page 1 of 2

 
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.