lpp-3ds: When starting program it freezes.

Discussion in '3DS - Homebrew Development and Emulators' started by GibFTW, Jan 7, 2017.

  1. GibFTW
    OP

    GibFTW GBAtemp Regular

    Member
    231
    52
    Aug 18, 2016
    United States
    When I start my program it just freezes, here is the link to the source, https://github.com/GibFTW/softDown
    In the readme.md you will see a build badge, click that to get to the builds.
     
  2. MyLegGuy

    MyLegGuy Moron

    Member
    542
    331
    Nov 26, 2014
    United States
    (I'm looking at https://github.com/GibFTW/softDown/blob/master/script/index.lua)

    You're missing "end"s everywhere, you have "else if" instead of "elseif", and your code is indented in a weird way that's hard to read.
    I think your code was so messed up that Lua couldn't interpret it at all or something.

    I tried to fix it for you. I put comments explaining what I changed. I have not tested this on my 3ds yet because I'm lazy. It may not work and you'll have to make some tiny changes.

    http://pastebin.com/jwiU1UwY

    Honestly, it looks like you don't even know Lua.
     
  3. GibFTW
    OP

    GibFTW GBAtemp Regular

    Member
    231
    52
    Aug 18, 2016
    United States
    Thank you so much! I am still learning LUA, this is my first time making a menu. I couldn't get other interpreters or CTRULib working the way I wan't it to.