Search found 16 matches
- Fri Feb 10, 2006 7:13 am
- Forum: PSP Lua Player Development
- Topic: File opening bug...?
- Replies: 3
- Views: 2621
it's very easy to get corrupt files while using usb mode.. usb should be deactivated before reading or writing any files from within a script. I thought you just need to deactivate when writing files...hmm. Modsyn, I have already tried that, but thanks. however, the reason i'm replying is to ask if...
- Thu Feb 09, 2006 9:45 am
- Forum: PSP Lua Player Development
- Topic: File opening bug...?
- Replies: 3
- Views: 2621
File opening bug...?
I'm working on my PSP web server, and it seems there is an interesting bug where it seems that any modifications made to files loaded by io.open (or io.input) will not exactly display right. It seems that it somehow stores the file size in a cache of some sort, and refuses to load anything beyond th...
- Sat Jan 28, 2006 5:50 am
- Forum: PSP Lua Player Development
- Topic: return false on Wlan.useConnectionConfig
- Replies: 1
- Views: 1584
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.
The function will now return nil if it was unable to connect, 1 if it connected successfully.
- Sun Jan 15, 2006 5:33 am
- Forum: PSP Lua Player Development
- Topic: WLan disconnects
- Replies: 9
- Views: 4517
I'll mess around with it and tell you if I can figure anything out. EDIT: Okay, one workaround that I've found working for my server, at least, is not doing Wlan.init() and Wlan.term() each time I want to reconnect to the access point. What I did was add a disconnectAP() function to my LuaPlayer cor...
- Fri Jan 13, 2006 3:32 pm
- Forum: PSP Lua Player Development
- Topic: WLan disconnects
- Replies: 9
- Views: 4517
This is an issue that I've been having as well with my LuaPlayer-powered web server. Same thing as you...if, within the script, I close the WLAN connection and start it up again, it will only work for around 20 seconds before refusing any further requests. The WLAN light on the PSP blinks consistent...
- Thu Jan 12, 2006 11:05 am
- Forum: PSP Lua Player Development
- Topic: Wlan.useConnectionConfig(1)
- Replies: 10
- Views: 4129
Here's the fixed useConnectionConfig function. It will return nil if it was unable to connect to the network. Otherwise, if it succeeds, it will return 1. So yeah, somebody please commit this into SVN, the current connection function is aggravating because you have to completely restart the app if i...
- Wed Jan 11, 2006 2:43 pm
- Forum: PSP Lua Player Development
- Topic: Wlan.useConnectionConfig(1)
- Replies: 10
- Views: 4129
- Tue Jan 10, 2006 4:23 pm
- Forum: PSP Lua Player Development
- Topic: Wlan.useConnectionConfig(1)
- Replies: 10
- Views: 4129
- Thu Jan 05, 2006 4:04 am
- Forum: PSP Lua Player Development
- Topic: Easily choose WLAN config
- Replies: 2
- Views: 1986
- Tue Jan 03, 2006 2:38 pm
- Forum: PSP Lua Player Development
- Topic: Keeping WLAN connection alive
- Replies: 1
- Views: 1547
Keeping WLAN connection alive
I've found that the WLAN connection in my LuaPlayer apps tends to die after a few minutes, even if it's sending and receiving data. I have WLAN power save off and everything, but it still tends to drop. The only way I've found to fix this is close the Wifi connection then open it up again every minu...
- Fri Dec 16, 2005 9:46 am
- Forum: PSP Lua Player Development
- Topic: wlan strange down
- Replies: 2
- Views: 1706
- Sat Dec 10, 2005 10:03 am
- Forum: PSP Lua Player Development
- Topic: Unable to build LuaPlayer
- Replies: 7
- Views: 2641
Re: Unable to build LuaPlayer
I have been trying to build Luaplayer from the source for a while now, to get an insight into how to make standalone apps. I believe I've sorted all the dependencies...however, when I do "make", I get hit with a string of errors...: Looks like you didn't compile Lua from SVN with "ma...
- Fri Dec 09, 2005 8:23 am
- Forum: PSP Lua Player Development
- Topic: Unable to build LuaPlayer
- Replies: 7
- Views: 2641
Unable to build LuaPlayer
I have been trying to build Luaplayer from the source for a while now, to get an insight into how to make standalone apps. I believe I've sorted all the dependencies...however, when I do "make", I get hit with a string of errors...: http://profilehouse.com/files/elxx/lua_err1.gif Probably ...
- Thu Dec 08, 2005 4:05 pm
- Forum: PSP Development
- Topic: error building from toolchain
- Replies: 12
- Views: 5670
- Thu Dec 08, 2005 2:30 pm
- Forum: PSP Development
- Topic: error building from toolchain
- Replies: 12
- Views: 5670
Sorry to resurrect this topic, but I'm getting a similar error. Downloaded the latest version of the toolchain (psptoolchain-20051202.tgz). make[3]: *** [inethelper.o] Error 1 make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/sdk` make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tm...
- Wed Dec 07, 2005 4:54 pm
- Forum: PSP Lua Player Development
- Topic: Sending binary data over WLAN
- Replies: 1
- Views: 1601
Sending binary data over WLAN
I am working on a full-featured web server in Lua, and I'm having trouble sending some binary files using the WLAN functions. Here's a portion of my code: file = io.open(getloc, "rb") if file then incomingSocket:send("HTTP/1.0 200 OK\r\nContent-Type&...