QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum > Developer's Dungeon
The above video goes away if you are a member and logged in, so log in now!

Error on settings menu

This is a discussion on Error on settings menu within the Developer's Dungeon forums, part of the PSP Development Forum category; I posted this in the lua help thread but i think it will be better off here. here's the bit ...

Reply
 
LinkBack Thread Tools
Old 08-12-2006, 06:11 AM   #1

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default 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
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Best prices available for:
Price Range:
$13.00 - $25.00
at 10 Stores

Price Range:
$17.00 - $48.00
at 10 Stores

Old 08-12-2006, 08:47 AM   #2

Developer
 
jsharrad's Avatar
 
Join Date: Oct 2005
Real First Name: Justin
Location: Dubuque
Just Played: ..
Posts: 417
Trader Feedback: 0
Default

You left off commas between each element of the possibleoptions array but the first two
__________________
PSP Demo Videos (updated 11/29/08)
MinerPSP Coder

Last edited by jsharrad; 08-12-2006 at 09:38 AM..
jsharrad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-12-2006, 05:48 PM   #3
QJ Gamer Platinum
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

Good call. I didn't even notice that.
__________________
[I fail @ life]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-13-2006, 11:03 AM   #4

is not posting very often
 
Glynnder's Avatar
 
Join Date: Feb 2006
Location: omnipresent
Posts: 5,161
Trader Feedback: 0
Default

yeah, i had noticed that a second ago sorry, although now i am having another error, which ill post in a while
Glynnder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
error , menu , settings

Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 11:32 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2010, QJ.NET. All Rights Reserved.
Contact Us | Free Flash Games