Page 1 of 1
Crash in game on construction... {FOUND!!}
Posted: 18 Jun 2005, 21:39
by Buggi
I don't want to jump the gun or anything, but I updated the source with the latest from CVS and the game, map, and units load fine, commander goes up, but as soon as I try to build something, anything, the game crashes.
Even something as simple as dragons teeth crashes it.
-Buggi
Posted: 18 Jun 2005, 22:26
by Buggi
Crash report sent. I got a fresh copy of the source to test.
I'm at a loss for why it crashes when trying to build stuff. Commanders DGun worked fine
Build a dragons teeth.. BOOM!!! natta
-Buggi
Posted: 18 Jun 2005, 23:29
by Buggi
Just talking out loud here...
I reverted EVERYTHING back to versions 2 days old or older, compiled and it worked fine.
Now I'm going to try and narrow down why it was crashing with the bugfixes submitted.
-Buggi
Posted: 18 Jun 2005, 23:48
by Buggi
FOUND IT!!!
Code: Select all
if(unitDef->movedata->moveType==MoveData::Hover_Move){
physicalState = Hovering;
Crashes the game.
Unfortunatally this was the fix for hovercraft exploding on build. >_<
DOH!
-Buggi
Posted: 18 Jun 2005, 23:54
by SJ
That was only to prevent hovers from taking damage from damaging water. Seems like i forgot that buildings might not have movedata. Will fix it.
Posted: 18 Jun 2005, 23:59
by Buggi
Should hovers take damage while over damaging water?
Just while over it... not while on the ground.
Maybe change the Mapdamage check.
If !Flying and !InTransport AND heightatlocation < 0
DoDamage();
-Buggi