Files
Questie-X/Modules
Xurkon aa50404484 fix(learner): robust safety fallbacks for all learner types
Hardens the learner data-ingestion paths against malformed/partial data
across NPC/object/item/quest types:

- _ValidateLearnedSpawnData now validates object spawn coordinates (key 4)
  in addition to NPC spawns (key 7); object coords were previously
  unvalidated. Extracted a shared _ValidateCoordTable helper.
- _ApplyIncomingNetworkMerge coordinate merge skips malformed zone keys and
  coordinates (non-number / out-of-range) per entry instead of erroring,
  and guards the item drop-list merge against non-number NPC ids.
- The live comms-merge flush isolates each broadcast in a pcall so one
  malformed entry can't abort the batch or break the live-update loop;
  the post-merge InjectLearnedData is also guarded.

Live Learn* entry points already validate id/type. selene 0 errors;
busted 145 successes / same 7 pre-existing failures.
2026-06-10 05:16:51 -05:00
..