[Open Source] Conquer Server C++

05/11/2012 13:25 © Haydz#1
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).

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

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 I don't have a username#2
It's nice to see a lot C++ upcoming things :)!
05/11/2012 20:18 Zeroxelli#3
Quote:
Originally Posted by I don't have a username View Post
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 bone-you#4
Quote:
Originally Posted by Zeroxelli View Post
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 I don't have a username#5
Quote:
Originally Posted by Zeroxelli View Post
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 View Post
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 CptSky#6
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 bone-you#7
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 KraHen#8
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 InfamousNoone#9
To be honest, once you use Visual Studio every IDE sucks balls.
05/12/2012 03:38 bone-you#10
Quote:
Originally Posted by InfamousNoone View Post
To be honest, once you use Visual Studio every IDE sucks balls.
Let me correct that. Once you use Visual Studio with Visual Assist X, every other IDE sucks balls including vanilla VS.

[Only registered and activated users can see links. Click Here To Register...]
05/12/2012 05:05 Zeroxelli#11
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 KraHen#12
With all these C++ projects popping up I really want to do my own now.
05/12/2012 13:59 © Haydz#13
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 KraHen#14
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 © Haydz#15
Quote:
Originally Posted by KraHen View Post
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.