Register for your free account! | Forgot your password?

You last visited: Today at 06:00

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

Advertisement



Proxy Library

Discussion on Proxy Library within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Proxy Library

Implementation:
1.) Add Reference XmenProxy.dll and don't forget to add it in the header

Code:
using XmenProxy;

2.) Redirecting the conquer client(Change the pathname of the conquer.exe according to the instalation path of conquer in your PC)
Code:
redirect.LoadCOWithBypass("D:\\Games\\Conquer Online 2.0\\conquer.exe",
 " blacknull blacknull");
3.) Define GameServer & Authentication Server

Code:
       
        private GameServerEngine GSEngine = new GameServerEngine();
        private AuthServer ASEngine1 = new AuthServer();   // For Group 1
        private AuthServer ASEngine2 = new AuthServer();  // For Group 2
4.) Start the Server
Code:
            string localhostIP = myLocalhost.GetmyIP();
            GSEngine.OnDataArrival +=
                 new GameServerEngine.OnPacketArrivalDelegate(GSEngine_OnDataArrival);
            GSEngine.localPort = 5816;
            GSEngine.remoteIP = "184.175.115.3";
            GSEngine.remotePort = 5816;
            GSEngine.localIP = localhostIP;
            GSEngine.Start();


            ASEngine1.localPort = 9959;
            ASEngine1.remoteIP = "208.96.34.46";
            ASEngine1.remotePort = 9959;
            ASEngine1.localIP = localhostIP;
            ASEngine1.Start();

            ASEngine2.localPort = 9960;
            ASEngine2.remoteIP = "208.96.34.46";
            ASEngine2.remotePort = 9960;
            ASEngine2.localIP = localhostIP;
            ASEngine2.Start();

5.) Edit or View the Decrpyted Packet at GSEngine_OnDataArrival event
You can do anything you want on packet on this event but just takenote the packetsender(Eg. if the packetsender was fromClient then it should be send toserver and vice versa).
Code:
        private void GSEngine_OnDataArrival(ref byte[] buffer, int bytesize, ProxyGSConn ProConn, string PacketSender)
        {
            switch (PacketSender)
            {
                case "fromClient":                    
                    ProConn.Send(buffer, "toserver"); break;
                case "fromServer":
                    ProConn.Send(buffer, "toclient"); break;
            }

        }
Additionally you need to save the following dll into your root directory.
1.)ManagedOpenSsl.dll
2.)ssleay32.dll
3.)libeay32.dll


I made a packet logger as an example just please check the attachment.

If you find any bugs please don't get mad on me because I am not pro ..
Attached Files
File Type: rar PacketLogger.rar (555.8 KB, 79 views)
File Type: rar library.rar (509.5 KB, 62 views)
xmen01235 is offline  
Thanks
2 Users
Old 08/01/2012, 01:33   #2
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Good job.
Does the packet logger work or just an example?
diedwarrior is offline  
Old 08/01/2012, 06:04   #3
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Quote:
Originally Posted by diedwarrior View Post
Good job.
Does the packet logger work or just an example?
Yes it works bro.
xmen01235 is offline  
Old 08/01/2012, 08:51   #4
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
9958 auth servers doesn't exist anymore?
I don't have a username is offline  
Old 08/01/2012, 09:03   #5
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Quote:
Originally Posted by I don't have a username View Post
9958 auth servers doesn't exist anymore?
You can add that anyway if that still exist. Just define new authentication server with remote and local port at 9958.
xmen01235 is offline  
Old 08/01/2012, 09:12   #6
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Quote:
Originally Posted by xmen01235 View Post
You can add that anyway if that still exist. Just define new authentication server with remote and local port at 9958.
I have no idea if it does, that's why I asked :P But I'm not going to use this at anytime, already got my own proxy (Not for conquer tho.) However I could easily set it up for it. But it's a great share and I'm sure people will find your release useful.
I don't have a username is offline  
Old 08/01/2012, 12:19   #7
 
elite*gold: 0
Join Date: Jul 2012
Posts: 34
Received Thanks: 2
thanks for the packet logger
Mind Fuck is offline  
Old 08/01/2012, 13:48   #8
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Quote:
Originally Posted by Mind **** View Post
thanks for the packet logger
No problem.
xmen01235 is offline  
Old 08/01/2012, 16:32   #9
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
for some reason I get stuck at login.
diedwarrior is offline  
Old 08/01/2012, 18:51   #10
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Quote:
Originally Posted by diedwarrior View Post
for some reason I get stuck at login.
Check if the following dll are in your debug folder.
1.)ManagedOpenSsl.dll
2.)ssleay32.dll
3.)libeay32.dll
xmen01235 is offline  
Old 08/01/2012, 22:55   #11
 
diedwarrior's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 611
Received Thanks: 195
Yep they're.
diedwarrior is offline  
Old 08/02/2012, 08:59   #12
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Quote:
Originally Posted by diedwarrior View Post
Yep they're.
Are you still stuck on the login?
xmen01235 is offline  
Old 08/02/2012, 09:29   #13
 
elite*gold: 0
Join Date: Jan 2012
Posts: 55
Received Thanks: 3
The problem in the login process
ConquerServer is offline  
Old 08/02/2012, 11:55   #14
 
elite*gold: 0
Join Date: Jan 2007
Posts: 118
Received Thanks: 20
Let me check this one tonight.
xmen01235 is offline  
Old 08/02/2012, 12:43   #15
 
elite*gold: 0
Join Date: Jan 2012
Posts: 55
Received Thanks: 3
I need source code XmenProxy.dll adjust the imbalance
ConquerServer is offline  
Reply


Similar Threads Similar Threads
Release Library
06/04/2013 - Maestia - 6 Replies
Here are all the working Releases and Tutorials. Speed Hack: This will increase your movement speed http://www.elitepvpers.com/forum/maestia/1288146- release-maestia-speed-hack-v-1-x86-64-a.html Hackshieldkiller, Bot,...: The bot will level automatically. The Hackshieldbypass will bypass the Hackshield, so you wont get kicked.
Runtime Library
06/06/2012 - Flyff Private Server - 3 Replies
Yo Leute ich will aus fun ein server machen nur für mich auf root aber wenn ich World starte kommt das: http://img5.fotos-hochladen.net/uploads/probrul4m 76ext.png
MSDN Library
01/17/2011 - Flyff Private Server - 4 Replies
Also gut, da ich die Src nicht mehr compiled bekomme, warum auch immer wollt ich fragen ob es wichtig ist das die MSDN Library mitinstalliert worden ist, da ich es bei meiner jetztigen Version nicht hinbekomme diese zu installieren. Permanent kommt die Meldung, Insert Disc 1 ^^ Darum wollt ich fragen ob die Library wichtig sei, und wenn ja ob man diese auch manuell installieren kann. Mfg
Library Files ?
08/06/2008 - Silkroad Online - 2 Replies
Hi, I bought me a new pc and I want to install agbot but the link to the library files on rev6 is dead ? Does anybody have a other link ? I couldn't find it :( thx
.NET 2.0/c# - CO2 Proxy Library
08/12/2006 - CO2 Exploits, Hacks & Tools - 29 Replies
Hi, As I spent a good days work writing this, and I got a lot of help from reading through posts from this forum to get it going I feel I should contribute something back! Maybe some of you could help me expand this code by sharing some your knowledge of the structure of the packets. I will cover the following in this post: 1) What this code does, and how to use it 2) What I know about different packets types (and what I'm assuming, I may be wrong!) 3) What I want to know! If anyone...



All times are GMT +2. The time now is 06:00.


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.