|
is not posting very often
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
|
Error on settings menu
I posted this in the lua help thread but i think it will be better off here.
here's the bit of code concerned:
Code:
-- default options]]
options = { navspeed = 1, autoscroll = "on", netlib = "off", wavlib = "off", bmplib = "off", diskmode = "off", start2quit="on", lowbattpercent = 3, overclock = "off", scetrick = "yes" }
-- possible options for menu
possibleOptions = {
navspeed = {
displayName = "NavSpeed",
values = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } },
autoscroll = {
displayName = "Auto-Scroll",
values = { "on", "off" } },
netlib = {
displayName = "Load Netlib",
values = { "on", "off" } }
wavlib = {
displayName = "Load Wavlib",
values = { "on", "off" } }
bmplib = {
displayName = "Load bmplib",
values = { "on", "off" } }
diskmode = {
displayName = "USB at start",
values = { "on", "off" } }
start2quit = {
displayName = "Start restarts luaplayer",
values = { "on", "off" } }
lowbattpercent = {
displayName = "Low battery %",
values = { 1, 2, 3, 4, 5, 6, 7, 8, 9 } }
overclock = {
displayName = "Overclock PSP?",
values = { "off", "222", "266", "333" } }
scetrick = {
displayName = "Using __SCE__ trick?",
values = { "yes", "no" } }
}
heres the error
Code:
sys.lua:24: '}' expected to close '{' at line 11 near 'bmplib'
line 11 is bmplib = {
displayName = "Load bmplib",
values = { "on", "off" } }
but even when i quote that so line 11 is diskmode or whatever, it still doesnt work
__________________
Quote:
|
Originally Posted by Abe
Either way, if you don't know, don't guess. Stick to answering questions about stuff you're qualified to answer, like Pokemon questions or something along those lines.
|
http://forums.qj.net/501501-post26.html
|