Commit Graph
54 Commits
Author SHA1 Message Date
Kam c3538836be Optimize Imports 2025-02-20 21:40:39 -05:00
Kam fe7c24186d Remove Redundant Old Packet Handlers 2025-02-02 23:18:18 -05:00
Kam db2144116f Reorg -- Data Packets designed to send to Client 2025-01-30 13:54:49 -05:00
Kam c3179b36f2 Remove PacketHandlerClient 2025-01-30 12:44:39 -05:00
Kam a1f10db0de Continue to replace Client Packet Handler with PacketHandler 2025-01-30 12:16:11 -05:00
Kam e8c3fc4d0a MORE SWAPPING 2025-01-30 11:03:57 -05:00
Kam ee8527f261 SyncController Fixes 2025-01-30 09:26:04 -05:00
Kam 31c7ceacab Sound Packet Commit 2025-01-30 01:35:48 -05:00
Kam e6c9c20751 Shared Item Removal for Quest Item Shared 2024-03-18 04:23:36 -04:00
Kam d8b756aba6 Handle Party Complete for Quest Items
- Shared Item Quests not yet implemented
2024-03-15 19:14:14 -04:00
Kam 6fae016bcb Quest Tracking Scale Setting 2024-03-15 16:40:43 -04:00
Kam 67d4b3bd15 Party Quest Tracking 2024-03-15 15:43:29 -04:00
Kam d145f58311 Better Quest Complete Handling for Party 2024-03-07 19:53:04 -05:00
Kam cc319b9f84 Fix Turn in Quests Clearing too Soon 2024-03-07 18:47:24 -05:00
Kam 614c6ca474 Party Scripting / Better Party Objective Handling (Sync)
- IParty API
- PartyEvents and Registers
- Register Hooks to Player Scripts
2024-03-06 05:05:16 -05:00
Kam 64d8d00fad Min/Max Party Size, Execute Command for, Lang Updates 2024-03-04 05:15:50 -05:00
Kam 6936e7d86e More Party Refactoring for PartyController
- Added Quest Completion Popup to questPartyCompletion()
- Added Quest Completion Message when the Party Quest is finished AND ping update
- AREA KILL Quest is currently BROKEN with Parties
2024-03-03 00:14:19 -05:00
Kam 2328b0dadf First Working Version of Party Kill Quest Completion 2024-03-02 21:06:42 -05:00
Kam 2f8dad6ca0 Fix Quest Tracking Autocomplete Text 2023-07-29 02:35:15 -04:00
Kam 491e377a3e CAPITAL I cause it looks cool 2023-06-05 22:12:48 -04:00
Kam 54b46129a9 Capital "I" for Instance 2023-06-05 19:35:27 -04: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 60dbcc7146 Ensure Tracked Quest does not equal null when updating 2023-05-15 16:02:44 -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 e0360f9a6e Made tracked quest a private field, clearer intent in code for bug fixing. 2023-05-11 20:17:16 -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
KAMKEEL 3250a9e02b Spelling Errors 2023-02-28 03:32:35 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
Luis C.M 5d520837b1 Implemented a way to play ISound(s) to players without using a sound ID. 2022-12-21 19:07:19 -06:00
Luis C.M 73ceeab907 Tracked quest data is sent for the next quest when a quest is completed now. 2022-12-19 17:18:28 -06:00
Luis C.M 808de24db4 Player data is now saved to disk when a quest is finished. Removed an unused packet. 2022-12-19 17:07:50 -06:00
Luis C.M cfac349265 Fixed quest reward null pointer exception. 2022-12-19 16:09:18 -06:00
Luis C.M 0414817673 Implemented event interfaces, made more events cancellable. 2022-11-24 14:36:09 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
KAMKEEL ed35f74dbe Potential NullPointerException Quest Fix 2022-10-02 23:07:12 -04:00
c0508383 d1762654ba ISound:
-Allows for the changing of several sound attributes, including volume, pitch, repeating, etc.

NpcAPI, IPlayer, IWorld:
-Added more sound functions, with sounds that can be stopped and started based on an ID.
2022-07-13 19:27:27 -05:00
Luis C.M dd207757ea IPlayer:
-Added disableMouseInput(long time, int... buttonIds) function.
2022-06-13 17:21:02 -05:00
Luis C.M 8f16e6b20f Added IDialogImage, a scripted object which is used by IDialog. Used to add dialog images.
IDialog:
-Added several new functions for dialogs' new visual attributes, as well as a way to add, get, create, remove, and clear dialog images.

Global NPC events:
-Added fields and variables from the old ScriptEvent events, in preparation to replace the old events with NpcEvent instances on local NPC scripts.
-Fixed issue where some event hooks would run on remote worlds.

Global NPC killed event:
-Added droppedItems and expDropped fields.

IWorld and NpcAPI:
-Now always uses a non-remove WorldServer object to create ScriptWorld objects and add them to the world cache.
2022-06-10 17:25:58 -05:00
Luis C.M 9928482c53 Fixed null error with the quest tracker. 2022-05-29 05:09:30 -05:00
Luis C.M e2df33fb5f Added quest objective and turnin data to the quest tracker. 2022-05-29 04:45:38 -05:00
Luis C.M 33bb0307e9 Separated data objects and data controller objects in the noppes.npcs.controllers package. 2022-05-24 01:07:50 -05:00
Luis C.M cf33b90b26 Used interfaces in implementations instead of the real classes for most scripted classes. 2022-05-11 22:08:31 -05:00
Luis C.M 6896cec417 Every function in API classes that calls the main API class now calls the loaded API wrapper, renamed to NpcAPI, instead of the abstract class, renamed to AbstractNpcAPI. 2022-05-11 17:12:48 -05:00
Luis C.M 6dea5a1cbc Interfaces have a file strucutre resembling the file structure of their implementing classes. 2022-05-11 16:43:14 -05:00
Luis C.M b309738c0b Fixed swingHand() function for ScriptPlayer 2022-05-02 01:41:43 -05:00
Luis C.M 65bb3b5939 Important fix to some NPC hook scripts crashing, added option and dialog object fields to local NPC dialog and NPC dialog closed scripts 2022-04-09 00:17:16 -05:00
Luis C.M 18ff2bff78 Implemented Global NPC Events!
All NPCs activate these scripts. If a player wants to create a script that's universally used by all NPCs, this allows for that to happen with a lot of ease!
2022-03-23 03:54:06 -05:00
luisc 1ebf747302 Optimized NBT access of player data when checking quest completion, player data variable is passed down to lower functions.
Player's quests are checked for completion every couple seconds now.
2022-02-02 07:18:33 -06:00
luisc 04def38b63 Added dialog events to scripted player events 2022-01-12 22:59:03 -06:00
luisc b024f800ae Added quest start, complete, and turnin events, and a faction points event to scripted player events. 2022-01-12 20:12:16 -06:00