Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

It's a trap difficulties.

1746656019

Edited 1746656369
Greetings, I am attempting to set up an ambush location. Help and posts ive looked at say to draw a path or shape on the GM layer, then select it and hit the Trapmaker macro, what i get in the chat is:  (From Its A Trap! script): Cannot read properties of undefined (reading 'get') Check API console logs for details.  And the API console log produces:   Without being able to select a path or a shape i cannot seem to be able to define an ambush area. Is this some kind of settings issue or a conflict issue with another API? Thank you, BlueDuck
Is this a Jumpgate or legacy game? Are you using the Default or Experimental API server?
Jarren said: Is this a Jumpgate or legacy game? Are you using the Default or Experimental API server? not using Jumpgate, Default API server, everything installed through one-click.
1746750428

Edited 1746752910
timmaugh
Pro
API Scripter
Hey, Bluduck... Can you install the ScriptInfo script from the one-click, then regenerate this error (just in case the line number changes, and use that number in a call to ScriptInfo? For instance, in your image, the line given at the top (the first line of the stack with a number) is 10002... so you'd boot up your sandbox and then enter: !scriptinfo 10002 If the script was built to utilize Aaron's API_Meta trick, that should disambiguate the line for us to troubleshoot what might be going on. (Even if it doesn't specifically use the API_Meta trick, it should still tell us something about where that error is occurring).
timmaugh said: Hey, Bluduck... Can you install the ScriptInfo script from the one-click, then regenerate this error (just in case the line number changes, and use that number in a call to ScriptInfo? For instance, in your image, the line given at the top (the first line of the stack with a number) is 10002... so you'd boot up your sandbox and then enter: !scriptinfo 10002 If the script was built to utilize Aaron's API_Meta trick, that should disambiguate the line for us to troubleshoot what might be going on. (Even if it doesn't specifically use the API_Meta trick, it should still tell us something about where that error is occurring). Ya, its still not letting me select a line or shape. same error line..hope this helps.
1746837236
timmaugh
Pro
API Scripter
I have reached out to The Aaron (who handled the conversion of this script to Jumpgate -- where new pathv2 objects were introduced). Hopefully he'll have a chance to look at it.
timmaugh said: I have reached out to The Aaron (who handled the conversion of this script to Jumpgate -- where new pathv2 objects were introduced). Hopefully he'll have a chance to look at it. Thank you.
Update, So i decided to copy the game and set the second version to jumpgate. when i move the character token into the detection area it checks passive perception just fine, however when i move the token onto the activation area, defined with rectangle selected shapes trigger using both outline or filled, i get this: (From Its A Trap! script): Could not find activation area shape -OPgPWPDFGaJfeXC-J4D for trap Pit Trap. Perhaps you deleted it? Either way, please fix it through the trap's Activation Area property. Check API console logs for details. However if i choose self as the target trap area, it will return the passive perception check just fine, but do nothing at all when the token moves onto the trap area, regardless of weather the trap was spotted or not. I have tried using different character sheet settings to no good effect.