Lak Exchange Rate Error.

02/10/2013 20:24 hiderian#1
In order to change lak exchange rate, I changed "exchange_rate" but gameserver shows the error.

.\Resource\Script\0e490f9f0047333244db8fa7d25c2133 .lua:65: <eof> expected near `elseif'

Why does it happened? I JUST changed the number in the rate like exchange_rate = 375 to 500.
02/10/2013 20:31 marekrndr#2
Did you forget the comma?
02/10/2013 22:26 ThunderNikk#3
Did you edit it with Notepad ++ to preserve the formatting of the .lua file?
02/11/2013 03:04 hiderian#4
Quote:
Originally Posted by marekrndr View Post
Did you forget the comma?
No, because I didn't edit with Notepad ++.

Quote:
Originally Posted by thndr View Post
Did you edit it with Notepad ++ to preserve the formatting of the .lua file?
It works with Notepad ++.

Thank you very much. I solved.
I'm sorry for all the fuss...
02/11/2013 04:17 ismokedrow#5
come on now guys there is no need to use notepad++ to preserve some "format" when it comes to lua, you could do that ish in regular notepad. And a missing eof is usually a missing a symbol or end, so apply yourself man.
02/11/2013 09:49 marekrndr#6
Quote:
Originally Posted by hiderian View Post
No, because I didn't edit with Notepad ++.
What does a comma have to do with Notepad ++.. :facepalm: