[Approved] Zentaur [GSP] Discussion

  • Remember! Never use the same account usernames and password across different servers!

XloverBoy7X

LOMCN Veteran
Veteran
Dec 4, 2010
416
101
70
Dundee
Now you are just arguing for the sole purpose of deflecting from the point.
Show that the 30 users that havent logged off in 2 weeks+ and are invisible to starting players, are infact real. Or stop playing the victim.

This has nothing at all to do with Zircon, i think my views on him/it are obvious. If i actually cared to log on it and found the same, I'd pose the question to him too.

It's the simple fact that new players are going to choose a 32 usercount (like i did) - where its in reality only 2; over the other servers that actually have 10/15/20 real players.

I'm not going to reply again, your obviously just trying to deflect.

So did I. Chosen the higher count.
 

Ksx

Loyal Member
Loyal Member
Jan 6, 2018
51
1
19
People in glass houses shouldn't throw stones.


Code:
        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)) [SIZE=3][B]break[/B][/SIZE];
                        Connections.Add(connection);
                    }
                 ....

A break :eek:

So you are or so good or so lazy!. Its risky but worth if well done.. What thas this checks? "!NewConnections.TryDequeue(out connection)" Don't understand that "out" XD.

What do you think zedina? can you show your code?

Code:
public int UserCount (bool real){
      if (!real) return 30;

      //not coded yet
       /*if (real) */
}
 

Jamie

LOMCN Developer
Developer
Mar 29, 2003
4,797
299
370
United Kingdom



Of Course

Code:
                    SConnection connection;
                    [B]while[/B] (!NewConnections.IsEmpty)
                    {
                        if (!NewConnections.TryDequeue(out connection)) [B]break[/B];
                        Connections.Add(connection);
                    }

We have a Break here because we want to stop checking NewConnections (It failed to give us a legitimate Connection so check again next cycle)