Commit Graph
169 Commits
Author SHA1 Message Date
Kam d545e4ba89 Remove Static from CachedPlayerData so it doesnt cross through worlds 2023-06-05 18:44:43 -04:00
Kam 8ddb9b77f5 PlayerData Live Cache for better server performance/load/save functionality 2023-06-04 22:27:25 -04:00
Luis C.M 8732c3331c SpawnData:
-Added null check when saving natural spawn entries
2023-06-03 17:10:10 -05:00
Luis C.M dd7714350d ScriptWorld:
-Added functions from patch
2023-06-02 17:17:00 -05:00
Kam f6b9f2c973 Fix Load PlayerData for JSON or Dat Types 2023-06-02 03:37:18 -04:00
Kam 0fca857248 Fix Typo 2023-06-02 03:24:32 -04:00
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 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 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 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
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
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 dd5ca106bc Fix Quest Cooldown string results 2023-05-11 16:45:25 -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 2bd5f25410 Animation Command 2023-05-09 14:08:45 -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
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 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 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 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 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
KAMKEEL 6714daa60a TagMap initial commit 2023-03-22 04:34:02 -04:00
KAMKEEL 7bd14b06dd Move InnDoorData to proper directory 2023-03-21 19:37:04 -04:00
Luis C.M f27599075a As many slots as possible can be added to natural spawn entries now. 2023-03-20 02:00:58 -05:00
Luis C.M 2ef93dd35f Fixed index out of bounds exception 2023-03-16 23:58:45 -05:00
Luis C.M df069c82c2 Added a quest alert toggle for each quest in the quest log.
Fixed instant complete quests not finishing sometimes.
2023-03-16 23:37:57 -05:00
Luis C.M e58b494979 All global NPC scripts are now called before local NPC scripts
Fixed event NPC scripts not running after erroring, and not outputting to the console
2023-03-16 16:43:05 -05:00
Luis C.M fe780d69ee Added target lost event. Added all new NPC events to the old 1.7.10 script system. 2023-03-16 04:56:33 -05:00
Luis C.M 29935a1c6d Implemented local NPC event scripts. 2023-03-16 04:27:19 -05:00
Luis C.M 5b589768f6 Player, Forge, & NPC script console changes, & further fix to concurrent modification exception on script container. 2023-02-21 12:45:48 -06:00
Luis C.M 0db96f9040 Fixed forge, player, & npc scripts not being able to be deleted or added. 2023-02-19 16:22:28 -06:00
Luis C.M de6375c4cb Fixed script console not appearing with the new global script tab saving method. 2023-02-19 15:20:51 -06:00
Luis C.M 79e13dfade Changes to the animation GUI and part/frame saving. 2023-02-19 13:46:37 -06:00