Staxel
Fox Core V2-1 (Broken in 1.4. Please use Kitsune Core)
Showing 1-9 of 9 entries
Update: 7 Feb, 2019 @ 7:14am

Fixed an error that can occur on game launch

Update: 21 Jan, 2019 @ 8:01am

Fixed conflicts with the new Kitsune Core

Update: 21 Nov, 2018 @ 9:46am

https://github.com/NimbusFox/Staxel-FoxCore/commits/master

This is the last version of V2-1 I will be working on. I will now be working on a V3 of the Fox Core.

Everything will be rewritten to unbloat the code and make it more adaptable

Update: 18 Aug, 2018 @ 11:07am

FoxCore V2.1 ( https://github.com/NimbusFox/Staxel-FoxCore/commits/master )

Moved configs and errors
- To stop future hash conflicts the core mod will now store configs and errors in the root folder rather than the content folder which would cause issues after a content build and the files had changed in some way

- Added in a settings manager which will send settings for mods to the client and allow them to be read. This occurs when a player joins or when a setting has been updated. This simplifies the need for an extra channel to send configs via the content bundler and allows the settings to be updated dynamically on the client when updated on the server

Update: 18 Aug, 2018 @ 7:48am

FoxCore V2.1 ( https://github.com/NimbusFox/Staxel-FoxCore/commits/master )

Fixed issue where error logs was causing errors

- Moved error logs for mods to the root folder of staxel as they were causing hash issues for the bundler. This is something I will need to look out for in the future. Maybe offer an entity to exist in the world to pass settings for mods between the server and client.

- I believe this will save on errors and offer an easy pathway for setting
updates without affecting the bundler

Update: 10 Aug, 2018 @ 4:13pm

Temporarily stopped the player on save and load events until the cause of the error can be found

Update: 8 Aug, 2018 @ 7:37am

FoxCore V2.1 ( https://github.com/NimbusFox/Staxel-FoxCore/commits/master )

Fixed crashing issues

- Clears blob before setting object values to stop duplicate entries

- Checks if instance being passed in is not null before running. Will stop the calls if the instance is null

Update: 5 Aug, 2018 @ 12:21pm

FoxCore V2.1 ( https://github.com/NimbusFox/Staxel-FoxCore/commits/master )

Added access to the Server Main Loop
- Minor bugs crushed

Fixed save issues regarding Blob storage

Removed deprecated dependency (Thanks RhiannonX for the crash log)

Update: 26 Jul, 2018 @ 7:28am

Version 2.1 ( https://github.com/NimbusFox/Staxel-FoxCore/commits/master ):

Added in a edited version of json.net

New DirectoryManagers and json.net
- Added Config and Content DirectoryManagers

Fixed error when checking if local server

Added in Patch inserter
- Added in the ability to insert functions to be called before or after a function call of choice

Added in more checks when adding an pre/postfix

Fixed Spelling. Added Object Extensions for Blobs

Moved the Patch controller into the foxcore class
- When the foxcore is now initialized it creates a patch instance allowing other code modders to change the order in which their patch code runs meaning that if a mod depends on another coded mod it can run after or before that mod's code using Harmony's HarmonyAfter and HarmonyBefore

Added in licenses (For open source code that has been used)

Blob and objects. Directory Improvements
- Added get and set object for Blobs for the current blob rather than asking for a key
- Added a way to obtain a file's filestream rather than reading and writing streams
- Removed the old FileManager as it was no longer required and is replaced with the DirectoryManager

DirectoryManager fixes and log functions
- Fixed issue where save mod folder not point to the right folder location
- Added in log functions for nicer looking errors or information in the console

Added BlobDatabase and BaseRecord class

Renamed Global to Helpers. Fixed type checking

Added missing !s

Cleanup and improvements
- Cleaned up many classes of any obselete code that is no longer needed
- Moved some static functions to the helper class

More validation for PatchController
- Added more validation checks to make sure that the functions that are being patched in are valid e.g. they are static
- Made the PatchController ignore the __instance argument as it is a harmony system that allows the function to access the class instance that it is patched into
- Added in an internal patch to display the function that is patched in when an exception related to a patched function occurs to make sure the fox core doesn't get blamed for another mod's exceptions
- If Staxel devs ask why my mod is causing the errors I will need to make it a parent exception to make sure the true function name is displayed for the devs

Exception logging
- The Patch Controller will now let the exception know what function caused the exception at the top of the Exception

Added cube vector loops.
- May have fixed early exception catch problem that would not allow the exception logger to continue to run

Moved initialization of the patch controller
- Made it so the Patch Controller only initialises if it's used so that the patch system could not possibly cause an issue if it's not needed

Custom Modhook and Exception emails
- Added a custom modhook that implements a few hooks to help with user management. E.g. when a player joins or when a player's data gets saved
- Added a way for mod developers to obtain exceptions from the game by having json data sent to their email with the data they pass through and what exception occured to help with debugging a problem. Though this can lead to spam if a error occurs multiple times so may need to make a filter system of some kind. But for now will send all exceptions to the mod devs. Will require feedback on how errors should be handled

Added ability to override a function
- Fixed a few bugs in the Corehook and usermanager