Thread: [317] OpenRS NIO Framework. DEVELOPMENT and DISCUSSION thread. Not a project thread!

Page 1 of 6 123 ... LastLast
Results 1 to 10 of 59
  1. #1 [317] OpenRS NIO Framework. DEVELOPMENT and DISCUSSION thread. Not a project thread! 
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    31
    Posts
    2,012
    Thanks given
    818
    Thanks received
    1,361
    Rep Power
    329
    Note to moderators: This is a development and discussion thread, I am not posting a server that is being advertised or anything. This thread is here for the community to discuss and help me plan OpenRS. Please do not move this to the Projects section, as it will just get flooded by people starting 3-day projects from existing sources. Thanks

    Hello, I am developing a new scratch 317 framework (solo project) called OpenRS.

    After the core has been finished, I may start recruiting people to join the team programming it - not sure yet.
    I have been studying the 317 protocol, and I'm confident I can get far.

    This is the development/discussion thread for OpenRS - post your ideas, suggestions, opinions, etc.

    It is an open source project, and is being released as it is being developed via SVN.
    SVN: http://subversion.assembla.com/svn/openrs
    Current revision: 34

    Development Log
    Quote Originally Posted by Defqon
    DONE:
    * NIO Demultiplexing thread complete: Demultiplexes network events and sends them to the dispatcher.
    * NIO Dispatching class complete: Dispatches demultiplexed events to a cached thread pool.
    * NIO Event Handler: Handles networking events - the actual accepting, reading, and writing.
    * Pulsing engine: Every 600ms, and will dynamically time itself to compensate for the time taken on last pulse.
    * Login complete: Done through a codec system.
    * Huge engine concurrency problems fixed: Hashtables and synchronized HashMaps weren't doing the trick - Now using java.util.concurrent.locks.ReentrantLock and java.util.concurrent.locks.ReentrantReadWriteLock for synchronization of the data structures.
    * XML Configuration: A small configuration file (config.xml) that allows a huge amount of control over the performance of the framework. Allows people to tweak and fine-tune OpenRS.
    * Some more concurrency fixes: It was being a bit picky, but I finally ironed out all concurrency errors.
    * Player class: The main Player class is set-up, but I still need to implement an attribute and appearance system.
    * Packet parsing complete: After a few tries, I finally got the packet parsing system in-order.
    * Packet handling complete: Using a mapped packet interface, incoming packets are now handled in their respective handlers.

    TODO:
    * Player updating
    rest in peace Qemist, Izzy, Colton, TeChNo PuNk, Impulser, & bootnecklad
     

  2. #2  
    Shelton
    Guest
    Moderators. What are ya going to do . As always, good luck storm.
     

  3. #3  
    Renown Programmer
    veer's Avatar
    Join Date
    Nov 2007
    Posts
    3,746
    Thanks given
    354
    Thanks received
    1,370
    Rep Power
    3032
    noob failure gtfo
     

  4. #4  
    AngelScape

    Join Date
    Oct 2008
    Posts
    457
    Thanks given
    0
    Thanks received
    7
    Rep Power
    0
    thnk you.
     

  5. #5  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    If this is development, isn't it technically a project?
    Attached image
     

  6. #6  
    Registered Member

    Join Date
    Jun 2007
    Posts
    2,237
    Thanks given
    267
    Thanks received
    411
    Rep Power
    1283
    Why use nio events? Shouldn't java.util.Timer be sufficient
    Don't worry, Be happy.
     

  7. #7  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    31
    Posts
    2,012
    Thanks given
    818
    Thanks received
    1,361
    Rep Power
    329
    Quote Originally Posted by Daniel View Post
    Why use nio events? Shouldn't java.util.Timer be sufficient
    Do you have any idea of what you're talking about? I'm using a cached thread pool for the event handling system.

    Quote Originally Posted by Galkon View Post
    If this is development, isn't it technically a project?
    No, its for discussion and suggestions/etc. just like someone would post "what area should I pick for my server?" - this is like "what design pattern should I use for my framework?"
    rest in peace Qemist, Izzy, Colton, TeChNo PuNk, Impulser, & bootnecklad
     

  8. #8  
    Ganza
    Guest
    Quote Originally Posted by Daniel View Post
    Why use nio events? Shouldn't java.util.Timer be sufficient
    http://today.java.net/cs/user/print/a/350
    And
    http://weblogs.java.net/blog/jfarcan...d_tips_10.html

    Get reading.

    I have a vested interest in your framework's development. Let me know if I can be of any assistance.
     

  9. #9  
    Registered Member

    Join Date
    Jun 2007
    Posts
    2,237
    Thanks given
    267
    Thanks received
    411
    Rep Power
    1283
    Quote Originally Posted by Defqon View Post
    Do you have any idea of what you're talking about? I'm using a cached thread pool for the event handling system.



    No, its for discussion and suggestions/etc. just like someone would post "what area should I pick for my server?" - this is like "what design pattern should I use for my framework?"
    * NIO Event Handler
    Thats what i'm talking about
    Don't worry, Be happy.
     

  10. #10  
    Retired. Stop PMing me.


    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    17
    Posts
    7,526
    Thanks given
    1,805
    Thanks received
    2,830
    Rep Power
    5000
    Alright, then this post shall stay here.

    And everybody, keep the flame down. No trolling either.
    Attached image
     

Page 1 of 6 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •