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 05:11

  • 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 11/20/2011, 00:50   #76
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by PretendTime View Post
Thanks for the advice i didn't even notice that



What is this "braifnfuck compiler"?
Or I meant IDE.

BaussHacker is offline  
Old 11/20/2011, 18:09   #77
 
PretendTime's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 68
Received Thanks: 9
Quote:
Originally Posted by BaussHacker View Post
Or I meant IDE.
I don't know what that's for or why but i changed the color black cause in Fangs guide he said if i don't like the normal color i could change it if i wanted so i did
PretendTime is offline  
Old 11/20/2011, 18:14   #78
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Brainfuck is a programming language lmao.
BaussHacker is offline  
Old 11/20/2011, 18:16   #79
 
PretendTime's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 68
Received Thanks: 9
Quote:
Originally Posted by BaussHacker View Post
Brainfuck is a programming language lmao.
Oh i didn't know so sorry
PretendTime is offline  
Old 11/20/2011, 19:29   #80
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by PretendTime View Post
Oh i didn't know so sorry
Why do you say sorry? You did nothing wrong ;o
BaussHacker is offline  
Old 11/21/2011, 04:18   #81
 
PretendTime's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 68
Received Thanks: 9
Quote:
Originally Posted by BaussHacker View Post
Why do you say sorry? You did nothing wrong ;o
I felt stupid =[

And to Fang i was curious if there a way to add a register page via the gui without out having it load the website? Not sure if i made sense or not
PretendTime is offline  
Old 11/21/2011, 06:57   #82
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by PretendTime View Post
I felt stupid =[

And to Fang i was curious if there a way to add a register page via the gui without out having it load the website? Not sure if i made sense or not
It's not a good idea.
That would take the register page and make it so anyone can change the database. You want the register page to be on the same server of the account database OR have it so it's a secret. Anyone can reverse-compile C# to read it.
Spirited is offline  
Old 11/21/2011, 22:17   #83
 
PretendTime's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 68
Received Thanks: 9
Quote:
Originally Posted by Fаng View Post
It's not a good idea.
That would take the register page and make it so anyone can change the database. You want the register page to be on the same server of the account database OR have it so it's a secret. Anyone can reverse-compile C# to read it.
So doing this is out of the question?

PretendTime is offline  
Old 11/22/2011, 01:29   #84
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by PretendTime View Post
So doing this is out of the question?

No, just make the register box a browser and have it connect to the website. DO NOT give them control of that... as I said.
Spirited is offline  
Old 11/22/2011, 02:46   #85
 
PretendTime's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 68
Received Thanks: 9
Quote:
Originally Posted by Fаng View Post
No, just make the register box a browser and have it connect to the website. DO NOT give them control of that... as I said.
Okay man will do that now and toy with it thanks for answering all my question =D
PretendTime is offline  
Old 11/23/2011, 12:18   #86
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
i followed your guide and it was helpful , after i done with it i created a GUI with a button to start server , when i click it , server is starts so laggy , and its makes my pc so laggy too , so i edited it to make it start server when i run the program , and same issue , working but so laggy .

any idea how to solve this ?
abdeen is offline  
Old 11/23/2011, 18:46   #87
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Quote:
Originally Posted by abdeen View Post
i followed your guide and it was helpful , after i done my with it i created a GUI with a button to start server , when i click it , server is starts so laggy , and its makes my pc so laggy too , so i edited it to make it start server when i run the program , and same issue , working but so laggy .

any idea how to solve this ?
Don't have a gui then.
Spirited is offline  
Thanks
1 User
Old 11/23/2011, 19:14   #88
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by Fаng View Post
Don't have a gui then.
lol , are you joking ? or you are serious ?

here is the code to start the server

PHP Code:
        private void Start_Click(object senderEventArgs e)
        {
            const 
string message =
                
"Are you sure that you would like to Start the form?";
            const 
string caption "Form Starting";
            var 
result MessageBox.Show(messagecaption,
                                         
MessageBoxButtons.YesNo,
                                         
MessageBoxIcon.Question);
            if (
result == DialogResult.No)
            {
                return;
            }
            else
            {
                
Application.EnableVisualStyles();
                
Program.StartEngine();
            }
        } 
abdeen is offline  
Old 11/23/2011, 23:00   #89
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
My GUI code.
Code:
    public partial class Cmd : Form
    {
        public Cmd()
        {
            InitializeComponent();

            CheckForIllegalCrossThreadCalls = false;
        }


        public void Write(string Out)
        {
            textBox1.AppendText(Out + Environment.NewLine);
        }
        public ErrorHandler ErrorHandler;

        private void Cmd_Load(object sender, EventArgs e)
        {
            Server.Open();
        }

        private void closeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Server.Close();
            Environment.Exit(0);
        }

        private void restartToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Server.Close();
            Process.Start(Process.GetCurrentProcess().MainModule.FileName.Replace(".vhost", ""));
            Environment.Exit(0);
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }
    }
Code:
public class Console
    {
        public static GUI.Cmd Cmd;

        /// <summary>
        /// Get's or set's the title of the cmd window.
        /// </summary>
        public static string Title
        {
            get { return Cmd.Text; }
            set
            {
                Cmd.Text = value;
            }
        }

        /// <summary>
        /// Writing one line to the cmd window.
        /// </summary>
        /// <param name="Out"></param>
        public static void WriteLine(string Out)
        {
            Cmd.Write(Out);
        }
    }
Code:
[STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Console.Cmd = new GUI.Cmd();
            Application.Run(Console.Cmd);
        }
Obviously simple, but working. Not after getting an advanced GUI, just wanted fullscreen cmd and a menu.
BaussHacker is offline  
Old 11/24/2011, 00:30   #90
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
I'm dead serious. If you have to ever question yourself on if I'm joking or not, then I'm not joking. Just don't have a gui. There's nothing wrong with not having a gui.
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 +1. The time now is 05:13.


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.