Commit graph

13 commits

Author SHA1 Message Date
Ty Conner
12e569652f
Switch to System.Text.Json (#4002)
* Switch to System.Text.Json

Removed Newtonsoft.Json and DouglasCrockford.JsMin

* Update GameConfiguration.cs

* Update MasterConfiguration.cs

* Update ThreadConfiguration.cs

* Update StarterSpell.cs

* Update StarterGearFactory.cs

* Update Program_Setup.cs

* Update LifestonedConverter.cs

* Update Program_Setup.cs

* Update Program_Setup.cs

* Update ACE.Adaptor

Shift JSON weenie [de]serialization to System.Text.Json

* Update LifestonedConverter.cs

* Update StarterGearFactory.cs

* Update ACE.Server.csproj

* Update ACE.Server.Tests.csproj

* Update Program.cs

* Update MySqlConfiguration.cs

* Update DDDConfiguration.cs

* Update ModContainer.cs

* Update ModManager.cs

* Update ModMetadata.cs

* Update ModMetadata.cs
2023-12-21 14:15:38 -05:00
Ty Conner
5b1b6e3ea5
Add some null returns to GDLELoader (#3036)
* Add some null returns to GDLELoader

* Apply suggestions from code review

Co-authored-by: gmriggs <gmriggs@gmail.com>

Co-authored-by: gmriggs <gmriggs@gmail.com>
2020-06-21 22:02:05 -04:00
Ty Conner
3250502a9a
Update Adapter for use with parser tool (#3028) 2020-06-18 14:21:44 -04:00
gmriggs
592a19dd7b
improved json landblock export (#2741)
* improved json landblock export

* .

* .
2020-02-27 15:04:08 -05:00
gmriggs
da2c3df688
adding quest support to import-json and import-sql (#2694)
* add support for recipes to DeveloperContentCommands

* adding landblock instance support to import-sql and import-json

* fixing spelling

* updating json landblock key

* adding quest support to import-json and import-sql

* fixing bug in original GDLEConverter.TryConvert() for reading landblock json

* adding comment

* removing duplicate code from merge
2020-02-12 12:45:27 -05:00
gmriggs
f662226b62
adding landblock instance support to import-sql and import-json (#2683)
* add support for recipes to DeveloperContentCommands

* adding landblock instance support to import-sql and import-json

* fixing spelling

* updating json landblock key

* fixing bug in original GDLEConverter.TryConvert() for reading landblock json
2020-02-12 04:43:53 -05:00
gmriggs
97ef273a73
add support for recipes to DeveloperContentCommands (#2664) 2020-02-12 03:31:38 -05:00
Ty Conner
e417d8934b
Wire up adaptor support for wieldedTreasure.json, region.json and encounters.json (#2628)
* Wire up adaptor support for wieldedTreasure.json, region.json and encounters.json

* cleanup

* Update Creature.cs
2020-02-12 00:45:47 -05:00
Ty Conner
cda2ab9aa3
Update ACE.Adapter to support spawn maps (#2445)
* Update ACE.Adapter to support spawn maps

* Update GDLELoader.cs

* Update GDLELoader.cs
2019-11-21 00:01:06 -06:00
Mag-nus
4dab146548
Code cleanup (#1681)
* Flags attribute

* empty statement

* Fix Formatting

* Fix OrderBy -> ThenBy

* use OfType

* Replace with asingle call to Count(...)

* Replace with a single call to FirstOrDefault

* Merge cast with type check

* use String.IsNullOrEmpty

* use collections count property

* use format specifier (results in shorter loc)

* use Any() instead of Count() > 0

* revert ThenBy with comment
2019-04-10 20:48:34 -05:00
Ty Conner
4c3809faa8
Add support for GDLe recipe conversions (#1691)
* Update Crafting SQL Writer

* Add support for GDLe recipe conversion

* cleanup
2019-04-10 12:42:33 -05:00
Ty Conner
3dc023d200
Update LSD converter to support enum shifting (#1666)
* Update LSD converter to support enum shifting

* Add bool to Try Converts

* Update LSD DataModel

* Update Writer and Exporter
2019-04-07 19:56:56 -05:00
Mag-nus
7e23a3b722
Gdle adapters (#1222)
* GDLE WorldSpawns loader/converter

GDLELoader.TryLoadWorldSpawnsConverted(@"C:\ACE\data\gdle\worldspawns.json", out var instances, out var links);

* GDLE events supported

 GDLELoader.TryLoadEventsConverted(@"C:\ACE\data\gdle\events.json", out var events)

* GDLE quests supported

GDLELoader.TryLoadQuestsConverted(@"C:\ACE\data\gdle\quests.json", out var quests)

* cleanup Quests

* cleanup events

* Cleanup WorldSpawns

* GDLE Spells support

* Recipes initial

* Spells convert

GDLELoader.TryLoadRecipesConverted(@"C:\ACE\data\gdle\recipes.json", out var recipes)

Lots of todo notes here though

* Add the WeenieClassName enum to ACE.Entity.Enum

* Add Weenie.ClassName to LifestonedConverter

* TryLoadWorldSpawnsConverted Guid conversion

* Comment the AI indexes

* fix quest jsons with -1 MinDelta

* Fix - formula values for json spells (bugs)
2019-01-17 10:05:17 -06:00