1. Post #1

    September 2010
    599 Posts
    So I was on our new gmod server typed net_graph 3 in console and I noticed my lerp was 100, along with everyone else. I got it to drop to a steady 30 with a few commands. Instead of telling everyone to go make an autoexec with these commands I was wondering if we could force the clients to run these commands each time they connect or the map changes.

    these are the commands id like to force:

    cl_updaterate 66
    cl_cmdrate 66
    cl_interp .01

    any help on this would be awesome!

    (User was banned for this post ("wrong section" - postal))
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  2. Post #2
    Assault_Trooper's Avatar
    March 2010
    459 Posts
    hook.Add( "PlayerInitialSpawn", "ForceRates", function( ply )
    
    	timer.Simple( 3, function()
    	
    		if ValidEntity( ply ) then
    		
    			ply:ConCommand( "cl_updaterate 66" )
    			ply:ConCommand( "cl_cmdrate 66" )
    			ply:ConCommand( "cl_interp .01" )
    		
    		end
    	
    	end )
    
    end )
    

    The convars could be blocked, don't know, haven't tested.
    Reply With Quote Edit / Delete Windows 7 Finland Show Events

  3. Post #3

    September 2010
    599 Posts
    hook.Add( "PlayerInitialSpawn", "ForceRates", function( ply )
    
    	timer.Simple( 3, function()
    	
    		if ValidEntity( ply ) then
    		
    			ply:ConCommand( "cl_updaterate 66" )
    			ply:ConCommand( "cl_cmdrate 66" )
    			ply:ConCommand( "cl_interp .01" )
    		
    		end
    	
    	end )
    
    end )
    

    The convars could be blocked, don't know, haven't tested.


    awesome THANK YOU SO MUCH!!! gonna test in a few!
    Reply With Quote Edit / Delete Windows 7 United States Show Events