
Hello all,
I have a problem I have no idea how to go about solving. I use the Pathfinder Community sheet, and host 2 weekly games. The past few days I have been discovering and utilizing scripts, with no "gamebreaking" errors I couldn't solve with trial and error.
In short, the initiative tracker has stopped working in one game, and breaks scripts if I ever close it (after opening it). When a command is sent using &{tracker} it simply does not go through to chat, stoping somewhere. I have tried different variations of sending things to the tracker, and eventually came to the conclusion that it is simply broken and I have no idea why. The default initiative button won't even work now either on the sheet, as it is hard coded to send to the tracker, so I've had to work around that last game with manual macro/rolling.
The odd thing is that in the two games I have, scripts are consistent across both, as are macros. The problem game DOES have a lot more active scripts (i.e Bump) running, but that doesn't seem like it should cause this kind of issues. The only "lead" I have right now is the error thrown back when I close the turn tracker:
TypeError: Cannot read property 'id' of null TypeError: Cannot read property 'id' of null at turnorder.forEach.turn (apiscript.js:7200:20) at Array.forEach (native) at checkMarkerturn (apiscript.js:7199:19) at getOrCreateMarker (apiscript.js:7169:9) at removeMarker (apiscript.js:6912:9) at stopCombat (apiscript.js:6899:9) at handeIniativePageChange (apiscript.js:7560:13) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8) at TrackedObj.set (/home/node/d20-api-server/api.js:1020:14)
I have no idea how to interpret this or what it means, as I just fiddle and modify commands presented when installing scripts, I don't actually understand coding itself. Here is a link to the scripts enabled + the error itself. Thank you for your time