Thread: RuneSource 317

Page 6 of 32 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 319
  1. #51  
    Registered Member
    Sanity's Avatar
    Join Date
    Dec 2008
    Posts
    2,062
    Thanks given
    22
    Thanks received
    362
    Rep Power
    762
    Quote Originally Posted by blakeman8192 View Post
    I didn't even expect it to perform this well. After talking with super_ about it, he and I came to the conclusion that it's this fast because there is no abstraction and it's incredibly built-for-purpose and simple. All of these fast frameworks have tons of object orientation and abstraction while RuneSource is straight to the point.
    Thanks for clearing that up, because the other person who replied saying there was no hope for me (lol). I'm just curious how this differs from something like shard (which is winterlove with nio basically). Of course shard has more things implemented and takes a more OOP approach, but yeah. I guess another major difference is that this using 1 thread for everything whereas shard uses multiple. Also, why in your visualVM picture you posted does it say you have 11 threads running when you said yourself it's single threaded?

    Appreciate the answers
    Reply With Quote  
     

  2. #52  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    660
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Sanity View Post
    Thanks for clearing that up, because the other person who replied saying there was no hope for me (lol). I'm just curious how this differs from something like shard (which is winterlove with nio basically). Of course shard has more things implemented and takes a more OOP approach, but yeah. I guess another major difference is that this using 1 thread for everything whereas shard uses multiple. Also, why in your visualVM picture you posted does it say you have 11 threads running when you said yourself it's single threaded?

    Appreciate the answers
    Some of those cannot be controlled, they're created by the JVM I think anyway:


    After naming the only thread created you can see from the following picture the others are created by the JVM:


    Code:
    new Thread(getSingleton(), "Main Server Thread").start();
    Reply With Quote  
     

  3. Thankful user:


  4. #53  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    28
    Posts
    2,010
    Thanks given
    802
    Thanks received
    1,357
    Rep Power
    286
    Quote Originally Posted by F0rn View Post
    I'm also curious about this. You said yourself this doesn't scale linearly.
    By that, I mean the implementation of player updating. In RuneScape, player updating must maintain a list of "local" players. Currently in RuneSource (and most other standard run-of-the-mill servers) how we maintain that list is that we loop through all of the players (for each player) and run a distance check on each cycle. Looping through all the players for every player is an O(n^2) operation which scales quadratically instead of linearly. I've been thinking of using a tile/region system instead of looping for RuneSource but that would introduce complication that I'm not sure is worth it (remember that the idea of RuneSource is to keep it as simple as possible).
    rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootnecklad
    Reply With Quote  
     

  5. #54  
    Registered Member
    Polaroid's Avatar
    Join Date
    Jul 2009
    Posts
    936
    Thanks given
    1,088
    Thanks received
    63
    Rep Power
    94
    I intend of being the master of this source when it's released

    I shall not work on anything till this is released

    gj
    Reply With Quote  
     

  6. #55  
    Registered Member
    Join Date
    Nov 2010
    Posts
    262
    Thanks given
    9
    Thanks received
    17
    Rep Power
    15
    Quote Originally Posted by blakeman8192 View Post
    By that, I mean the implementation of player updating. In RuneScape, player updating must maintain a list of "local" players. Currently in RuneSource (and most other standard run-of-the-mill servers) how we maintain that list is that we loop through all of the players (for each player) and run a distance check on each cycle. Looping through all the players for every player is an O(n^2) operation which scales quadratically instead of linearly. I've been thinking of using a tile/region system instead of looping for RuneSource but that would introduce complication that I'm not sure is worth it (remember that the idea of RuneSource is to keep it as simple as possible).
    Okay, thanks for the answer Just wanted to make sure no memory is wasted on big scale.


    Quote Originally Posted by Bill_ View Post
    I intend of being the master of this source when it's released

    I shall not work on anything till this is released

    gj
    Grab the SVN version and begin? You could begin development already of dialouges and stuff in that direction.
    Reply With Quote  
     

  7. #56  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    28
    Posts
    2,010
    Thanks given
    802
    Thanks received
    1,357
    Rep Power
    286
    Multiplayer updating now works.
    rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootnecklad
    Reply With Quote  
     

  8. #57  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    Not in support of doing "winterlove style code" (as its basically giving the lazy people what they want, a better source with no effort required), but good luck nonetheless. .

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  9. #58  
    Banned

    Join Date
    Aug 2008
    Posts
    1,885
    Thanks given
    56
    Thanks received
    102
    Rep Power
    0
    Looking good , keep it up duuuude
    Reply With Quote  
     

  10. #59  
    Banned
    Join Date
    Sep 2010
    Posts
    297
    Thanks given
    28
    Thanks received
    64
    Rep Power
    0
    Why would you bother using I/O... ?
    Reply With Quote  
     

  11. #60  
    Chemist

    Advocatus's Avatar
    Join Date
    Dec 2009
    Age
    28
    Posts
    2,549
    Thanks given
    192
    Thanks received
    761
    Discord
    View profile
    Rep Power
    1332
    Quote Originally Posted by Warped Reality View Post
    Why would you bother using I/O... ?
    He is using New IO (nio) though, so its all good.
    Quote Originally Posted by blakeman8192 View Post
    Quitting is the only true failure.
    Reply With Quote  
     

Page 6 of 32 FirstFirst ... 4567816 ... LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Need a decent 317 source and client.
    By Purple Pvm in forum Requests
    Replies: 5
    Last Post: 03-05-2014, 11:59 AM
  2. [RuneSource]: How to compile and run Azure 317
    By blakeman8192 in forum Tutorials
    Replies: 14
    Last Post: 12-17-2011, 07:53 PM
  3. Reflections #317 - Based on RuneSource
    By DestriX in forum Downloads
    Replies: 28
    Last Post: 11-20-2011, 08:26 PM
  4. RuneSource 317
    By Republican in forum Projects
    Replies: 19
    Last Post: 04-07-2011, 03:58 AM
  5. Replies: 15
    Last Post: 04-02-2011, 10:30 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •