Jonquer (Server-Emulator)

11/07/2009 15:01 ChingChong23#31
Quote:
Originally Posted by danielachraf View Post
Jonquer (Java)
Conquer (C#)
Not quite, one person wrote a server open source in C#, everyone followed (leeches i mean by that) however it seems a bunch of non-leeches have also written several in C#.
11/07/2009 16:57 InfamousNoone#32
Quote:
Originally Posted by ChingChong23 View Post
Not quite, one person wrote a server open source in C#, everyone followed (leeches i mean by that) however it seems a bunch of non-leeches have also written several in C#.
My story (don't both reading if you don't care, lol):
I came from a Delphi (similar to Pascal) background due to my early contact with Ultimation. It was him who first got me into programming teaching me a few things and then the rest I had to learn on my own. I always had the mindset "making a conquer server must be like rocket-science" (I'm sure you understand the expression) so I had never tried it. I think it was after a year of programming in Delphi, I finally manned up and downloaded the early CoEMU source (not the 5095 source everyone uses now). I started looking over the code and converting it to Delphi, surprise surprise; I got logging in done. I felt proud as hell. Eventually, I ran into problems such as memory issues, access violations and so on (things you'd sometimes run into with a native language) and I needed better debugging capabilities (at this time Delphi wasn't the best for debugging, it was awful, I've been told now the more modern IDE for it is much better) so I sought out a new language. I was recruited onto a team of novice coders using C# and working on CoEMU base where I spent several days trying to learn C# (generally I created my own functions in C# resembling functions in Delphi). Eventually as I grasped the hang of things, I started to like C# more than Delphi; not only because of the C-like syntax, but because of the easy debugging capabilities (<3 System.Exception). C# would be the language I'd mainly start coding in and developing things in.

In later days (probably a year after all of that) I started to look into other languages such as C++, VB, Assembly x86, and not but least Java. I saw C++ as a good candidate as something to peruse, not only because so many commercial applications were written in it, but because it resembled in the C# syntax (which I would later learn was derived from C/C++). After emo-quitting the language 3 times due to the compiler not giving me neat-errors when compiling like in C#, I finally gave it one more shot and started to get the hang of that. Essentially, when I became proficient in C++ is when I could pretty much 'master' any language at whim. I looked into VB and learn it ridiculously fast due to it's simplicity, I saw VB to be a stepping stone to work your way up to C#, or C++, not a language to use for commercial applications; but never the less a needed language for those who couldn't grasp programming concepts fast. Prior to VB, or possibly at the same time I found Java (this was durng C# 2.0 -- or the 2005 IDE). It seemed ridiculously similar to C# and I found out why reading into it's roots, the Microsoft vs Sun J++ conflict, and so on. I didn't see an advantage at that time for learning Java, besides it being cross platform (I didn't know about Mono for .NET), but I decided to look into it anyways. The reason I never perused Java, is because I saw no reason with the rise in C# development. Blatantly, in my opinion if you compare the history of Java and C#: C# 1.0 vs Java, Java won definitely. C# 2.0 vs Java, They seemed on fairly even playing ground. C# 3.0 vs Java, C# started to pull a head of Java (LINQ was an amazing feature especially since it was standardized in the language). Finally, if you compare C# 4.0 (BETA) to Java, I'd pick C# hands down without an argument.

/walloftext
11/07/2009 17:18 ChingChong23#33
C# is growing & getting developed a lot better than Java currently is, Java7 is around the corner & should have some performance updates, as well as a couple of other tools.

If this forum's C# servers were all in Java, this server would most likely be in C# now. I wanted something different (as resulting in C# would most likely have made me copy/paste 50% of the code from other servers), as i know both (C# & Java) quite well, i picked Java for something different, and cause i know more familiar with the libraries than .Net.

Talking about VB, i'm sure we've all been there at some stage. Reminds me of my beginner days using VB6 forms when i used to store variables inside invisible textboxes because i didn't know how to dim.

I'm not going to start a debate about which language is faster, or better to use. They are both easily capable of running a CO server under load if done correctly. Give it 2-3 weeks and Jonquer should have the same amount of features (if not more) than the current 2, more popular ones (CoEmu & LOTF)

It's been less than a week and id say we have almost half the server complete. (That's a guess, this is my first time around so things may get harder up ahead)
11/09/2009 13:26 ChingChong23#34
Attacking is getting worked on now (that will take quite a bit of time, and will need good testing at the end)
11/09/2009 22:02 InfamousNoone#35
If you want, feel free to ask; This project actually seems to be going somewhere and your not a raging-retard.
11/10/2009 08:26 ChingChong23#36
Quote:
Originally Posted by InfamousNoone View Post
If you want, feel free to ask; This project actually seems to be going somewhere and your not a raging-retard.
thanks, i'm sure i'll find something that will require your assistance, as you have more experience in this area than me :P
11/16/2009 09:43 ChingChong23#37
After a weeks break, were working on this again. Skills (1 by 1) are being worked on. Attacking PvE works (no weapon skills atm)
11/16/2009 16:54 unknownone#38
Quote:
Originally Posted by ChingChong23 View Post
After a weeks break, were working on this again. Skills (1 by 1) are being worked on. Attacking PvE works (no weapon skills atm)
You shouldn't be doing skills one at a time, but rather, one type at a time. There's a field in MagicType.dat for the type, and to give you a clue, there's only around 30 types, though some aren't even used, or only used for one skill or not. If you implement the type, all skills of the same sort should run off the same code.
11/16/2009 17:05 ChingChong23#39
Quote:
Originally Posted by unknownone View Post
You shouldn't be doing skills one at a time, but rather, one type at a time. There's a field in MagicType.dat for the type, and to give you a clue, there's only around 30 types, though some aren't even used, or only used for one skill or not. If you implement the type, all skills of the same sort should run off the same code.
yeah that's actually what i meant. One thing i'm missing though, is all the skill exp required for different skill levels. I don't have a table of them, didn't see it in the dumped tq database either, so i'm not sure how to obtain that. (unless its in the client-side ini files)
11/16/2009 17:11 unknownone#40
It is listed in the magictype file. It's the field before the level_requirement field, IIRC. Skills are either awarded exp equal to damage or 1 exp per usage (for some weapon skills, or where damage doesn't apply).