Commit Graph

754 Commits

Author SHA1 Message Date
Collin Smith
eeea7adde3 Improved cursor features
Added support for hotspot offset
Added methods that support setting a cursor with a specific page in a DC
Setting cursor to predefined cursor DC automatically applies hotspot
2020-07-04 11:20:19 -07:00
Collin Smith
9bf83e683a Buy, sell and repair buttons are now managed by a button group 2020-07-04 10:21:50 -07:00
Collin Smith
eff7d8cdd8 Reset buy/sell to unchecked state when config called 2020-07-04 02:41:20 -07:00
Collin Smith
dfbd3a3e6f Changed buy/sell buttons to be mutually exclusive 2020-07-04 02:40:47 -07:00
Collin Smith
9e56ff51db Removed clicklistener for blank buttons 2020-07-04 02:39:01 -07:00
Collin Smith
0b38050429 Added support for using VendorPanel for gambling
Added support for using VendorPanel for gambling
TBD if this will require any major modifications
2020-07-04 02:32:26 -07:00
Collin Smith
0af512b3f4 Interacting with NPC menus will now show the vendor panel
Interacting with NPC menus will now show the vendor panel
Added support for configuring panel buttons using flags
Added blank buttons for each vendor action (even if unused)
2020-07-04 02:28:15 -07:00
Collin Smith
8a2be22c20 Created VendorGrid impl of ItemGrid
VendorGrid blocks all grid actions and accepts no items
Added showFill field to ItemGrid to draw background for cursor item
2020-07-04 01:46:27 -07:00
Collin Smith
92673c0da9 Created VendorPanel 2020-07-04 01:35:14 -07:00
Collin Smith
fba74adb74 Added i18n factory method to create instances with resolved string id 2020-07-04 01:18:08 -07:00
Collin Smith
475018e6f6 Fixed invgold position and size 2020-07-04 01:17:34 -07:00
Collin Smith
1977b0e93a Rolled back change on func check for dsc2line 2020-07-03 20:04:37 -07:00
Collin Smith
6e2ded3550 Improved layout of spell details text 2020-07-03 19:56:49 -07:00
Collin Smith
76643ef2a9 Changed SpellsPanel to support event-based updating
SpellsPanel is now a CharData.SkillListener and is event based
SpellsPanel no longer statically generates it's data when created
Created SpellsPanel.SpellButton impl which wraps each class-specific spell
SpellsPanel.SpellButton has an update method to be called whenever the wrapped spell changes
Label for spell button level moved to child of button and relative to button location
Added Label(LabelStyle) constructor for labels that are defaulted to empty
2020-07-03 15:40:04 -07:00
Collin Smith
8e4c4a5154 Added support for animated cursor 2020-07-03 01:34:09 -07:00
Collin Smith
f8e0c62646 Documented reasoning for deprecation 2020-07-02 18:47:31 -07:00
Collin Smith
fc6d8b0039 Added basic toString implementation 2020-07-02 18:34:49 -07:00
Collin Smith
b47a021679 Moved impl netty code to server:netty module 2020-06-30 10:30:34 -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
3906fbdf4c Added support for reversing Animation direction 2020-06-27 01:29:01 -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
127186f385 Updated comment note 2020-06-26 18:56:42 -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
Collin Smith
143bfca048 Changed signature of PacketSender functions and prepended InetSocketAddress parameter for target 2020-06-26 13:31:47 -07:00
Collin Smith
ad78346c1e Added salt field to Netty fbs 2020-06-25 19:47:39 -07:00
Collin Smith
9c586f90d0 Fix to prevent profiler activation key from triggering when console is open 2020-06-25 19:37:51 -07:00
Collin Smith
dac10467fa Changed signatures for packet processing calls from Channel to ChannelHandlerContext 2020-06-25 17:29:20 -07:00
Collin Smith
57a8c1167e Fixed debug logging for inbound messages 2020-06-25 14:47:28 -07:00
Collin Smith
17d257b2b0 Improved memory usage metrics and created 2020-06-25 13:32:09 -07:00
Collin Smith
b9bf27d2f6 Added heap usage to display 2020-06-25 13:04:46 -07:00
Collin Smith
31af776e42 exceptionCaught will log the error and close the connection -- will add proper pipeline later 2020-06-25 12:44:20 -07:00
Collin Smith
8a38fd7139 Added Channel field to processPacket callback to retrieve attributes and manage connection 2020-06-25 12:18:44 -07:00
Collin Smith
597ae213c5 Moved netty netcode from :server:netty to :core module 2020-06-25 10:08:00 -07:00
Collin Smith
24eb6f1c9b Fixed bug and missing dependency preventing MapViewer from running correctly 2020-06-23 18:41:45 -07:00
Collin Smith
d13fb953d5 Added comments explaining the need for some buffer position manipulations 2020-06-20 14:29:48 -07:00
Collin Smith
5c4c06d47e Created setContentSize method to support composite buffers
Created setContentSize method to support composite buffers
Removed UDP header fields from Netty fbs table
2020-06-20 12:47:31 -07:00
Collin Smith
a8fe6bc732 Removed Header table from fbs and inlined fields within the Netty table 2020-06-20 00:21:04 -07:00
Collin Smith
101cc92be4 Added protocol field to netty packet header 2020-06-19 15:01:01 -07:00
Collin Smith
cad29c7b82 Created Header table in Netty fbs and sample packet 2020-06-16 02:40:39 -07:00
Collin Smith
f5454be03d Created test fbs packets 2020-06-14 20:59:27 -07:00
Collin Smith
cbd55ee164 Replaced StringEscapeUtils from apache commons-lang3 with commons-text
StringEscapeUtils from commons-lang3 was deprecated and should be using version from commons-text
Optimized imports
2020-06-14 12:35:15 -07:00
Collin Smith
eda10f1da9 Small optimization 2020-06-13 17:45:36 -07:00
Collin Smith
07d98015fd Fixed code formatting and removed fully qualified com.riiablo.codec.COF references 2020-06-13 01:25:19 -07:00
Collin Smith
6be70a3667 Changed parameters for hits ObjectSet -- libgdx changed the parameter check an doesn't allow 1.0f load factor 2020-06-12 22:28:34 -07:00
Collin Smith
eb2d672ac1 Improved accuracy of networking ping calculation 2020-06-12 20:08:58 -07:00
Collin Smith
cbfae0f702 Cleaned formatting and alignment 2020-06-12 19:22:50 -07:00
Collin Smith
97b1a3d2d3 Removed static methods and management structs from SystemProfiler
Created ProfilerManager passive system to act as a manager and factory for SystemProfiler instances
Changed SystemProfiler static functions to be a ProfilerManager instance via injection
Fixed some UI bugs within SystemProfiler GUI including incorrect width
Added reference to ProfilerSystem within CursorMovementSystem to block input events when profiler GUI is open
Removed ProfilerSystem#dispose() -- ProfilerManager has it's own dispose method
Reduced visibility of SystemProfiler constructors -- instances should only be created by ProfilerManager
SystemProfiler#initialize() will no longer add the instances to a struct -- automatically added when created by ProfilerManager factory
2020-06-12 17:47:05 -07:00
Collin Smith
8f04cb5c94 Removed dependency on net.mostlyoriginal.artemis-odb:contrib-plugin-profiler
Replaced with com.riiablo.profiler
Copied contrib-plugin-profiler GUI skin to internal assets
2020-06-12 16:04:05 -07:00
Collin Smith
42ff871f38 Removed unneed code 2020-06-12 15:52:43 -07:00
Collin Smith
1c920b461c Created profilers for ping and rtt metrics
Implemented averaging of network latency samples via NetworkProfiler
NetworkProfiler handles the interfacing between Profiler plugin and Pinger system
Created IntervalBaseSystem which is a copy of IntervalSystem without dependency on any Aspect
Added support for a PacketListener for Pinger system (receives callbacks for received ping packets)
2020-06-12 15:51:56 -07:00