Go Back   Flash Flash Revolution > Flash Flash Revolution > FFR General Talk
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 11-1-2015, 03:46 PM   #21
Trumpet63
Mostly Ignored
Skill Rating Designer
Retired StaffFFR Veteran
 
Trumpet63's Avatar
 
Join Date: Mar 2011
Posts: 471
Default Re: JavaScript JavaScript Revolution

Are you running it in Firefox?

If so... Oh geez. Can you add me on Skype and you can send me those files and I'll try them myself? (I am trumpet.63)

edit: Can confirm gray box... commence troubleshooting
__________________
2014 October 7th 1:03 AM

Zageron: Trumpet
Trumpet63: yes, im here
Zageron: You have a problem.

Last edited by Trumpet63; 11-1-2015 at 04:39 PM..
Trumpet63 is offline   Reply With Quote
Old 11-1-2015, 04:58 PM   #22
Trumpet63
Mostly Ignored
Skill Rating Designer
Retired StaffFFR Veteran
 
Trumpet63's Avatar
 
Join Date: Mar 2011
Posts: 471
Default Re: JavaScript JavaScript Revolution

Status report: Bug Fixed!


Code:
.sm file that works fine:

#NOTES:
     dance-single:
     Copied from Copied from Copied f:
     Beginner:
     2:
     0.799,0.797,1.000,0.420,0.493:  // measure 1
...

.sm file that causes an error:

#NOTES:
     dance-single:
     :
     Hard:
     10:
     1.000,1.000,1.000,1.000,1.000:
  // measure 1
...
It was returning that there was a note at position 13 (which is where that "1" is on the last line above), meaning it was asking to store a note for receptor #13, which of course didn't exist, hence the error.



The bug was hard to find but easy to fix. Just one if-statement.

EDIT: Thank you for finding the bug Xayphon! This is why I need testers :3
__________________
2014 October 7th 1:03 AM

Zageron: Trumpet
Trumpet63: yes, im here
Zageron: You have a problem.

Last edited by Trumpet63; 11-1-2015 at 05:02 PM..
Trumpet63 is offline   Reply With Quote
Old 12-15-2015, 01:24 AM   #23
PrawnSkunk
Administrator
User Administrator
AdministratorDeveloperFFR Simfile AuthorFFR Veteran
 
PrawnSkunk's Avatar
 
Join Date: Dec 2007
Location: Vancouver, BC
Age: 29
Posts: 3,902
Default Re: JavaScript JavaScript Revolution

Thanks Trumpet for letting me reference your .sm parser for my processing class project! It definitely made the process a lot easier

(8-key rhythm game that converts doubles charts to be playable on a technomotion dancepad or keyboard numpad)





Last edited by PrawnSkunk; 12-15-2015 at 01:30 AM..
PrawnSkunk is offline   Reply With Quote
Old 12-22-2015, 11:59 PM   #24
Trumpet63
Mostly Ignored
Skill Rating Designer
Retired StaffFFR Veteran
 
Trumpet63's Avatar
 
Join Date: Mar 2011
Posts: 471
Default Re: JavaScript JavaScript Revolution

Huge thanks to Llyair, the .sm parse code has been refactored and now can read any bpm changes, not just those that occur at the start of a measure. Documentation is hugely out of date now.

And hey, sorry I've been gone so long, I'm trying to transfer to a university right now!
__________________
2014 October 7th 1:03 AM

Zageron: Trumpet
Trumpet63: yes, im here
Zageron: You have a problem.
Trumpet63 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 02:51 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution