Page 1 of 1

Strange light error, crashes game occasionally

Posted: Sun Jan 02, 2011 10:41 pm
by asleeponduty
I am havng some serious problem here with my map, it will randomly crash with a million of these severity 3's (see hidden). However its only one type of severity 3, and i could use some help fixing this
Thanks in advance!
Hidden/Spoiler:
Message Severity: 3
.\Graphics\Pc\pcRedRenderer.cpp(2206)
Out of space in lighting state pool!
Edit:
Yes, i know that Red means out of space

Re: Strange light error, crashes game occasionally

Posted: Mon Jan 03, 2011 4:33 pm
by bobfinkl
I get similar errors all the time when I'm working with custom sides, if you have any I suggest you go look through them very carefully manual clean then munge and see if it works. If it doesn't work backtrack what you last did before you munged and it didn't work, undo things one by one until you find the error (it's a slow process I know but there really is no other way).

Re: Strange light error, crashes game occasionally

Posted: Thu Jan 06, 2011 10:59 pm
by asleeponduty
In the mode it crashes in, i am not using custom sides though...
Any other suggestions?

Re: Strange light error, crashes game occasionally

Posted: Thu Jan 06, 2011 11:56 pm
by bobfinkl
How many units do you have? That can cause a crash at random moments if you have too many, but if that's not it what did you do right before it started crashing?

Re: Strange light error, crashes game occasionally

Posted: Fri Jan 07, 2011 12:45 am
by asleeponduty
I thought this was the problem, but it still crashes, yet not as often.

Code: Select all

	SetupTeams{
		rep = {
			team = REP,
			units = 20,
			reinforcements = 150,
			soldier  = { "rep_inf_ep3_rifleman",9, 25},
			assault  = { "rep_inf_ep3_rocketeer",1, 4},
			engineer = { "rep_inf_ep3_engineer",1, 4},
			sniper   = { "rep_inf_ep3_sniper",1, 4},
			officer = {"rep_inf_ep3_officer",1, 4},
			special = { "rep_inf_ep3_jettrooper",1, 4},
	        
		},
		cis = {
			team = CIS,
			units = 20,  [i]I previously had this at 32, but it still crashes at times[/i]
			reinforcements = 150,
			soldier  = { "cis_inf_rifleman",9, 25},
			assault  = { "cis_inf_rocketeer",1, 4},
			engineer = { "cis_inf_engineer",1, 4},
			sniper   = { "cis_inf_sniper",1, 4},
			officer = {"cis_inf_officer",1, 4},
			special = { "cis_inf_droideka",1, 4},
		}
	}
     
    SetHeroClass(CIS, "cis_hero_darthmaul")
    SetHeroClass(REP, "rep_hero_anakin")

Re: Strange light error, crashes game occasionally

Posted: Fri Jan 07, 2011 11:36 am
by DarthD.U.C.K.
what kind of map are you making? did you place many odf/ZE-lights or something similiar?

Re: Strange light error, crashes game occasionally

Posted: Fri Jan 07, 2011 4:13 pm
by asleeponduty
Originally i had several lights, but they were slowing it down so i deleted them.
In the map, i'm using some trees from Endor which have "godray" .odf's attached.
Should I delete those out of the tree odf?
Hidden/Spoiler:
(Its a big map which I had made for my younger brother as a birthday present, he's a fanatic for battlefront II)