PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Jerry on 22 January, 2005, 21:43:16

Title: convert Lua 4 to Lua 5.0.2.
Post by: Jerry on 22 January, 2005, 21:43:16
Hi people,

I need help.

How I convert any script written in lua 4 to lua 5.0.2?

Thanks

Jerry
Title:
Post by: plop on 22 January, 2005, 22:33:21
QuoteOriginally posted by Jerry
 Hi people,

I need help.

How I convert any script written in lua 4 to lua 5.0.2?

Thanks

Jerry
by using the search function of the board with the string "425".

plop
Title:
Post by: Jerry on 22 January, 2005, 22:52:46
QuoteOriginally posted by plop

by using the search function of the board with the string "425".

plop

Hi plop,

I know, that you created two convert scripts, but your scripts didn't work me  :(

Consequently I need unlike script or program, than there your scripts.

 PLS people help me!  :))
Title:
Post by: bastya_elvtars on 22 January, 2005, 23:57:52
it's not too easy to convert. use the 425.lua first, cause it will work for non-ptokax as well IMHO.
Title:
Post by: Jerry on 23 January, 2005, 01:11:08
:(
Title:
Post by: plop on 23 January, 2005, 17:35:48
about 90% of the code from artificial isanety was converted by using convert425.lua.
the rest i had 2 do manualy, this was mainly the filehandling.

plop
Title:
Post by: plop on 23 January, 2005, 17:37:10
QuoteOriginally posted by bastya_elvtars
it's not too easy to convert. use the 425.lua first, cause it will work for non-ptokax as well IMHO.
yep it works for all kinds of lua 4 scripts, as it only rewrites/changes the lua syntax.

plop