Map crashes after some time

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
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Map crashes after some time

Post by Executer94 »

Well the topic says it pretty much.

This is my error log:
http://textbin.com/862o8
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: Map crashes after some time

Post by DarthD.U.C.K. »

you map probably crashed from simply eating up too much resources. the many messahges about increasing memorypools can be an indication for that.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Map crashes after some time

Post by Executer94 »

So I just have to change some numbers in my lua for the memorypool?
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: Map crashes after some time

Post by DarthD.U.C.K. »

no, the memorypools are increased automatically as the log says. its simply to much for battlefront, you will have to turn down whatever you use too excessively.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Map crashes after some time

Post by Executer94 »

What are those lines for?

Code: Select all

    SetMemoryPoolSize("ParticleTransformer::SizeTransf", 2800)
    SetMemoryPoolSize("ParticleTransformer::ColorTrans" , 3500)
    SetMemoryPoolSize("ParticleTransformer::PositionTr", 2600)
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: Map crashes after some time

Post by DarthD.U.C.K. »

i suppose they are for effects.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Map crashes after some time

Post by Executer94 »

so I gonna increase the effects I guess.
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: Map crashes after some time

Post by DarthD.U.C.K. »

increasing memorypools will not help. if a memorypool is too small and not being automatically increased, things will simply not appear, take the commandwalker memorypool for example. if you dont add it, no atat or atte will appear but it will not crash the game. the game crashes if it uses up too much memory. you can only fix that by decreasing the memory it needs not by increasing the memorypools.
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: Map crashes after some time

Post by Teancum »

How long is 'after some time'? Sometimes custom weapons can be the issue. Back in the Convo Pack days we had a really nasty bug that would sometimes cause a crash when the AI finally used a given weapon. It was a secondary weapon, so they didn't pull it out right away, but after about 20-30 seconds to anywhere up to a few minutes it would crash.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Map crashes after some time

Post by THEWULFMAN »

Teancum wrote:How long is 'after some time'? Sometimes custom weapons can be the issue. Back in the Convo Pack days we had a really nasty bug that would sometimes cause a crash when the AI finally used a given weapon. It was a secondary weapon, so they didn't pull it out right away, but after about 20-30 seconds to anywhere up to a few minutes it would crash.

I concur :plokoon:


I too had a really nasty bug when making Ryoth: Nabat 1.0, I forget what weapon it was, but what I did was removed all the AI, then played through the classes trying to find the weapon. If that doesnt work you can try removing the classes one by one till it doesnt crash anymore, this has worked for me many times.
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: Map crashes after some time

Post by Darth_Spiderpig »

Simple solution: Buy a better PC :wink:

Seriousely now, the map runs fine for me, played it several times.
Maybe turning down the graphics will help too.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: Map crashes after some time

Post by Executer94 »

Teancum wrote:How long is 'after some time'? Sometimes custom weapons can be the issue. Back in the Convo Pack days we had a really nasty bug that would sometimes cause a crash when the AI finally used a given weapon. It was a secondary weapon, so they didn't pull it out right away, but after about 20-30 seconds to anywhere up to a few minutes it would crash.
I thought about that because I had this problem in some map before but I just have 2 costum units with costum weapons and I saw the AI really use all of their weapons. And for me it crashed after like 5 minutes sometimes. If it is like Darth_Spiderpig said (I sent him my map) then my computer might not be able to "take" all those effects and lights.

Offtopic: Well I played around in the lua a bit and all the sudden I can land everywhere in my space map and I am still able to shoot everywhere. WIN
Post Reply