Search found 21 matches

by Kakolukia
Sat Jun 17, 2006 4:26 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

figured it out, = gives an error, but you probably tried it too, and found out ;)
by Kakolukia
Sat Jun 17, 2006 3:40 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

if char == "," then
tempxory = "y"
elseif tempxory == "x" then
sx = sx..char
else tempxory == "y" then
sy = sy..char
end
shouldnt it be an "elseif" or an "=" instead of an "else" or "=="???
by Kakolukia
Sat Jun 17, 2006 3:18 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

Altair wrote:Ok thx. So its basicly what we already did but then with the addition of tonumber() (which makes stuff easier though)
yeah, pretty kewl community out here, there really helpfull, thanx to anyone who helped us out!
by Kakolukia
Fri Jun 16, 2006 5:30 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

there is a lot of new code for me in that, but I will look into it later, maybe tomorrow, got some stuff to do now...
But thanx for the help!
by Kakolukia
Fri Jun 16, 2006 2:50 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

Altair wrote:Hmm yeah, i guess still use one big string and then cut it into pieces. So it still doesnt help to much, the "tonumber" command.
maybe be2003 knows how to solve this in a smooth way too...
by Kakolukia
Thu Jun 15, 2006 4:51 pm
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

Yes what you did is the same as what i did. I didn't know the command tonumber existed. Thx for that! That's what I thought, saves us a lot of code! But if I want to send an x and an y (and more), what would be the best way to do this? make 1 long string of, and cut it in pieces at the other psp? o...
by Kakolukia
Thu Jun 15, 2006 4:07 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

And it works almost the same for WLAN?
by Kakolukia
Thu Jun 15, 2006 2:13 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

SSpeare wrote:Have you tried this?

Code: Select all

command = System.irdaRead()
x = tonumber(command)
nope, I don't know the existance of that...

I'll try it.

thanx!
by Kakolukia
Thu Jun 15, 2006 1:09 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

-- irda write: irdax = Player.x System.irdaWrite(irdax) Player.x is the Player's x position (I shortend the code so only the necessary was left). -- irda read x = 0 command = System.irdaRead() if string.len(command) >= 1 then for i = 1, 1 do c...
by Kakolukia
Thu Jun 15, 2006 12:27 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

Cant you just use the strings as numbers with lua? I have made something (which I cant test because it uses netlib and thats offline :( ) and that sends stuff from a table as strings and when it receives I use substrings to put it all back in a table. I think it should work, because Im not copying ...
by Kakolukia
Wed Jun 14, 2006 6:39 pm
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

It does work (w0000000t)! thanx for your help, I'm going to play woth this the rest of the day, and post my findings. But 1 question: why does the other cross/circle only blink? If I keep my cross pressed at psp1, the othercross at psp 2 doesnt stay white, it blits, so it works, but only for a milis...
by Kakolukia
Wed Jun 14, 2006 7:33 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

thanx a lot for your help, i'm going to test it on 2 psps tomorrow, and tell you the results.
by Kakolukia
Wed Jun 14, 2006 7:15 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

be2003 wrote:you are using manual setup right, what fw are u?
got it to work, I only set the ip manually in my emulated 2.50, I forgot my normal 1.50 in which I start the luaplayer. so, I'm not so stupid to nnt press the x, but I'm so stupid to forget to set the network settings correctly.
by Kakolukia
Wed Jun 14, 2006 7:00 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

if you set up a static connection and defined your ip in network settings then it should only take a second. what version of luaplayer do you have? god i hope u are pressing x like the onscreen command tells u to I'm not that stupid, it just freezes, only the home button still works. which is more ...
by Kakolukia
Wed Jun 14, 2006 6:37 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

psp pda(used to be psp notepad i think). with it i can write my lua apps while listening to music. edit: god i wish that danzeff had a return key, anyway psp-pda v1.2 is here . it has onscreen keyboard cuz psprint sucks. i'm using that too, but as far as I know there is no way to directly test the ...
by Kakolukia
Wed Jun 14, 2006 5:30 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

havn't tested it yet, i'm going to do this within a few mins (if everything goes right), thanx a lot! edit: It hangs at stage 3, don't no why, i'm going to test my Wlan.getIPAddress() to see if thats the problem... I'll tell you later... btw, which program do you use to edit/make the lua programs on...
by Kakolukia
Tue Jun 13, 2006 4:43 pm
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

interresting, when do you think your code is ready?
I really want to know how you worked it out, and use it...
thanx a lot for your time and effort!
by Kakolukia
Tue Jun 13, 2006 12:10 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

Yes you can set the ip manually. You can do that in the network settings menu. The part where you make a new connection (or edit one). Instead of automatic use Manual i think. I know that, but be2003 said: It's weird when you start the app you connect to a to a router(sorry had to use it) then you ...
by Kakolukia
Mon Jun 12, 2006 5:16 pm
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

wow, thats just great, thanx a lot!
wanna hug you for that ;)

But isnt it possible to set the ip manually instead of getting it from a router?
Cause not everywhere I go a router is available for me...

But thank you very much for your time and effort, I really appreciate it.
by Kakolukia
Mon Jun 12, 2006 3:47 am
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

well, i read this thread: http://forums.ps2dev.org/viewtopic.php?t=2471 but i don't fully understand how to get 2 psps connecting to eachother. what do I need te set as settings in the infrastructuremode? and how can i get lua to send codes like the irda codes using wifi? maybe i totally misundersto...
by Kakolukia
Sun Jun 11, 2006 8:47 pm
Forum: PSP Lua Player Development
Topic: WLAN Multiplayer?
Replies: 41
Views: 17519

WLAN Multiplayer?

I made a little game, with multiplayer, by using irda, but if I could use WLAN it would be much better... so, if anyone could tell how the WLAN works, or even better, make something like the irda sample but WLAN based, I would be really happy. Does anyone have enough sparetime to help me out? thanx,...