Best structured source

10/25/2016 23:17 legend9944#1
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 Xio.#2
None.
10/26/2016 15:36 Super Aids#3
[Only registered and activated users can see links. Click Here To Register...]
10/26/2016 19:14 Spirited#4
Quote:
Originally Posted by Super Aids View Post
[Only registered and activated users can see links. Click Here To Register...]
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 View Post
[Only registered and activated users can see links. Click Here To Register...]

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 Best Coder 2014#5
[Only registered and activated users can see links. Click Here To Register...]

LOL

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


Edit:
Quote:
Originally Posted by Spirited View Post
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 :o.
10/26/2016 20:38 Spirited#6
Quote:
Originally Posted by Best Coder 2014 View Post
No no, I just deleted my post to include the picture above :o.
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 turk55#7
Ready?!
[Only registered and activated users can see links. Click Here To Register...]
10/26/2016 23:32 legend9944#8
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 turk55#9
[Only registered and activated users can see links. Click Here To Register...]
Creds to CptSky
10/27/2016 00:10 Spirited#10
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 KraHen#11
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 _Emme_#12
[Only registered and activated users can see links. Click Here To Register...]
10/27/2016 17:22 Spirited#13
The QT version of COPS is nice, yes. I'd recommend that version as well.

Quote:
Originally Posted by Super Aids View Post
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 legend9944#14
Quote:
Originally Posted by Spirited View Post
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 Super Aids#15
Quote:
Originally Posted by Spirited View Post
Sure. Wait, how can you keep calling my work garbage
Go stands for "Garbage Obviously"

Quote:
Originally Posted by Spirited View Post
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 View Post
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. :rolleyes:

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