Register for your free account! | Forgot your password?

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

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

Advertisement



[Release] Adding Form to your Server

Discussion on [Release] Adding Form to your Server within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2006
Posts: 227
Received Thanks: 57
[Release] Adding Form to your Server

You wanna have an Form like on CoFuture?
-Then you are here right.

Info: Says nothing about my English, I've tried my best

1) Create a new form "Control.cs"

2) Look in General.cs for:
"public static System.IO.StreamWriter sw = new System.IO.StreamWriter(Application.StartupPath + @"\ServerLog.txt", true);"

and add above:
Code:
        static Thread _thread;
        static void FormStart(object param)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Control());
        }
Go to the last line at "public unsafe General()"
and add under all:
Code:
                _thread.Start();
Info: Control.cs must look like this:
Code:
namespace COServer_Project
{
    public partial class Control : Form
    {
        public Control()
        {
            InitializeComponent();
        }
    }
}
Press Thanks if i helped you
keving is offline  
Thanks
1 User
Old 09/19/2008, 13:26   #2
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Nice i did it be4 but stucked on a part :P
Well nice release buddy^^
~Yuki~ is offline  
Old 09/19/2008, 13:33   #3
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Waste of memory for a server... IMO.
tao4229 is offline  
Old 09/19/2008, 13:37   #4
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by tao4229 View Post
Waste of memory for a server... IMO.
Did anyone said it will make it less memory?
So?
who cares how much RAM it uses i got 16 gig ram xD
~Yuki~ is offline  
Old 09/19/2008, 13:51   #5
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by lolmaster123 View Post
Did anyone said it will make it less memory?
So?
who cares how much RAM it uses i got 16 gig ram xD
the point is the server is supposed to be ran and played on, there shouldnt be some guy sat at the control panel of the server clicking different buttons, absolute waste having a form :/... the objective of a server is for it to be a server that runs using the least amount of memory possible
© Haydz is offline  
Old 09/19/2008, 15:19   #6
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Well I agree with Haydz...
glupkotrup is offline  
Old 09/19/2008, 16:06   #7
 
$HaDoW's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 285
Received Thanks: 78
sreen pls :P I dont rly understand what this all bout
$HaDoW is offline  
Old 09/19/2008, 17:03   #8
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Dont work....
~Yuki~ is offline  
Old 09/19/2008, 17:19   #9
 
elite*gold: 0
Join Date: Aug 2006
Posts: 227
Received Thanks: 57
Quote:
Originally Posted by lolmaster123 View Post
Dont work....
Wrong: At me works and i copyed all Code that is needed to run it.
keving is offline  
Old 09/19/2008, 17:36   #10
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
You can do it with 4 words, >_<
YukiXian is offline  
Old 09/19/2008, 17:40   #11
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by YukiXian View Post
You can do it with 4 words, >_<
WTF are u meaning??
Speak dutch!
~Yuki~ is offline  
Old 09/19/2008, 18:09   #12
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
this is pretty pointless :/
adz06676 is offline  
Old 09/19/2008, 18:57   #13
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Yow adz welcome back on e*pvpers^^
~Yuki~ is offline  
Old 09/19/2008, 19:06   #14
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Quote:
Originally Posted by lolmaster123 View Post
Yow adz welcome back on e*pvpers^^
lol
taguro is offline  
Old 09/19/2008, 20:15   #15
 
MushyPeas's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
Guess some people are just afraid of console windows
MushyPeas is offline  
Reply


Similar Threads Similar Threads
[Release] If you wanna call it a release. Server status form in php!
06/25/2010 - CO2 PServer Guides & Releases - 10 Replies
Ok, got bored so made this.. serverstatus.php : <html> <head> <title>Server Status!</title> </head>
[Release] Character form for Acro's new halo release!
02/05/2010 - CO2 PServer Guides & Releases - 9 Replies
Hello everyone, I made an edit of the character form for Acro's new halo system. The new halo system must be added for this to work. I added PK points to this one.... I'm not sure if the other character form has them. :P It didn't have them in the one I had. When you add Acro's halo system the character form will show 1..2..3..4 w/e you put for halos.
[Release] AutoPatch via Form
10/18/2009 - CO2 PServer Guides & Releases - 12 Replies
#Credits.. - AutoPatch codes by Kinshi88 http://www.elitepvpers.com/forum/co2-pserver-discus sions-questions/245807-release-auto-patcher-v2.htm l ] - Form created by Fail ATTACHMENTS ARE BELOW..didn't realize that i didn't post ! This is using hamachi, you can use your ip, i am just using hamachi because i can't access my real ip.
[Release] Adding form to load (LOTF)
04/15/2009 - CO2 PServer Guides & Releases - 40 Replies
I bet most of you already know how to do this, but this is just for the people that don't know how to make the form open up. First, open LOTF. Then right-click on COServerProject in the Solution Explorer. Click Add > Windows Form... Then Form1.cs should be in the Solution Explorer. Now go to View > Toolbox and you can start adding buttons and stuff.



All times are GMT +1. The time now is 17:40.


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.