anyone know this? its from 5165 source

03/02/2010 03:58 salem rey#1
im looking anywhere in my source and i accidentally see this code and it all green text color.

Code:
[COLOR="SeaGreen"]        /*public static Main.AuthWorker.AuthInfo Authenticate(string User, string Password)
        {
            Main.AuthWorker.AuthInfo Info = new NewestCOServer.Main.AuthWorker.AuthInfo();
            Info.Account = User;
            try
            {
                IniFile File = new IniFile("C:\\OldCODB\\Users\\" + User + ".usr");
                string RealAccount = File.ReadString("User", "account");
                if (User == RealAccount)
                {
                    string RealPassword = File.ReadString("User", "password");
                    RealPassword = Main.PassCrypto.EncryptPassword(RealPassword);
                    if (RealPassword == Password)
                    {
                        Info.Status = File.ReadString("User", "status");
                        Info.Character = File.ReadString("User", "character");
                        if (Info.Character == "")
                            Info.LogonType = 2;
                        else
                            Info.LogonType = 1;
                    }
                    else
                        Info.LogonType = 255;
                }
                else
                    Info.LogonType = 255;
                File.Close();
            }
            catch (Exception Exc) { Program.WriteLine(Exc); }
            return Info;
        }*/[/COLOR]
03/02/2010 04:01 killersub#2
it means it's in comment...meaning the maker of the source didn't need it but might have though you would have needed it later or sumday so he put it in comment...in other words the code is useless in comment mode(unless u remove the "*/ and /*")...
03/02/2010 04:05 salem rey#3
ok thanks i thought it was usefull. :D
03/02/2010 04:15 walmartboi#4
It's not useful, it's the old Authentication void which can be removed if you want.
03/02/2010 07:02 .Ocularis#5
That void was used when the ncs source ran on mysql, prior to when it was switched to pfsql and released. It used switches like 1 2 3 4 to switch normal, banned, GM or PM players.
03/02/2010 10:02 LegalConquer#6
yeah u should use the same tactic when removing something ur not sure off it makes everything so much more simple XD