Page 1 of 1
Map crashes after some time
Posted: Fri Jul 08, 2011 11:12 am
by Executer94
Well the topic says it pretty much.
This is my error log:
http://textbin.com/862o8
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 11:17 am
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.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 11:30 am
by Executer94
So I just have to change some numbers in my lua for the memorypool?
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 11:35 am
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.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 11:51 am
by Executer94
What are those lines for?
Code: Select all
SetMemoryPoolSize("ParticleTransformer::SizeTransf", 2800)
SetMemoryPoolSize("ParticleTransformer::ColorTrans" , 3500)
SetMemoryPoolSize("ParticleTransformer::PositionTr", 2600)
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 11:53 am
by DarthD.U.C.K.
i suppose they are for effects.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 12:00 pm
by Executer94
so I gonna increase the effects I guess.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 12:05 pm
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.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 12:14 pm
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.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 4:26 pm
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.
Re: Map crashes after some time
Posted: Fri Jul 08, 2011 4:53 pm
by Darth_Spiderpig
Simple solution: Buy a better PC
Seriousely now, the map runs fine for me, played it several times.
Maybe turning down the graphics will help too.
Re: Map crashes after some time
Posted: Sat Jul 09, 2011 8:39 am
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