Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 20:12

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

Advertisement



[Guide] How to Create a Graphic User Interface (GUI)

Discussion on [Guide] How to Create a Graphic User Interface (GUI) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 07/08/2011, 09:45   #31
 
S/W's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 159
Received Thanks: 39
Quote:
Originally Posted by Fаng View Post
Awesome! =]
Can I see a picture?
picture in Attachments
Ty for guide
Attached Files
File Type: rar Screan.rar (244.8 KB, 53 views)
S/W is offline  
Old 07/08/2011, 09:48   #32
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by S/W View Post
picture in Attachments
Ty for guide
Why do you attrach a picture in a .rar and not upload it to ex. min.us ?
BaussHacker is offline  
Old 07/08/2011, 09:51   #33
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by S/W View Post
picture in Attachments
Ty for guide

That's what I used for my guide's pictures.
Spirited is offline  
Thanks
1 User
Old 07/08/2011, 09:57   #34
 
S/W's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 159
Received Thanks: 39
S/W is offline  
Old 07/08/2011, 12:09   #35
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by S/W View Post
(picture)
Very cool. Try looking at the properties of the main window. You can change the icon, name of the GUI, etc. all from there.

Quote:
Originally Posted by zTek View Post
Couldn't you just call the main() void in that certain void.

Program.Main();

Then it will load everything like the console does?
Never call Program.Main().
The main thread starts when the program starts. It looks for Main() and executes that void (like any thread would do). Additional threads need to be defined in Main() and started from that original main thread. What the gui is doing is making a separate thread to run the gui. All server related functions should be left on the main thread or another thread (other than the GUI thread). I hope that answers your question. I'm not sure what you were really asking.
Spirited is offline  
Old 08/01/2011, 23:22   #36
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
I noticed(for me anyway) button's and **** didn't look right.
So upon loading the GUI I just added:
Code:
        protected static void LoadForm()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Server());
        }
Thanks for that fang, I already knew how to do some of it but loading on a new thread and the Cross-Threading violation exception bypass helped too. It's amazing how I didnt know it was that easy(I was manually creating a new thread "Thread r = new Thread") hehe.

+K
_DreadNought_ is offline  
Old 08/01/2011, 23:47   #37
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by _DreadNought_ View Post
I noticed(for me anyway) button's and **** didn't look right.
So upon loading the GUI I just added:
Code:
        protected static void LoadForm()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Server());
        }
Thanks for that fang, I already knew how to do some of it but loading on a new thread and the Cross-Threading violation exception bypass helped too. It's amazing how I didnt know it was that easy(I was manually creating a new thread "Thread r = new Thread") hehe.

+K
If you want to enable visual styles that's fine... but I would take that off when you're putting it on your vps (since they have limited graphic power). It might cut into your performance a little if you move the window around or open new ones to manage something.
Spirited is offline  
Old 08/03/2011, 01:03   #38
 
BioHazarxPaul's Avatar
 
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
Umm didnt you already go over gui's and all this before.. x_x
BioHazarxPaul is offline  
Old 08/03/2011, 05:48   #39
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by BioHazarxPaul View Post
Umm didnt you already go over gui's and all this before.. x_x
Yah. This is a better guide though.
And this time I can explain it all and defend my work. =p
Spirited is offline  
Old 08/03/2011, 10:50   #40
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
There is another way to do it, the real way.

Using System.Drawing etc.
BaussHacker is offline  
Old 08/03/2011, 18:53   #41
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by BaussHacker View Post
There is another way to do it, the real way.

Using System.Drawing etc.
If you want to use that method then by all means, go ahead.
There are many different ways to doing this.
Spirited is offline  
Old 08/03/2011, 20:18   #42
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by Fаng View Post
If you want to use that method then by all means, go ahead.
There are many different ways to doing this.
With my way you can draw on objects.
BaussHacker is offline  
Old 08/03/2011, 21:10   #43
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by BaussHacker View Post
With my way you can draw on objects.
I can see how that might be useful in other applications, but we're just making a GUI for a Conquer Online private server. We're not trying to make something that uses graphics that much... in fact, the way that you're describing would lead to poorer performance.
Spirited is offline  
Old 08/04/2011, 00:00   #44
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by Fаng View Post
I can see how that might be useful in other applications, but we're just making a GUI for a Conquer Online private server. We're not trying to make something that uses graphics that much... in fact, the way that you're describing would lead to poorer performance.
Would not lead to poor performance. It will make no difference at all, other than how it looks, it of course depends on if you do it 'right'. And true at that it's just for a COPServer.
BaussHacker is offline  
Old 08/04/2011, 00:39   #45
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by BaussHacker View Post
Would not lead to poor performance. It will make no difference at all, other than how it looks, it of course depends on if you do it 'right'. And true at that it's just for a COPServer.
Traditionally, System.Drawing is used for programs that require heavy graphics or animations. Adding those kind of features to a GUI would be idiotic for a project like this... I would just stick with making a Form.
Spirited is offline  
Reply


Similar Threads Similar Threads
[HELP] How do i create a custom interface?
09/04/2015 - EO PServer Hosting - 7 Replies
Hey guys , Im just wondering if you could tell me or link me a guide of how to create a custom interface for eudemons online because i have no idea and i think that you all could help me i've saw it before on a few other servers. Thankyou from lewis :)
[HOW TO] Create a New Interface
11/27/2010 - Metin2 PServer Guides & Strategies - 30 Replies
Ich hoffe das TuT gab es nicht schonmal... Wenn doch sry, habe in der SuFu nichts gefunden :-( So fangen wir an : Was brauchen wir? -Einen Client -Die entpackten Etc.eix/epk Dateien -Irgendeinen Server Was müssen wir tun?
TAPLG Tester Needed (User Interface)
01/30/2007 - World of Warcraft - 3 Replies
As some of you might know im creating a Leveling Guide Addon for WoW, its for alliance, all races and all classes. Its currently still in the developing state and as for now only the race Draenei level 1-12 is finished. This guid will go up to level 70. I need a tester to check if its working the way i entended it to. If someone is interested please PM your icq number to me so we can talk more detailed. Only the first 5 will be abel to test this and give me feedback, i will post here...
FtH User Interface (Complete Interface)
09/05/2006 - World of Warcraft - 10 Replies
Hallo , ich will euch das wohl beste Interface nicht vorenthalten. For the Horde hat mit seiner ersten Version seines eigenen Interfaces schon gute arbeit geleistet. Aber das naja nich mehr ganz aktuele ist noch besser. http://web4.h60972.serverkompetenz.net/for...p?th readid=3465 <- DL Link. Dort gibt es aber auch den kompletten Guide zu dem Interface. Achja FTH benutzt X-Raid , nicht jedem seine Sache. Das Interface ist aber auch mit CT_RAID kompatibel.
User Interface von wow
12/10/2004 - WoW Guides & Templates - 2 Replies
auf worldofwarcraft.com wurde heute ein eigenes Tool gebastelt um User Interfaces zu basteln! links: Tool Tutorial worldofwarcraft.com ps: mmhh xml? ähm ist das das xml, was man auch bei selhtml ne einführung drüber bekommt?



All times are GMT +2. The time now is 20:12.


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.