Mink80
3825b16132
fix: Fixes GetAllSharedAccounts and other list conversions in AdminGump ( #1422 )
...
---------
Co-authored-by: Kamron Batman <3953314+kamronbatman@users.noreply.github.com>
2023-07-08 15:20:00 -07:00
Kamron Batman
3b97e8d39c
fix: Fixes stabled, abilities targeting self, and unsummon memory leak ( #1418 )
...
## **MAJOR CHANGE**
* `Stabled` has been moved to `PlayerMobile`.
* New methods added, `PlayerMobile.AddStabled` and `PlayerMobile.RemoveStabled`.
* Added `PlayerMobile.AddFollower` and `PlayerMobile.RemoveFollower`.
* `Stabled`, `AutoStabled`, and `AllFollowers` are now `HashSet` and **_CAN BE NULL_**.
### Summary
* Fixes monster abilities causing harm to the monster through reflect
* Adds `CanTriggerAgainstSelf` to override this for healing or some other self-affecting ability
* Fixes a major memory leak where `UnsummonTimer` from animated dead spell lasts up-to 24hrs and therefore holds onto references of dead/deleted mobs.
* Fixes another minor leak where a mob is not unregistered from the animated dead spell list until the next spell cast.
2023-07-03 09:45:22 -07:00
Kamron Batman
baed849f10
feat: Moves skills to json file ( #1411 )
2023-06-16 05:55:55 -07:00
Kamron Batman
a7edba3712
fix: Removes scoped for gump AppendTo ( #1405 )
...
### Summary
.NET 6 had a bug that required the `scoped` keyword for the gump AppendTo. It looks like this was fixed since then.
2023-05-21 00:46:25 -07:00
Kamron Batman
f92d821168
fix: Fixes timezone issue ( #1388 )
...
### Summary
Removes the timezone specific logic in favor of globalization non-invariance. This should fix culture issues too.
2023-05-19 16:40:06 -07:00
Kamron Batman
0a9bfb0558
fix: Drastically simplifies regions ( #1400 )
...
### Summary
- [X] Gets rid of the Dtos
- [X] Simplifies the json serializer registration
- [X] Adds a custom `RegionByName` JsonConverter that can look up other regions that have already been registered.
### BREAKING CHANGE
1. **Child regions must appear after their parents in the JSON file**
2. In the regions json file, _"Parent"_ can no longer be just a string. It must be an object that includes the map.
- ```json
"Parent": { "Name": "Britain", "Map": "Felucca" }
```
2023-05-19 16:39:40 -07:00
Kamron Batman
4242c446c8
fix: Creates an override for disabling cast paralyze ( #1398 )
2023-04-28 20:44:30 -07:00
mark1145
55dc4a7da5
fix: Fixes casting by sending ParalyzeFlag to client while animating ( #1397 )
2023-04-27 23:12:07 -07:00
Kamron Batman
79c6f0375c
fix: Fixes doors as decorations & optimizes them ( #1392 )
2023-04-18 19:28:54 -07:00
Kamron Batman
fea7aef95f
fix: Fixes NPE with setting stats in-game ( #1390 )
2023-04-13 23:43:09 -07:00
Kamron Batman
e08efad9be
fix: Updates messages with clilocs ( #1381 )
2023-03-26 00:54:09 -07:00
Kamron Batman
a55b213393
fix: Fixes fastwalk ( #1377 )
2023-03-20 21:12:33 -07:00
Kamron Batman
6daf536c28
fix: Fixes serializing float ( #1375 )
2023-03-15 00:37:01 -07:00
Kamron Batman
2d30ea4cc5
fix: Updates BufferWriter with more streamlined code ( #1367 )
...
### Summary
Updates BufferWriter with more standard ways of writing primitives. Eliminates looping to write a string per @jaedan's suggestion.
Note: This change assumes we don't have crazy large strings.
2023-03-10 00:05:16 -08:00
Kamron Batman
dda55889f6
fix: Fixes tick count calculcations ( #1366 )
2023-03-09 21:00:17 -08:00
Kamron Batman
3097eb4fa7
fix: Fixes Dice Infinite loop and deserialization of some items ( #1360 )
...
### Summary
- Fixes deserialization issues with some items.
- Changes Utility.Dice to prevent long iteration by passing `(uint)-1`
2023-03-05 18:29:48 -08:00
Kamron Batman
50d52fb25e
fix: Makes gump type id stable ( #1358 )
2023-03-02 19:29:57 -08:00
Kamron Batman
57ff488d51
fix: Removes run flag from NPC movement ( #1357 )
2023-03-02 10:58:17 -08:00
Kamron Batman
8e3facc57b
fix: Codegens promo items ( #1355 )
2023-02-26 00:48:27 -08:00
Kamron Batman
42012538bc
fix: Fixes crafter deserialize, cleans up bandages, and codegens misc items ( #1350 )
2023-02-25 00:54:12 -08:00
Kamron Batman
65c196a8ae
fix: Fixes Point2D ctor ( #1340 )
2023-02-13 23:28:23 -08:00
Kamron Batman
f24c6a08dd
fix: Fixes string interpolation in value string builder ( #1339 )
2023-02-13 23:09:50 -08:00
Marcelo Paez Sequeira
b46544d752
fix: Moves the rest of the Incoming packets ( #1338 )
2023-02-10 22:59:36 -08:00
Marcelo Paez Sequeira
a8d8db8f59
fix: Moves accounting, entity, 0xBF, and house packets to UOContent project ( #1337 )
2023-02-09 18:42:57 -08:00
Kamron Batman
44c69620a6
fix: Tidy up socket dispose. ( #1334 )
2023-02-07 21:22:04 -08:00
Kamron Batman
14ef1ab7e5
fix: Do not double fetch root parent ( #1333 )
2023-02-05 12:09:08 -08:00
Kamron Batman
9bb0dbf1ac
fix: Fixes LOS house bug with large items in a container ( #1332 )
2023-02-05 12:04:52 -08:00
Kamron Batman
8b3a2f9f5f
fix: Cleans up create guild gump ( #1326 )
2023-01-31 23:51:01 -08:00
Kamron Batman
b11ca29987
fix: Fixes text helpers ( #1325 )
2023-01-31 23:41:36 -08:00
Kamron Batman
4707666890
feat: Moves antimacro to a configuration ( #1323 )
...
### Summary
- [X] Moves antimacro to `Distribution/Configuration/antimacro.json`.
- [X] Disables antimacro by default.
2023-01-23 21:51:05 -08:00
Kamron Batman
4f67b1174f
fix: Some computers are missing timezones apparently ( #1322 )
...
Some windows servers are not updated properly. Specifically Windows 10/2016 and older that is missing the September 2020 rollup will throw an error:
See [here](https://support.microsoft.com/en-us/topic/dst-changes-in-windows-for-yukon-canada-september-8-2020-ae74d7b8-82ed-1d35-e131-fb0796b73b10 ) for information about this update and how to get it.
2023-01-21 19:12:53 -08:00
Kamron Batman
68bd9529f9
Adds hue support to StaticTile ( #1321 )
...
### Summary
Fixes missing properties while reading static tiles.
### Screenshots
<img width="463" alt="Screenshot 2023-01-21 093050" src="https://user-images.githubusercontent.com/3953314/213879788-05d2ad7c-c197-4690-9f5b-660bded416cc.png ">
Closes #1320
2023-01-21 11:19:11 -08:00
Kamron Batman
b18dfcbb63
fix: Simplifies ore stack logic ( #1319 )
2023-01-03 18:07:42 -08:00
Kamron Batman
e8396d25ec
fix: Fixes ValueStringBuilder infinite loop ( #1311 )
2022-12-27 16:56:59 -08:00
Kamron Batman
e855ca1e61
fix: Removes PoolOfAcid ( #1310 )
...
## BREAKING CHANGES
You will receive a deserialization error saying cannot find type PoolOfAcid. This is ok, just hit yes to delete all.
2022-12-22 13:20:34 -08:00
Kamron Batman
c266294e31
fix: Fixes Point3D.Parse ( #1305 )
2022-12-17 17:06:12 -08:00
Kamron Batman
f314c63175
fix: Fixes Point3D TryParse ( #1298 )
2022-12-07 20:11:32 -08:00
Kamron Batman
bfb987c758
fix: Fixes client crash while selling items to NPC ( #1296 )
2022-12-05 20:16:31 -08:00
Mink80
f82f61b4c5
fix: Fixes old version not being passed properly to OnRegionChange ( #1295 )
2022-12-05 17:11:51 -08:00
Kamron Batman
c8a804d0b1
feat: Adds allow skill gain to regions ( #1286 )
2022-11-28 20:46:10 -08:00
Fabrizio
537526a328
fix: Update LabelTo, SendMessage, etc to Interpolated Strings ( #1283 )
2022-11-28 19:58:12 -08:00
Kamron Batman
0facd73842
fix: Fixes travel issues ( #1285 )
2022-11-28 17:36:00 -08:00
Kamron Batman
930431a6c5
fix: Fixes resources, SOS messages, and codegens fishing ( #1279 )
2022-11-24 11:12:44 -08:00
Kamron Batman
efaf2e947a
feat: Adds weighted values ( #1265 )
2022-11-22 19:53:20 -08:00
Kamron Batman
645c1949a1
fix: Fixes ToBoolean ( #1261 )
2022-11-22 13:12:54 -08:00
Kamron Batman
1f778cfacf
fix: Fixes regions having the wrong type ( #1260 )
...
## Possible Breaking Change
* Reverted regions.json back to RunUO until newer regions are implemented and proper expansion checks are added.
### Other Changes
- [X] Adds `Region.IsPartOf<T1, T2>()` to check for multiple types.
- [X] Fixes regions.json being wrong
- [X] Adds lots of missing regions. **They are not implemented properly yet**
- [X] Adds regions.xml -> regions.json (check ModernUO Discord)
- [X] Adds expansion specific regions.
2022-11-21 16:47:40 -08:00
Kamron Batman
18c4459e6b
fix: Fixes region priority and resolution. ( #1254 )
...
- [X] Fixes world location JSON deserializer.
- [X] Fixes region resolver and priorities.
- [X] Removes DynamicJson from regions.
- [X] Adds missing region music.
2022-11-21 10:38:20 -08:00
Kamron Batman
0abf72ed2f
feat: Adds JSON convertibles ( #1253 )
2022-11-15 18:19:05 -08:00
Kamron Batman
ff79d3db40
fix: Fixes NPE from AddStatMod ( #1252 )
2022-11-15 15:53:41 -08:00
Kamron Batman
32c15f214b
feat: Adds GUID support for codegen ( #1251 )
2022-11-14 21:25:51 -08:00