d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Ladder Slasher Server Rewrite Progress Thread
12347Next
Closed New Topic New Poll
Admin
Posts: 24,279
Joined: Sep 24 2002
Gold: 30,257.79
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!
Member
Posts: 42,337
Joined: Oct 23 2007
Gold: 2,848.72
Warn: 80%
Jul 9 2018 12:40pm
Ty
E, first. :D

This post was edited by Xistz on Jul 9 2018 12:48pm
Members++
Posts: 71,770
Joined: Jun 12 2007
Gold: 505,061.21
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
Member
Posts: 81,367
Joined: Apr 29 2005
Gold: 163,226.58
Trader: Trusted
Jul 9 2018 12:50pm
Tracked :thumbsup:
Thx for info! :banana:
Member
Posts: 1,378
Joined: Apr 10 2007
Gold: 8,442.69
Jul 9 2018 12:52pm
Excellent. Thank you for the update! :)
Member
Posts: 14,295
Joined: Oct 17 2004
Gold: 3,219.40
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!
Member
Posts: 92,228
Joined: Dec 8 2005
Gold: 470.46
Jul 9 2018 01:01pm
:banana:
Member
Posts: 70,011
Joined: Nov 2 2007
Gold: 121,963.80
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!
Member
Posts: 13,746
Joined: Feb 11 2007
Gold: 80,814.96
Jul 9 2018 01:07pm
Wooo hooo!!!!

But seriously, can I donate 10 fg for red/bold?
Member
Posts: 23,718
Joined: Aug 21 2007
Gold: 448.48
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
12347Next
Closed New Topic New Poll