[DEV] Open FlyFF in C#

Results 1 to 23 of 23
  1. #1
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    [DEV] Open FlyFF in C#

    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.

    So here is a little something to get you started.

    The Source in C# http://www.mediafire.com/?xnximyt9ot1

    You need to get .NET Framework. You can get it from Microsoft here. 2.0 is good enough but usually installing C# is easier as it installs it for you.

    Some tutorials I have found to be very useful to newcomers

    Intro to C# can be found here. http://www.csharp-station.com/Tutorial.aspx

    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 might do a java server later.


  2. #2
    Account Upgraded | Title Enabled! Imortal is offline
    MemberRank
    Aug 2006 Join Date
    EverywhereLocation
    293Posts

    Re: [DEV] Open FlyFF in C#

    Looking forward to it. I first started learning C# and moved on to C++ and noticed that C# is definately easier to code in.

  3. #3
    Apprentice KumaT is offline
    MemberRank
    Aug 2008 Join Date
    14Posts

    Re: [DEV] Open FlyFF in C#

    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)

  4. #4
    Account Upgraded | Title Enabled! x103strike is offline
    MemberRank
    Sep 2008 Join Date
    EarthLocation
    993Posts

    Re: [DEV] Open FlyFF in C#

    Ohh I dont know C++ then there is another C# what is better I'm already confused what to use

  5. #5
    Account Upgraded | Title Enabled! Imortal is offline
    MemberRank
    Aug 2006 Join Date
    EverywhereLocation
    293Posts

    Re: [DEV] Open FlyFF in C#

    C# is easier to use, c++ is more efficient. i think

  6. #6
    Alpha Member Masius is offline
    MemberRank
    Dec 2007 Join Date
    1,580Posts

    Re: [DEV] Open FlyFF in C#

    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

  7. #7
    3D Dev heathj is offline
    MemberRank
    Sep 2008 Join Date
    UKLocation
    497Posts

    Re: [DEV] Open FlyFF in C#

    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

  8. #8
    Account Upgraded | Title Enabled! MuTrex is offline
    MemberRank
    Jul 2007 Join Date
    227Posts

    Re: [DEV] Open FlyFF in C#

    thank Man :) Respect thanks to you i started learn c++ and now c#

    yesterday i learn the basics and its very simple i think 1 2 month of learning c# i will start to make my own server files

  9. #9
    Account Upgraded | Title Enabled! Shinija is offline
    MemberRank
    Oct 2007 Join Date
    UKLocation
    684Posts

    Re: [DEV] Open FlyFF in C#

    Wonder if i should carry on with the DragonFlyff Source or Develop this source

  10. #10
    Apprentice Strik0r is offline
    MemberRank
    May 2007 Join Date
    13Posts

    Re: [DEV] Open FlyFF in C#

    Can't download, the download doesn't response.

  11. #11
    Apprentice Retarded is offline
    MemberRank
    Sep 2008 Join Date
    Land of the vikingsLocation
    10Posts

    Re: [DEV] Open FlyFF in C#

    w3w ^^
    Last edited by Retarded; 23-03-12 at 09:44 PM.

  12. #12
    3D Dev heathj is offline
    MemberRank
    Sep 2008 Join Date
    UKLocation
    497Posts

    Re: [DEV] Open FlyFF in C#

    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

  13. #13
    Account Upgraded | Title Enabled! adidishen is offline
    MemberRank
    Jan 2007 Join Date
    EarthLocation
    516Posts

    Re: [DEV] Open FlyFF in C#

    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)
    Attached Files Attached Files

  14. #14
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: [DEV] Open FlyFF in C#

    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.

  15. #15
    3D Dev heathj is offline
    MemberRank
    Sep 2008 Join Date
    UKLocation
    497Posts

    Re: [DEV] Open FlyFF in C#

    niceone glaphan you seem to be becoming somewhat of a coder king =P

  16. #16
    Apprentice brodi816 is offline
    MemberRank
    Aug 2008 Join Date
    7Posts

    Re: [DEV] Open FlyFF in C#

    thank you so much for the source know i can use my language of c# to make a server. no C++ needed

  17. #17
    Apprentice brodi816 is offline
    MemberRank
    Aug 2008 Join Date
    7Posts

    Re: [DEV] Open FlyFF in C#

    when i try to login i get a error and the login server crashes.

  18. #18
    Proficient Member Nbja is offline
    MemberRank
    Sep 2008 Join Date
    Near you >:DLocation
    182Posts

    Re: [DEV] Open FlyFF in C#

    There are still errors in this brodi.

    You need to fix them ;)

  19. #19
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: [DEV] Open FlyFF in C#

    OK. Here is a small update. The Login Server is done. After testing for a few hours I am confident it is ready to go and will be moving on to the character server.

    And to those waiting for a rewrite, it might be pushed back until the whole process is complete. meaning that the servers come first and then it will get a rewrite. Its a little hard to test a large scale server with only myself. I will be releasing the servers when they are all done along with the source because that is the rule of open source.

    Later.

  20. #20
    Member Turion123456 is offline
    MemberRank
    Aug 2008 Join Date
    62Posts

    Re: [DEV] Open FlyFF in C#

    hey thanks , i have convert it to Vb.net ^^

  21. #21
    Member FlyForFree is offline
    MemberRank
    Oct 2008 Join Date
    GermanyLocation
    62Posts

    Re: [DEV] Open FlyFF in C#

    vb.net ?
    I think it

  22. #22
    Account Upgraded | Title Enabled! BBim is offline
    MemberRank
    Sep 2008 Join Date
    127.0.0.1Location
    1,110Posts

    Re: [DEV] Open FlyFF in C#

    [QUOTE=FlyForFree;4593021]vb.net ?
    I think it

  23. #23
    Member FlyForFree is offline
    MemberRank
    Oct 2008 Join Date
    GermanyLocation
    62Posts

    Re: [DEV] Open FlyFF in C#

    Mhh...ok thanks for the fast answer.
    btw,i can vb and i think vb and c# has not so much differents.
    well , i learn c# from now on ;)
    ~Dardan



Advertisement