Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 08:06

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

Advertisement



Editing Conquer Server Socket [ creating new client ]

Discussion on Editing Conquer Server Socket [ creating new client ] within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Exclamation Editing Conquer Server Socket [ creating new client ]

Hello Epvp members , as title say i am editing conquer server socket to make it conquer client socket , actually i tried it many times but fails , spent more time on that , well ,, here is my idea..

Server and client each one have 2 sockets... Login Socket , Game Socket

Server socket working very well , but i need to edit it to work with the client , just receiving and sending data , bytes and packets.. and don`t listen for incoming connections ... as i said i spent long time on this i got it worked successfully , but not as i am looking for ...

i want it sending and receiving at same time as Conquer Socket server doing ... i am working on Conquer_Online_Server 5517+ Impulse one ...

here is Socket Files ...


abdeen is offline  
Old 04/20/2014, 13:00   #2

 
GameHackerPM's Avatar
 
elite*gold: 153
Join Date: Mar 2011
Posts: 634
Received Thanks: 489
You want to make an inverse of the socket? From being server to send commands and steps to be client receiving and send the stats?
GameHackerPM is offline  
Thanks
1 User
Old 04/20/2014, 14:03   #3


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
You can not receive data without accepting incoming connections, so obviously you don`t understand the code you are working with. I`d recommend reading this :



After this, please refer to MSDN for .NET sockets, then try to answer your own question.
KraHen is offline  
Thanks
2 Users
Old 04/20/2014, 14:13   #4
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by GameHacker-PM- View Post
You want to make an inverse of the socket? From being server to send commands and steps to be client receiving and send the stats?
hey bro i am not that good at sockets ,, all i need to do is edit the provided socket to make is as a client ... is it hard to this point ? and i don't someone code for me , just help with some points . this server socket is working like this ...

Code:
AsyncSocket ServerSocket = new AsyncSocket(9999); ServerSocket.OnClientConnect += new Action(AuthServer_AnnounceNewConnection); ServerSocket.OnClientReceive += new Action<byte[],>(AuthServer_AnnounceReceive); ServerSocket.OnClientDisconnect += new Action(AuthServer_AnnounceDisconnection);
and as you see the socket in the thread ,,, its just listening and binding ,,, i need it to connect to the specified ip and port ... then receive and send packets same as server socket doing
abdeen is offline  
Old 04/20/2014, 14:18   #5
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by KraHen View Post
You can not receive data without accepting incoming connections, so obviously you don`t understand the code you are working with. I`d recommend reading this :



After this, please refer to MSDN for .NET sockets, then try to answer your own question.
Nice but i first one will be useless at this point as he developing in c#.

good reference anyway.
abdoumatrix is offline  
Thanks
2 Users
Old 04/20/2014, 14:19   #6
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Quote:
Originally Posted by KraHen View Post
You can not receive data without accepting incoming connections, so obviously you don`t understand the code you are working with. I`d recommend reading this :



After this, please refer to MSDN for .NET sockets, then try to answer your own question.
i am already have System.Net.Sockets info and i am working with tcp clients , tcp listeners and socket ... but actually this point stops me.. need some help ... that's all
abdeen is offline  
Old 04/20/2014, 14:21   #7
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by abdeen View Post
hey bro i am not that good at sockets ,, all i need to do is edit the provided socket to make is as a client ... is it hard to this point ? and i don't someone code for me , just help with some points . this server socket is working like this ...

Code:
AsyncSocket ServerSocket = new AsyncSocket(9999); ServerSocket.OnClientConnect += new Action(AuthServer_AnnounceNewConnection); ServerSocket.OnClientReceive += new Action<byte[],>(AuthServer_AnnounceReceive); ServerSocket.OnClientDisconnect += new Action(AuthServer_AnnounceDisconnection);
and as you see the socket in the thread ,,, its just listening and binding ,,, i need it to connect to the specified ip and port ... then receive and send packets same as server socket doing
Learning How Socket work is the best Solution.
that what i gonna do to improve my limeted knowledge about sockets.
abdoumatrix is offline  
Thanks
1 User
Old 04/20/2014, 14:22   #8
 
abdeen's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 475
Received Thanks: 15
Thumbs up

Quote:
Originally Posted by abdoumatrix View Post
Nice but i first one will be useless at this point as he developing in c#.

good reference anyway.
i don't think so ... it's bad ref ..

Quote:
Originally Posted by abdoumatrix View Post
Learning How Socket work is the best Solution.
that what i gonna do to improve my limeted knowledge about sockets.
Well, i wouldnt think its too hard for developers to show me how to edit or convert it to work as client socket to connect, receive and send data from-to server .

i thought it would be something like this ...

for example at AsyncSocket.cs

PHP Code:

public AsyncSocket(string ipushort port)
        {
            if (!
this.enabled)
            {

                
this.port port;
                
this.Connection.Connect(ipport);
                
//and i need to add here some code to make it receive coming data with an socket even just like Co source
            
}
        } 
abdeen is offline  
Old 04/20/2014, 16:55   #9


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by abdeen View Post
i don't think so ... it's bad ref ..
Bad reference because it's not in C# and you don't understand it ?


Quote:
Originally Posted by abdeen View Post
Well, i wouldnt think its too hard for developers to show me how to edit or convert it to work as client socket to connect, receive and send data from-to server .
Hard ? No. But you don't really understand at all the concept of socket and the concept of client/server architecture when it comes to socket. So, maybe trying to understand that before doing anything ? The C# API is well documented. If you know what you're doing, it's easy to do a client socket class.
CptSky is offline  
Thanks
1 User
Old 04/20/2014, 20:00   #10
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
I would post my socket tutorial but unfortunately last time I got 3 infractions
Super Aids is offline  
Thanks
2 Users
Old 04/21/2014, 14:06   #11
 
Yupmoh's Avatar
 
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
Quote:
Originally Posted by Super Aids View Post
I would post my socket tutorial but unfortunately last time I got 3 infractions
Oh yeah, I really liked your tutorial
Yupmoh is offline  
Thanks
1 User
Old 04/21/2014, 23:44   #12


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
I suggest you to lose the concept of C# or any other programming language. Learn the method, understand what you`re doing first, then USE the programming language to IMPLEMENT a solution. You guys seem to be controlled by the language you`re using, not the other way around. It`s like if a hammer factory told you that you can only nail this or that way.
KraHen is offline  
Reply


