? SB ver 3.6 is unstable if this bug has been executed. (Page 1) ● SmileBASIC Source Forums

Sign In

Register
*Usernames are case-sensitive
Forgot my password

SB ver 3.6 is unstable if this bug has been executed.

  • #1 ✎ 74 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Good Page Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength If you're like me, you know I try to find some interesting bugs. This one is very interesting. All of this has to do with the new START button function. You choose any PRG slot to get to the editor. Then you select SAVE while holding L/R. Hold the START button till you see the main keyboard again. Return to the Top Menu while this glitched save option is still up by pressing the TOP MENU key on the keyboard. Go back to BASIC and return to the TOP MENU again. You'll notice the translucent OK button becomes opaque. Press OK without tapping anything else other than the keys for the save option otherwise SB will crash. After doing so, you get a glitched dialog. Go back to BASIC. Your keyboard will glitch out. Choose Yes or No. (Choosing Yes will indeed save the file with this glitched name.) Have fun with your broken SB until it crashes by performing it again + incorrectly or trying to type CONTROLLER(0). (Yes, it still exists & crashes.) Or you exit it and (or not) restart it. While SB is glitched like this the keys (with L/R) will malfunction sometimes. Otherwise it's fine. Can run everything like before. Posted Edited by CyberYoshi64
  • #2 ✎ 1513 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website nice Posted
  • #3 ✎ 145 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Saving a no-name blank file using this method, and then restarting SB and running it presents an Illegal Function Call error, instead of no error generally given by the execution of a blank PRG. (I think this is because the compiler attempts to set the functions PROJECT and PRGNAME$ with their respective values, but can't for whatever reason give PRGNAME$ an empty value [or a 65483 value?]) Also, even though the error is given, the STOP button at the bottom is still opaque, suggesting the code is... actually still running? Edit: after running the no-name program, executing another program from the program list acts like that one bug where the program just quits without executing. Posted Edited by MZ952
  • #4 ✎ 74 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Good Page Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength
    ... no-name program/project ...
    The font for the lists doesn't support these 2 characters, that are put when executing the bug. Best example is when you type DIALOG PROJECT() or ?PROJECT() The 3DS and the standard SB font support it somewhat (replace it with the substitute char). After restarting, SB substitutes these invalid chars with another ones but valid for the 3DS font. (ASCII 65483 I guess which is a half-width japanese character.)
    Posted
  • #5 ✎ 145 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Perhaps when you press TOP MENU on the keyboard to opaque the OK button, it sends a kind of entry code to the SAVE FILE routine, because the routine is looking for an entry of some kind. The special keyboard for the SAVE FILE routine doesn't seem to have any characters the routine wouldn't accept, and so maybe it doesn't perform any checks on it and thus doesn't perform any checks on the TOP MENU entry code when it receives it. Instead, it understands it as a non-nil entry and allows you to save the file under the title of that entry code. The character would have no font representation, so we don't see it, and I suppose when the system attempts to display it, it does some freaky conversion stuff. Also, when you try to upload a glitched file to the server, it returns an Internal Server Error. Edit: Never mind. This no longer appears to be the case. Posted Edited by MZ952
  • #6 ✎ 1513 12Me21 Admin Syntax Highlighter Received for creating the code syntax highlighter on SBS Night Person I like the quiet night and sleep late. Express Yourself Second Year My account is over 2 years old Website Every time you go to the top menu, it adds CHR$(65415) to the file name input box (you can check this using FILES) This symbol doesn't exist in the font used for the file browsing menu, so it looks like an empty filename. Posted
  • #7 ✎ 74 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Good Page Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I discovered something: While SB was glitched I saved 2 files and both are corrupted, for a reason. When I upload these 2 from a "no-name" project, it shows the message "Failed to write file.", I pressed OK and then a second message appeared that the upload cancelled but the buttons are back and clickable. I try some other things now. EDIT: - This error even works after starting SB rightaway but sometimes SB softlocks. - I tried again and tried to close it after the softlock but the firmware crashed in itself!¿ - While this message is up, the top left option crashes and the keyboard looks odd. - The LOAD/SAVE functions lack the background as well but the keyboard won't glitch and no random characters can be input. Posted Edited by CyberYoshi64
  • #8 ✎ 145 MZ952 Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Drawing I like to draw! Hobbies Reading I like to read books! Hobbies Load in a PRG and then make a modification to it. Go to the console and execute NEW. While in the "unsaved changes" dialog, hold the start button a moment and hit no. Now, flip back over to the PRG slot you used, hold L/R and click LOAD. It should execute the PRG in the slot. Edit: After the incidental execution, if you attempt to save the edited PRG by holding L/R and SAVEing, it LOADs instead, completely ignoring the fact that changes have been made. Edit 2: I think it executes when you try to LOAD because the START code is put into some kind of operation stack which becomes dissonant after starting the glitch. By hitting START in the NEW dialog box, a PRG "start" code is pushed onto a stack, but not executed (likely because the NEW dialog is preventing it). By then hitting LOAD, it pushes a PRG "load" code onto the stack and executes, but executes a "start" instead, because it was next on the stack. When you then attempt to SAVE, it pushes a PRG "save" onto the stack and executes the previous "load" code, again for the same reason. Posted Edited by MZ952
  • #9 ✎ 74 CyberYoshi64 Avatar Taboo I didn't change my avatar for 180 days Website Good Page Hidden Achievements Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength I had a well corrupted file in PRG0.I removed the SD Card during 50% of saving a copy of Win3DS. After 2 attempts I corrupted the file in such a way that the header is seen valid although it wasn't and the main content is a bunch of garbage.After executing the glitch, SB crashed. Another try and my 2DS locked up. Not even ejecting the SD Card helped. Needed to hold the power button for 10 secounds. Well... No, my own 2DS isn't the problem here. On my sister's 3DS, the same thing happend. Posted Edited by CyberYoshi64