PDA

View Full Version : luaplayer upgrade



fullerlee
February 10th, 2007, 22:31
Hi,

I've just upgraded to luaplayer 0.2 which I believe is based on lua 5 where previous versions were based on lua 4.

I'm the author of Wordingo (http://dl.qj.net/Wordingo-v0.5-Gaming-Consoles-PSP-Homebrew-Games/pg/12/fid/5307/catid/194)

It doesn't work under luaplayer 0.2

It doesn't seem to like iterating over a table like this:


for eachFile in files do
--dostuff
end

I get the following error:
attempt to call a table value (on the line with the for)

Does anyone know why, or an easy replacement? I'm doing this all over the place in the wordingo code.

Thanks,

Lee

Ice_Cold
February 10th, 2007, 22:37
i can help you if you pm'd me the code...

i am very experienced in lua.

or use script in v0.16 which compatible is best