Commit Graph

10 Commits

Author SHA1 Message Date
Collin Smith
3669ffc57b Added support for creating entities for preexisting characters on new client instances 2019-12-15 02:06:35 -08:00
Collin Smith
8c38af053a Added network synchronization for position, velocity and angle 2019-12-15 01:25:26 -08:00
Collin Smith
15687b71c6 Improved D2GS client implementation
D2GS clients are now indexed using a fixed-size array
Connecting clients will now use the first available slot
Disconnecting clients will now have their corresponding entity deleted
Shutting down server will now wait for client threads to end
Removed separate iteration method for broadcast packets -- I don't think this distinction is necessary
Refactored AtomicBoolean with volatile boolean
Debug logging has been significantly been improved to indicate clients / packet types / remote addresses
2019-12-14 03:55:23 -08:00
Collin Smith
34eebb41aa Added disconnect packet and support for entity state synchronization
Disconnecting clients will now have a corresponding disconnect packet
Changing a players items will result in the change also appearing on other players' instances
2019-12-13 15:29:17 -08:00
Collin Smith
d296c6c647 Added support for disconnecting clients and broadcasting entity deletion 2019-12-12 15:22:31 -08:00
Collin Smith
e4df005987 Rewrote engine and replaced Ashley with Artemis
Rewrote engine and replaced Ashley with Artemis
Added basic networking support for D2GS (handshake and sending initial player state to clients)
2019-12-11 02:07:55 -08:00
Collin Smith
c009982e13 Changed port for d2gs within TCP/IP screen and implemented render() within d2gs 2019-12-02 02:03:31 -08:00
Collin Smith
018cc9767c Fixed passing connect info in JoinGame 2019-11-30 20:16:58 -08:00
Collin Smith
9f5d134eee Added MSI (master slave instancer) to create child D2GS processes
Added MSI (master slave instancer) to create child D2GS processes
This is intended to act as a temp structure for testing until support for actual servers are added where an API can generate proper instances
2019-11-30 20:02:36 -08:00
Collin Smith
115790f51a Added D2GS module build.gradle and main class 2019-11-30 15:56:47 -08:00