KAMKEEL
dedbe94cd8
Keep client-only sub-GUI types out of Ability's method descriptors
...
The magic editor field was built with lambdas inside Ability.getAllDefinitions.
subGuiField is generic, so those lambdas took SubGuiAbilityMagic as their
descriptor type. @SideOnly strips the annotated method on a server but not the
synthetic lambdas it generates, so anything reflecting over Ability's declared
methods - Nashorn's adapter generator when a script touches an ability - hit
NoClassDefFoundError. Building the field in the client class keeps the type out
of Ability entirely.
2026-08-11 04:44:14 -04:00
KAMKEEL
9f4334a803
Line the monkey tail up with the player model
...
heightFactor did not fully cancel ModelTail''s anchor, leaving both the wrapped
and plain monkey tails two pixels below where JBRA renders them on players.
2026-08-11 03:26:32 -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
bigguy345
1a77728bcd
OVERHAULED IGuiData FRAMEWORK SO ALL UPDATES WIRE THROUGH SyncController (deprecated legacy setGuiData)
2026-04-03 18:00:27 +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
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
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
bigguy345
eae5a08932
Made TokenType priority internal
2026-03-13 03:43:39 +02:00
bigguy345
547989a6d4
Smoothened script editor scrolling again (now that we have proper fonts)
2026-03-13 03:32:27 +02:00
bigguy345
4ccec31efa
Removed MODIFIER, IMPORT_KEYWORD and CLASS_IMPORT token types, all replaced with KEYWORD
2026-03-13 03:22:46 +02:00
bigguy345
b7c3c53dc9
Fixed ScriptColorScheme not respecting resourcepack priority
2026-03-13 03:03:39 +02:00
bigguy345
f1f3b17402
Correctly calculated new font width throughout script editor endpoints (for italics/bold)
2026-03-13 03:00:54 +02:00
bigguy345
254655cb1d
Improved <> formatting and auto insertion
2026-03-13 02:46:16 +02:00
Kam
26ae7adac5
Fix Sound Selection
2026-03-12 20:33:43 -04:00
bigguy345
05c27c5d20
Added cursor caret color to editor color scheme
2026-03-12 06:57:38 +02:00
somehussar
6f2288c81f
Simplify this. Issue was with wrongly packaged ZIPs
2026-03-12 04:58:45 +01:00
bigguy345
88d496137a
SCRIPT EDITOR COLOR SCHEMES (W.I.P
2026-03-12 04:53:27 +02:00
Kam
b231f65bfb
Profile Sync Quest Data Crash Fix
2026-03-11 21:57:56 -04:00
Kam
15749c8ad7
Profile Sync Quest Data Crash Fix
2026-03-11 21:42:27 -04:00
Kam
5acb371fab
Uncomment + Todo for Goatee
2026-03-11 14:18:03 -04:00
Kam
f18ae4e08f
Merge branch 'dev' into syntax-highlighter-unified
2026-03-11 14:08:19 -04:00
bigguy345
59ba554315
Fixed "Java" language option and editor tab language button being available for ScriptHandlers with no janino handling
2026-03-11 16:25:15 +02:00
bigguy345
9207cc3f43
Fixed paramterize() -> substitute() cyclic StackOverFlow
2026-03-11 14:41:46 +02:00
bigguy345
0af3bdfd04
Removed redundants
2026-03-11 14:39:37 +02:00
bigguy345
102c4fc398
Expanded scope of patterns/markers to handle nested generics more robustly
2026-03-11 14:38:49 +02:00
bigguy345
f53edb6e64
Parsed lambdas properly in their own path + cached their values and hooked up their AssingmentInfo errors
2026-03-11 14:35:38 +02:00
bigguy345
acaefbb68c
Improved unimported autocomplete classes handling + colored gray
2026-03-11 14:08:28 +02:00
bigguy345
57128a8d8b
Fixed various formatting line wrap bugs
2026-03-11 10:53:32 +02:00
Kam
6bf33e4296
Add API Registry System for API Links and Such
2026-03-11 03:55:07 -04:00
Kam
3aaf54e2c2
Fix Scaling and Defaults for HUD
2026-03-11 03:38:15 -04:00