Do not count the 30.
30=0 Players Online
31=1 Player Online
32=2 Players Online
33=3 Players Online
And so fourth :P
I'm sorry but it's clearly not right. Unless everyone is hiding in some secret map i don't know about.
I'm sure there's rules against this, it's basically false advertising.
I too have logged on and checked for myself, It appears the 30 number is just added onto whatever the true usercount is, as mentioned above.
@Tai shed some light on this matter?
Funny how worried you are about the usercount, i could say you are more worried about a Zentaur problem rather than a community you "manage" problem.
I'm concerned you're lying to the general public about your usercount because it looks badly on everyone else if you're seen doing so. The last page of this thread alone already shows the distaste for Arcadia's "stall" system, as that's about as dodgy of a way you can get around faking the usercount as you can get.
You've already lost your VIP status. Try not to lose your dignity with it.
i dont wish to anger you and to reply me with a popcorn meme. *mega-facepalm.*
I don't care for your squabbling but are you going to rectify your inaccurate usercount or should I just remove it from the list?
I don't care for your squabbling but are you going to rectify your inaccurate usercount or should I just remove it from the list?
Ok well there is no place for such incorrect usercounts on the list, it's simply not fair on the community and really undermines the whole feature, which I worked pretty hard on.
I don't care for your squabbling but are you going to rectify your inaccurate usercount or should I just remove it from the list?
Pretty much this.
Your 'converations' with Koriban/Jamie are funny, it's all good.
But i do really ****ing hate cheats.
Your usercount is 100% +30, i don't care what you say on here.
When i mentioned it before, i made a point of checking all week, no matter what time it was noon, 6pm... 2am... it was always 30-32. with no sign of another player, ever.
Show the connection info for these 30 people that haven't logged off in weeks, and I'll apologize... and praise their dedication.
Also, this means i will stay and sniff, detect the usercount on other servers such as Zircon and so on. If users online does show any slight of fake usercount how you guys blamed me without proofs, i expect Zircon to be punished too.
Also thank you Tai! Your "neutral" is "always" on point.
You could rectify all of this, and recieve a sincere apology, all you need to do is show the info.
Replying with pointless (laughable) insults is just strengthening the fact you can't.
If i think you are cheating the players, I'm going to say it... thats not jumping on your throat.
- My farm is coming along fine btw
Do what you want. It starts to disgust me , Zircon got (on many cases) 140 online in game and on lomcn ranking it has 166.
Lets ruin the competition, or atleast what left from it
I been innactive on server(gsp) , i didnt touched nothing, its real usercount.
Lets not forget when you "had" problems on lomcn ranking by not reading my login server ip, for 2-3days since launch.
private static void StartNetwork(bool log = true)
{
try
{
NewConnections = new ConcurrentQueue<SConnection>();
_listener = new TcpListener(IPAddress.Parse(Config.IPAddress), Config.Port);
_listener.Start();
_listener.BeginAcceptTcpClient(Connection, null);
_userCountListener = new TcpListener(IPAddress.Parse(Config.IPAddress), Config.UserCountPort);
_userCountListener.Start();
_userCountListener.BeginAcceptTcpClient(CountConnection, null);
NetworkStarted = true;
if (log) Log("Network Started.");
}
catch (Exception ex)
{
Started = false;
Log(ex.ToString());
}
}
private static void Connection(IAsyncResult result)
{
try
{
if (_listener == null || !_listener.Server.IsBound) return;
TcpClient client = _listener.EndAcceptTcpClient(result);
SConnection Connection = new SConnection(client);
if (Connection.Connected)
NewConnections?.Enqueue(Connection);
}
catch (Exception ex)
{
Log(ex.ToString());
}
finally
{
while (NewConnections?.Count >= 15)
Thread.Sleep(1);
if (_listener != null && _listener.Server.IsBound)
_listener.BeginAcceptTcpClient(Connection, null);
}
}
private static void CountConnection(IAsyncResult result)
{
try
{
if (_userCountListener == null || !_userCountListener.Server.IsBound) return;
TcpClient client = _userCountListener.EndAcceptTcpClient(result);
byte[] data = Encoding.ASCII.GetBytes(string.Format("c;/Zircon/{0}/;", Connections.Count));
client.Client.BeginSend(data, 0, data.Length, SocketFlags.None, CountConnectionEnd, client);
}
catch {}
finally
{
if (_userCountListener != null && _userCountListener.Server.IsBound)
_userCountListener.BeginAcceptTcpClient(CountConnection, null);
}
}
private static void CountConnectionEnd(IAsyncResult result)
{
try
{
TcpClient client = result.AsyncState as TcpClient;
if (client == null) return;
client.Client.EndSend(result);
client.Client.Dispose();
}
catch {}
}
public static void EnvirLoop()
{
Now = Time.Now;
DateTime DBTime = Now + Config.DBSaveDelay;
StartEnvir();
StartNetwork();
StartWebServer();
Started = NetworkStarted && WebServerStarted;
int count = 0, loopCount = 0;
DateTime nextCount = Now.AddSeconds(1), UserCountTime = Now.AddMinutes(5), saveTime;
long previousTotalSent = 0, previousTotalReceived = 0;
int lastindex = 0;
long conDelay = 0;
Thread logThread = new Thread(WriteLogsLoop) { IsBackground = true };
logThread.Start();
LastWarTime = Now;
while (Started)
{
Now = Time.Now;
loopCount++;
try
{
SConnection connection;
while (!NewConnections.IsEmpty)
{
if (!NewConnections.TryDequeue(out connection)) break;
Connections.Add(connection);
}
....