MattA

FPS Server Crash

Recommended Posts

Hello,

I have a couple of servers running on CentOS Linux. I've found they are crashing from what looks to be a client side input. Each time the server crashes the last thing I see in the log files is

Command execution: fps   Invoked by: <PLAYERNAME>   InvokerSteamID: 0 Power: 1

I have disabled fps via the set_fps var but this is still happening. This issue only started after I moved to Linux and has been observed on Debian 10 and CentOS 7.8 but not Windows. Not knowing what is causing this I'm not sure how to even start debugging the issue. Has this seen before and does anyone have any suggestions to help track down what is causing it.

Regards,
Matt.

Share this post


Link to post
Share on other sites

correct me if i'm wrong, but i don't think "fps" is a built-in command. i assume you're using a plugin for that and in that case it would make sense to just disable the plugin first.

Share this post


Link to post
Share on other sites
7 hours ago, dpj said:

correct me if i'm wrong, but i don't think "fps" is a built-in command. i assume you're using a plugin for that and in that case it would make sense to just disable the plugin first.

You're right with that. cmd fps is present in some of the b3 plugins but these are not running due to the xlrstats plugin not working in my environment yet so I don't think that will be causing it.

I see a number of references to cmd_fps in my main_shared/code directory but cannot remember where these came from.

./main_shared/code/dvars.gsx:   addDvar( "cmd_fps", "int", 1, 0, 1 ); // Allow players to change cg_fovscale setting with script command ( 1-yes ; 0-no )

 

Does CoD4x place any gsx assets in the main_shared directory? If it doesn't I'll try to figure out where these files came from. The cod4 installation I am using was originally transferred from a Windows server and then I recompiled the server binary to make it work on CentOS 7.8 so it's highly possible I've picked up additional bits and pieces over the years it's been running.

 

Regards,
Matt.

Share this post


Link to post
Share on other sites
1 hour ago, MattA said:

You're right with that. cmd fps is present in some of the b3 plugins but these are not running due to the xlrstats plugin not working in my environment yet so I don't think that will be causing it.

I see a number of references to cmd_fps in my main_shared/code directory but cannot remember where these came from.


./main_shared/code/dvars.gsx:   addDvar( "cmd_fps", "int", 1, 0, 1 ); // Allow players to change cg_fovscale setting with script command ( 1-yes ; 0-no )

 

Does CoD4x place any gsx assets in the main_shared directory? If it doesn't I'll try to figure out where these files came from. The cod4 installation I am using was originally transferred from a Windows server and then I recompiled the server binary to make it work on CentOS 7.8 so it's highly possible I've picked up additional bits and pieces over the years it's been running.

 

Regards,
Matt.

It's coming from New Experience which you probably have on.

 

GitHub - leiizko/cod4_new_experience

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, MattA said:

/main_shared/code/dvars.gsx:

On my Ubuntu system the above is part of the New Experience scripts

 

1 hour ago, MattA said:

addDvar( "cmd_fps", "int", 1, 0, 1 );

is controlled by the config that comes with the New Experience using set cmd_fps "1" or "0" the "1" turns it on the "0" turns it off that config should be where the server config is

(sorry the previous post was not there when I posted this)

Edited by wkuzma

Share this post


Link to post
Share on other sites

Awesome, thanks. I'll see how things go if I pull that mod out.

Regards,
Matt.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.