Page 1 of 1

installing 0HP armor on player causes strange stuff + crash

Posted: Sat Mar 12, 2011 6:47 am
by Aury
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

Re: installing 0HP armor on player causes strange stuff + cr

Posted: Sat Mar 12, 2011 8:54 am
by Prophet
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?

Re: installing 0HP armor on player causes strange stuff + cr

Posted: Tue May 17, 2011 2:25 pm
by Lmoy
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...

Re: installing 0HP armor on player causes strange stuff + cr

Posted: Tue May 17, 2011 6:03 pm
by Aury
This has already been fixed in 1.06, just to let you know - so you can infact do it once 1.06 is out.

Re: installing 0HP armor on player causes strange stuff + cr

Posted: Thu Jun 07, 2012 9:25 pm
by Star Weaver
What has been fixed and you can do what in 1.06? Does this need to be closed?