I have no idea how to fix this bug

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2834
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

I have no idea how to fix this bug

Post by RPC » Fri Mar 03, 2017 1:38 am

Star Genesis has been dead for the longest time but I don't know how to solve the problem.
There seems to be some issue with the AI:
http://pastebin.com/f3LspDmh
OR is it because I'm using old weapon effects?
I have no idea.
To reproduce, just start Star Genesis and play then you'll end up crashing.
Tutorial List on the Wiki and Installing Mods
Image<----- click to get to #Transcendence IRC on Freenode
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

george moromisato
Developer
Developer
Posts: 2831
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Re: I have no idea how to fix this bug

Post by george moromisato » Fri Mar 03, 2017 4:03 am

It's clearly an engine bug, but triggered by something in Star Genesis.

On line 17 you can see an invalid pointer. That's the cause of the crash, but I don't know how that invalid pointer got there. It looks like a target, but how did the target get destroyed without cleaning up the pointer?

Does Star Genesis override any weapons? Does it manipulate ships/objects somehow?

User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2834
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Re: I have no idea how to fix this bug

Post by RPC » Fri Mar 03, 2017 4:14 am

Best guesses right now are:
ships attempting to dock to destroyed wrecks or attack destroyed objects
use of old particle weapon effect (a similar effect for the super old radiation also caused crashes last time IIRC)

Code: Select all

<Weapon
				type=				"missile"
				
				damage=				"ion:1d2+5; momentum1;"
				passthrough= 		"5"
				fireRate=			"10"
				missileSpeed=		"100"
				interaction=		"15"
				lifetime=			"40"
				powerUse=			"100"
				fireEffect=			"&efMediumCannonFlash;"
				sound=				"&snRecoillessCannon;"
				>
			<Configuration aimTolerance="10">
				<Shot angle="3d5-9"/>
			</Configuration>
			<Effect>
				<Bolt
					length=				"12"
					width=				"2"
					primaryColor=	"0xff, 0xff, 0x80"
					secondaryColor=	"0xff, 0xff, 0x80"
					/>
			</Effect>
		</Weapon>
Tutorial List on the Wiki and Installing Mods
Image<----- click to get to #Transcendence IRC on Freenode
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

User avatar
RPC
Fleet Admiral
Fleet Admiral
Posts: 2834
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Re: I have no idea how to fix this bug

Post by RPC » Sat Mar 04, 2017 12:18 am

Sorry, wrong weaponeffect:

Code: Select all

		<Weapon
				launcher=			"true"
				
				damage=				"thermo:3d12"
				fireRate=			"180"
				interaction=		"0"
				powerUse=			"10"
				
				type=				"missile"
				directional=		"true"
				maneuverability=	"2"
				autoAcquireTarget=	"true"
				fragmentCount=		"2d3+2"
				missileSpeed=		"15"
				accelerationFactor=	"125"
				maxMissileSpeed=	"60"
				lifetime=			"80"
				noFriendlyFire=		"true"
						
				stealth=			"10"
				hitpoints=			"30"
				sound=				"&snMissileLauncher;"
				>
			<Configuration aimTolerance="0">
				<Shot posAngle="180" posRadius="20" angle="0-180"/> 
				<Shot posAngle="180" posRadius="20" angle="360-181"/>
			</Configuration>
			<Image imageID="&rsMissiles2;" imageX="0" imageY="0" imageWidth="32" imageHeight="32" imageFrameCount="0" imageTicksPerFrame="0"/>

			<Exhaust
					creationRate=	"10"
					lifetime=		"70"
					drag=			"80">

				<Image imageID="&rsTrail;" imageX="0" imageY="0" imageWidth="15" imageHeight="11" imageFrameCount="8" imageTicksPerFrame="30"/>
			</Exhaust>
			;deviceDisrupt1
			<Fragment
					count=			"2d13"
					type=			"missile"
					hitPoints=		"2"
					
					lifetime=		"100"
					accelerationFactor=	"25"
					autoAcquireTarget=	"true"
					maneuver=		"2"
					damage=			"thermo:3d2+3;"
					missileSpeed=	"15-25"
					noFriendlyFire=	"true"
					sound=			"&snSilent;"
					>
				<Effect>
					<Image imageID="&rsMissiles4;" imageX="0" imageY="0" imageWidth="16" imageHeight="16" imageFrameCount="4" imageTicksPerFrame="1" randomStartFrame="true"/>
				</Effect>
			</Fragment>

		</Weapon>
Tutorial List on the Wiki and Installing Mods
Image<----- click to get to #Transcendence IRC on Freenode
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests