Commit graph

983 commits

Author SHA1 Message Date
Kamron Batman
35237ff7d1
fix: Fixes leaking/errors caused by categorization (#1404)
### Summary
- [X] Fixes 4 TormentedMinotaur created at `(0, 0, 0) [null]` when `[add` is used.
- [X] Fixes client crash from a bug in HouseRaffleStone when `[add` is used.

Recommend viewing with [_whitespace disabled_](https://github.com/modernuo/ModernUO/pull/1404/files?diff=split&w=1)
2023-05-19 18:41:31 -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
734d20cbaf
fix: Overhauls antimacro system (#1403)
### Summary
- [X] Moves AntiMacro to it's own system.
- [X] Removes antimacro from PlayerMobile.
- [X] Adds `LastExpiration` to antimacro to easily clear out all antimacro tracking when a player logs out, or during world save.
- [X] Optimizes the code somewhat.
2023-05-19 16:32:51 -07:00
Kamron Batman
372820bb49
fix: Vendors are now invulnerable for LBR+ or by override (#1399)
### Summary

Changes vendors so they are invulnerable with LBR+ era or with the `vendor.isInvulnerable` setting added.
2023-04-28 20:51:39 -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
ba4c4627c3
fix: Fixes the limitation on static tiles for harvesting (#1396)
* fix: Fixes the limitation on static tiles for harvesting

* Fixes dirt targeting
2023-04-22 09:14:42 -07:00
Kamron Batman
79c6f0375c
fix: Fixes doors as decorations & optimizes them (#1392) 2023-04-18 19:28:54 -07:00
Kamron Batman
6c09e5a006
fix: Fixes infinite loop in bulletin board cleanup (#1394) 2023-04-18 19:27:40 -07:00
mark1145
5b3ff89e70
fix: Ambiguous AddRes signatures causing bad necro regs display (#1395) 2023-04-18 14:42:01 -07:00
Kamron Batman
cc6fee28d4
feat: Adds hireables (#1393) 2023-04-16 20:24:14 -07:00
Kamron Batman
fea7aef95f
fix: Fixes NPE with setting stats in-game (#1390) 2023-04-13 23:43:09 -07:00
Kamron Batman
5ce657a842
fix: Fixes speech throttle (#1387) 2023-04-05 09:21:44 -07:00
Kamron Batman
41ccc51caa
fix: Fixes death strike never ending (#1386) 2023-04-05 08:58:28 -07:00
romanlysenko
3c86af4ff3
fix: Removes duplicate CheckTransform static method (#1384) 2023-04-03 23:03:40 -07:00
romanlysenko
5c6525de46
fix: Removes duplicate UnderTransformation static method (#1383) 2023-04-03 22:07:12 -07:00
Kamron Batman
e08efad9be
fix: Updates messages with clilocs (#1381) 2023-03-26 00:54:09 -07:00
Kamron Batman
b8b283c210
fix: Fixes mining tiles (#1380)
### Summary
- [X] Fixes missing RangedTiles flag
- [X] Fixes typo in one of the mountain tiles
- [X] Changes sand to be a range.
2023-03-23 21:46:40 -07:00
Kamron Batman
b1416e655d
fix: Fixes static minings (#1379) 2023-03-23 13:03:49 -07:00
Kamron Batman
96e4d6c651
fix: Fixes mining tiles (#1378)
### Summary
- [X] Adds missing 295 tile
- [X] Removes duplicate 296 tile
- [X] Adds missing 602 -> 609 tiles
2023-03-22 22:05:51 -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
127ca5e51e
fix: Fixes veteran rewards (#1374)
### Summary
- [X] Fixes a bug in wall banner East setter: [[ServerUO#5046]](https://github.com/ServUO/ServUO/pull/5046)
- [X] Eliminates the timer in tree stump.
- [X] Codegens the rewards
2023-03-12 17:28:51 -07:00
Kamron Batman
e797ec7f53
fix: Fixes special scrolls (#1373) 2023-03-12 13:47:12 -07:00
Kamron Batman
7635db4834
fix: Fixes double call to AfterDeserialization (#1372) 2023-03-12 10:21:04 -07:00
Kamron Batman
6fcd606947
fix: Codegens rares and solen items (#1371) 2023-03-11 19:25:48 -08:00
Kamron Batman
3514651c3c
fix: Codegens mutation core (#1370) 2023-03-11 17:33:31 -08:00
Kamron Batman
f8ab7cfdf8
fix: Optimizes timer in house raffle stone (#1369) 2023-03-11 12:37:40 -08: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
0645251ec7
fix: Fixes scales, heritage items, and codegens holiday items (#1365) 2023-03-07 22:38:35 -08:00
Kamron Batman
f1e8d4c6f7
fix: Codegens heritage items (#1364) 2023-03-07 21:29:13 -08:00
Kamron Batman
82b5fa6af3
fix: Codegens gifts (#1363) 2023-03-07 21:07:45 -08:00
Kamron Batman
551f6cca9d
fix: Codegens evil decor. Fixes trash items (#1362) 2023-03-06 19:28:58 -08:00
Kamron Batman
84b3e5cfdb
fix: Codegens BOD rewards. (#1361) 2023-03-06 19:01:14 -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
9b6aa1deed
fix: Fixes missed codegen for potions (#1359) 2023-03-02 21:27:42 -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
0150e1a994
fix: Fixes broken chair (#1356) 2023-02-27 09:01:50 -08:00
Kamron Batman
8e3facc57b
fix: Codegens promo items (#1355) 2023-02-26 00:48:27 -08:00
Kamron Batman
bf6da39176
fix: Codegens tools (#1354) 2023-02-25 13:54:05 -08:00
Kamron Batman
d14e864c85
fix: Updates disguises and codegens tinkering items (#1353) 2023-02-25 12:01:06 -08:00
Kamron Batman
f2fdc0321c
fix: Localizes specialized books, codegens instruments (#1352) 2023-02-25 10:56:05 -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
10b26741c7
fix: Codegens spellbooks (#1349) 2023-02-24 19:04:21 -08:00
Kamron Batman
8e49fb4da4
fix: Codegens scrolls (#1348) 2023-02-24 18:17:29 -08:00
Kamron Batman
8c4aaeeda6
fix: Codegens potions and fixes a few minor bugs (#1347) 2023-02-24 18:06:59 -08:00
Kamron Batman
42bcf3c95a
fix: Fixes stack overflow from death explosion (#1346) 2023-02-24 16:05:16 -08:00