Commit Graph

171 Commits

Author SHA1 Message Date
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
c4917021ad Removed old server code and replaced Account with a different implementation 2019-11-30 22:14:07 -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
Collin Smith
ca94ac5a60 Added support for joining game sessions with MCP
Added support for joining game sessions with MCP
Created MAX_PLAYERS constant in Engine
2019-11-30 15:22:03 -08:00
Collin Smith
4a5a03edbc Added support for creating game sessions with MCP
Added support for creating game sessions with MCP
Forced debug mode for BNLS and MCP for testing purposes
Fixed type with Result#ALREADY_EXISTS constant
Extended GameSession to support builder pattern and CreateGame copy constructor
2019-11-30 02:24:13 -08:00
Collin Smith
ac35310ace Added MCP server module which acts as the server browser
Added MCP server module which acts as the server browser
MCP only supports listing games at this time
Minor changes to LoginScreen to reflect how LobbyScreen was written differently
Added desktop with networking run config which starts up server instances and then a client
Created GameSession class which is used as a cache for mcp GameSession packets
2019-11-30 01:46:56 -08:00
Collin Smith
5e23ac48b0 Moved BNLS to separate module and removed old server module as it's all deprecated now anyways 2019-11-29 22:04:17 -08:00
Collin Smith
7ebf72d231 Added login system and reintegrated realm lobby 2019-11-29 21:33:58 -08:00
Collin Smith
7495aff11d Added support for multiple client connections to BNLS
Added support for multiple client connections to BNLS
Added support for ConnectionClosed packet to politely close connection
2019-09-12 02:23:53 -07:00
Collin Smith
3b24c3a58b Created BNLS (login service) skeleton 2019-08-27 22:37:16 -07:00
Collin Smith
cc2ea8ba00 Removed eclipse stuff from gradle (was giving warnings and completely unused) 2019-06-24 03:25:43 -07:00
Collin Smith
fc5786aa77 Deleted gdx.diablo 2019-03-29 04:00:50 -07:00
Collin Smith
86c4e6d8ef Added functional networking with multiple clients in a server rendered correctly
Fixed bug with Map.find(int) returning actual GridPoint -- now returns a copy
Added workaround for set(String) in Cvar when generic type is String
Transition to entity package with refinements
2019-02-08 20:56:04 -08:00
Collin Smith
49f1058566 Added basic server support (create/join games and chat)
Separated services into ChatServer, DedicatedServer and Sessions
Single player uses same code-base as DedicatedServer with a special loopback socket
Added SelectCharacterScreen2 copy -- will replace later on with more versatile SelectCharacterScreen impl
2019-02-03 02:47:08 -08:00
Collin Smith
a1e735031f Added server browser chat
Some work on in-game chat
Separated Server into multiple systems (will be easier to transition to distributed servers later)
Minor entity changes -- may transition to an ECS soon
2019-01-30 15:40:17 -08:00
Collin Smith
e0ed5b2cda Added tests
Fixed issue where JsonReader was closing socket when reading request packet
2019-01-21 00:11:24 -08:00
Collin Smith
cbaba5c40b Moved sessions to global Array
Added Session.Builder used to create a session
create-session will now add created session to master list
2019-01-17 22:34:55 -08:00
Collin Smith
d75fa8661c Added basic multiplayer lobby support 2019-01-16 20:42:46 -08:00
Collin Smith
015c878c3c Added server module with extremely basic socket support 2019-01-14 01:54:17 -08:00