Page 1 of 1

luac error when trying to munge [Solved]

Posted: Wed Jul 15, 2009 2:39 pm
by martin105038
Hi, I'm new and I have a problem with my Star Wars Mod Tools. After making my map, when I try to munge, it tells me there is a luac error and it displays:

Code: Select all

Munging addme.lua...done.
Copying files to Battlefront II directory:
"D:\Games\SWBF2\GameData"
Addon dir exists, continuing...
Creating mod dir "MAP" dir in addon dir...done.
Copying addme.script to mod dir...done
Copying "mission.lvl" to modDir\data\_LVL_PC\...done
Copying "core.lvl" to modDir\data\_LVL_PC\...done
Copying "MAP" to modDir\data\_LVL_PC\...done
Copying "SIDE" to modDir\data\_LVL_PC\...done
Munge process finished
Mod was unexpected at this time.
and the folder _LVL_pc is empty. I havent touched any LUA files, I have even used an empty map but the error continues. Maps made by other people work fine.

Any idea? Thanks

Re: luac error when trying to munge

Posted: Wed Jul 15, 2009 5:16 pm
by Frisbeetarian
martin105038 wrote:Mod was unexpected at this time.
I can't say that I've ever seen that before, but that may not matter.

Is that all that appears or is there more in the display box?
How fast does is your munge?

Re: luac error when trying to munge

Posted: Wed Jul 15, 2009 5:28 pm
by [RDH]Zerted
Where did you install your mod tools?

Re: luac error when trying to munge

Posted: Wed Jul 15, 2009 5:43 pm
by Frisbeetarian
[RDH]Zerted wrote:Where did you install your mod tools?
martin105038 wrote:

Code: Select all

Copying addme.script to mod dir...done
It doesn't matter. If copy or xcopy is working, then the batch scripts will run fine meaning that his directory is OK.

Re: luac error when trying to munge

Posted: Wed Jul 15, 2009 10:38 pm
by martin105038
I finally fixed it. I uninstalled all and installed it again (for the third time), but this time I didn't change the directory, I left the default one (C:\BF2_ModTools) instead of using the other partition of the disk (D:), and now it works fine. I don't know if this has any relation with my problem, but now I can munge (before it stopped suddenly in the middle of the process).

Thanks all for your help