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 

return false on Wlan.useConnectionConfig

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



Joined: 30 Jun 2005
Posts: 66

PostPosted: Fri Jan 27, 2006 4:26 pm    Post subject: return false on Wlan.useConnectionConfig Reply with quote

Unfortunately, it seems that Wlan.useConnectionConfig doesn't check to make sure that the wlan connection is available. Right now, i have an 'offline' option in my program, and if it is on, i just skip ConnectionConfig, but if it is run and your connection isn't available, this function just hangs waiting for a connection. Any way to check first to see if the connection works first?

liquid8d
Back to top
View user's profile Send private message AIM Address
Elxx



Joined: 07 Dec 2005
Posts: 16

PostPosted: Sat Jan 28, 2006 5:50 am    Post subject: Reply with quote

I added a fix for this into the SVN for 0.17. Here's my latest compile of LuaPlayer with the fix. Just replace your Eboot with that one, wouldn't hurt to make a backup either.

The function will now return nil if it was unable to connect, 1 if it connected successfully.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
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