Forum

> > CS2D > Scripts > Unknown Syntax Error
Forums overviewCS2D overview Scripts overviewLog in to reply

English Unknown Syntax Error

2 replies
To the start Previous 1 Next To the start

old Unknown Syntax Error

Mami Tomoe
User Off Offline

Quote
Hello, only in the dedicated server am I getting this strange error:
1
The syntax of the command is incorrect.

I've browsed through my entire Lua project and couldn't find anything that could print such a message, especially because it only shows on the dedicated server and not on a local server.

What does it mean?

old Re: Unknown Syntax Error

DC
Admin Off Offline

Quote
I searched the source code of CS2D and it does not print that message.

So it must be triggered by something else.
I would recommend to entirely disable all Lua scripts and check if the message is still displayed. If it isn't displayed anymore you know for sure that it is somehow triggered by a Lua script. If it still shows.. huh.. no idea.

I can also imagine that a Lua script is trying to run a command line command and fails.
https://www.windows-commandline.com/the-syntax-of-the-command-is-incorrect/

Maybe the script only works on Linux or with proper 3rd party software installed.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview