installing 0HP armor on player causes strange stuff + crash

These are old bug reports that have been closed.
Locked
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

If in a mod 0HP armor is installed on the playership it causes a crash (I was in a DS, so it didn't immediately crash, but instead the armor change DS got all weird and displayed the godmod item instead of armor, and my armor HUD completely disappeared, and then doing any action results in an immediate crash)):

Here is a debug pastie, and here is the code I used:

Code: Select all

<ItemType UNID="&itTesting0HPPlate;"
			name=				"[segment(s) of ]Test armor 0HP"
			level=				"21"
			value=				"20000000"
			mass=				"5000"
			attributes=			"Alien; MinorItem"
			frequency=			"uncommon"
			numberAppearing=	"1d4"

			description=		"Wolves are cute :3."

			sortName=			"hierosteel armor, segment of"
			>

		<Image imageID="&rsItems1;" imageX="0" imageY="0" imageWidth="96" imageHeight="96"/>

		<Armor
				hitPoints=	"0"
				radiationImmune="true"
				disintegrationImmune="true"
				/>

	</ItemType>

Code: Select all

03/11/2011 22:40:03	Unable to continue due to program error.

program state: OnAnimate
program state: updating object
obj class: CShip
obj name: Wyvera warrior-class living gunship
obj pointer: 2fd6cf8
CPlayerShipController
m_pStation: none
m_pTarget: none
m_pDestination: none
game state: docked


Please contact [email protected] with a copy of Debug.log and your save file. We are sorry for the inconvenience.
ticket: http://wiki.neurohack.com/transcendence/trac/ticket/623
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

IF you put 0hp armor on your ship in the xml definition, the game crashes on system generation with the following error:


"Silly wabbit, you can't use tissue paper for your forward bulkhead!"



Weird, huh?
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
Lmoy
Commonwealth Pilot
Commonwealth Pilot
Posts: 68
Joined: Thu Dec 02, 2010 11:41 pm
Location: Canada!

This happened to me when I used G.O.D. to lower the hp of an ultralight titanium armor plate. I crashed if I lowered the hp past 1 :/
but I want tissue paper on my hull...
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5510
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

This has already been fixed in 1.06, just to let you know - so you can infact do it once 1.06 is out.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Star Weaver
Militia Commander
Militia Commander
Posts: 311
Joined: Sun Nov 07, 2010 10:20 pm
Location: . . . between the stars and the warm black sky . . .

What has been fixed and you can do what in 1.06? Does this need to be closed?
Image
Image
Image
Locked