Replace clipping files with loading straight from the cache. (#540)

* Archive decompression from apollo

* Removed unused object definition fields

* Add more options to IndexedFileSystem

New methods are to read directly to a bytearray rather than allocating a large number of ByteBuffers on server startup for map loading. decompress is from client and will be depre

* Fix opcode 19 of object defs

* Initial commit of loading maps from cache

* Removed deprecated methods

Methods were in IndexedFileSystem for testing to ensure the getFileBytes method worked correctly.

* Some code cleanup to fix packaging.

#TODO review methods in CompressionUtil to use the best Gzip decompression

* map_index loading from cache

* Update pom.xml

Added commons compress dependency from maven for bzip2 decompression

* Renaming some object definition values.

* Update ObjectDefinition.java

Removed rest of unused variables

* Update ObjectDefinition.java

* Object Definitions loading from cache

* Remove dead code

* Remove unneeded files

Maps/Definitions now load from in the cache.

* Firemaking clipping
This commit is contained in:
MatthewBishop
2023-01-25 14:15:31 -05:00
committed by GitHub
parent f56402845b
commit 1ad531d244
1353 changed files with 551 additions and 475 deletions
@@ -213,7 +213,6 @@ public class GameEngine {
/**
* Initialise Handlers
*/
ObjectDefinition.loadConfig();
RegionFactory.load();
Doors.getSingleton().load();
DoubleDoors.getSingleton().load();