[1.3] Object without bitmap crashes game when irradiated.

Found a bug in the game? Post it in one of the applicable sub forums depending on the version you are using. Tech support is also available in the Tech Support subforum.
Post Reply
PM
Fleet Admiral
Fleet Admiral
Posts: 2240
Joined: Wed Sep 01, 2010 12:54 am

Sat Aug 16, 2014 5:27 pm

If an object without a bitmap becomes radioactive, the game crashes with this message.

program state: OnAnimate
program state: painting SRS
obj class: CShip
obj name: Inner ring segment
obj pointer: 10a08d10
m_pDocked: none
m_pExitGate: none
CStandardShipAI
Order: 4
m_State: 16
m_pDest: none
m_pTarget: none
m_pNavPath: none
game state: in game

In my case, the object in question is a ship used as line segments of a Star Castle-style shield (which is unreleased at the time of this post).

The reason the ship has no bitmap is because if a ship has a bitmask but no bitmap, the ship is invisible but can be hit and damaged despite invisibility. Such an invisible ship can be made visible with an overlay of flares or rays, which may look prettier than any bitmap.

Radiation immunity on armor will prevent this bug from happening as a result of getting hit by the waste cannon and other similar weapons, but it will not prevent contamination and crash caused by (shpMakeRadioactive ship), to which there is no defense, and some mods use that function.

EMP sparks and disintegration effects work fine and do not crash the game. Only radiation has this problem.
Download and Play in 1.7 Beta...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.

PM
Fleet Admiral
Fleet Admiral
Posts: 2240
Joined: Wed Sep 01, 2010 12:54 am

Tue Apr 28, 2015 3:54 pm

This bug has been resolved as of 1.6 beta 2.
Download and Play in 1.7 Beta...
Playership Drones v7 (Beta): Acquire and command almost any ship in Stars of the Pilgrim or Eternity Port.
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Relive classic arcade gaming in a new Transcendence adventure!
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.

Post Reply