Stefano Merotta
f24b98f8e2
fix: Replaces throttlers and packet callbacks with function pointers ( #1063 )
...
Replaces multi-cast delegates with function pointers to gain 25% in performance and lower allocations.
2022-06-15 12:48:43 -07:00
Kamron Batman
58b907d39e
fix: Fixes packet length checks ( #953 )
...
Fixes an issue with DropReq where an old client was sending in 14 bytes, but the server was expecting 15 bytes.
To fix this we introduced a new packet handler, `ContainerGridPacketHandler` and changed the code to determine the length of the packet dynamically using `GetLength(NetState)`.
Also fixed throttling so dropped packets are properly skipped.
2022-03-04 12:32:25 -08:00
Kamron Batman
941452de4a
fix: Stops creating blocked packets entirely ( #944 )
...
Optimizes larger servers where users are logging in and packets are being created for no reason.
2022-02-27 00:13:49 -08:00
Kamron Batman
63e1b02d93
chore: Cleans up pattern checks. ( #892 )
2021-12-24 15:53:59 -08:00
Kamron Batman
0dc4acc164
fix(core): Removes implicit cast between Serial and uint ( #728 )
...
* Fixes spellbooks using serial ctor
* Fixes misc items where someone thought they had an amount and it didn't
* Fixes all `Food` types.
2021-08-25 00:27:19 -07:00
Kamron Batman
952a3e0265
fix(core): Handles a rare NPE with LoginTimer ( #508 )
2021-02-11 23:47:02 -08:00
Kamron Batman
a146955f6c
fix(core): Converts book packets ( #413 )
...
- [X] Splits out BaseBook
- [X] Converts book packets
- [X] Makes FixHtml faster
2021-01-16 18:49:53 -08:00