Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 13:59

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

Advertisement



inheritance vs composition

Discussion on inheritance vs composition within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 06/18/2013, 12:33   #16
 
elite*gold: 0
Join Date: Mar 2013
Posts: 118
Received Thanks: 95
If you want a good CO related C++ reference, you should just take a look at the Eudemons client/server source code, it's publicly available. Don't think it's allowed to be posted here because of copyrights though
Smaehtin is offline  
Old 06/18/2013, 13:52   #17
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by Smaehtin View Post
If you want a good CO related C++ reference, you should just take a look at the Eudemons client/server source code, it's publicly available. Don't think it's allowed to be posted here because of copyrights though
I think it's already posted in the EO section.
Super Aids is offline  
Old 06/18/2013, 17:55   #18


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by Smaehtin View Post
If you want a good CO related C++ reference, you should just take a look at the Eudemons client/server source code, it's publicly available. Don't think it's allowed to be posted here because of copyrights though
Worth noting that its a good CO source, but the code is awful.
Korvacs is offline  
Old 06/18/2013, 18:12   #19
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by Smaehtin View Post
If you want a good CO related C++ reference, you should just take a look at the Eudemons client/server source code, it's publicly available. Don't think it's allowed to be posted here because of copyrights though
Or this:


And this:
Super Aids is offline  
Old 06/18/2013, 19:21   #20
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
Quote:
Originally Posted by Super Aids View Post
Or this:


And this:
that's what im actually doing still trying to fully understand hybrids, some stuff isn't clear and im so tempted to ask but still trying more on my own XD
go for it is offline  
Old 06/18/2013, 21:02   #21


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
I've nerver really looked at Hybrid converted source, but bone's one isn't a good reference.
CptSky is offline  
Old 06/18/2013, 21:08   #22
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
mine was aimed at just experimenting with managed c++, I wouldn't call it a goof ref' either lol
InfamousNoone is offline  
Old 06/18/2013, 21:11   #23
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by CptSky View Post
I've nerver really looked at Hybrid converted source, but bone's one isn't a good reference.
Thank *** somebody else agrees with me.

If I ever get round to actually furthering my c++ source I may just release it here/make it open source, I don't have the finances or resources to run a server myself.
© Haydz is offline  
Old 06/19/2013, 01:00   #24
 
elite*gold: 0
Join Date: Mar 2013
Posts: 118
Received Thanks: 95
Quote:
Originally Posted by Korvacs View Post
Worth noting that its a good CO source, but the code is awful.
The code is still 1000-3000% better than 99.99999999999998% of anything ever released here on epvp
Smaehtin is offline  
Old 06/19/2013, 01:19   #25


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by © Haydz View Post
Thank god somebody else agrees with me. [...]
Anybody saying that bone's source is good, or fine, is a poor C++ developer.

Quote:
Originally Posted by Smaehtin View Post
The code is still 1000-3000% better than 99.99999999999998% of anything ever released here on epvp
Mhm, I wouldn't say 1000-3000% It's far from being exceptional. TQ's code is fine, and the code is only good as reference.

Quote:
Originally Posted by InfamousNoone View Post
mine was aimed at just experimenting with managed c++, I wouldn't call it a goof ref' either lol
Well, I think there is NO good reference of CO2 source. Plus, if it's Managed-C++, it's kind of unrelated.
CptSky is offline  
Old 06/19/2013, 01:32   #26
 
elite*gold: 0
Join Date: Mar 2013
Posts: 118
Received Thanks: 95
Quote:
Originally Posted by CptSky View Post
Mhm, I wouldn't say 1000-3000% It's far from being exceptional. TQ's code is fine, and the code is only good as reference.
Have you actually downloaded and looked at most of the releases here on epvp? Most, 9/10 at least, of the private servers are ridiculously poorly designed and written. I'm not judging though, designing and coding a private server isn't really a one or two man job.
Smaehtin is offline  
Thanks
1 User
Old 06/19/2013, 01:36   #27
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Quote:
Originally Posted by CptSky View Post
Well, I think there is NO good reference of CO2 source. Plus, if it's Managed-C++, it's kind of unrelated.
The one I referenced was not managed C++, it was native C++ and was a conversion of the 5017 source.
Super Aids is offline  
Old 06/19/2013, 01:51   #28


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by Smaehtin View Post
The code is still 1000-3000% better than 99.99999999999998% of anything ever released here on epvp
Are you kidding? Its good in the sense that its the closest thing to the legit conquer source code available, but have you actually ever tried going through it? Its a pretty awful example of C++, beaten only by Bone's source, and that's saying something.
Korvacs is offline  
Thanks
1 User
Old 06/19/2013, 13:38   #29


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Little example for go for it, from my EoF emulator. It's only the headers and it's not complete, but the general structure of inheritance is there.

No shared method for the moment.

Entity:

AdvancedEntity:

Npc:

Monster:

Player:
CptSky is offline  
Thanks
1 User
Old 06/19/2013, 13:44   #30
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
well umm sorry for interrupting you guys but umm what should i be doing right now when you all insist that the 3 c++ sources out there sucks ?
edit : thanks cptsky i like the way you written those classes, the encapsulation and protected modifiers
edit : was just wondering what you folks mean by it's not good source ? is it the socket/networking or just the whole design ? how far could they be from each others at the sockets , isn't all of them using winsoc or there is some better custom sockets ? please just gimme more details
go for it is offline  
Reply


Similar Threads Similar Threads
+12 Item Composition
04/10/2011 - CO2 Private Server - 17 Replies
Hi there! My problem is that I can compose my items till +9 with stones like +1 +2 +3 +4 +5 and +6 , BUT , I can't use +7 / +8 stones. So it doesn't work to +12 any item , it works only from +1 to +9. What should I add/modify to get it work till +12 with all kind of stones? Thanks. P.S: I can only generate +12 items by command ( /item 14563 12 7 255 13 13 ) If you are a flamer don't comment.
[rel] composition fix for 5165
12/09/2009 - CO2 PServer Guides & Releases - 7 Replies
#request close/delete moved to my multi-rel thread.
Composition Chart to +12 any one?
11/28/2007 - Conquer Online 2 - 4 Replies
Just like to know if anyone has a "Composition Chart" to +12 items thanks :)
Composition Calculator
09/30/2006 - CO2 Exploits, Hacks & Tools - 14 Replies
Ok, so im a newbie using cotobo for a long time with only a couple of posts. Everybody would want to see if this is clean and all so please somebody scan it. Why did i make this? Well, i liked the one posted on TQ board but one of the feature never got finished (subtracting what you current have). You can check here http://shellz2.future-hosting.net/~sony/c ompose.php This program is written VB and this is my second VB program besides (Hello World) so it's quite ugly and very plain. ...



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


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