|
You last visited: Today at 05:54
Advertisement
Best structured source
Discussion on Best structured source within the CO2 Private Server forum part of the Conquer Online 2 category.
10/25/2016, 23:17
|
#1
|
elite*gold: 0
Join Date: Jul 2011
Posts: 10
Received Thanks: 1
|
Best structured source
Hey guys,
It's been a while since I had some spare time and now I finally have it once again. I'm planning to create a server based on the following default features:
- Max lvl 130; (maybe 137)
- Max 2 reborns;
- CPs;
- Warrior, Archer, Trojan, Taoist. (No other classes)
- Max +12 items.
Apart from that, I will write alot of custom features. For now I'm just trying figure out which release fits those descriptions and which patch is suited for it. (Been a long time for me since I did anything related to CO).
Now that I've graduated from my school (Game Technology) I want to start on a well structured source, rather than rewriting everything because of the lack of programming knowledge by the creator.
Which source atleast follows code conventions throughout the whole source, or even better applied actual design patterns into the code?
Looking forward to your insights.
Kind regards,
Blaze
|
|
|
10/26/2016, 15:01
|
#2
|
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
|
None.
|
|
|
10/26/2016, 15:36
|
#3
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
|
|
|
10/26/2016, 19:14
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by Super Aids
|
Far from well structured... I'd say "none" as well. If you want a well-structured source, you'll have to do it yourself. Nothing I've seen that's public meets your requirements.
Quote:
Originally Posted by Best Coder 2014
LOL
|
Not well structured either, but it's a good base for anyone interested in GoLang.
Anyone is free to use it, that's why it's there.
Also, quoted since you deleted the post.  Thanks for the promotion.
|
|
|
10/26/2016, 20:11
|
#5
|
elite*gold: 0
Join Date: Jul 2014
Posts: 402
Received Thanks: 540
|
LOL
Edit:
Quote:
Originally Posted by Spirited
Not well structured either, but it's a good base for anyone interested in GoLang.
Anyone is free to use it, that's why it's there.
Also, quoted since you deleted the post.  Thanks for the promotion.
|
No no, I just deleted my post to include the picture above  .
|
|
|
10/26/2016, 20:38
|
#6
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by Best Coder 2014
No no, I just deleted my post to include the picture above  .
|
Well, alright. I mean, I get that you want to make fun of Go, but I didn't use it because it's a perfect language - I used it to quickly solve a problem that other languages I tried couldn't solve as elegantly. And you're free to argue languages there, but I didn't choose it for a ton of language features and doesn't mean I won't change languages again down the road. It's just what I used at the time and for my current project. Negative or not, I wouldn't have even mentioned my project or Go if you didn't, so thanks I suppose. It's just more promotion for what I do here.
On-topic: GoConquer doesn't meet the OP's requirements, so why are you suggesting it?
|
|
|
10/26/2016, 23:29
|
#7
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|
Ready?!
|
|
|
10/26/2016, 23:32
|
#8
|
elite*gold: 0
Join Date: Jul 2011
Posts: 10
Received Thanks: 1
|
Alot of responses in a short time. Thanks for the info guys!
It seems I just have to pick one and rewrite alot. It's what I expected already, but wanted to be sure before I do alot of unnecessary work.
Although I'm not certain which source comes closest to my 'base goals'. (no ninja etc). If I recall that would be 5065 right? I did saw the redux release from pro4never and as I read it, it should be bugless. I also looked into his code and the amounts of comments is at a bare minimum.
Some pros are his constants class to prevent 'magic values', the folder structure and especially the MySQL integration.
Thanks again for your insights.
|
|
|
10/26/2016, 23:32
|
#9
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 705
|

