Kamron Batman
55a6589644
fix: Fixes wrong point reference in building region ( #982 )
2022-03-30 13:14:29 -07:00
Kamron Batman
0925a2d435
fix: Cleans up Point checks and removes statics ( #966 )
...
- [X] Removes static freezing/unfreezing. Use other tools for this.
- [X] Cleans up IPoint3D allocations
- [X] Removes IPoint3D constructors since the compiler may not optimize the constructor path and allow allocations.
Note: Instead of `new Point3D(m)`, do something like `new Point3D(m.Location)`. Sorry for the inconvenience. In the long run this will prevent abuse of hot paths that will cause performance issues.
2022-03-20 23:15:59 -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
84cbd52a2a
fix: Removes players from sectors ( #682 )
2021-08-13 21:25:24 -07:00
Kamron Batman
7ddf2b1a8f
fix(core): Fixes regions ( #642 )
2021-06-04 23:34:22 -07:00
Kamron Batman
cc5a8dc4fa
fix(core): Fixes region base type ( #635 )
...
Fixes `Region` being loaded instead of `BaseRegion` as the default region type.
2021-06-02 23:12:52 -07:00
Pedro Pardal
3a619e0103
feat(logging): Adds support for Serilog ( #573 )
...
Example:
```cs
public class SomeClass
{
private static ILogger _logger;
private static Logger => _logger ??= LogFactory.GetLogger(typeof(SomeClass));
...
}
```
2021-04-19 23:43:54 -07:00
Kamron Batman
8006fa20df
fix(core): Fixes errors from missing files ( #511 )
2021-02-14 18:30:53 -08:00
Kamron Batman
07751654b7
fix(core): Moves map definitions and cleans up loading maps, regions, and tiles ( #431 )
...
- [X] Moves map definitions to a `map-definitions.json` file.
- [X] Creates a TileMatrixLoader.
- [X] Moves tile matrix and multi data configurations closer to their classes.
2021-01-25 11:05:52 -08:00
Kamron Batman
e869c105d0
fix(core): Fixes type caching & cleanup ( #422 )
...
- [X] Fixes some issues with the type caching
- [X] Changes type check default to ignore case
- [X] Splits out type caching of insensitive and sensitive lists. This means less stuff to iterate through when checking a type against the string.
- [X] Adds an ArrayEnumerator, mostly for reference purposes (copy/paste as needed)
2021-01-20 00:10:33 -08:00
Kamron Batman
fbafd7210d
fix(core): Converts some packets & misc fixes/cleanup ( #414 )
...
- [X] Adds a stop music packet
- [X] Converts chat packets
- [X] Breaks out chat code a little bit more
- [X] Converts character statue animation packet
- [X] Renames some folders to have spaces
- [X] Organizes and consolidates incoming/outgoing packets for other content
- [X] Fixes virtual checks
2021-01-16 21:01:54 -08:00
Kamron Batman
540a879d63
fix(core): Converts remaining player packets ( #374 )
...
- [X] Converts the remainder of the player packets
2020-12-30 16:09:51 -08:00
Kamron Batman
3551d962f7
C# 9 Cleanup ( #325 )
...
- [X] Removes EventArgs - not needed
- [X] Merges sequential checks
- [X] Removes redundant type declarations
2020-11-27 00:29:21 -08:00
Kamron Batman
12e935e4f4
Adds property sorting for json output ( #266 )
2020-09-26 22:38:50 -07:00
Kamron Batman
e9c1e4cbba
Fixes dupe exception ( #258 )
...
- [X] Cleans up ActivatorUtil
- [X] Fixes dupe exception
- [X] Fixes a bug in BasePotion
- [X] Fixes a few possible memory leaks
Bumps release version
2020-09-19 15:46:07 -07:00
Kamron Batman
741e8d8300
Cleanup/Housekeeping ( #242 )
2020-09-12 15:31:21 -07:00
Kamron Batman
dad5997c85
Fixes copyright headers and live template ( #216 )
2020-09-03 01:47:20 -07:00
Kamron Batman
86b7b3aed1
Fixes formatting ( #200 )
2020-08-25 18:53:35 -07:00
Kamron Batman
010fd9402a
Code cleanup ( #188 )
2020-08-01 08:40:06 -07:00
Kamron Batman
1246a135f7
Updates Data to JSON ( #159 )
2020-06-19 13:53:18 -07:00
Kamron Batman
390f30e706
Convert Regions/Spawns to JSON ( #138 )
2020-05-26 00:34:29 -07:00