PtokaX forum

Archive => RoboCop => AllInOne Scripts => Archived 5.1 boards => RoboCop - Bugs => Topic started by: Snigeln on 28 January, 2008, 07:53:40

Title: Syntax cannot open lua/userclientinfo.lua: No such file or directory
Post by: Snigeln on 28 January, 2008, 07:53:40
Hi. I get this error when i try to start robocop.lua  in  Script Editior

Please, help me with this

SnigelN
Title: Re: Syntax cannot open lua/userclientinfo.lua: No such file or directory
Post by: Rincewind on 28 January, 2008, 14:24:25
What version of Robocop and what version of PtokaX are you using?
Title: Re: Syntax cannot open lua/userclientinfo.lua: No such file or directory
Post by: Cêñoßy†ê on 28 January, 2008, 15:54:31
Quote from: Snigeln on 28 January, 2008, 07:53:40
Hi. I get this error when i try to start robocop.lua  in  Script Editior

Please, help me with this

SnigelN

Robocop is compiled script so script editor cant read it correctly  ;D
Title: Re: Syntax cannot open lua/userclientinfo.lua: No such file or directory
Post by: Rincewind on 28 January, 2008, 23:40:04
Don't try to make out that PX has a problem with all compiled scripts.

The only issue would be if the script was written/compiled with a different version of Lua than the one in the hubsoft.

The more likely issue is that he is trying to use Robocop with the new API which it is not compatible with. And being open source would not make for a fix to this; as proven with the death of Terminator where nobody was willing to continue the development when Hawk left the DC community and open sourced the script.
Title: Re: Syntax cannot open lua/userclientinfo.lua: No such file or directory
Post by: Rincewind on 29 January, 2008, 13:26:20
I have had that error produced even when the file did exist. it was down to the use of require (in my case at least) to open the files.

I don't know how Robocop opens the files (I cannot remember) but it may be down to this issue.