Page 1 of 1

startscripts/ordertroops.lua:20: '=' expected near 'f'

Posted: 25 Mar 2007, 23:40
by alkzy
I'm having the following error thrown when I try to start the game on a map:
startscripts/ordertroops.lua:20: '=' expected near 'f'

I'm new to the game, and I run linux, but I do not like the source version so I run it via wine. The error sounds like a compile error, I don't know if it's compiling or not, but it looks like one atleast. At line 20 of ordertroops.lua there is a bad assignment statement near an 'f', but I looked at the code and I didn't seen anything that looked peculiar. So that could be looking in the completely wrong direction, but either way any help would be appreciated.

Posted: 26 Mar 2007, 03:53
by alkzy
So I replaced the file and I still get the same error, so it's probably not the file itself, any suggestions?

Posted: 27 Mar 2007, 08:43
by Tobi
Try to convert startscripts/* to UNIX line endings.

On debian/ubuntu you can do this by installing the package "tofrodos" and running

Code: Select all

dos2unix startscripts/*
in the correct directory.

Posted: 28 Mar 2007, 03:44
by alkzy
Thank you! That seemed to work! Thanks for your help!