Commit graph

1842 commits

Author SHA1 Message Date
Kamron Batman
1ec3636951
fix: Fixes speed issues (#959)
- [X] Removes all speeds in constructors since _they aren't used anyways_.
- [X] Adjusted timers according to the _time transformations in RunUO_.
2022-03-15 10:18:27 -07:00
Kamron Batman
16c4268b54
fix: Fixes file reading. (#958)
.NET 6 introduced a breaking change where lseek and sys-calls are not used for reading and file streams. This effectively broke out native reader. Since the file reading is fairly optimized, and honestly we don't need it to be "fast" in this case, I have removed the native reader.

https://devblogs.microsoft.com/dotnet/file-io-improvements-in-dotnet-6/
2022-03-11 01:45:03 -08:00
Kamron Batman
bdee7bc671
fix: Fixes NPC slowness. (#955)
* Adds the following configurations:
  * `movement.delay.npcMinDelay` - 0.1 - Pets or Non-monster NPCs
  * `movement.delay.npcMaxDelay` - 0.4 - Pets or Non-monster NPCs
  * `movement.delay.monsterMinDelay` - 0.4 - Non-pet Monsters or NPC vs Player Combat
  * `movement.delay.monsterMaxDelay` - 0.8 - Non-pet Monsters or NPC vs Player Combat
  * `movement.delay.monsterMinDex` - 150 - Dex maximum for delay by dex
  * `movement.delay.MinDex` - 190 - Dex maximum for delay by dex
2022-03-10 22:55:06 -08:00
Kamron Batman
44bd129734
fix: Fixes mana insufficient message for newer clients. (#957)
Publish 100 introduced the cliloc change for insufficient mana. This was rolled out starting with v7.0.65.4 on 6/22/2018.
2022-03-10 12:18:22 -08:00
Kamron Batman
60991b7ab0
fix: Deletes schema migration project (#954) 2022-03-07 22:43:30 -08: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
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
Arthrutus
032f21ff27
fix: Update Blighted Grove Teleporters (#939) 2022-02-20 23:23:25 -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
699478425f
chore: Updates readme to remove blurb about schema migration (#937) 2022-02-18 11:15:32 -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
04909828c8
fix: Fixes argument for schema generation in publish command (#935) 2022-02-18 11:00:10 -08:00
Kamron Batman
36d07dd34d
fix: Fixes ruleset (#934) 2022-02-17 08:45:08 -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
6fef622715
fix: Fixes en-us forced pricing culture throwing when bulding in VS (#921)
* fix: Fixes en-us forced pricing culture throwing when bulding in VS

* Fixes value
2022-01-30 14:02:46 -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
2f13dfebed
docs: Fixes edit uri for docs (#913) 2022-01-03 22:16:56 -08:00
Kamron Batman
24c683870d
docs: Updates markdown docs (#912) 2022-01-03 22:10:29 -08:00
Kamron Batman
08df0307e5
docs: Adds workflow dispatch 2022-01-03 19:08:50 -08:00
Kamron Batman
573ddfa27b
docs: Updates installation docs for the main site. (#911) 2022-01-03 19:05:28 -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