|
You last visited: Today at 14:06
Advertisement
[Open Source] Conquer Server C++
Discussion on [Open Source] Conquer Server C++ within the CO2 Private Server forum part of the Conquer Online 2 category.
05/11/2012, 13:25
|
#1
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
[Open Source] Conquer Server C++
So with bone-you's c++ project under way, I wanted to try my hand at programming in c++ with a cross-platform point of view, as primarily I've only targeted windows, and used a lot of windows specific code. However I would like to further my knowledge and I decided to share the experience with all of you.
This project will be completely open source, I'm not entirely sure what version I will aim for right now, probably somewhere in the 5xxx region as zero already has 4xxx covered. I will be utilising MySQL and a host of other various c++ habits I've picked up over the years.
Although I have exams coming up in about 2 weeks which unfortunately means there will be a brief period of no commits from me, anyone who would like to have write permissions and pick up the mantle is welcome.
As an extended note, the project may stagnate or commits become less frequent as many of my projects do, but I plan to see this project through to a significant quantity and quality.
I may possibly stream some code like bone but, I have a tendency to get distracted and start doing silly things, whereas he is quite dedicated to the project and seems to code in rather large blocks of time  (I also have a really poor upload speed of like 0.37 kb/s).

SVN is currently completely empty as I'm starting the solution from scratch.
Edit: August 2012
Quote:
Just to clarify, I had real intentions of seeing this project through but the opportunity to work on a source with Hybrid, Ntl3fty et al arose which unfortunately meant that my time constraints were just too much with my other commitments.
If a day comes were I have the time to work on such a project again, I shall revive this thread and deliver as promised.
|
|
|
|
05/11/2012, 20:16
|
#2
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
It's nice to see a lot C++ upcoming things  !
|
|
|
05/11/2012, 20:18
|
#3
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by I don't have a username
It's nice to see a lot C++ upcoming things  !
|
Yeah, it really is.
@Thread I haven't worked with C++ in quite a while, but maybe, just maybe, I'll help out with this.
EDIT: VC++ is cross platform? I really have no idea. When I think C++, I think Geany/Notepad++ and g++
|
|
|
05/11/2012, 20:53
|
#4
|
elite*gold: 20
Join Date: Mar 2006
Posts: 1,491
Received Thanks: 536
|
Quote:
Originally Posted by Zeroxelli
Yeah, it really is.
@Thread I haven't worked with C++ in quite a while, but maybe, just maybe, I'll help out with this.
EDIT: VC++ is cross platform? I really have no idea. When I think C++, I think Geany/Notepad++ and g++
|
Visual Studio is not cross platform. If you want something for Linux, I personally use NetBeans as it has a similar feel to VS.
|
|
|
05/11/2012, 20:54
|
#5
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by Zeroxelli
Yeah, it really is.
@Thread I haven't worked with C++ in quite a while, but maybe, just maybe, I'll help out with this.
EDIT: VC++ is cross platform? I really have no idea. When I think C++, I think Geany/Notepad++ and g++
|
There is a difference on an IDE and a compiler. Notepad++ etc. is IDE's, VC++ is Microsoft's C++ compiler. It's not cross platform, but your codes can be crossplatform, hence you could go compile it with another C++ compiler, which compiles to ex. Linux. Should probably rephrase what I said, but you should understand it xD
Quote:
Originally Posted by bone-you
Visual Studio is not cross platform. If you want something for Linux, I personally use NetBeans as it has a similar feel to VS.
|
I use Code::Blocks
|
|
|
05/11/2012, 23:03
|
#6
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
|
Visual Studio offers probably the best debugger on the market, so I use VS for C++ and Xcode on Mac OS X. Never coded on any Linux or Unix OS. You can easily make cross-platform program. Plus, as each IDE is designed by the same company of the OS, it offers an ultimate integration of the API of the OS.
|
|
|
05/11/2012, 23:43
|
#7
|
elite*gold: 20
Join Date: Mar 2006
Posts: 1,491
Received Thanks: 536
|
NetBeans (aside from the uber lag browsing the stack and heap variables) has an almost identical debugger to VS (VS purely superior though). It's one of the reasons I like it for Linux dev.. though I much more prefer to code on VS then copy over the code to ensure compilation of Linux functions in intervals.
|
|
|
05/12/2012, 01:15
|
#8
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
CodeBlocks does all that, + has a somewhat nice intellisense-like thing for "standard" APIs such as STL, OpenGL, etc. Also pretty much all of the libraries I have used in the past with it come with support for this feature, which is really nice. Debugging IMO isn`t made harder in it than necessary either, also with plugins you can squeeze out A LOT from it (by "it" I mean either the IDE, or the debugger, or anything really).
|
|
|
05/12/2012, 01:41
|
#9
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
To be honest, once you use Visual Studio every IDE sucks *****.
|
|
|
05/12/2012, 03:38
|
#10
|
elite*gold: 20
Join Date: Mar 2006
Posts: 1,491
Received Thanks: 536
|
Quote:
Originally Posted by InfamousNoone
To be honest, once you use Visual Studio every IDE sucks *****.
|
Let me correct that. Once you use Visual Studio with Visual Assist X, every other IDE sucks ***** including vanilla VS.
|
|
|
05/12/2012, 05:05
|
#11
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
I should have wrote that out differently. When I think VC++, I think C++ using the Windows API or .NET Framework. I've never even thought about using VS to write code for other operating systems, to be honest.
@bone-you Thanks for the link, I like the syntax highlighting a tad better.
|
|
|
05/12/2012, 12:49
|
#12
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
With all these C++ projects popping up I really want to do my own now.
|
|
|
05/12/2012, 13:59
|
#13
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
As a side note, I'd like to point out that I'll probably be using boost and maybe some other external libraries. Purely because my cross-platform experience is NULL (hah, get that?). Therefore I figure if I use boost, 80% of the work is done for me  .
|
|
|
05/12/2012, 14:04
|
#14
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
You could use boost::asio for networking purposes if you`re going to use boost, as far as I understand for UNIX it uses /dev/poll/ and for Win it uses IOCP.
|
|
|
05/12/2012, 14:19
|
#15
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Quote:
Originally Posted by KraHen
You could use boost::asio for networking purposes if you`re going to use boost, as far as I understand for UNIX it uses /dev/poll/ and for Win it uses IOCP.
|
Yeah I've used asio before, it pretty much uses the best socket system available to whatever operating system your running so, I'll most definitely be using it again.
|
|
|
 |
|
Similar Threads
|
hi all any one have Source zo for open VB C# For example Conquer
08/10/2011 - Zero - 1 Replies
plase all tall me any one
|
Conquer Open Source Project
01/19/2011 - CO2 Private Server - 101 Replies
Ok so, as a few of you know ive been working on an open source project for a little while with the intention of having a number of people contribute to it, this hasnt happened for whatever reason so i figured i would try and get different people involved.
This project is to create a base which will work for any client version, be secure, reliable and maintainable. Currently the base is setup to work with a standard 4267 client, and any number of people can login, your character is defined by...
|
WTB Conquer P Server Source
09/01/2010 - Conquer Online 2 Trading - 0 Replies
Ok so i wanna buy a CO Private Server Source made from scratch.
5165+
Ini or SQL based (No binary files)
Compatible with x64 and x86 ; Vista and Windows 7.
So i want a server with all the basic stuff done - Chat, Guilds, teams, GW, NPCs, Mobs, Spawns, Portals, DMaps, Correct DMG Calc, All Skills, Lotto, Dis City etc.
|
[Open-Source] Virtual Conquer
08/03/2010 - CO2 PServer Guides & Releases - 70 Replies
#DETELED: I lost interested in keeping this updated. I am sorry for those I have just disappointed. I do request not to share or re-release this any more, so please don't do this. You can keep this as a learning resource if you like, I will not send it to anyone else any more. Except for people I know can work on it, and I know will either study it, or help me with it. *Moderators, please do not remove this immediately, I want to give everyone a chance to read this.
Virtual Conquer
The...
|
All times are GMT +1. The time now is 14:07.
|
|