Hornwitser
ecbce16c99
Be more defensive with global table initialization
...
When upgrading or downgrading the inventory_sync plugin it's possible
an different structure of the global.inventory_sync table is left behind
which could cause the code to crash when certain sub tables are not
present.
Be more defensive in the initialization of the table to make sure all
sub-tables are present on startup.
2021-08-10 17:41:40 +02:00
Daniel
2ffb848fe6
Replace spaces with tabs
2021-07-29 23:59:37 +02:00
Daniel
e63f1246da
Offer the player a temporary inventory while waiting for master
2021-07-29 23:55:48 +02:00
Daniel
1a1b4fb0d2
Fix invincible ghost character creation on first join
...
Inventory sync will now wait intil the player has a character.
This means sync won't happen ex during respawn animations
or freeplay intro cutscenes.
2021-07-12 23:28:16 +02:00
danielv
4027a4f310
Cleanup, sync more player properties
2021-07-12 22:05:54 +02:00
danielv
98f801e244
Changed usage of globals, worked around edge cases
2021-07-12 22:05:54 +02:00
Daniel
f9ef2ebbe1
Microoptimizations after code review
2021-07-12 22:05:54 +02:00
Daniel
a939e11641
Fixed bug with import of logistics slots
...
Slots were shifted 1 slot to the right every time due to off by one issue in the deserializer
2021-07-12 22:05:54 +02:00
Daniel
a4a667ef06
Reimplement core method for crafting_queue sync
...
* New method avoids all dataloss and prefectly replicates the queue
* Made proper description in readme
* Added packages to make lerna build happy
* Added reference to main readme
2021-07-12 22:05:54 +02:00
Daniel
87218e4803
Support for transferring crafting queues
2021-07-12 22:05:54 +02:00
Daniel
40301f59b7
Transfer all misc properties as well
2021-07-12 22:05:54 +02:00
Daniel
e4bdf996f7
Serialize hotbar&logistics&data, show download progess
2021-07-12 22:05:54 +02:00
Daniel
c1d0404f23
Made inventories download in chunks to prevent blocking rcon
2021-07-12 22:05:54 +02:00
Daniel
86bd07666f
First working draft of inventory sync
2021-07-12 22:05:53 +02:00