weird issue

01/03/2023 08:07 Woohoo1#1
does anyone have any idea why i might be getting this issue when logging into a client?

when logging into the client I get the message "You can't do this." so I traced it to this line in the source:

Code:
                if (client.OnLogin.Key > 100000000 || client.OnLogin.Key < 1000000)
                {
                    using (var rec = new ServerSockets.RecycledPacket())
                    {
                        var stream = rec.GetStream();
                        string Messaj = "You can't do this.";
                        client.Send(new MsgMessage(Messaj, "ALLUSERS", MsgMessage.MsgColor.red, MsgMessage.ChatMode.Dialog).GetArray(stream));

                    }
                    return;
                }
also when loading server I get "cant load guard information"

which I assume its talking about this guardshield.dll that's used for login process of the client?

i think its something with the server loader as I never used to get "cant load guard information"

could a new year have something to do with it?
01/04/2023 03:45 Spirited#2
I think instead of trying to correlate the issue with the new year or some other message being spat out on startup, you should try tracing the values of those keys and see why you might be getting a key outside that range.
02/08/2023 05:08 Mr.Rayzo#3
The last defense file of guardshield is for our loader. You cannot connect to the server before you contact us and obtain the key to enter the loader.