Page 1 of 1
More error issues...
Posted: Sat Jun 06, 2009 9:17 am
by Havoc 526
Well, meesa has more errors for yousa...
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\RGH\spa2c_c.lua:765: <eof> expected near `end'
ERROR[scriptmunge scripts\RGH\spa2c_c.lua]:Could not read input file.ERROR[scriptmunge scripts\RGH\spa2c_c.lua]:Could not read input file. [continuing]
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\RGH\spa3c_c.lua:719: <eof> expected near `end'
ERROR[scriptmunge scripts\RGH\spa3c_c.lua]:Could not read input file.ERROR[scriptmunge scripts\RGH\spa3c_c.lua]:Could not read input file. [continuing]
4 Errors 0 Warnings
Unlike the other errors that I understood to an extent, these have me completely stumped.
Re: More error issues...
Posted: Sat Jun 06, 2009 9:42 am
by Deviss
Link504 wrote:Well, meesa has more errors for yousa...
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\RGH\spa2c_c.lua:765: <eof> expected near `end'
ERROR[scriptmunge scripts\RGH\spa2c_c.lua]:Could not read input file.ERROR[scriptmunge scripts\RGH\spa2c_c.lua]:Could not read input file. [continuing]
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\RGH\spa3c_c.lua:719: <eof> expected near `end'
ERROR[scriptmunge scripts\RGH\spa3c_c.lua]:Could not read input file.ERROR[scriptmunge scripts\RGH\spa3c_c.lua]:Could not read input file. [continuing]
4 Errors 0 Warnings
Unlike the other errors that I understood to an extent, these have me completely stumped.
by my experience, surely you modify wrong the lua files so i suggest try using a original lua and if no't appear these errors, so you modify wrong the lua
Re: More error issues...
Posted: Sat Jun 06, 2009 11:20 am
by Havoc 526
Sorry if this sounds rude, but what exactly does that mean? Are you trying to tell me to edit the original lua?
Re: More error issues...
Posted: Sat Jun 06, 2009 11:25 am
by Deviss
Link504 wrote:Sorry if this sounds rude, but what exactly does that mean? Are you trying to tell me to edit the original lua?
no problem sir

, yes i suggest you use the original lua, and if don't appear the same errors when you munge, so the problem is you modified wrong the lua file
Re: More error issues...
Posted: Sat Jun 06, 2009 11:28 am
by Havoc 526
I'll try that as soon as possible. Thanks!
Re: More error issues...
Posted: Sat Jun 06, 2009 11:48 am
by bobfinkl
DEVISS-REX wrote:Link504 wrote:Sorry if this sounds rude, but what exactly does that mean? Are you trying to tell me to edit the original lua?
no problem sir

, yes i suggest you use the original lua, and if don't appear the same errors when you munge, so the problem is you modified wrong the lua file
Actually that is incorrect, there is no "wrong" lua file all of them can be edited without errors happening, it will only end up in you not getting the result you wanted.
What he did was modify his lua incorrectly not modify the wrong one, he forgot a beggining bracket or a function. common\scripts\RGH\spa3c_c.lua:719: <eof> expected near `end' that tells you exactly what the error is, this tells you where the error is common\scripts\RGH\spa3c_c.lua:719:, and just for clarification that means it's in your spa3c_con.lua and typically the number means what line it is on but I highly doubt you have 719 lines in your lua but then again depending on what you did it could be there.
The other half <eof> expected near `end' is the actual error, you added an "end" which is used to end functions without adding a function for it to end.
If you edited your lua when the error occured please post it, if not then do as Deviss said just put in the stock version from the space template folder and that should solve it.