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

Group INI

I have 3 games i use this script in library and i am using OGL sheets. Other games work fine but for some reason i keep getting 0 for init on all characters . api error reads as folows  "Error: No attribute or sheet field found for character_id -Lndw640aMNrdKXWASUH named dex"
1600022764
David M.
Pro
API Scripter
Is the name of the attribute supposed to be "dex" in that game? There are configuration options in that script to allow it to be used for multiple sheets (think it supports 5E by Roll20 and 5E [shaped]?). Double check your config options using  !group-init --help
1600022987
The Aaron
Roll20 Production Team
API Scripter
What David said.  Post what your Bonus Stat Groups are listed as in the Help so we can verify it.
initiative_bonus|current tie-breaker( initiative_bonus|current )
1600024310
The Aaron
Roll20 Production Team
API Scripter
Are you certain that error message you listed is coming from GroupInitiative?  Do you have any other scripts running?  That isn't halting the API, right?
yes, i removed all scripts and tried again and different token and same message but different character id number 
1600024724

Edited 1600024840
David M.
Pro
API Scripter
I'm curious why it is looking for the attribute named "dex". Shouldn't it be looking for "dexterity_mod"? EDIT - and "dexterity" for the tie-breaker
ok heres the crazy thing. I just made copy of game and tried it and its working 
1600025739
The Aaron
Roll20 Production Team
API Scripter
Was it crashing the API?  It could be that a specific creature has a formula that contains dex that is getting executed.  If it isn't crashing the API, it might just be a poorly worded notice from getattrbyname(), which can be ignored.
yes api was crashing because of it but not with the copy of the game