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
1f4162288e
fix: Fixes UOClient NPE ( #952 )
2022-02-28 17:24:00 -08:00
Kamron Batman
5a43c806fe
fix: Use tuple shorthand syntax ( #951 )
2022-02-28 08:43:41 -08:00
Kamron Batman
ca29fc640a
fix: Fixes stats for earlier expansions ( #950 )
2022-02-28 07:04:07 -08:00
Kamron Batman
54b268c02f
fix: Codegens treasure chests ( #949 )
2022-02-27 18:02:36 -08:00
Kamron Batman
17f8d3563a
fix: Codegens treasure/paragon chests & strongboxes ( #948 )
2022-02-27 17:22:38 -08:00
Kamron Batman
9bc6d5bdb8
fix: Codegens salvage bags ( #947 )
2022-02-27 17:09:12 -08:00
Kamron Batman
003ad1164f
fix: Codegens containers ( #946 )
2022-02-27 17:01:49 -08:00
Kamron Batman
77181678da
fix: Converts BaseArmor and BaseClothing to use string crafter fields ( #928 )
2022-02-27 03:18:17 -08:00
Kamron Batman
651cffa872
fix: Cleans up mobile status packets ( #835 )
...
* Removes Span2D for mobile moving. Instead uses pure math and simplifies the calculation.
* Cleans up the extended mobile status packet.
2022-02-27 03:10:35 -08:00
Kamron Batman
e873d2ed7e
fix: Simplifies fastwalk detection ( #907 )
...
* Uses a circular buffer for steps.
* Limits to 3 steps instead of 4.
* Gives a 5% buffer on the first step.
2022-02-27 02:20:03 -08:00
Kamron Batman
5b7b99e0de
fix: Adds CUO settings support and adds more robust 7.0.9 support ( #945 )
2022-02-27 02:15:06 -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
5db8b1354c
fix: Fixes various minor issues ( #943 )
2022-02-26 23:43:25 -08:00
Kamron Batman
dc2b00ec5b
fix: Fixes town crier NPE ( #942 )
2022-02-23 21:21:20 -08:00
Kamron Batman
6593abf418
fix: Fixes weight problem with dupe. Fixes mobile base weight. ( #938 )
2022-02-18 22:11:57 -08:00
Kamron Batman
2009ac6892
fix: Adds more null checks for text definition to prevent NPEs ( #936 )
2022-02-18 11:13:38 -08:00
Kamron Batman
11dcbe7edb
fix: Fixes scrolls not working ( #933 )
2022-02-16 18:52:58 -08:00
Kamron Batman
ecfa290514
fix: Fixes running schema migrations on Windows ( #932 )
2022-02-16 17:29:29 -08:00
Kamron Batman
d7786ce586
fix: Fixes TextDefinition and optimizes CraftItem ( #930 )
2022-02-12 22:42:50 -08:00
Kamron Batman
202c4a99b7
fix: Fixes craft checks ( #929 )
2022-02-12 21:22:03 -08:00
Kamron Batman
48f1fe3384
fix: Moves codegen to its own repo ( #918 )
...
- [X] Replace serialization generator with nuget
- [X] Replace schema migration with dotnet bool
- [X] Add ability to run migrations in VS/Rider using a project build
2022-02-12 17:58:42 -08:00
Stefano Merotta
01a41732f1
fix: Fixes missing EJ houses in catalog ( #925 )
2022-02-04 09:33:12 -08:00
Kamron Batman
cf5cc247db
fix: Fixes server access NPE error ( #919 )
2022-01-16 22:53:48 -08:00
Kamron Batman
1989488638
fix: Fixes server access for owners ( #916 )
...
* Removes new password on reset option.
* Fixes a bug with the feature that would allow an exploit.
2022-01-10 23:32:12 -08:00
Kamron Batman
fc51b60cc1
fix: Adds server access with protected accounts ( #915 )
...
Adds a configuration file to specify protected accounts:
_Distribution/Configuration/server-access.json_
```json
{
"newPasswordOnReset": false,
"protectedAccounts": ["admin"]
}
```
Protected accounts are unbanned and reset to `AccessLevel.Owner` upon login.
The option `newPasswordOnReset` will create a new password for a protected account if it needs to be reset. The password is a random GUID and logged to the console.
_**Note:**_ If your player character was accidentally modified, simply make a new character to fix the old one.
2022-01-10 23:14:55 -08:00
Stefano Merotta
51169ddbb0
Refactored map selector benchmarks ( #914 )
2022-01-07 22:42:37 -08:00
Kamron Batman
4fd8b4d307
fix: Fixes crash from bad input in TC ( #909 )
2022-01-03 14:22:58 -08:00
Kamron Batman
ba378fc5f2
fix: Adds Ubuntu 14 and Linux Mint 17/18/19 support specifically ( #908 )
2022-01-03 14:19:39 -08:00
Kamron Batman
752407d6f4
fix: Fixes guild roster crash ( #906 )
2021-12-29 10:18:27 -08:00
Kamron Batman
c1134c526f
fix: Fixes sorting ( #905 )
2021-12-29 10:10:53 -08:00
Kamron Batman
529fd90005
chore: Cleanup enchanted sextant ( #904 )
2021-12-28 19:00:16 -08:00
Kamron Batman
284c3d0f34
fix: Removes LINQ from Map.cs ( #834 )
...
* Removes LINQ from Map
* Removes broken GetObjectsInRange with items/mobile flags.
2021-12-28 14:32:45 -08:00
Kamron Batman
5019ce9694
fix: Fixes timer migrations not compiling ( #902 )
2021-12-28 13:48:48 -08:00
Kamron Batman
d0aa6320f7
feat: Adds instahit option ( #901 )
...
Enable instahit by adding the setting `"melee.enableInstaHit": "True"` to modernuo.json
2021-12-28 02:42:36 -08:00
Kamron Batman
79dc9fa0f7
fix: Fixes snooping staff ( #900 )
...
* Not allowed to snoop staff
* Staff that snoop won't broadcast messages
* Benchmarks RNG for double vs fixed int
2021-12-28 02:09:25 -08:00
Kamron Batman
dc6caf5766
fix: Fixes setting staff access ( #899 )
2021-12-27 19:38:03 -08:00
Kamron Batman
93f09ba831
fix: Fixes account gold settings ( #898 )
2021-12-27 17:17:45 -08:00
Kamron Batman
a87aab19d0
fix: Fixes setting body hue for resetstaffdress ( #897 )
2021-12-27 01:45:13 -08:00
Kamron Batman
48232829ad
fix: Reset body hue and facial hair ( #896 )
2021-12-27 01:41:35 -08:00
Kamron Batman
58190674f9
feat: Adds StaffAccess and ResetStaffDress commands ( #895 )
2021-12-27 01:27:15 -08:00
Kamron Batman
3cba8c43f8
fix: Removes from literals ( #893 )
2021-12-24 15:56:07 -08:00
Kamron Batman
63e1b02d93
chore: Cleans up pattern checks. ( #892 )
2021-12-24 15:53:59 -08:00
Kamron Batman
171df32257
fix: Fixes first/second scrolls crashing ( #891 )
...
* Fixes first/second circle scrolls crashing
* Consolidates some resistance logic
* Removes unnecessary multiple lookups for items on layer
2021-12-24 15:26:12 -08:00
Kamron Batman
f634ee2748
fix: Changes spells so they register during configuration ( #889 )
2021-12-19 19:58:59 -08:00
Kamron Batman
b125146b27
fix: Adds BitArray support with codegen ( #888 )
...
* Adds a custom BitArray class with the following added features:
* ctor for creating BitArray against read only span
* ctor for creating BitArray against BinaryReader
* CopyTo to copy a BitArray to a Span
* Adds BitArray to UO Primitive serialization so it can be codegenned.
2021-12-13 09:31:02 -08:00
Kamron Batman
61e2177011
fix: Fixes damage bonus and makes it easier to read ( #885 )
2021-12-11 09:58:24 -08:00
Kamron Batman
aba3473030
fix: Fixes divide by zero in poison spell ( #883 )
2021-12-09 11:57:55 -08:00
Kamron Batman
16f65e59c6
fix: Fixes VS builds by reverting back to nstd20 ( #882 )
2021-12-07 10:20:30 -08:00
Kamron Batman
ef5aee87f3
fix: Adds back generic timer delay call ( #880 )
2021-12-05 22:55:24 -08:00