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

Pathfinder Bestiary - how long to save

I can't seem to get the API script for the Pathfinder Bestiary to save - how long should this take?
I killed the page, but now every time I select API scripts it just processes but never loads.
1411658518
The Aaron
Roll20 Production Team
API Scripter
How big is the script? I seem to recall Riley mentioning something about a PF script that was using way too much resources.
Yes, ti was a super long script - I don't know if it was 80K lines. I didn't realize it was too big for roll20 to handle. Maybe it should be removed from the gisthub site...
1411659575
The Aaron
Roll20 Production Team
API Scripter
If I remember correctly, the real issue is that it copies all the info to the state variable, which means it must be persisted constantly, though it is completely static. It could likely be revamped to work. What's the github URL? (leave off the script part of the URL, I don't wanna see 80k lines in this forum!)
I don't know, I can't find it now. How do I find the best API scripts for my pathfinder game.
1411665672
The Aaron
Roll20 Production Team
API Scripter
I have no idea. I don't play PF. Hopefully someone else will jump in and answer.
<a href="https://github.com/aarongarrett/inspired.roll20" rel="nofollow">https://github.com/aarongarrett/inspired.roll20</a> You mean this?
Yes, the above link from Starr is where I got the bestiary code that doesn't work.
1411737712
The Aaron
Roll20 Production Team
API Scripter
Yeah, it's using the state to store everything. It would probably work if someone replaced all the references to state with some local object.