Register for your free account! | Forgot your password?

You last visited: Today at 02:49

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

Advertisement



Will this work?

Discussion on Will this work? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
WHITELIONX's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 534
Received Thanks: 66
Will this work?

Code:
public static void SaveBan(Character Value, Main.GameClient GC)
        {
            if (File.Exists(@"C:\OldCODB\Ban\Ban.txt"))
            {
                string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Ban\Ban.txt");
                int Ban = AllLines.Length;
                for (int x = 0; x < Ban; x++)
                {
                    string[] BanAccount = AllLines[x].Split('#');
                    string CharID = BanAccount[0];
                    string Name = BanAccount[1];
                    if (BanAccount.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
                    {

                    }
                }
            }
        }
My question is this, I have added this to database.cs and a few other things to the source I am now able to delete chars and accounts from a command ingame and I am wondering will this work?

I am also attempting to work on an unban system from command also, might be easy work for a lot of you guys on here but I am just looking through the source and trial and erroring lol
WHITELIONX is offline  
Old 02/01/2010, 20:43   #2
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
Why don't you just add in at the account file (NOT CHARACTER) a new value for the authType for ex.

Banned = 1, WrongInfo = 2, AllFine = 3

if (AuthType == 1)
// Banned
ImmuneOne is offline  
Old 02/01/2010, 20:58   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 53
Received Thanks: 3
I don't know. Have you tried it?
Viscount S is offline  
Old 02/01/2010, 21:48   #4
 
WHITELIONX's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 534
Received Thanks: 66
I would do that ImmuneOne but I have no idea how to lmao, I just based this idea from a deleteaccount post. I am not sure where you mean when you say account file? I am messing in database.cs but remembering what I mess with so if I get an error I can rectify it
WHITELIONX is offline  
Reply


Similar Threads Similar Threads
how to make DSEEG work with dragonica (THQ/ICE) work for vista 32 bit users
10/16/2010 - Dragonica - 4 Replies
ok after 3 hours of messing around with dragonica i found a way to make it work with DSEEG for those who got the memory edit error firstly within the 1 minture the game is open with dseeg remove all hotkeys and delete all bot settings and click save leave the patcher.exe filepath as it is, select THQ and close everything, make sure that you set DSEEG to run as admin from the compatibility tab in properties. now delete engine.ini from both c: drive and the dragonica release folder ...
[Release] ReXIGNation (Anti-Xigncode+CRC Bypass) spam here work/no work
07/19/2010 - Dekaron - 9 Replies
F>Y>I the bypass still work for me reinstall the game and run the bypasss with Cheat engine only, no winhex or any other way will make you DC right away when log in, am a vista user and i testes 3 different way and only CE work now hope this help u guy :mofo:
opk hacks work 09-01-2010 work slot
01/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 26 Replies
http://i47.tinypic.com/211j4g5.jpg virüs total Virustotal. MD5: abc818059ccbd0f5b1f10dc507e6a43a Heuristic.BehavesLike.Win32.CodeInjection.P W32/Heuristic-KPP!Eldorado W32/Heuristic-KPP!Eldorado link vakitharcama09ocak.zip ... at uploaded.to - Free File Hosting, Free Image Hosting, Free Music Hosting, Free Video Hosting, ...



All times are GMT +1. The time now is 02:50.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.