Search found 11 matches

by darklitch
Mon Feb 13, 2006 2:28 am
Forum: PSP Lua Player Development
Topic: lua with php
Replies: 1
Views: 1702

lua with php

I need to send post data to a php file. Once I connect to my server, how do I send the request? Without the data it is something like:
test = socket:send("GET /test.php HTTP/1.0\r\n")
test = socket:send("host: www.somewebsite.com\r\n\r\n")
by darklitch
Wed Nov 09, 2005 4:06 am
Forum: PSP Lua Player Development
Topic: whats wrong with my code? NOOB
Replies: 2
Views: 1996

wow I would never have thought of that.
by darklitch
Tue Nov 08, 2005 9:25 am
Forum: PSP Lua Player Development
Topic: whats wrong with my code? NOOB
Replies: 2
Views: 1996

whats wrong with my code? NOOB

I just started the LUA thing about a month ago and am still getting the hang of it. When I execute this code: (I know its long) black = Color.new(0, 0, 0) white = Color.new(255, 255, 255) newcwd = "ms0:/" oldpad = Controls.read() numb...
by darklitch
Sun Nov 06, 2005 2:50 am
Forum: PSP Lua Player Development
Topic: file i/o NOOB here
Replies: 4
Views: 2388

i don't think the snake example uses more than one line
by darklitch
Sun Nov 06, 2005 2:44 am
Forum: PSP Lua Player Development
Topic: file i/o NOOB here
Replies: 4
Views: 2388

file i/o NOOB here

How can i show new lines with file i/o? I am using the script: highscoreFile = "1.txt" function loadHighscore() file = io.open(highscoreFile, "r") if file then high = file:read() file:close() end end when I edit the highscoreFile to: asdf adf adfjkald I get jkdsf then a musical n...
by darklitch
Wed Oct 12, 2005 11:24 am
Forum: PSP Lua Player Development
Topic: http how do i connect
Replies: 4
Views: 2670

That is exactly what Lua Player needs. That would open a new world for lua psp programers.
by darklitch
Wed Oct 12, 2005 8:00 am
Forum: PSP Lua Player Development
Topic: http how do i connect
Replies: 4
Views: 2670

http how do i connect

I am in the middle of a project and i have come across a problem. Is it possible to connect to a server over the internet with the psp using luaplayer? I want to send post or get data to a php file that i will store on my server. I would also like to be able to get info from a php file. I don't know...
by darklitch
Thu Oct 06, 2005 10:33 am
Forum: PSP Lua Player Development
Topic: PSP music (NOOB)
Replies: 10
Views: 4761

that is exactly what i needed. Thanks shine
by darklitch
Thu Oct 06, 2005 9:34 am
Forum: PSP Lua Player Development
Topic: PSP music (NOOB)
Replies: 10
Views: 4761

When I tried the System.sleep(25) thing, I got the error "attempt to call field 'sleep' (a nil value)" at first i thought it was because i forgot to add the 25 in it, but it was there. I tried something called wait(25), but that does not do what i want because when i call it, my sound work...
by darklitch
Tue Oct 04, 2005 7:56 am
Forum: PSP Lua Player Development
Topic: PSP music (NOOB)
Replies: 10
Views: 4761

I am just getting started. How can i detect it as only pressed once? In other languages there are things like on (release) and on (press) is there anything like this in lua?
by darklitch
Mon Oct 03, 2005 10:01 am
Forum: PSP Lua Player Development
Topic: PSP music (NOOB)
Replies: 10
Views: 4761

PSP music (NOOB)

I just started this lua programing 4 days ago and I can not figure out what is wrong with my script: if pad:cross() then if Music.playing() then Music.stop() gunshot:play() else gunshot:play() end...