d2jsp Forums > Ladder Slasher > Ladder Slasher Server Rewrite Progress Thread
Add Reply New Topic New Poll
#1 Jul 9 2018 12:37pm
Group: Admin
Posts: 22,568
Joined: Sep 24 2002
Gold: 121,694.40
Trader: Trusted
Hello everyone!

I will be using this thread to keep you guys updated of my progress on porting and rewriting the Ladder Slasher server code. This is a huge undertaking, and the server hasn't been fully rewritten since really at all since I started the code-base in 2003. Naturally, much has changed over the years, and it has just grown very difficult to make any updates. I won't bore you with details, but here's a quick recap:
- Needed to support secure websockets in LS and the IRC/Chat server. Since I wrote all the websocket (and server code) from scratch, rewriting the socket layer to support this would have been extremely time consuming.
- Another option came up to port the code base to another language and platform that ultimately would be more flexible moving forward (for instance, all my current custom server code written in C runs and is locked to freebsd and kqueue)
- I chose to try the port/rewrite option with chat, and it went pretty well. It took a lot of solid coding, but the end result seems pretty stable, and solid. It also supports secure websockets. Performance seems fantastic, and this was one of the major concerns.
- I decided to go ahead and bite the bullet and do a full rewrite/port of the LS server code as well. I started this a few weeks back.

So here we are. I'm pretty happy with the results so far, and feel pretty confident that this will be beneficial in the short and long term.

I have run into numerous snags already, but have overcome them, and the development is gradually going faster and faster as many of my "helper functions" have been ported over. As anyone who has ported code before knows, the tedium is over nine-thousand.

Current status:
- Socket layer fully functional
- Database layer fully functional
- Authentication and most forum interaction is done (see below for more specifics)
- All character list is done -- this required a lot of initial work, building out all the base classes for characters, items, including the loading and sending of said data. However, this speeds up other areas that share that data
- All character screen functionality done, rerolling, deleting, creating, and renaming (which is part of forum tie in, for forum gold purchases, logging, etc)
- Selecting a character loads it, and all data for the character, placing you successfully in town
- Unselect/unload character (back to char list) done
- View Ladders is done
- Assign stat points to stats done
- Market Search is done

There is an indescribable amount of work left. For instance, nothing to do with combat, catacombs, monsters (data, generation, ai, etc), groups, etc has even been started yet. Saving characters isn't even done yet (though, this is partly by design, to not save back potentially broken data during the interim). Yes, it uses a development database, not the live server. While item basics is done (loading, sending), nearly everything else to do with them has yet to be implemented.

That said, I still thought you guys might like to know. My rough guess on timeframe towards a release is at least a month from now (and that's 12 hour+ days, 7 a week of coding). I will be doing various stages of beta testing, like I have in the past with different major version changes, so stay tuned for that. Please note that the initial update release(s) will likely not have any actual gameplay updates or changes, but this lays a foundation and groundwork that will hopefully make such things easier moving forward. The previous code rewrites I did in the past definitely help with this porting and rewriting process, so those were definitely not for naught.

Back to work!
#2 Jul 9 2018 12:40pm
Group: Member
Posts: 25,760
Joined: Oct 23 2007
Gold: 147.36
Warn: 10%
E, first. :D

This post was edited by Xistz on Jul 9 2018 12:48pm
#3 Jul 9 2018 12:40pm
Group: Members++
Posts: 61,600
Joined: Jun 12 2007
Gold: 3,453.27
Trader: Mediator
Oooh :O

That sounds awesome! Thanks Paul!

This post was edited by RistVaLL on Jul 9 2018 12:45pm
#4 Jul 9 2018 12:50pm
Group: Member
Posts: 73,280
Joined: Apr 29 2005
Gold: 103,375.20
Tracked :thumbsup:
Thx for info! :banana:
#5 Jul 9 2018 12:52pm
Group: Member
Posts: 1,378
Joined: Apr 10 2007
Gold: 8,442.69
Excellent. Thank you for the update! :)
#6 Jul 9 2018 12:58pm
Group: Member
Posts: 13,244
Joined: Oct 17 2004
Gold: 279.45
Finally, some news. Thank you for the heads up, look forward to seeing some new content once this is over!
#7 Jul 9 2018 01:01pm
Group: Member
Posts: 89,849
Joined: Dec 8 2005
Gold: 7,595.40
#8 Jul 9 2018 01:04pm
Group: Member
Posts: 56,311
Joined: Nov 2 2007
Gold: 437.68
Trader: Mediator
:hail: :hail: :hail:

Really awesome news! Seeing you are putting a lot of work + love into LS is amazing. The info about making updates easier in the future is great!
#9 Jul 9 2018 01:07pm
Group: Member
Posts: 11,390
Joined: Feb 11 2007
Gold: 14,418.87
Wooo hooo!!!!

But seriously, can I donate 10 fg for red/bold?
#10 Jul 9 2018 01:09pm
Group: Member
Posts: 17,347
Joined: Aug 21 2007
Gold: 79,190.09
I love it. Better codes makes new updates easier. So even in doesnt help us in first place it is a good thing.

Keep up the work :D
Go Back To Ladder Slasher Topic List
Add Reply New Topic New Poll