Yet another unknown crash [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

Post Reply
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Yet another unknown crash [Solved]

Post by modmaster13 »

Hey GT, I can't figure out why I can't spawn.
Here is my munge log:
Hidden/Spoiler:
[ERROR[levelpack nab2.req]:munged\pc\naboo2.config is not a binary UCF file!ERROR[levelpack nab2.req]:munged\pc\naboo2.config is not a binary UCF file! [continuing]
2 Errors 0 Warnings
I tried to remove the stars. :wink:
Last edited by modmaster13 on Mon Feb 14, 2011 9:18 pm, edited 1 time in total.
User avatar
Cerfon Rournes
Master Bounty Hunter
Master Bounty Hunter
Posts: 1558
Joined: Thu Jul 08, 2010 5:53 pm
Projects :: WIP. I will reveal what it is later on..
Games I'm Playing :: SWBF2-SWRC
xbox live or psn: No gamertag set
Location: New York, USA
Contact:

Re: Yet another unknown crash...

Post by Cerfon Rournes »

We need more information. What changes did you make? Can we see your LUA? What was the last change you made before it started to crash?
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yet another unknown crash...

Post by modmaster13 »

Sorry, before it crashed, I edited the sky file:
Hidden/Spoiler:
SkyInfo()
{
Enable(1);

PS2()
{
NearSceneRange(1.750000, 100.000000, 150.000000);
FarSceneRange(0.0);
NearSplitScreenRange(0.5, 60.000000, 70.000000);
FarSplitScreenRange(0.0);
}
PC()
{
NearSceneRange(60.000000, 180.000000, 80.000000, 220.000000);
FarSceneRange(0.0);
}
XBOX()
{
NearSceneRange(0.5, 100.000000, 150.000000);
FarSceneRange(0.0);
NearSplitScreenRange(0.5, 80.000000, 100.000000);
FarSplitScreenRange(0.0);
}
}

DomeInfo()
{
Texture("SKY_naboo2.tga");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Softness(1);
SoftnessParam(60);

XBOX()
{
TerrainBumpTexture("nab2_bump_1", 1.0);
}
PC()
{
TerrainBumpTexture("nab2_bump_1", 1.0);
}

DomeModel()
{
Geometry("nab2_sky_dome");
}
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Yet another unknown crash...

Post by THEWULFMAN »

Change it to this
Hidden/Spoiler:
SkyInfo()
{
Enable(1);

PS2()
{
NearSceneRange(1.750000, 100.000000, 150.000000);
FarSceneRange(0.0);
NearSplitScreenRange(0.5, 60.000000, 70.000000);
FarSplitScreenRange(0.0);
}
PC()
{
NearSceneRange(60.000000, 180.000000, 80.000000, 220.000000);
FarSceneRange(0.0);
}
XBOX()
{
NearSceneRange(0.5, 100.000000, 150.000000);
FarSceneRange(0.0);
NearSplitScreenRange(0.5, 80.000000, 100.000000);
FarSplitScreenRange(0.0);
}
}

DomeInfo()
{
Texture("SKY_naboo2.tga");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Softness(1);
SoftnessParam(60);

XBOX()
{
TerrainBumpTexture("nab2_bump_1", 1.0);
}
PC()
{
TerrainBumpTexture("nab2_bump_1", 1.0);
}

DomeModel()
{
Geometry("nab2_sky_dome")
}
}
You were missing bracket(s)
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yet another unknown crash...

Post by modmaster13 »

Are you sure that would fix the error in the munge log?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Yet another unknown crash...

Post by DarthD.U.C.K. »

you cant be 100% sure, better not try it out...
Darth_Spiderpig
Sith Master
Sith Master
Posts: 2631
Joined: Fri Mar 27, 2009 10:23 am
Projects :: Something cool...
Games I'm Playing :: BF2 CoDBO BFBC2
xbox live or psn: Has no xbox....Yup
Location: Does whatever a Spiderpig does
Contact:

Re: Yet another unknown crash...

Post by Darth_Spiderpig »

:lol:

Yeah, that's basically it. If you have a problem and a slight chance of solving it better not trying, maybe it doesn't work and then you'll have lost time. :roll:
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Yet another unknown crash...

Post by THEWULFMAN »

modmaster13 wrote:Are you sure that would fix the error in the munge log?
ANY Missing Brackets = Crash
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Yet another unknown crash...

Post by Teancum »

Yeppers, Wolfy's right.

Hmm, we really need a syntax checker for files like this. Being able to check for missing brackets, parenthesis, etc would save everyone a lot of headache.
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: Yet another unknown crash...

Post by FragMe! »

Actually Teancum the program you mentioned once, SciTE I think it was, is great for that. Set the langauge to lua and it will highlight that there are missing bracket pairs. Now if it went and fixed it for you automatically then that would be better but at least know there is one missing helps.
I alway use this program for lua editing for this very reason.

Link to SciTE http://www.scintilla.org/SciTE.html
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Yet another unknown crash...

Post by Teancum »

Huh, I use it for lua but didn't know it would work for other things. Nice find :thumbs:
modmaster13
General
General
Posts: 777
Joined: Wed Aug 18, 2010 4:23 pm
Games I'm Playing :: COD SWBF
xbox live or psn: KrypticcElementt
Location: Twitter @_KrypticElement
Contact:

Re: Yet another unknown crash...

Post by modmaster13 »

Thanks guys! 8)
Hidden/Spoiler:
Image
Post Reply