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 12:37

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

Advertisement



[Release] Extremely basic (but working/bugless) C# Source

Discussion on [Release] Extremely basic (but working/bugless) C# Source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old 01/23/2010, 17:09   #211
 
elite*gold: 0
Join Date: Jan 2010
Posts: 36
Received Thanks: 8
Thanks Arco!
Vultix is offline  
Old 03/04/2010, 22:38   #212
 
CIRASH's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
Quote:
Originally Posted by Hepatitis X View Post
Hybrid, I would be very thankful if you could upload the .dll you use for your sockets, I have tried decompiling them (as you said we were allowed to), but it would end up in one big chaos lol.
just use the red gate reflector
CIRASH is offline  
Old 03/04/2010, 23:53   #213
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
I would love to know how to set this up lol...like what files to download in order and put them in the correct places in order to make it work(haven't tried 5017 sources for a while)...-call me a dumbass all u like IDC...
killersub is offline  
Old 03/05/2010, 00:13   #214
 
ImFlamedCOD's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
Download rev 3 , get the database and set it up. Ive used this source updated it and much more and still use it as base till this day. Ive learned all my coding from this source and from many friend if ya need help just post and ill help you out.
ImFlamedCOD is offline  
Old 03/05/2010, 00:16   #215
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by ImFlamedCOD View Post
Download rev 3 , get the database and set it up. Ive used this source updated it and much more and still use it as base till this day. Ive learned all my coding from this source and from many friend if ya need help just post and ill help you out.
Same, I was able to make a stable(ish) 5065 source from this.
Arcо is offline  
Thanks
1 User
Old 03/05/2010, 00:46   #216
 
CIRASH's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 259
Received Thanks: 73
I'm trying to upgrade this to 5165 myself but im having some trouble <.<.
CIRASH is offline  
Old 03/05/2010, 03:39   #217
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by ImFlamedCOD View Post
Download rev 3 , get the database and set it up. Ive used this source updated it and much more and still use it as base till this day. Ive learned all my coding from this source and from many friend if ya need help just post and ill help you out.
So after I set it up...how Do I configure it lol? to like my IP...sorry haven't done many 5017 servers :/...I mean like is there a config.ini like most of the 5017 sources o_0? and how do I make an account...again I'm a newbie IDC ...
killersub is offline  
Old 03/05/2010, 06:49   #218
 
ImFlamedCOD's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
What you are looking for is int he Program.cs file and is located under Auth Receive if you scroll down in that block you will see something like "Client.Send(AuthPacket("127.0.0.1" 5816)); change the ip and if you have 5017 client your good
ImFlamedCOD is offline  
Old 03/21/2010, 22:55   #219
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
This is a very nice source something that you can customize 100%
Paralyzer[GM] is offline  
Old 03/21/2010, 23:01   #220
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by Paralyzer[GM] View Post
This is a very nice source something that you can customize 100%
Lol any source is customizable.
It's meant to be pretty basic so people can learn c#.
It's a good way to learn.
Arcо is offline  
Old 03/22/2010, 02:12   #221
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Finally people are back onto this , good job.
PeTe Ninja is offline  
Old 03/22/2010, 03:45   #222
 
ImFlamedCOD's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
I made my new source from learning from this base. It is nice to see people taking a interest in it again. Guess ill release some stuff for it tomorrow or Tuesday.
ImFlamedCOD is offline  
Old 04/08/2010, 02:26   #223
 
hunterman01's Avatar
 
elite*gold: 20
Join Date: Dec 2006
Posts: 945
Received Thanks: 175
Alright well ive decided to look into this (not sure if this is answered or not but....) I decompiled the Socketnetwork.dll and im getting ALOT of errors

Anyway i may be doing it wrong but meh

Anyhelp is appreciated
hunterman01 is offline  
Old 04/08/2010, 06:57   #224
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by hunterman01 View Post
Alright well ive decided to look into this (not sure if this is answered or not but....) I decompiled the Socketnetwork.dll and im getting ALOT of errors

Anyway i may be doing it wrong but meh

Anyhelp is appreciated
There are a number of things you would have to change with the .dll if you tried to code it directly into the source. If I remember correctly me and pood had it down to only a few errors all linked to the same things but then I got bored and moved on to something else lol.

I could be wrong but doesn't the .dll just handle encryption? Why not just grab the sections out of it you need or use coemu encryption and stick with hybrids socket system for everything else?
pro4never is offline  
Old 04/08/2010, 07:39   #225
 
ImFlamedCOD's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
First use this one!

AuthEncrpt
Code:
namespace Conquer.Auth.Encryptions
{

    public class ConquerStanderedCipher : IPacketCipher
    {
        private ushort InCounter;
        private byte[] Key3;
        private byte[] Key4;
        private ushort OutCounter;
        private bool UsingAlternate;

        public void Decrypt(byte[] In, byte[] Out, int Length)
        {
            lock (this)
            {
                for (int i = 0; i < Length; i++)
                {
                    Out[i] = (byte)(In[i] ^ 0xab);
                    Out[i] = (byte)((Out[i] << 4) | (Out[i] >> 4));
                    if (this.UsingAlternate)
                    {
                        Out[i] = (byte)(this.Key4[this.InCounter >> 8] ^ Out[i]);
                        Out[i] = (byte)(this.Key3[this.InCounter & 0xff] ^ Out[i]);
                    }
                    else
                    {
                        Out[i] = (byte)(ConquerKeys.Key2[this.InCounter >> 8] ^ Out[i]);
                        Out[i] = (byte)(ConquerKeys.Key1[this.InCounter & 0xff] ^ Out[i]);
                    }
                    this.InCounter = (ushort)(this.InCounter + 1);
                }
            }
        }

        public unsafe void Encrypt(byte* In, byte[] Out, int Length)
        {
            lock (this)
            {
                for (int i = 0; i < Length; i++)
                {
                    Out[i] = (byte)(In[i] ^ 0xab);
                    Out[i] = (byte)((Out[i] << 4) | (Out[i] >> 4));
                    Out[i] = (byte)(ConquerKeys.Key2[this.OutCounter >> 8] ^ Out[i]);
                    Out[i] = (byte)(ConquerKeys.Key1[this.OutCounter & 0xff] ^ Out[i]);
                    this.OutCounter = (ushort)(this.OutCounter + 1);
                }
            }
        }

        public void Encrypt(byte[] In, byte[] Out, int Length)
        {
            lock (this)
            {
                for (int i = 0; i < Length; i++)
                {
                    Out[i] = (byte)(In[i] ^ 0xab);
                    Out[i] = (byte)((Out[i] << 4) | (Out[i] >> 4));
                    Out[i] = (byte)(ConquerKeys.Key2[this.OutCounter >> 8] ^ Out[i]);
                    Out[i] = (byte)(ConquerKeys.Key1[this.OutCounter & 0xff] ^ Out[i]);
                    this.OutCounter = (ushort)(this.OutCounter + 1);
                }
            }
        }
    }
}
the rest is up to you , this code works the same as the one that was there before.
ImFlamedCOD is offline  
Closed Thread


Similar Threads Similar Threads
[Huge-Release] All-In-One Basic NPC Scripts For The 5165 Source!
02/19/2010 - CO2 PServer Guides & Releases - 30 Replies
Well I'm sorry that I spammed the whole forum full of my posts So pro4never and .Ryu gave me the idea of making this All-In-One thread about all my NPC's! THESE ARE UPDATED DAILY! NOTE: TO PEOPLE... SOME OF THE CODES ARE NOT MADE BY ME! I USUALLY JUST FIXED/UPDATED THE BASIC ONES! SORRY I'M LEARNING ON HOW TO CODE! 1. Birth-Island-NPC's(The NPC text is not from "REAL CONQUER" SORRY!...) #region BirthOldGeneralYang case 425: {
[FINAL RELEASE]HuB- Source (BASIC) (Original LOTF easier workable)
11/14/2009 - CO2 PServer Guides & Releases - 25 Replies
#REMOVED
[RELEASE] Basic LOTF Source
09/03/2009 - CO2 PServer Guides & Releases - 17 Replies
hey this is a basic lotf source edited based off shadowco, if you dont like it then dont post here... flames will be told on!!! :D i will tell on you to the mods if you flame What it has... - LuckyTime - Guard - 24/7 GW



All times are GMT +1. The time now is 12:38.


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