Skip to content

fix(scriptmsg): prevent non-string payloads from reaching split()#96

Open
Antiwarden wants to merge 1 commit into
Adpist:masterfrom
Antiwarden:patch-1
Open

fix(scriptmsg): prevent non-string payloads from reaching split()#96
Antiwarden wants to merge 1 commit into
Adpist:masterfrom
Antiwarden:patch-1

Conversation

@Antiwarden

@Antiwarden Antiwarden commented Jun 13, 2026

Copy link
Copy Markdown

Prevent the scriptmsg handler from receiving non-string payloads that would cause message parsing to fail near the end of a run.

Prevent the scriptmsg handler from receiving non-string payloads that would cause message parsing to fail near the end of a run.

While the issue didn't seem system-critical, the resulting crash in
OverlayThread.js may have interrupted the initialization of other
scripts. After this fix, the previously observed "reference to undefined property this.totalExp[level]" warning pointing to Misc.js no longer occurs, suggesting it may have been a secondary
effect of the script failure.
@Antiwarden Antiwarden closed this Jun 14, 2026
@Antiwarden Antiwarden reopened this Jun 14, 2026
@Antiwarden

Copy link
Copy Markdown
Author

Please ignore the assumption about the cause for the reference to undefined property this.totalExp[level] warning in the commit description, since the issue has been addressed with this PR #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant