Thread: [637] Rewrite from Scratch - Solo.

Page 4 of 23 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 225
  1. #31  
    Registered Member Atrium's Avatar
    Join Date
    Apr 2013
    Posts
    295
    Thanks given
    43
    Thanks received
    41
    Rep Power
    0
    Updates are looking great overall, extremely impressed!
    Reply With Quote  
     

  2. Thankful user:


  3. #32  
    Registered Member
    Join Date
    Oct 2012
    Posts
    1,281
    Thanks given
    331
    Thanks received
    257
    Rep Power
    69
    Quote Originally Posted by Atrium View Post
    Updates are looking great overall, extremely impressed!
    Thanks, it means a lot to us c:
    I'm working on: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #33  
    Registered Member
    Join Date
    Oct 2012
    Posts
    1,281
    Thanks given
    331
    Thanks received
    257
    Rep Power
    69
    Quick bump and short update of what's happening:

    ATM I'm working on clans which are now handled as being a module, which is a more practical way to handle them when the server need them. The buttons and configs and what else have been identified and very basic features are coded which makes them sorta 'functional'.
    Dirk has again delivered some awesome work; ranging from a command to reload modules ingame, to combat improvements and login features. (a more detailed post will follow)

    Other than that, development might slow down a bit since we are both back @ parties, uhh.. I mean university .
    I'm working on: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #34  
    Registered Member

    Join Date
    Feb 2011
    Posts
    1,143
    Thanks given
    544
    Thanks received
    108
    Rep Power
    87
    Quote Originally Posted by Electra View Post
    Quick bump and short update of what's happening:

    ATM I'm working on clans which are now handled as being a module, which is a more practical way to handle them when the server need them. The buttons and configs and what else have been identified and very basic features are coded which makes them sorta 'functional'.
    Dirk has again delivered some awesome work; ranging from a command to reload modules ingame, to combat improvements and login features. (a more detailed post will follow)

    Other than that, development might slow down a bit since we are both back @ parties, uhh.. I mean university .
    as sig says pls donate blood. i would like some java god blood to inject into my veins jk. In all seriousness this looks great and have fun "learning".

    Reply With Quote  
     

  6. Thankful users:


  7. #35  
    Registered Member netherfoam's Avatar
    Join Date
    May 2013
    Posts
    149
    Thanks given
    62
    Thanks received
    88
    Rep Power
    46
    Some pretty neat changes this time, but first of all I'm thinking of doing a public demonstration (Renting a server, hosting the software with some AI Players) this weekend. It's a publicity stunt, and the server will go offline after the weekend (Possibly the week) since it's a demonstration of what we've done.

    "Update Masks"
    These are now sent at a configurable rate (Eg, 30ms, 600ms, 50ms). The lower values make the server appear to respond faster to the user, because the update is sent sooner. This makes the server seem really fast and is an absolute delight.

    "FastTickable"
    Ordinary RuneScape tick systems are done by queuing requests and processing them every 600ms. This system, which does not conflict with the old system, will process requests immediately with a 600ms cooldown. So you can't spam click people to deal more hits, but you can click something and immediately have it take effect instead of waiting an average of 300ms!

    "Usage Tracking"
    I now keep track of the time that the ServerThread (Eg the primary one that controls the world) spends idling. Nice to know if lag is being caused!

    AStar pathfinding improved
    Much improvement, pathfinding now takes a rectangle using the start and finish locations as coordinates of its corners (Plus a buffer on either side). This means that the path doesn't search off into nowhere, wasting processing time for a highly unlikely path! Instead of taking forever to do 200x200 searches, it will (say) assume it only needs to do a 50x180 path search (That's 40,000 vs 9,000 tiles). Pathing to GameObjects will no longer allow players to interact with the object through a wall (Eg, stairs which are placed directly against a wall), and will correctly find a path to the object.

    The new FastTickable has given an incredible boost in speed (Also due to the smarter path finding). The server is now simulating 2005 bots and 1 player, all actively moving, with only 40% load on the main thread. My standard Tickable implementation is still rather slow, but I know a solution for vastly improving it. (Cancelling Tickables right now is incredibly expensive, can be done very cheaply)

    Experience
    Combat now gives experience, and I've added a configurable formula for all combat attack/power/block components.

    Bots / AI Players
    Added, they're rather dumb right now but they will search for targets, equip their best gear, and find a bank whenever their inventory is full. They'll loot items, or run away when they're dying - They won't attack mobs they can't reach or are too high of a level, they'll wander the world and happily walk to varrock or falador (Though most don't make it far north of lumbridge or draynor, they get themselves killed). This required I add complex pathfinding, which uses stairs currently to go up and down Z values. Bots will go down to the ground floor if they "get bored" (Can't find anything to do) and then begin wandering.

    And the finale, this is a screenshot of my MapViewer, server console and game client. Each purple oval is a player (The letter is the first letter of their name).

    Reply With Quote  
     

  8. Thankful users:


  9. #36  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,571
    Thanks given
    625
    Thanks received
    1,301
    Rep Power
    66
    I feel as though hindering with the Runescape clock system will lead to negative effects in the future. Runescape's content relies on the pooling and processing of events that were queued within the 600ms delay. The whole idea is to allow for better efficiency and synchronization, not to prevent spam clicking. Having a half second delay for mob to environment interaction isn't really noticeable, and keeps the game steady and clean in regards to event processing. Plus, what's the design behind your "cooldown" code? I'm sure it's not improving overall performance.
    Reply With Quote  
     

  10. Thankful user:


  11. #37  
    Registered Member netherfoam's Avatar
    Join Date
    May 2013
    Posts
    149
    Thanks given
    62
    Thanks received
    88
    Rep Power
    46
    Quote Originally Posted by Taylor Moon View Post
    I feel as though hindering with the Runescape clock system will lead to negative effects in the future. Runescape's content relies on the pooling and processing of events that were queued within the 600ms delay. The whole idea is to allow for better efficiency and synchronization, not to prevent spam clicking. Having a half second delay for mob to environment interaction isn't really noticeable, and keeps the game steady and clean in regards to event processing. Plus, what's the design behind your "cooldown" code? I'm sure it's not improving overall performance.
    Thus far I haven't come across any issues. I'm aware that there may be a problem if he server becomes overloaded and the processing of events is done twice while the server tick isn't done in between. There is a tiny efficiency difference, in the update mask, I am writing more data, though maybe a few kilobytes extra at best per second. A few thousand players, a megabyte of data is quite small. Querying my world is very quick, I was keen to beat these shocking tile region systems out there.

    As for the efficiency, essentially a timer object schedules the individual FastTockables for execution, with little overhead. Previously, cancelling tasks was very slow and done frequently which was costly but I have improved upon that and they're now cancelled in a few operations.
    Reply With Quote  
     

  12. #38  
    Registered Member Taylor Moon's Avatar
    Join Date
    Aug 2012
    Posts
    2,571
    Thanks given
    625
    Thanks received
    1,301
    Rep Power
    66
    Quote Originally Posted by netherfoam View Post
    Thus far I haven't come across any issues. I'm aware that there may be a problem if he server becomes overloaded and the processing of events is done twice while the server tick isn't done in between. There is a tiny efficiency difference, in the update mask, I am writing more data, though maybe a few kilobytes extra at best per second. A few thousand players, a megabyte of data is quite small. Querying my world is very quick, I was keen to beat these shocking tile region systems out there.

    As for the efficiency, essentially a timer object schedules the individual FastTockables for execution, with little overhead. Previously, cancelling tasks was very slow and done frequently which was costly but I have improved upon that and they're now cancelled in a few operations.
    Pretty interesting. I'll enjoy seeing how it turns out.
    Reply With Quote  
     

  13. #39  
    Registered Member netherfoam's Avatar
    Join Date
    May 2013
    Posts
    149
    Thanks given
    62
    Thanks received
    88
    Rep Power
    46
    Be sure to check it out when I put up a live demo then
    Reply With Quote  
     

  14. #40  
    Registered Member
    Join Date
    Jan 2014
    Posts
    130
    Thanks given
    2
    Thanks received
    22
    Rep Power
    27
    Looking good been following this since September, hmu with a PM if u need a beta tester or when you go live; thanks.
    Reply With Quote  
     

Page 4 of 23 FirstFirst ... 2345614 ... LastLast

Thread Information
Users Browsing this Thread

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

Similar Threads

  1. QuarterX Base (Made From Scratch)
    By Mrquarter in forum Downloads
    Replies: 74
    Last Post: 07-30-2008, 03:23 PM
  2. Replies: 87
    Last Post: 02-29-2008, 05:31 PM
  3. Server source made from scratch, no pics
    By saviour in forum Downloads
    Replies: 14
    Last Post: 01-04-2008, 01:21 AM
  4. Nice Custom Base Made From Scratch!
    By Yorick in forum Downloads
    Replies: 8
    Last Post: 08-08-2007, 07:48 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
  •