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

User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Unknown Crash

Post by Fiodis »

Hidden/Spoiler:
Delete all files in the following folders:
data_***/_BUILD/SIDE/***/MUNGED/PC --do this for each side you've munged
data_***/_BUILD/WORLDS/***/MUNGED/PC

Delete any LVL and REQ files in the following folders
data_***/_BUILD/SIDE/***
data_***/_BUILD/WORLDS/***
data_***/_LVL_PC/SIDE
data_***/_LVL_PC/*** --Your world name

Finally delete your map from
/Star Wars Battlefront II/Gamedata/Addon
I looked at that before, and tried it. I couldn't find my *** folder in sides, nor in the addon folder. It just didn't show up, and a search yielded nothing.

Would it matter any if I was running windows Vista?

Also, about the addon folder:
Any map I make, I seem unable to delete from the game. I can't find the file in the addon folder, and deleting the data*** doesn't do anything.

Also, as a side note, any .RAR addon maps I extract to my Addon folder don't show up either. Does Vista - or my system, by some strange glitch that other Vistas don't have - redirect the files elsewhere?

I've had that redirecting problem before with that Bfrontlog error log. Frisbeetarian directed me to my C:\Users\[username]\AppData\Local\VirtualStore\Program Files\[then the path as before] directory, which is where that error log is redirected by my system. Can a similar thing happen with .RAR extracts and your own maps?

EDIT - AHA! THAT'S WHERE THEY WERE! :o Alright, now I can delete the addon section. Anyone have some tips on finding *** in the "Sides" folder?
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Unknown Crash

Post by Tourny »

:funny2: Fiodis, I'm surprised you understand what "data_***" means but not "***" They mean whatever side you have!
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Unknown Crash

Post by Fiodis »

...


I understand perfectly well what they mean. I cannot find "MBP" in dataMBP/_BUILD/SIDES. That is the core of my problem.
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Unknown Crash

Post by Tourny »

Message Severity: 2
.\Source\LuaCallbacks_Mission.cpp(3776)
Command Post "cp3" not found

Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'

I'm thinking you ought to DO SOMETHING about this. If it's performing arithmetic on a nil value that means it can't read your handwriting. You must have something wrong with your script or something directly attached. I don't think you're looking for an MBP side. You don't call it in the script so the computer ought not to care at all.

Looking over your script again I see that you don't call cp3. This is strange. I think your computer is hunting for files that don't exist anymore. Tell me, are you checking the "Common" box on your munge window?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Unknown Crash

Post by Fiodis »

Is it checked automatically? Because I usually don't pay attention to it....
User avatar
Tourny
Command Sergeant Major
Command Sergeant Major
Posts: 289
Joined: Sat Sep 27, 2008 5:58 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: Crifton
Contact:

Re: Unknown Crash

Post by Tourny »

Yeah your right it usually is...
I think it might be time for a new, less technnical approach.
Can you tell me all the changes you made right before it started crashing and what you did to make the changes?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Unknown Crash

Post by Fiodis »

That's asking a lot, I might forget a few details.
Hidden/Spoiler:
1. Used com_weap_rifle' odf to make the clone's rifle fire faster.

2. Added house props and explosive barrels from Squeddie's asset pack.

3. Tried to add Majin Revan's clone commandoes by putting their files in the REP folders.

4.....Can't remember 4. I'll try to remember. There was more than 4, of course.
NOTE - After I added the house and barrel props, I munged, and the map crashed; so I went back and deleted the houses, along with their odf's, msh's, tga's and whatnot. Then a remunge, and the map was working again.

The commandoes were after the barrels, I tried to add then and the map crashed. So then I removed them, and remunged, and it didn't work; so I cleaned, then munged, and it still crashed.

Well.... The commandoes did need a lot of files in the msh folder. I deleted everything I thought was needed by the commandoes, and maybe I deleted some other files as well. In which case, should I replace my REP folder?
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: Unknown Crash

Post by computergeek »

Just try removing the DC: infront of rep.lvl in your .lua and test it. It may be your rep side as you said
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Unknown Crash

Post by Frisbeetarian »

As to your previous question, the only time you need to worry about the redirect is when a program you run tries to write to anything inside the "Program Files" folder. This means that unless you installed the ModTools inside the "Program Files" folder, the only thing that's redirected is referenced to here:
Finally delete your map from
/Star Wars Battlefront II/Gamedata/Addon
so delete the map from the VirtualStore and the manual clean is complete. If you have done this, great, then do what computergeek said. If you haven't, then delete this folder, remunge the map, and test.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Unknown Crash

Post by Fiodis »

I took the DC out and with the custom REP side it worked. So I suppose what I'll have to do is just delete my custom REP side, put a clean one in, and reskin. Shouldn't be overly hard. Thanks, everyone!
Post Reply