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 authored and GitHub committed 2023-01-25 19:15:31 +00:00
1 parent f56402845b
commit 1ad531d244
1353 files changed
+551 -475

No files matched your search

@@ -213,7 +213,6 @@ public class GameEngine {
/**
* Initialise Handlers
*/
ObjectDefinition.loadConfig();
RegionFactory.load();
Doors.getSingleton().load();
DoubleDoors.getSingleton().load();