Similar Threads Similar Threads
Creating your own multiclient for Conquer Private Server
04/23/2013 - CO2 Programming - 2 Replies
Hi there guys, just started playing a private server called Love2Hate. On this server I'm not quite sure if it's just my client but I can only open 1 conquer client at a time, which is obviously problematic for trading items over, having a seller account or a miner account. I've done a bit of research on how to make your own multi-clients for games but I'm not having much success. I've been messing around with Hex Editors and disassemblers but can't quite get it to work. Would really...
[help]argate rate/socket rate/client editing
02/03/2011 - Dekaron Private Server - 15 Replies
Hi i need a little help with argate socket rate and editing client. first of all is how do u change argate and socket rate of server? second is how do u edit the default sx client with server files (like change server name, where u choose server,change background of login page) do u have to unpack the data folder of sx? oh got another last question to change exp and item drop, do u just change the config.ini, because i changed the exp there to 2000.0 but seems like i get 1000x exp :(...
[HELP]Creating tools that editing 5180+ Crypted Server.dat
11/04/2010 - CO2 Private Server - 12 Replies
well i searched alot for changing the new crypted server.dat tool so i can change the server name from storm to Any name i would like also deleting others groups but at last i failed so looking for someone who can create a tool for us to edit that crypted server.dat or letting the conquer.exe reading new server.dat which uncrypted one like what
I'm Editing my Conquer Client
08/01/2007 - Conquer Online 2 - 0 Replies
And I need to find out how to change the little Picture on the right side of my Skill Box. It will only be there if the resolution is 1024x768. Anyone? Also, when you open Conquer. It says Help Enter Exit. How do I change that picture? <hr>Append on Aug 1 2007, 20:21<hr> anyone?



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


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.