Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 15:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



anyone know this? its from 5165 source

Discussion on anyone know this? its from 5165 source within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
Question anyone know this? its from 5165 source

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]
salem rey is offline  
Old 03/02/2010, 04:01   #2
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
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 /*")...
killersub is offline  
Thanks
1 User
Old 03/02/2010, 04:05   #3
 
salem rey's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
ok thanks i thought it was usefull.
salem rey is offline  
Old 03/02/2010, 04:15   #4
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
It's not useful, it's the old Authentication void which can be removed if you want.
walmartboi is offline  
Old 03/02/2010, 07:02   #5
 
.Ocularis's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 309
Received Thanks: 208
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.
.Ocularis is offline  
Old 03/02/2010, 10:02   #6
 
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
yeah u should use the same tactic when removing something ur not sure off it makes everything so much more simple XD
LegalConquer is offline  
Reply


Similar Threads Similar Threads
Hi I need 5165 source act like Real Co 5165
09/15/2010 - CO2 Private Server - 4 Replies
I need a A source 5165 that all skills is available specially rb char like nin-nin-nin counterKill and nin-war-nin reflect and more, and also the attack rates should be fair not like +8 set can 1 hit +12 set, and also maybe the client, I need to study to make it in 5200+ source. I love to trade it with my cofarmer account VIP i have use it for 5 days only. PM or contact me in skype :marlyandedsel
I need some help with my 5165 source..
03/16/2010 - CO2 Private Server - 6 Replies
It's a little bit confusing.. ok here it goes... I just recently decided to get into c# private servers, and I figured I'd start out with this 5165 one.. So here's the issue. When I first start the server up everything works great.. So I open up the solution in Visual C# Express, and if I attempt to rebuild the newestcoserver it succeeds... But if I take and just for example put a space anywhere in the code and immediately backspace it, changing nothing of course. I get about 97 errors and...
Help 5165 source!
12/28/2009 - CO2 Private Server - 5 Replies
I got problem that i cant run 5165 source. So if i try to run NewestCOServer.exe ill get this: http://i46.tinypic.com/14wwvuc.jpg I have Net.framework v3.5 . And if i try to Debugg in the NewestCOServer project file ill get this: http://i46.tinypic.com/fejaf4.jpg
For these who cant use 5165 source
12/13/2009 - CO2 PServer Guides & Releases - 15 Replies
Hello ppl :pimp: i found it on net and its working XD so i think it will be good to share it with others :P this is 5119 version of 5165 source link:Multiupload.com - upload your files to multiple file hosting sites! its so easy to set up just put OldCODB on the C driver and edit the config.ini its a little different than config from 5165 source u need just to type ur ip it can be hamachi and the patch of databaze folder which should look like this: GameServerIP=127.0.0.1 << here put...
[Help] 5165 source
12/02/2009 - CO2 Private Server - 4 Replies
When ever i try to start up my source it give me and error so i open up C# and see that the error is in NPC.cs and the error is this what do i do?



All times are GMT +2. The time now is 15:58.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.