Results 1 to 3 of 3

Hybrid View

  1. #1
    AkaiNaoma's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    8

    Normal game with FPS boost

    I want to host a S&D normal server but also want FPS boost ,how do I do that?

  2. #2
    AkaiNaoma's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    8
    Code:
    init()
    {
    	level thread onPlayerConnect();
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );		
    		
    		if( !isDefined( player.pers[ "message_shown" ] ) )
    			player.pers[ "message_shown" ] = 0;
    		
    		if( !isDefined( player.pers[ "cur_bright" ] ) )
    			player.pers[ "cur_bright" ] = 0;
    		
    		player thread watchButton();
    		player thread onPlayerSpawned();
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	for(;;)
    	{
    		self waittill("spawned_player");
    		if( isDefined( self.pers[ "message_shown" ] ) && self.pers[ "message_shown" ] < 2 )
    			self thread infoMessage();
    	}
    }
    
    watchButton()
    {
    	self endon("disconnect");
    	
    	self notifyOnPlayerCommand("dat_dvar", "+actionslot 1");
    	
    	for(;;) {
    		self waittill( "dat_dvar" );
    		
    		self.pers["cur_bright"] = !self.pers["cur_bright"];
    		self setClientDvar( "r_fullbright", self.pers["cur_bright"]);
    		
    		if( self.pers["cur_bright"] )
    			self iPrintlnBold("^7High FPS ^2On");
    		else 
    			self iPrintlnBold("^7High FPS ^1Off");
    	}
    	
    }
    
    infoMessage()
    {
    	self endon("disconnect");
    	self endon("death");
    	
    	self.pers[ "message_shown" ]++;
    	wait 0.5;
    	for( i=0; i<3; i++) {
    				wait 2;
    	}
    	
    }
    Found this code,dont know how to use it yet without using a full mod.Anyone got any ideas?

  3. #3
    AkaiNaoma's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    8
    Still looking for someone to help me.
    I tried to add that code to rank.gsc and start on player joined team etc but it doesnt work.

Similar Threads

  1. Supreme and gn4 account (with many games) and rank boosting! :)
    By sabebe in forum Counter-Strike 2 Marketplace
    Replies: 3
    Last Post: 03-07-2015, 02:46 AM
  2. [Discussion] FPS boost with cheatengine?
    By Jew in forum Minecraft Discussions
    Replies: 11
    Last Post: 01-12-2014, 04:22 PM
  3. first game with my new comp (150 fps recording, 230 w/o recording)
    By shoracko in forum Crossfire Video Sharing
    Replies: 5
    Last Post: 01-08-2014, 04:17 AM
  4. [Solved] I need help with FPS in game
    By IloveFishies in forum CrossFire Help
    Replies: 17
    Last Post: 10-04-2012, 03:24 PM
  5. Replies: 37
    Last Post: 09-17-2009, 04:33 PM