Script memory bug

A bug in the json parsing library of the script engine caused it to overwrite memory, which in turned caused all sort of havoc with scripts! Especially scripts handling room events.

I have fixed it in mucklet-script v1.65.3:

For those of you using mucklet-script, to resolve it, run:

npm install mucklet-script@latest --save

Ignore any warning that says:

npm warn skipping integrity check for git dependency ssh://git@github.com/anisus/json-as.git

That is just because I’ve temporarily forked the json parsing library to my anisus workspace and applied the bugfix.

If you use the in-game commands (set roomscript ...) to create scripts, you will have to wait til next release before the fix it out.

1 Like