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

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

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
alkzy
Posts: 3
Joined: 25 Mar 2007, 19:41

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

Post 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.
alkzy
Posts: 3
Joined: 25 Mar 2007, 19:41

Post by alkzy »

So I replaced the file and I still get the same error, so it's probably not the file itself, any suggestions?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post 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.
alkzy
Posts: 3
Joined: 25 Mar 2007, 19:41

Post by alkzy »

Thank you! That seemed to work! Thanks for your help!
Post Reply

Return to “Help & Bugs”