[Release] Custom Source - HepX_CO

05/13/2010 17:59 Basser#1
[Header]
This is my first open-source Conquer Online 2.0 emulator.
I will keep this updated, and post an message every time I post a new version.


Server Details
Name: HepX GameServer
Game: Conquer Online 2.0
Patch: 5165
Server Version: 0.1

How to set this up:
- In both projects there's an MySql folder, open Connection.cs and edit "YOURUSERNAMEGOESHERE" and "YOURUSERNAMEGOESHERE".
- Search trough both project for "YOURIPGOESHERE" and rename it with your external IP.
- Set up the database as you had to do at most sources. The SQL file is included.
- That's about it, make sure you have all resources required, and debug the server in x86 mode if you use Windows 64-bit.

Updates:
-- None yet, I will not call version 0.1's index, just go through it yourself. --
-- This is a very, very basic server, and does not include:
- Attacking
- Monsters
- NPCs
- Portals

Comments, suggestions, questions, answers, what ever, feel free to post feedback on this thread. Remember, thanks are appreciated.

Contact [Only registered and activated users can see links. Click Here To Register...] for further information, for example joining the project.

Download
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...] (Thanks to U2_Caparzo)
05/13/2010 18:26 dragon1516#2
nice dude its awesome :) thank you basser
05/13/2010 18:58 _Emme_#3
I am so glad to see that you are moving at this direction, keep it up Bas you are doing great!

P.S : This source looks good:)
05/13/2010 18:58 Basser#4
Next update will be (so far):
- A more stable way to read the password
- One single string containing the server IP.
- New commands system, accessible from the entire source, not only chat.
- NPCs
Thanks for the suggestion Emme.
Also thanks for the extra help at the first point.
05/13/2010 19:35 pro4never#5
Great to see more and more unique sorces out there. Hopefully we can start to move people away from lotf soon xD
05/13/2010 19:50 Basser#6
Hopefully this source will make the NewestCOServer less popular, it beats it at coding style to my opinion, besides NewestCOServer is as just unstable as my old LOTF was >_>.
05/13/2010 20:03 ~Yuki~#7
:O Base looks pretty good for now.
05/13/2010 20:39 Basser#8
Quote:
Originally Posted by ~Yuki~ View Post
:O Base looks pretty good for now.
Thanks =)
I added you to the credits, can't believe I forgot you. :facepalm:
05/13/2010 20:44 BlueFlame11#9
Woah so many open sources
So cool, thanks Basser
05/13/2010 21:00 -impulse-#10
Quote:
Originally Posted by pro4never View Post
Great to see more and more unique sorces out there. Hopefully we can start to move people away from lotf soon xD
Well, maybe this source is written from scratch, but it has parts of CoEmu.


Quote:
Originally Posted by Basser View Post
Hopefully this source will make the NewestCOServer less popular, it beats it at coding style to my opinion, besides NewestCOServer is as just unstable as my old LOTF was >_>.
I highly doubt.
05/13/2010 21:14 Sion~#11
Code:
public void Enable()
        {
            lock (SyncRecv)
            {
                while (Receiving)
                {
                    if (Sock.Connected)
                    {
                        int Size = Sock.Receive(Buffer);
                        if (Size == 0)
                        {
                            Disable();
                            Print("Will not accept 'byte[i <= 0]'");
                            Print("If you do not know what this means, this message may be ignored.");
                            Receiving = false;
                            break;
                        }
                        if (Size < 1000)
                        {
                            byte[] Data = new byte[Size];
                            Array.Copy(Buffer, Data, Size);
                            Data = Crypt.Decrypt(Data);
                            if (!Handshake)
                            {
                                Handshake = true;
                                string Key = new ClientKeyPacket(Data).PublicKey;
                                Crypt = SKE.HandleClientKeyPacket(Key, Crypt);
                            }
                            else
                                PacketRefer.ReferData(Data, this);
                        }
                        else
                        {
                            Disable();
                            Print("Cannot accept 'bytes[i > 1000]'");
                            Receiving = false;
                            break;
                        }
                    }
                }
            }
        }
Seriously? :facepalm:
05/13/2010 21:30 Basser#12
I wrote this form scratch, but yes I was inspired by CoEmu, however I haven't got the source on my pc, nor did I when I wrote the socket system, but I wrote it multiple times.
05/13/2010 21:39 ~Yuki~#13
If someone says this is a CoEmu Ripoff i have to ask you: Are you disabled?
05/13/2010 22:02 nestreys#14
Its nice.. keep up the good work..
05/13/2010 22:52 ImmuneOne#15
.