r2119 - trunk/data/qcsrc/menu/custom

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jan 15 18:19:11 EST 2007


Author: div0
Date: 2007-01-15 18:19:11 -0500 (Mon, 15 Jan 2007)
New Revision: 2119

Modified:
   trunk/data/qcsrc/menu/custom/extresponse.qc
Log:
increasing retry delays


Modified: trunk/data/qcsrc/menu/custom/extresponse.qc
===================================================================
--- trunk/data/qcsrc/menu/custom/extresponse.qc	2007-01-14 20:43:03 UTC (rev 2118)
+++ trunk/data/qcsrc/menu/custom/extresponse.qc	2007-01-15 23:19:11 UTC (rev 2119)
@@ -3,6 +3,7 @@
 bool _Nex_ExtResponseSystem_BanlistHandled;
 string _Nex_ExtResponseSystem_UpdateTo;
 float _Nex_ExtResponseSystem_RetryTime;
+float _Nex_ExtResponseSystem_RetryTime_LastDelay;
 bool _Nex_ExtResponseSystem_UpdateStringSet;
 bool _Nex_ExtResponseSystem_Initialized;
 
@@ -12,7 +13,8 @@
 	localcmd(strcat("packet update.alientrap.org:27950 \"getExtResponse checkUpdates nexuiz ", cvar_string("g_nexuizversion"), "\"\n"));
 	localcmd(strcat("packet update.alientrap.org:27950 \"getExtResponse getBanlist nexuiz\"\n"));
 	_Nex_ExtResponseSystem_RequestsSent = TRUE;
-	_Nex_ExtResponseSystem_RetryTime = Timer_Time + 10;
+	_Nex_ExtResponseSystem_RetryTime_LastDelay = _Nex_ExtResponseSystem_RetryTime_LastDelay * 2 + 1;
+	_Nex_ExtResponseSystem_RetryTime = Timer_Time + _Nex_ExtResponseSystem_RetryTime_LastDelay;
 }
 
 void(float argc) Item_Nex_ExtResponseSystem_Parse =




More information about the nexuiz-commits mailing list