
Hello, I am getting rather deep into macro-making, and feel confident in my abilities to make interesting macros, solve problems, and google things to figure out what I'm doing wrong. However, when it comes to API, and actual programming, I feel like a tiny baby. I have no idea where to even begin (I've tried googling error codes to no avail). I've read the wiki about debugging ( <a href="https://wiki.roll20.net/API:Debugging" rel="nofollow">https://wiki.roll20.net/API:Debugging</a> ) and checked the forums. Here's an error code I've gotten: Error: Firebase.update failed: First argument contains NaN in property 'current'
Error: Firebase.update failed: First argument contains NaN in property 'current'
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:9:186)
at Ba (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:207)
at Aa (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:8:462)
at Ea (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:10:403)
at J.update (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:146:318)
at TrackedObj._doSave (/home/node/d20-api-server/api.js:864:27)
at later (/home/node/d20-api-server/node_modules/underscore/underscore.js:888:31)
at Timeout._onTimeout (/home/node/d20-api-server/node_modules/underscore/underscore.js:825:19)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) Here is some further info: OS - iOS 10.14.6 Browser - Chrome (hardware acceleration on) Scripts: Monster Management Script.js, Roll20 Audio Master, TokenMod, splitArgs, ChatSetAttr, 5th Edition OGL by Roll20 Companion, MonsterHitDice, GroupInitiative. My API has crashed pretty much every session lately. The scripts I use frequently, in order of usage, is approximately as follows: TokenMod (setting markers, vision, and auras), ChatSetAttr (setting global damage/attack attributes), GroupInitiative (quickly adding and rolling monster initiative), MonsterHitDice (rolling monster HP) Please let me know if anyone has an idea of what I should do to prevent this problem. I understand errors happening, but I don't understand how anyone could have complicated API setups (which I have seen posts about more complicated ones) to the point that they crash constantly, and find it worth their pro subscription. I suppose I'm doing something wrong (perhaps), or those who make the best use of it are far more advanced than I am (I wish Roll20 had some of these features as defaults . . . such as remapping key commands, assigning markers with key commands, spells being able to toggle global mods, etc.) Thanks in advance!