More error issues...

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

More error issues...

Post 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.
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: More error issues...

Post 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
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

Re: More error issues...

Post 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?
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: More error issues...

Post 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 :wink: , 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
User avatar
Havoc 526
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 317
Joined: Sat Apr 04, 2009 6:24 pm
Projects :: Something
Games I'm Playing :: Xenoblade Splatoon
Location: Howling at the Moon

Re: More error issues...

Post by Havoc 526 »

I'll try that as soon as possible. Thanks!
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: More error issues...

Post 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 :wink: , 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.
Post Reply