guilhermemcr1

Kick for higher FPS and Force update

Recommended Posts

Posted (edited)
Hello everyone, I was wondering if anyone has a Plugin or GSC to kick any player with an FPS greater than 250 for example, or some GSC to force the player to use version 17.9 of COD4X.
Edited by guilhermemcr1
  • Like 1

Share this post


Link to post
Share on other sites
On 3/31/2020 at 9:45 AM, guilhermemcr1 said:

or some GSC to force the player to use version 17.9 of COD4X

server version v18 will only be playable with client v18+

On 3/31/2020 at 9:45 AM, guilhermemcr1 said:

I was wondering if anyone has a Plugin or GSC to kick any player with an FPS greater than 250

measuring ping through the getping() gsc function is pretty buggy currently. you can add a menu to your mod based on cl_maxfps like promod does.

Share this post


Link to post
Share on other sites

I currently use the following plugin that modifies what it does is to directly change the FPS by the automatic MAXFPS command.

in addition to loading this plugin in the main_shared/maps/mp/gametypes  folder you should add the following line to the _callbacksetup script

 

 level thread maps\mp\gametypes\_fpswatch::init();

 

just below the next line of code

 

it would look like this

 

CodeCallback_StartGameType()
{
    // If the gametype has not beed started, run the startup
    if(!isDefined(level.gametypestarted) || !level.gametypestarted)
    {
        [[level.callbackStartGameType]]();

        level.gametypestarted = true; // so we know that the gametype has been started up
        
 
                level thread maps\mp\gametypes\_fpswatch::init();
               
    }
}

 

I attach the script to modify it to your liking I have it set to 280 because the fps differ between the console and cod4x

 

greetings from argentina

 

 

_fpswatch.gsc

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.