Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000251Zandronum[All Projects] Bugpublic2010-12-29 19:262018-09-30 20:10
ReporterBorg 
Assigned ToTorr Samaho 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version98d 
Target VersionFixed in Version1.0 
Summary0000251: A_Jump() does NOT work in net games properly on Flash state
DescriptionA_Jump() seems not working at all on net games on weapons
within Flash state.

On local game (ZDOOM and SKULLTAG) everything is ok.
When I start net game (SKULLTAG), plasma flash is stuck in
first frame only (both DoomMarine and Cyborg).
Steps To Reproducedownloaded pclasses-v0.293.wad
'ftp://node.ovh.uu3.net/home/borg/wads/pclasses-v0.293.zip [^]'
Start a skulltag server and connect to it
skulltag -host -file pclasses-v0.293.wad
skulltag -file pclasses-v0.293.wad -connect 127.0.0.1

get plasma and see it on yourself.
Additional Informationhere is following code for modified plasma:

actor MPlasmaRifle : PlasmaRifle replaces PlasmaRifle
{
states
  {
  Fire:
    TNT1 A 0 A_JumpIfInventory("CyborgUser",1,3)
    PLSG A 3 A_FirePlasma
    PLSG B 20 A_ReFire
    goto Ready
    PLSG A 0 A_PlaySound("weapons/cplasmaf",CHAN_WEAPON)
    PLSG A 0 A_GunFlash
    PLSG A 3 A_FireCustomMissile("CPlasmaBall")
    CPLG B 20 A_ReFire
    goto Ready
  Flash:
    TNT1 A 0 A_JumpIfInventory("CyborgUser",1,4)
    TNT1 A 0 A_Jump(128,2)
    PLSF A 4 bright A_Light1
    goto LightDone
    PLSF B 4 bright A_Light1
    goto LightDone
    TNT1 A 0 A_Jump(128,2)
    CPLF A 4 bright A_Light1
    goto LightDone
    CPLF B 4 bright A_Light1
    goto LightDone
  }
}
Attached Files

- Relationships
duplicate of 0000142closed A_Jump desync in flash state. 

-  Notes
User avatar (0000795)
Borg (reporter)
2011-01-08 16:39

Okey, I managed to make it works, thx to doing RTFS of ZDOOM sources :)

MPlasmaRifle modified state:
  Flash:
    TNT1 A 0 A_Jump(256,2)
    TNT1 B 0 A_Jump(256,3)
    TNT1 A 0 A_JumpIfInventory("CyborgUser",1,3)
    PLSF A 4 bright A_Light1
    goto LightDone
    PLSF B 4 bright A_Light1
    goto LightDone
    TNT1 A 0 A_Jump(128,2)
    CPLF A 4 bright A_Light1
    goto LightDone
    CPLF B 4 bright A_Light1
    goto LightDone

This bug can be closed.
Someone can put extra info in ZDOOM wiki page about PlasmaRifle Flash state.
Randomines is build in into doom engine:
if (flash != NULL)
    {
    P_SetSafeFlash(weapon, player, flash, (pr_fireplasma()&1));
    }
User avatar (0000806)
Borg (reporter)
2011-01-10 21:48

Bad news... Seems the problem still exists.
I just started the net game and plasma is flash state
is stuck in first frame both for Cyborg and Marine...
So issue still open.

Also, this seems a bit random since once every few games it happens
to work properly.
User avatar (0000823)
Borg (reporter)
2011-01-18 21:25

Im still fighting with that A_Jump() in Flash state.

This code works better as it does not break DoomMarine Flash state for plasma:
  Flash:
    TNT1 A 0 A_JumpIfInventory("CyborgUser",1,3)
    goto Flash+2
    PLSF B 4 bright A_Light1
    goto LightDone
    PLSF A 4 bright A_Light1
    goto LightDone
    TNT1 A 0 A_Jump(128,2)
    CPLF A 4 bright A_Light1
    goto LightDone
    CPLF B 4 bright A_Light1
    goto LightDone

Still Cyborg player plasma flash is stuck in A frame only.
Seems that A_Jump never peforms its jump.
User avatar (0000824)
unknownna (updater)
2011-01-18 21:50

Sounds like a duplicate of this:

'http://skulltag.net/tracker/view.php?id=142 [^]'
User avatar (0000826)
Torr Samaho (administrator)
2011-01-19 01:14

Thanks! I think you are right and marked the report accordingly.
User avatar (0000905)
Torr Samaho (administrator)
2011-01-30 18:10

Since the jump issues in the flash state reported in 0000142 are fixed, I mark this as resolved.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2010-12-29 19:26 Borg New Issue
2011-01-08 16:39 Borg Note Added: 0000795
2011-01-10 21:48 Borg Note Added: 0000806
2011-01-18 21:25 Borg Note Added: 0000823
2011-01-18 21:50 unknownna Note Added: 0000824
2011-01-19 01:12 Torr Samaho Relationship added duplicate of 0000142
2011-01-19 01:14 Torr Samaho Note Added: 0000826
2011-01-30 18:10 Torr Samaho Note Added: 0000905
2011-01-30 18:11 Torr Samaho Status new => resolved
2011-01-30 18:11 Torr Samaho Fixed in Version => 1.0
2011-01-30 18:11 Torr Samaho Resolution open => fixed
2011-01-30 18:11 Torr Samaho Assigned To => Torr Samaho
2012-06-09 13:22 Torr Samaho Category General => Bug
2018-09-30 20:10 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker