Commit Graph
240 Commits
Author SHA1 Message Date
Kam acd70b13df Added PlayerData .dat Format for Faster Server Optimization/Saving 2023-06-02 02:09:38 -04:00
Luis C.M 0c25d7ec1c Reverted changes to saving/loading player data from previous commit to 2023-05-31 19:59:20 -05:00
Luis C.M 895d20335f DataScript:
-Now doesn't create a new instance of NpcAPI
2023-05-30 01:27:34 -05:00
Luis C.M 1ce5b7b302 ScriptCustomItem:
-Fixed issue where NBT data was not being sent to the client side, caused by latest commit.
2023-05-30 00:56:39 -05:00
Luis C.M a0adf0d7bd Fixed item toss event not being cancellable. Setting a script container's engine doesn't happen on every script call now, reducing lag. 2023-05-29 23:57:45 -05:00
Luis C.M 130ac26879 ScriptContainer:
-Fixed issue where the full code the script engine evaluates wouldn't get remade after being changed
2023-05-25 22:18:54 -05:00
Luis C.M cbf99be297 PlayerData:
-Renamed loadPlayerDataFromFile() to load(), and moved it next to the save() function for later addition to the API.
-Moved saving/loading to EP functions where they used to be.
-Removed now unused PlayerData.get() and loadPlayerDataOld() functions

ServerEventsHandler:
-Added new EntityConstructing event to add the PlayerData EP earlier.

NoppesUtilPlayer:
-questCompletion() now saves player data right before its return statement.
2023-05-21 02:48:30 -05:00
Kam 02b44953cb Remove duplicate Quest Completed Message 2023-05-17 16:18:09 -04:00
Kam 6df7d3643f Remove runTack() 2023-05-16 19:16:34 -04:00
Kam f77a2ff101 Remove more threading 2023-05-16 17:45:23 -04:00
Kam 49fab85291 Revert lots of multithreading for better threaded saving and data synchronization 2023-05-16 17:43:54 -04:00
Kam 892d11b89b Synchronized savePlayerDataMap 2023-05-16 14:40:16 -04:00
Kam 221f00ccf4 Make Save PlayerData within PlayerData. More multithreaded saving 2023-05-15 23:06:21 -04:00
Kam cf82314181 Final & Synchronized Data sending with slight delays to heavily improve server performance 2023-05-15 20:03:52 -04:00
Kam ae1f33d327 Utilize a One Thread and Synchronized attribute to better control data integrity and prevent data loss 2023-05-15 19:31:40 -04:00
Luis C.M 92097769d9 ScriptPlayerEventHandler:
-Temporary fix to updating tracked item quests.

Fixed more tracked quest issues.
2023-05-14 19:14:43 -05:00
Kam f2faf3513d ___playermap.dat_old not being found 2023-05-12 12:52:39 -04:00
Luis C.M 142fbe51e2 Fixed quest not tracking from previous commit. 2023-05-11 20:27:00 -05:00
Luis C.M e0360f9a6e Made tracked quest a private field, clearer intent in code for bug fixing. 2023-05-11 20:17:16 -05:00
Kam 9ff341bd17 Fix Quest Completion Message 2023-05-11 16:58:03 -04:00
Kam dd5ca106bc Fix Quest Cooldown string results 2023-05-11 16:45:25 -04:00
Kam 3cba19cea2 Fix UUIDS not saving when spawning an NPC 2023-05-11 13:19:53 -04:00
Kam fa7fb7f734 ??? Fix Quest Cooldown Times ??? 2023-05-11 11:57:39 -04:00
Luis C.M 8a4c9f6f6b DataScript:
-Fixed loading error on NPC scripts causing index oob exceptions when reading event scripts.
2023-05-10 22:57:58 -05:00
Kam ed97534e67 Add PlayerDataMap + Regenerating PlayerData button 2023-05-10 15:06:07 -04:00
Luis C.M dd14f3ded0 PlayerDataController:
-Fixed retrieving player data from usernames.
2023-05-10 01:17:17 -05:00
Kam 2bd5f25410 Animation Command 2023-05-09 14:08:45 -04:00
Kam 8ca2cc58f0 cleanTagList() add Clones and Merge Temporary Tags while saving 2023-05-08 23:47:16 -04:00
Kam adec63c763 CloneAllTagsShort for Quicker Server Interaction 2023-05-08 23:46:38 -04:00
Kam 867a8a3d82 Display Tags Alphabetically in Cloner 2023-05-06 15:59:45 -04:00
Kam 5d738987b2 Add Sort Settings - Filter/Order/Type to Cloner GUI 2023-05-03 15:01:23 -04:00
Luis C.M 0ceb5dc3e2 Changed JS code execution in the ScriptContainer, more similar to 1.12 now. 2023-04-02 18:44:56 -05:00
KAMKEEL 53070b47c4 Fix ReadNBT Tag Error 2023-03-22 22:36:41 -04:00
KAMKEEL c4b9a5ca21 Sort of Working 2023-03-22 22:03:01 -04:00
KAMKEEL 9d68a5e079 Fix UUIDs not saving to NPCs - Revert TagMapUUID List 2023-03-22 21:27:20 -04:00
KAMKEEL 30b3f55e7c Send All Tags to Client for Viewing 2023-03-22 20:13:36 -04:00
KAMKEEL ac87f2c2c2 Fix TagMap UUID List 2023-03-22 20:01:05 -04:00
KAMKEEL abb2d13e6e Remove From TagMap 2023-03-22 19:47:13 -04:00
KAMKEEL cc2e8805d8 Create Tag Map 2023-03-22 19:43:36 -04:00
KAMKEEL 81c752c483 Tag Code Cleanup 2023-03-22 19:14:13 -04:00
KAMKEEL 41c4fc66d0 Send Valid Tags to Client that correlate with UUIDs found on the Server. No longer needs the Clones Data 2023-03-22 17:58:02 -04:00
KAMKEEL 0943299384 Fix ReadNBT TagMap 2023-03-22 17:31:32 -04:00
KAMKEEL 214f0a4c00 Add UUID to Int HashMap in TagController 2023-03-22 16:07:42 -04:00
KAMKEEL 2c349cb34c Ignore Exception 2023-03-22 16:06:32 -04:00
KAMKEEL 89efe67f44 hasClone for TagMap 2023-03-22 13:37:09 -04:00
KAMKEEL 33e5071b11 Convert Set to HashSet 2023-03-22 13:35:49 -04:00
KAMKEEL 8ef4276865 ServerTagMap Controller 2023-03-22 13:18:24 -04:00
KAMKEEL f2190b350d Update TagMap NBT Tag 2023-03-22 13:18:17 -04:00
KAMKEEL 1fc7c8ea50 Fix TagMap to use "CloneMap" as its Tag Value 2023-03-22 12:52:49 -04:00
KAMKEEL eb11170a9b TagMap writeToNBT 2023-03-22 04:52:16 -04:00