Commit Graph

172 Commits

Author SHA1 Message Date
Collin Smith
0eea5e2793 Migrated libgdx 1.9.13 -> 1.9.14
Migrated libgdx 1.9.13 -> 1.9.14
Removed gdx-jnigen dependency (waterfalled from within gdx-video correctly now)
Separated gdx-controllers version 1.9.14 -> 2.2.0
Changed HeadlessApplicationConfiguration#renderInterval to #updatedPerSecond
2021-05-28 15:30:15 -07:00
Collin Smith
c48c489dea Added Actioneer to world 2020-11-25 13:26:39 -08:00
Collin Smith
47679e08e5 Replaced deprecated archivePath with archiveFile 2020-11-20 22:52:20 -08:00
Collin Smith
6d0d0ae59a Implemented gradle application plugin into :server:netty 2020-11-19 12:50:40 -08:00
Collin Smith
dc2a12f03d Removed unused import 2020-11-19 12:50:26 -08:00
Collin Smith
e70f742f33 Implemented gradle application plugin into :server:mcp 2020-11-19 12:04:10 -08:00
Collin Smith
7894deb6c9 Implemented gradle application plugin into :server:bnls 2020-11-19 12:02:53 -08:00
Collin Smith
98bac98fb9 Changed std in assignment to method call 2020-11-19 12:01:26 -08:00
Collin Smith
1b138e29fa Implemented gradle application plugin into :server:bncs 2020-11-19 12:01:03 -08:00
Collin Smith
9c928bc559 Removed lwjgl3 config -- headless 2020-11-19 11:51:31 -08:00
Collin Smith
0129b7c6fb Changed archiveBaseName to project.name 2020-11-19 11:42:17 -08:00
Collin Smith
66ef6ecfe0 Implemented gradle application plugin into :server:d2gs 2020-11-19 11:40:42 -08:00
Collin Smith
2fd6d3bb2c Changed assets path to be relative to rootProject directory 2020-11-17 20:09:00 -08:00
Collin Smith
3eadf591c1 Moved android/assets/ to assets/ 2020-11-17 19:49:45 -08:00
Collin Smith
9c18e18a9c Reorganized gradle scripts into subproject directories
Reorganized gradle scripts into subproject directories
Reformatted gradle scripts to be more consistent
Created :server subproject group
Deleted :mpqlib subproject due to inactivity
Hopefully this is a step in the right direction
2020-11-16 23:14:33 -08:00
Collin Smith
269f283c9b Changed to standard gradle src directory structure
Changed to standard gradle src directory structure
Changed some working directories to work properly with gradle tasks
Changed MPQViewer asset path to empty string
2020-11-15 23:49:18 -08:00
Collin Smith
ffc66455d2 Upgraded gradle wrapper to 5.0 2020-11-11 00:13:44 -08:00
Collin Smith
6ccb2a5d02 Renamed Riiablo#MAX_DIFFS to Riiablo#NUM_DIFFS 2020-08-17 19:18:09 -07:00
Collin Smith
2e774fd953 Added support for distinct vendor inventories
Added support for distinct vendor inventories
No inventory component yet -- generated each time vendor loaded
Moved VendorPanel inventory management to Npc for time being (from UI to a system)
Modified VendorPanel#config signature to include inventory item list
Created VendorGenerator#generate(String) to generate an inventory for a specified vendor
Added ItemGenerator and VendorGenerator systems to various engines
2020-07-12 17:11:05 -07:00
Collin Smith
a223e307b3 Implemented ping response system which includes two responses, one for rtt and one for ping (see #77) 2020-07-02 21:21:08 -07:00
Collin Smith
c796fc8212 Refactored code so that processing log message will include resolved client id 2020-07-02 20:48:05 -07:00
Collin Smith
2216b29325 Added remote address of the channel for the ChannelHandlerContext to the exception message in InboundChannelHandler 2020-07-02 18:39:28 -07:00
Collin Smith
f708c34f42 Reeled in much of the logging to be enabled as needed 2020-07-02 18:27:38 -07:00
Collin Smith
85e5bc95b8 Created Netty TCP implementation of D2GS (see #83) 2020-07-02 16:41:29 -07:00
Collin Smith
70982601c1 Renamed server:netty com.riiablo.net to com.riiablo.onet (old net) 2020-06-30 10:32:27 -07:00
Collin Smith
b47a021679 Moved impl netty code to server:netty module 2020-06-30 10:30:34 -07:00
Collin Smith
0e5bb72045 Implemented additional support for netty d2gs server
Can connect and do most functions as a single player
Multiple connections do not work
2020-06-29 23:44:52 -07:00
Collin Smith
0b66f63251 Added autoRelease param to constructor
Some impls need to cache packets
2020-06-29 21:57:39 -07:00
Collin Smith
cd93d379bd Added note to fix issue regarding the server binding as LAN IP instead of localhost 2020-06-29 21:48:56 -07:00
Collin Smith
a205135c9e Moved cache and packet queues from D2GSPacketProcessor to Server 2020-06-29 19:25:01 -07:00
Collin Smith
0333bdd40a Backporting changes from com.riiablo.server.d2gs to com.riiablo.server.d2gs_test 2020-06-29 00:59:13 -07:00
Collin Smith
e76fe35f49 Changed PacketProcessor references to D2GSPacketProcessor
D2GSPacketProcessor can process the packet type directly
Server will process the ByteBuf into the packet type already and pass it
Moved packet cache and queues fields to D2GSPacketProcessor
Created D2GSPacket to store the flatbuffer table
2020-06-29 00:53:05 -07:00
Collin Smith
1af1fd968e Removed functions from Endpoint.IdResolver
In my use-cases there should be a preexisting struct already
IdResolver should just be an accessor to that struct and not a mutator
2020-06-28 18:49:11 -07:00
Collin Smith
60257b48de Added help command to server CLI 2020-06-28 18:42:51 -07:00
Collin Smith
8feff49a8a Inlined custom IdResolver implementation into Server which wraps Server id manager (set/remove unsupported) 2020-06-28 18:38:47 -07:00
Collin Smith
93d013c304 Work on d2gs implementation as a tcp socket with netty
Created com.riiablo.nnet (new net) package while I figure out a good API
Server performs connection protocol and then propagates other packets to PacketProcessor
2020-06-28 15:49:48 -07:00
Collin Smith
c1add57fb5 Moved experimental netty d2gs package to d2gs_test package 2020-06-27 18:48:49 -07:00
Collin Smith
88b8e7a096 Added sendDisconnectPacket function to D2GS TestClient 2020-06-27 17:06:03 -07:00
Collin Smith
26173a8fd1 Changed to use object's toString method 2020-06-27 17:00:33 -07:00
Collin Smith
278760f913 Renamed sentPacket to sendConnectionPacket 2020-06-27 16:58:32 -07:00
Collin Smith
b2bf16bb1e Implemented basic client disconnection support
Added basic support for automatically detecting inactive channels and performing a client disconnect on them
2020-06-27 16:57:51 -07:00
Collin Smith
70cf9d016a Moved ByteToMessageDecoder to it's own declared class 2020-06-27 16:39:48 -07:00
Collin Smith
e05e9bebc6 Changed disconnect on error to call ChannelHandlerContext#close() 2020-06-27 16:34:08 -07:00
Collin Smith
98521ad40c Formatting change 2020-06-27 16:32:15 -07:00
Collin Smith
65e14b7514 Improved ClientData tuple and removed connectionIds and clientDatas hash maps 2020-06-27 16:28:11 -07:00
Collin Smith
03ae8f103c Added SocketAddress from parameter to packet callbacks
from paramter will be either TCP channel remote address or UDP packet sender
2020-06-27 15:58:25 -07:00
Collin Smith
5f81d4d53a Parameterized ConnectionLimiter max connections 2020-06-27 15:26:11 -07:00
Collin Smith
413ebc8f6c Aggregated client connection data/state into ClientData 2020-06-27 03:04:46 -07:00
Collin Smith
1781e46724 Created experimental Netty impl of a TCP D2GS server
Created experimental Netty impl of a TCP D2GS server
Added salt field to Netty Connection fbs
Created ConnectionState for Connection fbs
2020-06-27 00:30:15 -07:00
Collin Smith
d1270b1a75 Created UnicastEndpoint interface on top of Endpoint
Allows sending a message and letting the Endpoint figure out where it should go
Will only be used for client-side endpoints
2020-06-26 13:53:54 -07:00