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

Roll20AM kicking back errors

Roll20AM keep kicking back errors. Also, it is causing some lag with the game. Maybe a 1 second delay? Here is the error.   TypeError: Cannot read property 'set' of undefined TypeError: Cannot read property 'set' of undefined at playTrack (apiscript.js:14936:16) at trackHandler (apiscript.js:14470:17) at _.each (apiscript.js:14234:25) at Function._.each._.forEach (/home/node/d20-api-server/node_modules/underscore/underscore.js:186:9) at Timeout._onTimeout (apiscript.js:14233:23) at ontimeout (timers.js:386:14) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)
1575950860

Edited 1575950918
Victor B.
Pro
Sheet Author
API Scripter
Have you imported your tracks?  If you've made significant changes, you need to remove all then import all because Roll20AM keeps copy of what is in Jukebox.  So if you move tracks around, Roll20AM isn't aware of those changes until you remove all/Import All.   I've encountered absolutely 0 lag due to it.  I have had issues with the new Roll20 Jukebox but that usually resolves itself over a few minutes.  
1576028704

Edited 1576028729
I did make significant changes. Imported a bunch, made folders, sorted everything. That may be it. I will try removing all tracks then importing them again. I did not recall a "delete all tracks" button or anything to that affect. Was there an option in the menu, or was it a !roll20AM command? Thank you btw! Once I get home I will try this out and give you an update.
That did it! Thank! Side note. Could the lag be possibly because I have over 100 tracks in my jukebox? Or maybe all the assets I uploaded? Not sure how I would check how many MBs I have. But its just a long shot question, not even sure that matters.
Michael S. said: That did it! Thank! Side note. Could the lag be possibly because I have over 100 tracks in my jukebox? Or maybe all the assets I uploaded? Not sure how I would check how many MBs I have. But its just a long shot question, not even sure that matters. I can safely say that a large jukebox doesn't cause any lag. ( I have 500+  tracks in mine.) But I´ve had some issues with animated objects on the screen causing lag with the sound. Don´t know if you are having similar problems.
Ravenknight said: Michael S. said: That did it! Thank! Side note. Could the lag be possibly because I have over 100 tracks in my jukebox? Or maybe all the assets I uploaded? Not sure how I would check how many MBs I have. But its just a long shot question, not even sure that matters. I can safely say that a large jukebox doesn't cause any lag. ( I have 500+  tracks in mine.) But I´ve had some issues with animated objects on the screen causing lag with the sound. Don´t know if you are having similar problems. Maybe thats it. I do use many animated traps and attach sounds to them. Maybe thats what I am experiencing.