I know a lot of you out there are a little weary of trying to know C++. It's a challenge and there is no doubt about it. You are constantly worrying about memory management, pointers, and a heap of library headers. While some might think its the bees knees, there are other languages out there that can sustain servers for your liking. You just have to know how to work them.
Therefore, this will be the front for the C# version of the FlyFF Private Server Development. I take no credit whatsoever for the original code. Snaity designed it, DarkMan82 got it to work up to the character server, and now all of you can contribute to it here.
What you should do is familiarize yourselves with C#. Its a great language to start with if you are new the dev scene. Its more about objects and references, plus you have the whole .NET to contend with giving you a lot of functions, classes, and structs.
Also I will be posting some things for the SQL parts dealing with stored procedures designed for the server. Check back here often to see more things to help with development.
And FYI, I am still developing on the C++ server, but for now I want to get another one out there for everybody.
I think its a good idea to push a C# project, because it enables beginners in the area of programming to develop code for an open source server, without worring to much about technical details. (I know the hasle of writing realy good C/C++ code) About the java server, I think its enough to intorduce a C# project, to switch from Java to C# is no big step. (some differents in syntax and a different runtime library, but majority is very similar)
Might do a java server later? Then i'll wait! I've read and compared books of Java, C++ and C# and I recognized Java as a wonderfull and easy as hell language and I do feel much better coding in it than with C++ and/or C# . I hope you're still up to make login/char/ in Java, I would be more than delighted to increase my coding skills, specially Java. :P
ok figured out now so server verification error doesnt come it you connect then disconnect (dont get to server lsit screen) thats where im up to so far btw nice release =D
azntrung if you are fluent enoguh in c++ i would carry on developing on the dragon flyff source it is a lot more complete than this (this needs lots of work on the world/map server) unlike dragon flyff source which has a lot more to build upon
If you're continuing your C# servers, then you should try my newest tool.
It converts C++ header fille definitions into C# constants.
Comes very handy when you need to use flyff header files with C#.
First, you enter the file name of the header file you want to convert, for example, defineAttribute.h
Then, you enter whatever your project's namespace is called, for example, FlyffWorld, and the name of the new class you will be creating, for example, Attributes.
Now you will be asked to enter prefix for the variables, for example, DST_ (to get attributes only)
Lastly, the name/path of the new file that will be created.
After conversion is done, you should open the new file with C# IDE and rewrite the last brace to redesign the file and make it readable.
Edit: fixed a small flaw which crashed the program when trying to convert with no filter set (should be possible now)
I thought I would give a little insight as to some new changes in the C# development. I have been studying a lot of C# servers and I am going to rewrite the files to better suit the program. The original code is there but I think it may be a little outdated or unable to handle high traffic. Therefore a rewrite is in order. This will make it easier to develop and contribute in a way that everyone can understand as best as I can.