Hey yall! First of all, Thanks to all lua cracks in here. This forum has helped me a lot in setting up my hub and in understand the lua language. You guys rock.
Now here my request:
Can someone convert the phrase-o-rama script to lua5? I've tried with the converter and it's not working anymore. So I've just kept the txt files on my machine and deleted the lua.
I seem to not be able to find the original one. So if someone still has it, and would be so kind to convert it to lua5, that'll be awesome. The users in my Jacksons Hub loved it, since I modified it to only Jackson Family questions.
Thanks heaps in advance :)
NKM
done !!!
download here::Phrase-O-Rama (http://mznetwork.mozdesigners.com/i/forum_files/Phrase-O-Rama%20lua5.rar)
Wow!! Awesome, that's what i call light-fast :)
yw, i think it took 5 mins max, the lua5 2 5 converter did most of the work, :D
hmmm.. after 10 - 15 min phrase-o-rama run time, robocop crashes.
This is the message i get:
Robocop\TableFunctions.lua:78: attempt to index local `hFile' (a nil value)
Robocop lua is completly turned off after it and needs a restart :( When phrase-o-rama is off, that error don't happens.
wow Mutor, your version keeps running without crashing Robocop 10.01c. Thanks
I was really clueless. The other one kept crashing Robocop all the time ......
Thanks to both of you :)
That ver from what I see is a patched-up-for-Lua-5 version..
it doesn't take advantage of all the aspects of 5... io could benefit heavily.
many global vars could go local and some procedures could be rationalised, thus making the mem,cpu strain even more affordable ;)
QuoteOriginally posted by Herodes
That ver from what I see is a patched-up-for-Lua-5 version..
it doesn't take advantage of all the aspects of 5... io could benefit heavily.
many global vars could go local and some procedures could be rationalised, thus making the mem,cpu strain even more affordable ;)
indeed, mayb you could do it ;)
QuoteOriginally posted by Dessamator
QuoteOriginally posted by Herodes
That ver from what I see is a patched-up-for-Lua-5 version..
it doesn't take advantage of all the aspects of 5... io could benefit heavily.
many global vars could go local and some procedures could be rationalised, thus making the mem,cpu strain even more affordable ;)
indeed, mayb you could do it ;)
working on it already ..
Hmm this is mean, after i added about 50 other lists to it, it gives me now another error. I just restarted and now it's fixed for some minutes. The error is not dramatic, the game keeps running but still it's an error.
The error message is:
Syntax C:\Ptokax\scripts\PoR 1.0b L5.lua:191: bad argument #2 to `random' (interval is empty)
I didn't changed nothing down on line 191
QuoteOriginally posted by Jacksons_Xone
Hmm this is mean, after i added about 50 other lists to it, it gives me now another error. I just restarted and now it's fixed for some minutes. The error is not dramatic, the game keeps running but still it's an error.
The error message is:
Syntax C:\Ptokax\scripts\PoR 1.0b L5.lua:191: bad argument #2 to `random' (interval is empty)
I didn't changed nothing down on line 191
maybe when herodes releases his optimized version that will be solved!!
thanks :)