Commit graph

2668 commits

Author SHA1 Message Date
Kamron Batman
5d9d1a2118
fix: Fixes PooledRefList ToList returning wrong size (#1899)
### Summary

- Fixed a bug caused by a bad assumption. If `m_List[index]` is sparse and null values are casted, the server does not crash.
- Fixed a bug where `PooledRefList.ToList` extension method returned the wrong list size.
2024-08-05 08:50:56 -07:00
Kamron Batman
a6a647551f
fix: Updates polymorph gump to use StaticGump (#1898) 2024-08-04 16:35:11 -07:00
Kamron Batman
8f39af9579
fix: Fixes Timer.Pause not running continuation (#1893) 2024-08-04 15:40:54 -07:00
Kamron Batman
4d47b3849f
fix: Changes IPAddress comparison to use UInt128 (#1897) 2024-08-04 09:32:41 -07:00
Reetus
83db1f91f6
fix: CrimsonCinture Add missing LabelNumber (#1895) 2024-08-04 07:40:42 -07:00
Reetus
94c00ce714
fix: Add missing 'AddLocalized' for summong Talisman (#1894) 2024-08-04 07:39:32 -07:00
Kamron Batman
2eac11f535
fix: Reverts timer change in Detach (#1892) 2024-07-28 15:55:05 -07:00
dependabot[bot]
07d6e6b491
chore(deps): Bump Serilog from 4.0.0 to 4.0.1 (#1889) 2024-07-28 14:49:45 -07:00
Kamron Batman
2d9872b53a
fix: Fixes timers not stopping before OnTick (#1890) 2024-07-28 14:35:41 -07:00
Kamron Batman
4610712205
fix: Fixes respawn command when spawner is off (#1891) 2024-07-28 14:34:23 -07:00
Mink80
4a83b651f4
feat: Loads BaseHouse.DecayEnabled from modernuo.json (default to true) (#1888) 2024-07-24 09:32:03 -07:00
Kamron Batman
fd067febd7
fix: Fixes exit threads preventing reboots (#1886) 2024-07-23 20:57:13 -07:00
Kamron Batman
bbcf5da7d1
fix: Fixes professions indexing (#1885) 2024-07-23 20:45:34 -07:00
Kamron Batman
7dfb45d4eb
fix: Removes wrong error message from Fireflies (#1884) 2024-07-23 20:31:02 -07:00
Kamron Batman
2ff51dbeb6
fix: Fixes quest messages so they are all clilocs (#1883) 2024-07-22 20:44:32 -07:00
Kamron Batman
0a07109cc1
fix: Fixes invalid professions. (#1882) 2024-07-22 20:15:24 -07:00
Kamron Batman
e41d35d3d7
feat: Adds Pre-Pub 81 (UOML) Force of Nature (#1842) 2024-07-21 21:53:58 -07:00
Kamron Batman
4d030950a1
fix: Fixes camps so they properly respawn (#1881) 2024-07-21 21:50:00 -07:00
Kamron Batman
f58117a877
fix: Moves ContextMenu out of core, streamlines code, fixes bugs (#1873)
## Summary
- Removes allocation of a `List<ContextMenuEntry>` every time a context menu is created.
- Moves packet/context menu creation logic out of the core
- Fixes tame entry

## BREAKING CHANGE
> [!Important]
> **Developer Note**
> ```cs
> public virtual void GetContextMenuEntries(Mobile from, List<ContextMenuEntry> list)
> ```
> and similar functions changed to
> ```cs
> public virtual void GetContextMenuEntries(Mobile from, ref PooledRefList<ContextMenuEntry> list)
> ```
2024-07-20 21:33:23 -07:00
dependabot[bot]
bb24b330e1
chore(deps): Bump MailKit from 4.7.1 to 4.7.1.1 (#1872) 2024-07-20 18:04:18 -07:00
Kamron Batman
b0ae52b4e2
fix(Tests): Fixes a test run in parallel that crashes. (#1879) 2024-07-20 17:55:43 -07:00
Kamron Batman
428ae46bf4
fix: Fixes boat turning abandoning entities (#1878) 2024-07-20 17:51:29 -07:00
Kamron Batman
b4611ab7eb
fix: Fixes link list not crashing when broken. (#1877) 2024-07-20 17:38:22 -07:00
Kamron Batman
3cb688a2fb
fix: Fixes commodity resource property hue (#1875)
### Summary

- Fixes resource commodities so the hue changes when setting the resource
- Fixes some commodities not being able to be modified in-game.
2024-07-20 15:37:16 -07:00
Mink80
eed11be012
fix(Flax.cs): Makes flax flippable and fixes stacking (#1874) 2024-07-19 15:21:44 -07:00
Kamron Batman
db31c07017
fix: Updates xunit to 2.9, runner to 2.8.2, and mailkit to 4.7.1 (#1871) 2024-07-12 19:59:33 -07:00
Kamron Batman
8ac9ec27e4
fix: Fixes boat component locations when moving (#1868) 2024-07-09 19:34:57 -07:00
Kamron Batman
21836cf62f
fix: Fixes massive capacity bug with pooled ref queue/list (#1865) 2024-07-07 16:18:56 -07:00
Kamron Batman
96de1fdaa1
fix: Fixes NPE in PooledRefList sort (#1864) 2024-07-07 12:09:13 -07:00
Kamron Batman
20855ddff3
fix: Fixes strength potion candrink check (#1863) 2024-07-06 16:49:23 -07:00
Kamron Batman
38731d98b6
fix: Fixes splitting potions before error (#1862)
### Summary

Most potions have various checks, such as a cooldown. This fixes an edge case where potions get split from their stack before erroring.
2024-07-06 16:39:47 -07:00
Kamron Batman
e6bfc45228
fix: Consolidates and fixes movement/direction checks (#1861) 2024-07-06 12:41:45 -07:00
Kamron Batman
06e05f2e52
fix: Fixes random skill maximum (#1860) 2024-07-06 12:37:33 -07:00
Kamron Batman
c914d3d722
chore: Bumps MailKit to 4.7.0 & Cleans up bad code formatting (#1857) 2024-07-04 19:55:14 -07:00
Marcelo Paez Sequeira
0374b74f67
fix: Correctly removing active meditation buff when at peace (#1856) 2024-07-04 13:28:18 -07:00
Kamron Batman
70b2e9820d
fix: Fixes compile issue from TithingGump (#1855) 2024-07-04 11:56:57 -07:00
Kamron Batman
ed0ce4a292
fix: Converts ConfirmRelease, Tithing, Young gumps to static (#1854) 2024-07-04 11:53:02 -07:00
Kamron Batman
8b1014f395
fix: Cleans up HonorGump and Honor checks (#1853)
### Summary
- Moves `HonorSelf` gump to the Virtues folder.
- Renames `HonorSelf` to `HonorSelfGump`
- Makes `HonorSelfGump` a static gump.
- Changes the text in the gump to a cliloc.
- Collapses some of the checks for honoring to simplify the logic.
- Moves the player check higher to fix the wrong error message displaying when trying to honor damaged players.
2024-07-04 11:23:42 -07:00
Kamron Batman
ac3e4fcc97
Fixes more potion throwing edge cases (#1852) 2024-07-03 18:04:03 -07:00
Kamron Batman
cbaa349a87
fix: Streamlines potion drink effect (#1851) 2024-07-03 16:29:05 -07:00
Kamron Batman
d40041d631
chore: Adds Quodana for code quality (#1849) 2024-06-26 08:23:49 -07:00
Kamron Batman
5d18a194b8
fix: Deletes unused serialization files (#1848) 2024-06-26 07:57:00 -07:00
Kamron Batman
46c7c77b41
fix: Adds random bard skill option (#1847) 2024-06-23 16:58:23 -07:00
Kamron Batman
16de17e8a6
fix: Fixes random skills and groupings (#1846) 2024-06-23 16:49:17 -07:00
Kamron Batman
8ec203f387
feat: Updates serialization to use MMF (considerable memory savings) (#1841)
### Summary
Updates the serialization strategy to use `MemoryMappedFile` instead of thick buffers. This has the benefit of being on-par with the current implementation (based on hardware/OS), however won't incur the double-memory issue.

> [!Important]
> **Developer Note**
> The `BinaryFileWriter` and `BinaryFileReader` has been removed in favor of `MemoryMapFileWriter` and `UnmanagedDataReader`
2024-06-23 10:51:20 -07:00
Kamron Batman
3b84c8052c
fix: Fixes craft/help gump not appearing (#1845) 2024-06-23 09:54:04 -07:00
Kamron Batman
b8ad5c671d
fix: Fixes double calls with Target cancel and spell sequences (#1840)
### Summary
- Cleans up target cancellation being called incorrectly.
- An invalid target type (which should never happen), now calls `OnTargetUntargetable` instead of `OnTargetCanceled`
- Removes double calls to `FinishSequence` in Spells.
2024-06-17 15:19:06 -07:00
Kamron Batman
9c0b57213a
fix: Converts PageResponse/Prompt gumps (#1838) 2024-06-16 21:16:15 -07:00
Kamron Batman
c302ff23bc
fix: Updates help gump, converts to dynamic gump (#1837)
### Summary
- Updates help gump to use clilocs
- Updates help gump to use new DynamicGump API


> [!Note]
> The help gump needs to be overhauled. The current one is not accurate to OSI, and we should not follow OSI for this feature.
2024-06-16 17:04:26 -07:00
Kamron Batman
49824592eb
fix: Converts CraftGump to DynamicGump API (#1836) 2024-06-16 12:06:48 -07:00