!shaped-spells and !shaped-monsters not working

Issue #7 resolved
Mark Lenser repo owner created an issue

The call registers if the character is on the wrong sheet version, but doesn't seem to display.

!shaped and !shaped-spell --fireball works so there is something strange going on.

Comments (9)

  1. Cosmic Gnostic

    Thanks. Ideally a pre-cursor. If there are issues regarding roll20 the weight of the work gone into the database is worth people like myself who enjoy crafting and using their own tokens to display and show in game. A token obviously by roll20 has to conform to copyright procedure, a given if they market their goods, but having some sort of option to just purchase a data base to use on Shaped Sheets to import to our own tokens is what I would be gunning for.

    Not sure how to call it at this point. I can voice my support of your scripts for shaped sheet and companion.

  2. Mark Lenser reporter

    @agjwilson This issue is related to a bug for the script for 2 commands that previously worked and are not working currently. I'm not sure what the above is in response to?

  3. Mark Lenser reporter

    I've verified with Aaron that the data is being sent to the chat, but being filtered out there. It is likely that one of the two following scenarios is the cause:

    1. The data is malformed somehow and is causing errors
    2. Roll20 made some changes which causes the previously working data to no longer be parsed

    Still investigating.

  4. Mark Lenser reporter

    It looks like Roll20 has made a change that all chat messages do not show if they are above around 32,000 characters. I'm unsure if this change was purposeful, but this is the cause of the error.

  5. John S.

    !shaped-spells and !shaped-monsters both working for me right now. 15.3.0 sheet, 11.3.1 ShapedScript. Was not working for me before last night, so something changed.

  6. sirren

    15.4.0 11.3.1:

    !shaped-spells is working, but !shaped monsters gives the following error:

    "5eShapedScript 1501931059646 ERROR : TypeError: Cannot read property 'id' of undefined\n at apiscript.js:779:245973\n at apiscript.js:779:231818\n at Array.map (native)\n at EntityLister.value (apiscript.js:779:231790)\n at EntityLister.value (apiscript.js:779:230573)\n at Command.value (apiscript.js:779:92457)\n at Object.processCommand (apiscript.js:779:93423)\n at apiscript.js:779:226365\n at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:65:16)\n at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:146:1), <anonymous>:70:8)"

    Tried disabling all the scripts and then reenabling only the companion script, still same error. Tried creating a new game with the same 15.4.0 and 11.3.1 and both !shaped-spells and !shaped-monsters work fine.

    Please help out. I would prefer not to transfer every character and NPC from the original game into a new one :(

  7. Log in to comment