Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > [Bug: Program crash] SequenceSlot>=877 Owner: wardrich New post
Page 1 of 1 Sort:  
[Bug: Program crash] SequenceSlot>=877 Posted: 2006-05-31 06:32  (Last Edited: 2006-05-31 06:38) Reply | Quote
wardrich



Member for: 5864 days
Location: Ontario, Canada
Status: Offline

#71
I'm one of those people that coders (like myself) love to hate... the kind who purposely try to break apps. Anyway, it's a simple fix.

If you open the instrument editor and set the Sequence Select value to anything above 877, the program will crash. Just doing something like...

[quote=]
if (SequenceSlot >= 877)
{
SequenceSlot = 877;
}
[/quote]

*should* fix the problem. I suck at viewing sources for apps, so I didn't attempt to actually find the bug and patch it myself. Sorry.

--Richard

Posted: 2006-06-03 18:38 Reply | Quote
jsr
Administrator

Avatar

Member for: 5924 days
Location: Sweden
Status: Offline

#76
That was something that I forgot to check, thanks for pointing it out!

But there are only 128 sequences available though, so the correct value would be 128.

Page 1 of 1 Sort: