Commit Graph
4595 Commits
Author SHA1 Message Date
KAMKEEL 3565c66cf8 Keep ability cooldowns across logout
Dimension change and teleport were already fixed, but disconnect still cleared
cooldowns and login cleared them again, and they were never written to NBT - so
relogging reset every cooldown. They are absolute world-time deadlines, so they
now persist and are restored on load.
2026-08-11 03:24:19 -04:00
KAMKEEL aaf6734bd9 Take deleted abilities away from players properly
Deleting a custom ability only cleared the unlocked list. An active toggle kept
a direct reference and went on ticking, stale hotbar slots survived, and the
client was never resynced so it still showed and could select the ability.
Selecting a key the player no longer has now deselects instead of firing
whatever was previously selected.
2026-08-11 03:22:56 -04:00
KAMKEEL 68b5191db6 Fix trader edits being lost on an existing linked market
Closing the setup GUI saved the market from the server''s stale role and then
re-read that market over the edits it had just applied, so stock and currency
cost changes never survived. The role now saves first and the market is written
from it, and relinking to another market no longer pushes pre-link data over it.
2026-08-11 03:21:46 -04:00
KAMKEEL 17f61de57a Fix editor StackOverflow on self-referential generic bounds
fromGenericType expanded a type variable bound, then expanded the bound''s type
arguments, which led straight back to the same variable. Any enum reaches it
through Enum<E extends Enum<E>>, so typing ability.getAllowedBy() crashed the
client. Track the variables being expanded and emit repeats unbounded.
2026-08-11 03:20:34 -04:00
KAMKEEL 5aa843966a Fix divide by zero clicking the profiles scrollbar
The scrollbar hit test was pure geometry, so clicking its column before the
profile list had loaded - or on any list short enough not to scroll - divided
by a maxScrollY of zero. The draw path already guarded on the same value.
2026-08-11 03:19:52 -04:00
KAMKEEL 0829b6285f Update EntityNPCInterface.java 2026-08-11 02:17:28 -04:00
KAMKEEL 4a7c7b09c7 - Fix Counter infinite recursion
- Tags Get Packet
- Cooldowns Resetting on Dimension Change / Teleport
2026-04-20 21:00:54 -04:00
bigguy345 1a77728bcd OVERHAULED IGuiData FRAMEWORK SO ALL UPDATES WIRE THROUGH SyncController (deprecated legacy setGuiData) 2026-04-03 18:00:27 +02:00
bigguy345 7f63b64a66 Set ScriptHandler default to enabled = true 2026-04-03 16:32:56 +02:00
bigguy345 8e8ab06507 Fixed janino script handler serialization inconsistencies 2026-04-03 16:32:34 +02:00
bigguy345 4c301b3c1c Improved PlayerDataSyncHandler 2026-04-02 04:29:29 +02:00
bigguy345 67c6cf14d3 SyncController common SyncRegistry registration (SyncTypes must be on client & server) 2026-04-02 04:26:49 +02:00
bigguy345 0a4bc4126f Fixed massive SyncPacket failure 2026-04-02 04:09:20 +02:00
bigguy345 332f1bfd57 juhhh in case 2026-04-02 00:30:36 +02:00
bigguy345 facee7c388 Expanded SyncController scope to allow syncing based on string operation keys instead of just int ids (i.e ability keys) 2026-04-02 00:24:15 +02:00
bigguy345 22de352dd9 FAAAAAH 2026-03-31 22:57:09 +02:00
bigguy345 b28ea7226f SyncController OVERHAUL PHASE #3:
- Clean up, reorganization and documentation
2026-03-31 22:55:42 +02:00
bigguy345 6d0655ad7d SyncController OVERHAUL PHASE #2:
- Created SyncRegistry and SyncHandler
- Extracted all 14 SyncType family handling to their own SyncHandler
- Rewritten SyncController to accomodate the new framework
2026-03-31 21:44:23 +02:00
bigguy345 48281c8d34 SyncController OVERHAUL PHASE #1:
- Refactored EnumSyncType into object based SyncType registry, so other mods can register their own types
2026-03-31 19:59:53 +02:00
bigguy345 b2c279feeb Extra registry methods 2026-03-27 00:01:33 +02:00
Vidal b8cac96c46 Color overrides 2026-03-22 19:36:30 -03:00
Vidal 554fbeb1a8 Made Register constructor protected instead of private 2026-03-22 10:41:14 -03:00
somehussar e0a6bac642 Lobotomize stencil bit enforcement. 2026-03-20 03:08:03 +01:00
Kam f6e7809a29 Fix Auction House ID Saving 2026-03-15 18:23:14 -04:00
Kam 85ef28ca76 Fix DataScript Issue Global API Objects 2026-03-15 18:03:17 -04:00
Kam f4062f3edd Fix Script Container Issue 2026-03-15 14:43:07 -04:00
Kam 92133afe75 Fix issue with Finish Quest API 2026-03-15 00:09:56 -04:00
Vidal b989a89889 AbilityDefend event 2026-03-13 20:48:25 -03:00
Kam edf5ff7c73 Chained Ability Cooldown on NPCs 2026-03-13 18:54:18 -04:00
Kam ab60fdbd12 Fix Chained Ability Icons + Chained Ability Per Cooldown Config Options 2026-03-13 18:52:17 -04:00
Kam ac953685c8 Mob Spawner / Job Spawner Selection Fixes for Folder Support 2026-03-13 18:43:53 -04:00
Kam 16f0022505 1.11.1 2026-03-13 17:20:12 -04:00
bigguy345 956410c345 feat: implement IntelliJ-style weigher chain for autocomplete ranking
- Add 8 independent weigher classes (MatchQuality, MemberKind, ContextFit, UsageFrequency, ImportStatus, Deprecated, InheritanceDepth, Alphabetical)
- Replace fragile penalty-based scoring with composable weigher chain architecture
- Expand MemberKind to 11 tiers: enum_const > local > instance_field > instance_method > type_class > type_enum > type_interface > static_field > static_method > keyword > snippet
- Reorder weighers for optimal UX: imported always ranks above unimported regardless of usage
- Fix unimported class penalty bug (was being overwritten by calculateMatchScore)
- Implement DeprecatedWeigher (deprecated flag now scored)
- Mark addScoreBoost() @Deprecated in favor of weigher chain
- Add getInheritanceDepth() getter to AutocompleteItem
- Update JSAutocompleteProvider to use 8-weigher chain with InheritanceDepthWeigher
- Comprehensive test coverage: 127+ test methods across weigher unit tests and integration tests
- Matches IntelliJ IDEA's weigher chain pattern (battle-tested production architecture)
2026-03-13 23:00:46 +02:00
bigguy345 81b3d1c2d3 Fixed autocomplete item package color for interfaces/enums 2026-03-13 20:47:54 +02:00
bigguy345 f25b9164d0 Added parameter autocomplete coloring 2026-03-13 20:01:10 +02:00
bigguy345 c0a022c5b5 Tightened excluded range checks in receiver chain resolution (fixes stupid . in comments fkin up next line bug) 2026-03-13 19:49:30 +02:00
bigguy345 ce8c9b3b94 oh shit 2026-03-13 19:40:06 +02:00
bigguy345 b6e3ee8404 Umm one is enough 2026-03-13 18:34:09 +02:00
bigguy345 85d4bb2628 man get this old washed shit outta my face 2026-03-13 18:33:27 +02:00
bigguy345 82128ce318 Proper Hover Info data for generic classes with type params 2026-03-13 18:33:03 +02:00
bigguy345 390b3446a3 Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified
# Conflicts:
#	src/main/java/noppes/npcs/client/gui/util/script/interpreter/type/TypeInfo.java
2026-03-13 18:30:09 +02:00
bigguy345 f66d2f0193 GenericContext overhaul, removed redundant TypeSubstitutor 2026-03-13 18:29:06 +02:00
bigguy345 53446e06c6 unified TypeInfo API access to it uses exposed TypeInfo members instead of inner raw Class reflection calls 2026-03-13 18:20:44 +02:00
bigguy345 691a7fb2c7 unified TypeInfo API access to it uses exposed TypeInfo members instead of inner raw Class reflection calls 2026-03-13 17:47:29 +02:00
Kam 57e6934fe5 Merge branch 'dev' into syntax-highlighter-unified 2026-03-13 03:13:24 -04:00
bigguy345 335ffdd074 editor color scheme improvements 2026-03-13 06:41:22 +02:00
bigguy345 7282081832 Fixed x undefined when
//comment.
x = 10;
2026-03-13 06:06:00 +02:00
bigguy345 a3c7398628 Whole buncha ergonomic hover info tweaks 2026-03-13 05:52:41 +02:00
bigguy345 07594f574b Fixed autocomplete showing in comments 2026-03-13 04:56:07 +02:00
bigguy345 3b7798338f Proper TypeInfo.typeParam overload that is much needed + IntersectionTypeInfo for type parameter <T extends X & Interface1 & Interface2<T>> 2026-03-13 03:53:05 +02:00