PtokaX forum

Archive => Archived 5.0 boards => Help with scripts => Topic started by: Mikey on 16 March, 2006, 00:10:13

Title: Syntax error
Post by: Mikey on 16 March, 2006, 00:10:13
ok folks i am using nightglitches converter for ynhub to ptokax and i am getting this error

[18:05] Syntax ...ments\Ptokax Hubs\EnErY's Palace\scripts\convert.lua:32: attempt to index local `file' (a nil value)

wonder if u can tell me where the mess up is in this line

   for line in file:lines() do
Title: Re: Syntax error
Post by: Herodes on 16 March, 2006, 00:19:00
are u sure you have the proper file at the right place and using the right PtX ver ( lua version in extent ) ? :D
Title: Re: Syntax error
Post by: bastya_elvtars on 16 March, 2006, 00:42:51
Or use mine (http://ptxscriptdb.psycho-chihuahua.net/download.php?view.174) if you keep having problems.
Title: Re: Syntax error
Post by: Mikey on 16 March, 2006, 03:04:27
Basta thats a nice script but I'm not advanced to the LUA extensions yet.. Mutor once again great script and worked awesome...Thanks for the help guys