Munge Not Reading LUA [Solved]

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

FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: RE: Re: Munge Not Reading LUA

Post by FragMe! »

ScriptCB_Dofile("LinkedFrigate")
I think Zerted was referring to this ^^ was the line copied and pasted here from the LUA
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Re: RE: Re: Munge Not Reading LUA

Post by [RDH]Zerted »

I'm referring to the error you need to fix in the log:
(none):0: attempt to call global `ScriptCB_Dofile' (a nil value)
The log is saying the function ScriptCB_Dofile() cannot be found or it is saying the value in ScriptCB_DoFile( <value> ) is invalid. If you do have ScriptCD_DoFile(), then its parameter/value is wrong. Make sure its spelling matches the file name of the Lua you want to do. If everything is spelled correctly, then check your .req files and make sure the Lua is included there and spelled correctly.

Since you are haveing munging problems, make sure to do a clean too.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

RE: Re: RE: Re: Munge Not Reading LUA

Post by trainmaster611 »

No, I'm not getting the munge error anymore

And no, the line in my LUA is this exactly:
ScriptCB_Dofile("LinkedFrigate")
So if the F is right then that means that "LinkedFrigate" is a value that munge doesn't recognize ----- *reads Dofile line again*

Image

-[EDIT]-: Good News and Bad News

GN: It doesn't crash and give me the Dofile error :mrgreen:

BN: The frigate isn't connected (Xwing, what do you have against me? :x )

So that being said, this crisis has been solved and given rise to a new one :)
Post Reply