d2jsp Forums > d2jsp > Ladder Slasher > Ladder Slasher Server Rewrite Progress Thread
Closed New Topic New Poll
Group: Admin
Posts: 24,256
Joined: Sep 24 2002
Gold: 26,966.69
Trader: Trusted
Jul 9 2018 12:37pm
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!
Group: Member
Posts: 42,245
Joined: Oct 23 2007
Gold: 2,848.72
Warn: 80%
Jul 9 2018 12:40pm
E, first. :D

This post was edited by Xistz on Jul 9 2018 12:48pm
Group: Members++
Posts: 71,657
Joined: Jun 12 2007
Gold: 500,906.20
Trader: Trusted
Jul 9 2018 12:40pm
Oooh :O

That sounds awesome! Thanks Paul!

This post was edited by RistVaLL on Jul 9 2018 12:45pm
Group: Member
Posts: 81,338
Joined: Apr 29 2005
Gold: 163,472.83
Trader: Trusted
Jul 9 2018 12:50pm
Tracked :thumbsup:
Thx for info! :banana:
Group: Member
Posts: 1,378
Joined: Apr 10 2007
Gold: 8,442.69
Jul 9 2018 12:52pm
Excellent. Thank you for the update! :)
Group: Member
Posts: 14,287
Joined: Oct 17 2004
Gold: 29,554.05
Jul 9 2018 12:58pm
Finally, some news. Thank you for the heads up, look forward to seeing some new content once this is over!
Group: Member
Posts: 92,214
Joined: Dec 8 2005
Gold: 687.61
Jul 9 2018 01:01pm
Group: Member
Posts: 69,563
Joined: Nov 2 2007
Gold: 132,929.72
Trader: Trusted
Jul 9 2018 01:04pm
: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!
Group: Member
Posts: 13,692
Joined: Feb 11 2007
Gold: 74,363.30
Jul 9 2018 01:07pm
Wooo hooo!!!!

But seriously, can I donate 10 fg for red/bold?
Group: Member
Posts: 23,717
Joined: Aug 21 2007
Gold: 5,058.20
Trader: Trusted
Jul 9 2018 01:09pm
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
Closed New Topic New Poll