forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

fyi -- Lua Player Poss. Issues/Suggestions

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
AkumaATR



Joined: 30 Oct 2005
Posts: 11

PostPosted: Tue Jan 10, 2006 6:41 pm    Post subject: fyi -- Lua Player Poss. Issues/Suggestions Reply with quote

These are some notes I took while doing my first project (Penny Arcade Viewer -- should be released Tuesday -- just have to finish a README and build it stand-alone). #2 is more of a suggestion (for PSP Lua Player), and sorry for the confusion regarding #3 (I never got to the bottom of figuring out what was going on with that one).

1. isConnected() appears to return true (forever) even
after the remote connection has closed the connection
(HTTP 1.0 without persistent connections for ex.).

2. is there no quick and dirty exit() equivalent in Lua?
It would be really useful when inside of nested loops,
or outside of all loops, when an exit is needed (after
a fatal error for ex.).

3. Is there some reason why I had to call
screen.waitVblankStart() in loops that deal with timers?
Perhaps all timers internally are based on the vert.
retrace period or something. All I know is that this
function was in the example application I started with,
and when I removed it, the timers seemed to work
incorrectly (they seemed to go way too fast or
something).
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Tue Jan 10, 2006 6:55 pm    Post subject: Reply with quote

>>>1. isConnected() appears to return true (forever) even
after the remote connection has closed the connection
(HTTP 1.0 without persistent connections for ex.).

I noticed that while trying to control a loop to try and maintain a connection.
It didn't work :D

If we are suggesting new ideas here, it would be good to see a restart
(allong the lines of the 'exit')to start script from line 1 command.
Also, I imagine it would be possible to have LUAplayer try to restart itself
in case of a serious crash that happened within the users index.lua script file.
Art.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group