Leath Cooper
e0874713d1
more event driven behavior tree
2021-09-12 23:38:56 -04:00
Kamron Batman
391c49553a
Merge branch 'main' into behavior-tree
2021-09-11 17:16:33 -07:00
Leath Cooper
3f309edffb
asdfa
2021-09-11 20:12:32 -04:00
Leath Cooper
0e84739f2d
tree stuff
2021-09-10 20:58:02 -04:00
Kamron Batman
46fc95ae71
fix: Fixes wrong path for spawning post-uoml era ( #777 )
2021-09-09 11:44:49 -07:00
Kamron Batman
75fd8137b1
fix: Fixes codegen migrations nullable valuetypes ( #774 )
2021-09-07 20:22:11 -07:00
Arthrutus
bfb716f24f
chore: Cleans up code in blacksmithy ( #769 )
2021-09-06 09:29:47 -07:00
Kamron Batman
3f4ff328b3
fix: Fixes codegen spacing for class generation ( #768 )
2021-09-06 01:34:10 -07:00
Kamron Batman
21aa6aaade
fix: Fixes sourcegen spacing ( #766 )
2021-09-05 13:18:31 -07:00
Kamron Batman
04b5a6c609
fix: Makes guid settable. Cleans up type conversions ( #765 )
...
* Marks GUID a parsable type
* Cleans up type conversions
2021-09-05 01:53:00 -07:00
Arthrutus
1916dc00cb
fix: Fixes spawner generation in admin gump ( #764 )
2021-09-04 19:27:10 -07:00
Kamron Batman
2f8508e320
fix: Fixes spawning on admin gump ( #763 )
2021-09-04 18:41:24 -07:00
Kamron Batman
437ebf7038
fix: Fixes spawners ( #762 )
...
* Fixes spawner counts
* Fixes globbing
2021-09-04 18:31:17 -07:00
Kamron Batman
54e56d2fc1
fix: Fixes assembly loading. ( #759 )
...
* `AssemblyHandler.Assemblies` will now only contain assemblies listed in `assemblies.json`
* `assemblies.json` has been updated to only contain asssemblies directly loaded by the server. Namely, only `UOContent.dll`.
* Specifically assemblies loaded by assemblies.json are subject to check for `Configure` and `Initialize` methods.
* `modernuo.json` now has a new property called `assemblyDirectories`. This will be automatically set to `Distribution/Assemblies` (absolute path on your machine).
* You can add more directories to this list.
* All assemblies in assemblies.json _AND_ dependents of any assembly will be searched for in the directories specified by `assemblyDirectories`.
2021-09-03 23:35:44 -07:00
Kamron Batman
0d1fffd9fc
fix: Fixes spawners, adds convertpremiumspawners, exportspawners, and replaces with neruns distro ( #751 )
...
### Additions
* Adds `[exportspawners <relative json file path to distro>`
* If no path is provided, it will be saved to the `Data\Spawns` folder with the current timestamp as the file name.
* Supports global, facet, region, multi, and area
* Fixes client disconnect for bad spawner generation command.
* Moves spawner commands to their own folder.
* Adds GUIDs for spawners. This allows for easy replacement during import to reduce duplication.
* Allows exporting the name of the spawner.
* Fixes globbing when using [generatespawners
* Adds [convertpremiumspawners to convert Premium Spawners (from Neruns distro)
Possibly in .NET 6 serializing JSON will be more performant using JSON nodes.
### Screenshots



2021-09-03 21:52:44 -07:00
Kamron Batman
dbd4d6f13f
fix: Various code cleanup ( #756 )
2021-09-03 19:41:12 -07:00
Arthrutus
f4378acd05
fix: Adds some missing equipment for warriors ( #742 )
2021-09-03 14:07:32 -07:00
Leath Cooper
53f51d6bde
behavior tree initial commit
2021-09-01 01:07:24 -04:00
Kamron Batman
e7e0151b38
fix: Fixes armor not scaling properly from world deserialization ( #752 )
2021-08-31 19:46:41 -07:00
Kamron Batman
fd59b080f4
fix: Fixes boat movement & moves weapon ability out of core ( #750 )
...
* Fixes boats only moving once.
* Removes event sink for weapon ability
* Moves weapon ability packets out of the core.
2021-08-30 21:30:09 -07:00
Kamron Batman
c789a7f78a
fix: Fixes various issues ( #748 )
...
https://github.com/modernuo/ModernUO/pull/741/files
2021-08-30 07:54:52 -07:00
SpeedyDevil
28faf4346f
fix: Fixes damage types when wearing quivers ( #747 )
2021-08-29 10:04:59 -07:00
Kamron Batman
251acec102
fix: Fixes tests that require races to be loaded ( #745 )
2021-08-29 00:48:11 -07:00
Kamron Batman
8ffd5a5bd0
fix: Updates races to properly support gargoyle equipment. ( #744 )
...
* Adds `RaceFlag` to the `Race` object. This is `1 << RaceIndex`
* Replaces `RequiredRace` with `RequiredRaces` for items.
* Adds convenience flags for `RequiredRaces`
```cs
public const int AllowAllRaces = 0x7; // Race.Human.RaceFlag | Race.Elf.RaceFlag | Race.Gargoyle.RaceFlag
public const int AllowHumanOrElves = 0x3; // Race.Human.RaceFlag | Race.Elf.RaceFlag
public const int AllowElvesOnly = 0x2; // Race.Elf.RaceFlag
public const int AllowGargoylesOnly = 0x4; // Race.Gargoyle.RaceFlag
```
* Example usage on an item:
```cs
public override int RequiredRaces => Race.AllowHumanOrElves;
```
* Adds Wood and Stone armor material types
* Updates Woodland armor to Wood
* Adds proper messaging for race restrictions
* Adds gargoyle only for object properties
* Adds `CheckRace` functions for validating if a race or mobile can use the item:
```cs
bool CheckRace(Race race);
bool CheckRace(Mobile from, bool message = true);
```
2021-08-29 00:43:55 -07:00
Kamron Batman
bf20800382
fix: Removes BodyValue and fixes modifying Body and BodyMod in props gump. ( #743 )
...
* Removes BodyValue
* Removes BodyPicker gump
* Fixes setting Body and BodyMod in props gump
* Props will now look for an `implicit cast` in order to find a way to allow you to modify values with the props gump.
* Fixed `[self set body 0x190` so it works too.
2021-08-28 22:56:00 -07:00
Arthrutus
244fc6a136
fix: Adds studded armor to warrior template when making new character. ( #740 )
2021-08-27 23:43:41 -07:00
Kamron Batman
3bfd5c4d3e
fix: Adds CanSeeStaffOnly for staff only items ( #739 )
2021-08-27 19:12:32 -07:00
Kamron Batman
862e868cf0
fix: Fixes codegenning nested classes ( #738 )
2021-08-27 19:08:04 -07:00
Kamron Batman
408a343e0c
Fix: Fixes evil mages so they look correct for T2A/UOTD ( #735 )
2021-08-26 19:11:16 -07:00
Kamron Batman
db59bf6dd0
fix(cleanup): Cleans up attribute syntax ( #734 )
2021-08-26 18:30:16 -07:00
Kamron Batman
996fdeb011
fix: Removes testing fastwalk ( #733 )
2021-08-26 17:42:11 -07:00
Kamron Batman
451e53d006
fix: Fixes base armor deserializing old version ( #731 )
2021-08-26 13:45:31 -07:00
Kamron Batman
1a336752a6
fix: Fixes benchmarks ( #729 )
2021-08-25 00:35:07 -07:00
Kamron Batman
0dc4acc164
fix(core): Removes implicit cast between Serial and uint ( #728 )
...
* Fixes spellbooks using serial ctor
* Fixes misc items where someone thought they had an amount and it didn't
* Fixes all `Food` types.
2021-08-25 00:27:19 -07:00
Kamron Batman
17521c9cd7
fix: Adds defaults for codegenned clothing ( #727 )
2021-08-24 23:24:06 -07:00
Kamron Batman
ca3faec01d
fix(codegen): Codegens clothing ( #714 )
2021-08-24 23:11:59 -07:00
Kamron Batman
13931ddf1d
fix: Fixes area command not working ( #725 )
2021-08-24 11:24:28 -07:00
Kamron Batman
d18d436cfe
fix: Fixes BOD entries ( #724 )
2021-08-24 10:06:44 -07:00
Kamron Batman
671cc769a6
fix(codegen): Fixes codegenning timers when they are null. ( #723 )
...
When a timer is null, the code generator will use `TimeSpan.MinValue` as the delay.
2021-08-23 20:44:02 -07:00
Kamron Batman
dd62e17693
fix(vendors): Adds an option to turn OPL off for vendor buying. Defaults to on. ( #721 )
2021-08-23 11:36:26 -07:00
Kamron Batman
9729b5a7b0
fix(map): Fixes map diffs (Old Haven/Minax) ( #720 )
...
* Fixes reading map/static diffs.
2021-08-22 23:35:18 -07:00
Kamron Batman
0bcf7a8d01
fix: Fixes buying animals in UOR ( #719 )
2021-08-22 15:36:26 -07:00
Kamron Batman
b4566fe154
fix(wands): Fixes codegenning BaseWand. ( #718 )
2021-08-22 14:30:38 -07:00
Kamron Batman
3b44ee0c6b
fix(core): Fixes string wrapping for houses ( #717 )
2021-08-22 10:01:01 -07:00
Kamron Batman
d9a9e90c14
fix(codegen): Codegens bulletin boards. ( #712 )
2021-08-22 08:05:03 -07:00
Michael Dijkstra
8b0eb1aa79
fix(codegen): Codegens wands ( #716 )
2021-08-22 01:30:27 -07:00
Kamron Batman
957e5fd4e1
fix(codegen): Codegens champion artifacts ( #713 )
2021-08-21 13:03:05 -07:00
Kamron Batman
473e752606
fix(codegen): Fixes reference to parent while deserializing ( #711 )
2021-08-21 12:23:01 -07:00
Kamron Batman
c0a8672db3
fix(network): Don't crash the user when they click the UO Store button ( #710 )
2021-08-21 00:14:40 -07:00
Kamron Batman
c2f28f9a98
fix(codegen): Fixes bool in migration structs ( #709 )
...
* Fixes bool? not being a valid type for save flag property migrations.
* Fixes wrong SaveFlag type used in the if check for boolean save flags.
2021-08-20 22:46:13 -07:00