What's new

Discussion Fix to Server dIsconnected problem

  • Thread starter CrAzY FaIrYHoPn
  • Start date
  • Views 1,576
C

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Messages
3,450
Reaction score
1,907
Some people have been getting server disconnected when they start up there tenth lobby. This is usually because to many dvars are beeing loaded at one time so if you add:
Code:
wait 1;
In between every 30 or so dvars it should fix your problem.
Or you can just replace your dvar list with mine.
Code:
doDvars()
{
setDvar("jump_height", 999 );
setDvar("player_sprintSpeedScale", 5 );
setDvar("player_sprintUnlimited", 1 );
setDvar("bg_fallDamageMaxHeight", 9999 );
setDvar("bg_fallDamageMinHeight", 9998 );
self player_recoilScaleOn(0);
self freezeControlsWrapper( false );
self setclientDvar("ui_allow_classchange", "1");
self setclientDvar( "laserForceOn",1);
self setClientDvar( "clanname", "TWAT" );
self setClientDvar( "bg_bulletExplDmgFactor", "5" ); 
self setClientDvar( "bg_bulletExplRadius", "3000" ); 
self setclientDvar( "scr_deleteexplosivesonspawn", "0"); 
self setClientDvar( "scr_maxPerPlayerExplosives", "999");  
self setclientdvar( "cg_drawfps", "1");
self setClientDvar( "g_knockback", "99999");
self setClientDvar( "aim_slowdown_debug", "1" );
self setClientDvar( "aim_slowdown_pitch_scale", "0.4" );
self setClientDvar( "aim_slowdown_pitch_scale_ads", "0.5");
self setClientDvar( "aim_slowdown_region_height", "2.85" ); 
self setClientDvar( "aim_slowdown_region_width", "2.85" ); 
self setClientDvar( "aim_slowdown_yaw_scale", "0.4" );
self setClientDvar( "aim_slowdown_yaw_scale_ads", "0.5" );
wait 1;
self setClientDvar( "player_meleeHeight", "1000");
self setClientDvar( "player_meleeRange", "1000" );  
self setClientDvar( "player_meleeWidth", "1000" );
self setClientDvar( "phys_gravity" , "-9999" ); 
self setClientDvar( "phys_gravity_ragdoll", "999");
self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
self setClientDvar( "cg_enemyNameFadeIn" , 0 );
self setClientDvar( "cg_drawThroughWalls" , 1 );
self setClientDvar( "compassRadarPingFadeTime", "999" );//Makes the orange dot not disappear
self setClientDvar( "compassSoundPingFadeTime", "999" );//Makes the orange dot not disappear
self setClientDvar("compassRadarUpdateTime", "0.001");//Always Updating
self setClientDvar("compassFastRadarUpdateTime", "0.001");//Always Updating
self setClientDvar( "compassRadarLineThickness",  "0");//No Line of Radar 
self setClientDvar( "compassMaxRange", "9999" ); // Infinite Map Range
MakeDvarServerInfo( "compassRadarPingFadeTime", "999");
MakeDvarServerInfo( "compassSoundPingFadeTime", "999");
MakeDvarServerInfo("compassRadarUpdateTime", "0.001");
MakeDvarServerInfo("compassFastRadarUpdateTime", "0.001");
MakeDvarServerInfo( "compassRadarLineThickness",  "0");
MakeDvarServerInfo( "compassMaxRange", "9999"); 
self setClientDvar( "cg_footsteps", "1");
self setclientdvar( "player_burstFireCooldown", "0" ); 
self setClientDvar( "scr_airdrop_helicopter_minigun" , 750 ); 
self setClientDvar( "scr_airdrop_ac130" , 150 ); 
self setClientDvar( "scr_airdrop_mega_helicopter_minigun", 1000 ); 
self setClientDvar( "scr_nukeTimer", .01 ); //nuke timer
self setclientDvar( "perk_weapReloadMultiplier", "0.0001" );
self setclientDvar( "perk_weapSpreadMultiplier" , "0.0001" );
wait 1;
self setClientDvar( "perk_weapRateMultiplier" , "0.0001"); 
self setclientDvar( "perk_footstepVolumeAlly", "0.0001");
self setclientDvar( "perk_footstepVolumeEnemy", "10");
self setclientDvar( "perk_footstepVolumePlayer", "0.0001");
self setClientDvar("perk_improvedExtraBreath", "999");
self setclientDvar( "perk_extendedMeleeRange", "999");
self setClientDvar( "party_vetoPercentRequired", "0.001"); 
self setClientDvar( "perk_bulletDamage", "999" );  
self setClientDvar( "perk_explosiveDamage", "-99" ); 
self setClientDvar( "g_speed", "350" ); 
self setClientDvar( "cg_drawShellshock", "0");
self setClientDvar( "missileRemoteSpeedTargetRange", "9999 99999" ); 
self setClientDvar( "perk_fastSnipeScale", "9" );
self setClientDvar( "perk_quickDrawSpeedScale", "6.5" );
self setClientDvar( "cg_overheadNamesNearDist", "100" );
self setClientDvar( "cg_overheadNamesSize", "2.0" );
self setClientDvar( "cg_overheadRankSize", "2.0" );
self setClientDvar( "cameraShakeRemoteMissile_SpeedRange", "9999" );
self setClientDvar( "cg_deadChatWithTeam", "1" );
self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
self setClientDvar( "cg_overheadNamesFarDist", "2048" );
self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
self setClientDvar( "cg_overheadNamesMaxDist", "99999" );
self setClientDvar( "dynEnt_explodeForce", "99999" );
self setClientDvar( "compassRadarPingFadeTime", "9999" );
self setClientDvar( "compassSoundPingFadeTime", "9999" );
self setClientDvar("compassRadarUpdateTime", "0.001");
self setClientDvar("compassFastRadarUpdateTime", "0.001");
self setClientDvar( "compassRadarLineThickness",  "0");
self setClientDvar( "compassMaxRange", "9999" ); 
self setClientDvar( "perk_diveDistanceCheck", "10" );
self setClientDvar( "cg_ScoresPing_MaxBars", "6" );
self setClientDvar( "perk_diveGravityScale", "0.05" );
self setClientDvar( "perk_diveVelocity", "500" );
self setClientDvar( "perk_grenadeDeath", "remotemissile_projectile_mp" );
self setClientDvar( "ragdoll_explode_force", "30000" );
self setClientDvar( "r_znear", "57" ); 
self setClientDvar( "r_zfar", "0" ); 
self setClientDvar( "r_zFeather", "4" ); 
self setClientDvar( "r_znear_depthhack", "2" ); 
self setClientDvar( "cameraShakeRemoteMissile_SpeedRange", "5000" );
self setClientDvar( "compassClampIcons", "999" );
wait 1;
self setClientDvar( "player_sprintUnlimited", "1" );
self setClientDvar( "perk_bulletPenetrationMultiplier", "30" );
self setClientDvar( "glass_fall_gravity", "-99"); 
self setClientDvar( "g_maxDroppedWeapons", "999" );
self setClientDvar( "player_MGUseRadius", "99999" );
self setClientDvar( "player_useRadius", "99999" );
if (self.name==level.hostname || self isCoHost()) {
self setClientDvar( "r_specularmap", 2);
}
self setClientdvar("cg_everyoneHearsEveryone", "1" );
self setClientdvar("cg_chatWithOtherTeams", "1" );
self setClientDvar( "cg_ScoresPing_MedColor", "0 0.49 1 1");
self setClientDvar( "cg_ScoresPing_LowColor", "0 0.68 1 1");
self setClientDvar( "cg_ScoresPing_HighColor", "0 0 1 1");	
self setClientDvar( "ui_playerPartyColor", "1 0 0 1");
self setClientDvar( "cg_scoreboardMyColor", "1 0 0 1");
self setClientDvar( "lowAmmoWarningColor1", "0 0 1 1");
self setClientDvar( "lowAmmoWarningColor2", "1 0 0 1");
self setClientDvar( "lowAmmoWarningNoAmmoColor1", "0 0 1 1");
self setClientDvar( "lowAmmoWarningNoAmmoColor2", "1 0 0 1");
self setClientDvar( "lowAmmoWarningNoReloadColor1", "0 0 1 1");
self setClientDvar( "lowAmmoWarningNoReloadColor2", "1 0 0 1");
}
}
 
Z

Zeast

Enthusiast
Messages
1,023
Reaction score
65
Should help all the people having problems connecting in system link. +rep!
 
N

Nooga

Enthusiast
Messages
293
Reaction score
35
Im almost positive this was posted a long time ago.

Anyways some people may not have known about this so good job.
 
C

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Messages
3,450
Reaction score
1,907
Im almost positive this was posted a long time ago.

Anyways some people may not have known about this so good job.
Thanx, i posted cuz i still hear people complain about it
 
J

JtagFreak

Banned
Messages
627
Reaction score
33
Good Post,

This is one way, another is to remove un-needed / extra dvars.
 
C

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Messages
3,450
Reaction score
1,907
That's true. I personally did both.
 
Top Bottom