A_PainAttack, A_DualPainAttack, A_PainDeath bug

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Amuscaria »

All the functions that was supposed to spawn lost souls will spawn lost souls from time to time regardless of the actor specified in the brackets. O_o Especially if you put 2 of these functions together with a duration of 0, it will always always spawn 1 lost soul and then spawn the rest as the actor you placed within the bracket.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Graf Zahl »

Can you post some code that shows the error?
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Amuscaria »

Missile3:
HELE BC 5 Bright A_Facetarget
HELE D 5 Bright A_DualPainAttack("HS")
goto See+1

Death:
HELE I 5 Bright A_Scream
HELE JKL 5 Bright
HELE M 0 Bright A_DualPainAttack("HS")
HELE M 0 Bright A_DualPainAttack("HS")
HELE M 5 Bright A_NoBlocking
HELE NOP 5 Bright
HELE QRSTU 5
HELE V -1 A_SetFloorClip
stop

The Death causes more problems than the missile states. Only on rare occasions will the missile state spawn a lost soul instead of what I specified (the Hades Sphere). The Death state always spawns one lost soul, but it ususall gets killed right as it spawns.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Graf Zahl »

I can't run tests with that. I need something which I can debug.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by HotWax »

This will look odd, but it should work for testing purposes:

Code: Select all

actor GrafTest : Cacodemon
{
states {
	Missile:
		HEAD BC 5 Bright A_Facetarget
		HEAD D 5 Bright A_DualPainAttack("DoomImpBall")
		goto See
	Death:
		HEAD G 5 Bright A_Scream
		HEAD H 5 Bright
		HEAD H 0 Bright A_DualPainAttack("DoomImpBall")
		HEAD H 0 Bright A_DualPainAttack("DoomImpBall")
		HEAD I 5 Bright A_NoBlocking
		HEAD JK 5
		HEAD L -1 A_SetFloorClip
		stop
	}
}
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Graf Zahl »

No problems with that one.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by HotWax »

Perhaps something in his "HS" actor then?

It does help to provide the entire Decorate for the actor, as well as associated actors, when posting these reports. :P
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Amuscaria »

Here's a Zip containing all your need to run the monster.

http://www.megaupload.com/?d=C35UM731
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Graf Zahl »

I tested it for 5 minutes and no Lost Souls.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Cutmanmike »

Prehaps a demo showing how to make it happen would help?
User avatar
Amuscaria
Posts: 6634
Joined: Mon Jul 26, 2004 12:59 pm
Location: Growing from mycelium near you.

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Amuscaria »

Cutmanmike wrote:Prehaps a demo showing how to make it happen would help?
It happens randomly. I get it to happen By simply MDKing the thing. Usually the Lost soul die right when it's spawned.

EDIT: According to Unknown_Assassin, it's easiest to get the lost souls if you summon the Helemental on the stairs of "Entryway". Here's a Screenshot. usually the lost soul dies.

Image
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug

Post by Graf Zahl »

fixed
Post Reply

Return to “Closed Bugs [GZDoom]”