Howling_Fury
Registered User
- Joined
- Mar 21, 2014
- Messages
- 671
- Age
- 54
Reinstall Punkbuster maybe?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
but there was only like 30 people in server at like 0430ish (CST) this morning
this.dicPingCalled.Add(strSoldierName, int.Parse(ping));
}
}
else
{
if (this.dicPingCalled.ContainsKey(strSoldierName))
{
this.dicPingCalled.Remove(strSoldierName);
}
}
}
public void PingCheck()
{
// BEGIN FAST PATCH ONE: Disable ping kicker based on time of day.
//Patch Config START.
const int START_HOUR=23; //Note that the hour is in 24 hour time (i.e. 21 = 9PM)
const int START_MINUTE=0;
const int END_HOUR=8; //Note that the hour is in 24 hour time (i.e. 21 = 9PM)
const int END_MINUTE=0;
//Note for the above settings: you don't need to pad the minute or hours
//with an additional zero. If you do, it'll still work -- either way is fine.
//i.e. 09 is equal to 9.
//Patch Config END
DateTime currentTime = new DateTime();
if (new TimeSpan(START_HOUR,START_MINUTE,0) <= currentTime.TimeOfDay && new TimeSpan(END_HOUR,END_MINUTE,0) >= currentTime.TimeOfDay)
{
//Don't run a lag check, it's been 0130 and 1200 hours.
return;
}
// END FAST PATCH ONE:
if (this.enablePingKick == enumBoolYesNo.Yes)
{
List<string> remove = new List<string>();
foreach (KeyValuePair<string, int> latestPings in this.dicPingCalled)
{
bool playerKicked = false;
if ((this.lsPlayerInfo.Contains(latestPings.Key) == true) && (latestPings.Value > 0) && (latestPings.Value < 10000) && (!this.lsWhitelist.Contains(latestPings.Key)))
{
if (this.strPingMethod.CompareTo("A