Creds to CptSky
|
|
|
10/27/2016, 00:10
|
#10
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
If you're prepared to rewrite things, I would recommend Redux. It's definitely not the best, but it does retain some structure and organization. You'll need to rewrite some of the algorithms for monster AI and attacks, but it could be a decent start. If it targets the patch you want already - I say go for it. What languages are you comfortable with?
|
|
|
10/27/2016, 09:47
|
#11
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
COPS is as close as you can get to what you want, I recommend it as well, especially the C++ version.
|
|
|
10/27/2016, 16:00
|
#12
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
|
|
|
10/27/2016, 17:22
|
#13
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
The QT version of COPS is nice, yes. I'd recommend that version as well.
Quote:
Originally Posted by Super Aids
Redux is terribly structured.
Promotion of garbage.
|
Sure. Wait, how can you keep calling my work garbage when your recommended source has nine layers of abstraction on the player class alone and custom projects that don't even compile? It's none of my business to fixate on your public work, so why are you making it your business to fixate on my private work?
|
|
|
10/27/2016, 19:22
|
#14
|
elite*gold: 0
Join Date: Jul 2011
Posts: 10
Received Thanks: 1
|
Quote:
Originally Posted by Spirited
If you're prepared to rewrite things, I would recommend Redux. It's definitely not the best, but it does retain some structure and organization. You'll need to rewrite some of the algorithms for monster AI and attacks, but it could be a decent start. If it targets the patch you want already - I say go for it. What languages are you comfortable with?
|
Yeah I'm prepared to rewrite, just hoped I wouldn't have to.
I'm familiar (in order of most-least knowledge) with the languages:
- PHP / MySQL / HTML / JS
- Java
- C# (Mostly used it for Unity, though)
- C++
- C
|
|
|
10/28/2016, 07:52
|
#15
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by Spirited
Sure. Wait, how can you keep calling my work garbage
|
Go stands for "Garbage Obviously"
Quote:
Originally Posted by Spirited
when your recommended source has nine layers of abstraction on the player class alone
|
Actually it's only Player -> AttackableEntity -> Entity -> MapObject, but sorry I forgot that any code that's abstracted and put in a way that doesn't require stupid edge cases everywhere, because every god damn edge case is already handled is "bad code" for you; on the contrary I believe the few people I know who actually uses the source will disagree with you, considering they can easily implement features because it requires minimum writing of something since the abstraction gives you pretty much everything you need. Oh and also my source doesn't suffer the thousands of line class syndrome.
Quote:
Originally Posted by Spirited
and custom projects that don't even compile? It's none of my business to fixate on your public work, so why are you making it your business to fixate on my private work?
|
That you're too retarded to compile it, ain't my damn problem LOL.
Let me quote my source.
developer notes.txt
Quote:
I do not give a flying fuck about what you use this project for or what interest you have in it.
Do not bother me with any questions about it. Whatever the fuck you can find about it is what you'll get.
Can't set it up? Too fucking bad, maybe you don't fucking need to.
If you aren't a dumb ass dick, then maybe I'll help you.
If you're a retard and wants to get help to implement shit or want me to do shit for you, then
you can either pay me or get the fuck off and get fucked by a goat.
- Bauss
|
|
|
|
 |
|
Similar Threads
|
DART -Structured Web Programming
10/12/2011 - General Coding - 0 Replies
DART
Structured Web Programming
Falls ihr es nicht mitbekommen habt, so wurde heute eine neue Programmiersprache veröffentlicht: DART. Der Entwickler ist niemand anderes als Google. Ich dachte mir es ist deshlab einen Post wert, da es eine Alternative zu JavaScript bieten könnte. Dieses hat ja bereits sehr lange ein Monopolstellung in der Webumgebung, neben HTML und CSS. Dart soll eine Webprogrammierung schaffen, die gleichermaßen strukturiert wie flexibel ist. Das ganze kann direkt im...
|
DART -Structured Web Programming
10/11/2011 - Main - 0 Replies
DART
Structured Web Programming
Falls ihr es nicht mitbekommen habt, so wurde heute eine neue Programmiersprache veröffentlicht: DART. Der Entwickler ist niemand anderes als Google. Ich dachte mir es ist deshlab einen Post wert, da es eine Alternative zu JavaScript bieten könnte. Dieses hat ja bereits sehr lange ein Monopolstellung in der Webumgebung, neben HTML und CSS. Dart soll eine Webprogrammierung schaffen, die gleichermaßen strukturiert wie flexibel ist. Das ganze kann direkt im...
|
[WTS] Steam ACC - Counter Strike Source, Day of Defeat: Source und Half-Life 2: Death
12/12/2010 - Counter-Strike Trading - 1 Replies
Delete.
|
[Release]How To Make Tq Source Work + Working Source + Server ByBass + Commands
12/08/2008 - CO2 PServer Guides & Releases - 15 Replies
1: How To Make The Server Work
In fact, before other people did not just let ACC now with hi EACC Columbia landing on the settlement of the issue, and the rest is our own how to improve the content of those interested can improve the next. MY MY set and the same. INI MAP INI files and MAP with the client-to-date coverage of the account. server.dat ! And then as long as the client will be able to modify server.dat!
127.0.0.1 192.168.0.1 192.168.1.1 IP。 Please do generally use...
|
All times are GMT +1. The time now is 05:55.
|
|