Page 1 of 1

Anyone create a map that crashes the ENTIRE game?

Posted: Sat Mar 18, 2006 8:07 pm
by froshthewookie
I was working on adding some new game modes to my map... I tried to test the map, but now my game crashes at startup... I can't even get to where you log into your profile... So I deleted my map from the addon folder, then the game worked fine, except the lightsabers seemed WAY too bright now? Couldn't even tell what color they were at most angles... So I cleaned/munged my map, and now my game crashes at starup again... Anyone have a similar problem? I now may have to re-install BF2...

Posted: Sat Mar 18, 2006 8:21 pm
by EraOfDesann
Hm...Take out the map and check your video settings. There's an on/off setting that changes the brightness of light-producing objects. You might to see if it's off. I forget what the setting is called...

Posted: Sat Mar 18, 2006 8:27 pm
by froshthewookie
Yeah... that was weird... I got my map working now... it was the addme.lua... I had screwed part of it up... i didn't think that could crash the whole game... gee... Haven't looked much into the lightsaber thing yet, I'm just happy to have my map working again...

Posted: Sat Mar 18, 2006 8:37 pm
by PAN-Fnord
Most stuff for missions is only run when your level is loaded, but addme.lua is run when the shell loads. If you make something that crashes the game, it's all equivalent no matter when it happens.

(^.^)
Mike Z

Posted: Sun Mar 19, 2006 1:02 am
by squipple
Maybe the devs have some insight as to what might cause addon maps crash in multiplayer so much. I realize most, if not all of the addon maps out right now are in beta, but a lot of them crash, while others are solid as a rock. For example, Bespin: Cloud City is solid. I've never had it crash in multiplayer. On the other hand, Geonosis: Spire, Bespin: Platforms, Yavin 4: Arena, and many others crash a lot, if not every time I try to play. And most of the time it's right after the loading screen. Most of the maps work fine in single player, and I have a feeling it might be something that even the seasoned modders who are working on these maps might not know about. Are there any common problems that might cause crashing in multiplayer?

I'm only concerned about it becasue there's so many great maps out there, and 95% or more of my time playing SWBF2 is playing multiplayer. I hate to miss out on playin these great maps with friends that everyone has worked hard on.

Posted: Sun Mar 19, 2006 1:32 am
by TAWArtemis
squipple wrote:Maybe the devs have some insight as to what might cause addon maps crash in multiplayer so much. I realize most, if not all of the addon maps out right now are in beta, but a lot of them crash, while others are solid as a rock. For example, Bespin: Cloud City is solid. I've never had it crash in multiplayer. On the other hand, Geonosis: Spire, Bespin: Platforms, Yavin 4: Arena, and many others crash a lot, if not every time I try to play. And most of the time it's right after the loading screen. Most of the maps work fine in single player, and I have a feeling it might be something that even the seasoned modders who are working on these maps might not know about. Are there any common problems that might cause crashing in multiplayer?

I'm only concerned about it becasue there's so many great maps out there, and 95% or more of my time playing SWBF2 is playing multiplayer. I hate to miss out on playin these great maps with friends that everyone has worked hard on.
There are several reasons this happens. I have seen some people alter the core files instead of creeating and shipping a new side. This is a major stability problem. I have also seen, and I am guilty of releasing, multiple version of the same map as changes are made. If someone has Naboo Plains Beta1 and someone has the new update 0.95 release the two will not work together. That is why I want to get everything stable and in a map pack ASAP. I dont want so many version running around.

Posted: Sun Mar 19, 2006 2:06 am
by squipple
Yeah, I can see if you have a different version. Although, many times I'm the host and mine crashes right away, before I even see the spawn screen. Would that still happen if someone else had a different version and was on the 'contacting host' screen maybe?

Posted: Mon Mar 20, 2006 2:53 pm
by Emraz
Ok heres one the letter 'n' made it so when I chose my moded map from the choose map screen in game it would load up then jus on game start it would crash to desktop.

In the .lua i had spelt bldg on a turret bldng !!!

There u go this weeks letter is the letter 'n'.

Posted: Mon Mar 20, 2006 4:04 pm
by Teancum
It's odd. The multiplayer crashes that is. Usually people say it happens with new maps in 1-Flag, but I've hosted 1-Flag games with no problem. Hopefully we can figure out what the problem is and get it fixed.

I have a theory on this, but I need to test it. I *THINK* the 1-Flag is crashing in multiplayer on some systems because when I create the 1-flag layer I put the capture regions in a 'ctf_common' layer. Perhaps it can't find it. I mean, it was really weird, but Yavin 4 did that to me this morning and I had to put new capture regions on the 2-Flag CTF layer because it said it couldn't find them anymore. I bet 20 bucks that's the problem, or at least one of them.

What I'd really like is a list of what maps crash on what gametypes, and when they crash. For example:

CRASH REPORT:
Yavin 4: Arena -- 1-Flag CTF -- Crashed in Multiplayer before it finished loading

Posted: Wed Mar 22, 2006 9:44 am
by Emraz
Again not only did I crash my game but I crashed my computer as well as corrupting the swbf2 .exe :-)

Also my computer started beeping at me alarmingly even after I switched it off, thinking now I had really really messed things up. Fortunately the beeping was my land line phone, i hadnt put the receiver back on properly--LOL :-)

What I had done was tried death zones then realising they didnt want to work added damage regions (which imop are far better to do). I then made a really really big mistake. Thinking that adding a death fregion had to aslo be included in the .lua logically I thought a damage region had to be added here too. A word of warninjg to those who are not aware -- DO NOT DO THIS.

It did everything except set my house on fire..weird stuff can happen if u do this.

Funny though--- Ahhh you live and learn, learning stuff like these mod tools can be intense sometimes ;-)

Posted: Wed Mar 22, 2006 10:25 am
by squipple
Teancum, good idea. I'll get you a list in the near future (weekend at the latest). I'll test on three seperate machines and give you the specs.

Posted: Wed Mar 22, 2006 2:20 pm
by [RDH]Zerted
I destroyed one of my maps. I added a bunch of functions (they aren't even called) to the lua and the when the map starts loading, it crashes to desktop. I deleted the map, cleaned, reverted to a working backup, munged, ran the map and it crashed the entire game again.