[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: 2570
Joined: Wed Sep 01, 2010 12:54 am

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.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
PM
Fleet Admiral
Fleet Admiral
Posts: 2570
Joined: Wed Sep 01, 2010 12:54 am

This bug has been resolved as of 1.6 beta 2.
Download and Play in 1.9 beta 1...
Drake Technologies (Alpha): More hardware for combat in parts 1 and 2!
Star Castle Arcade: Play a classic arcade game adventure, with or without more features (like powerups)!
Playership Drones: Buy or restore exotic ships to command!

Other playable mods from 1.8 and 1.7, waiting to be updated...
Godmode v3 (WIP): Dev/cheat tool compatible with D&O parts 1 or 2.
Post Reply