MantisBT - Zandronum | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001882 | Zandronum | [All Projects] Bug | public | 2014-07-09 05:04 | 2024-03-20 05:00 |
Reporter | haxmurderer | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | 1.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0001882: A_SetUnsolid desync in multiplayer | ||||
Description | If you call A_SetUnsolid on an actor in multiplayer, it causes a player passing through the unsolid actor to have jittery motion. I believe this is because the client and the server disagree about the solidness of the actor. In singeplayer, walking through the unsolid actor is completely smooth and behaves as it should. I've created a small WAD that demonstrates the issue and it's reproducible 100% of the time. Thanks! Hax | ||||
Steps To Reproduce | 1. Create a local server (I launch it from Doomseeker) with the WAD I've attached (unsetsolid_desync.pk3). 2. Launch Zandronum, connect to the server. 3) Shoot the torch a few times and it'll disappear, going into a DECORATE state where A_UnsetSolid and A_UnsetShootable are set. 4) Try to walk through where the torch is (over the red tile). You will notice your player movement becomes jittery. | ||||
Additional Information | Here's a paste of the DECORATE from the WAD: (It's adapted and boiled down from my Survivalism WAD that I'm working on) Actor ChoppableTree 12345 { +SHOOTABLE +NOBLOOD +SOLID Mass 0x7FFFFFFF Health 20000 PainChance 256 //100% chance of going into Pain state Height 48 States { Spawn: TNT1 A 0 SMRT A 0 A_SetSolid SMRT A 0 A_SetShootable //TNT1 A 0 A_UnhideThing SMRT A -1 Stop HealAndSpawn: //Part of regrowing. This state makes inheritance easier. TNT1 A 0 TNT1 A 0 ACS_ExecuteAlways(937) //Heal us. HealThing doesn't have a max in Zandronum 1.2 :( TNT1 A 35 A_Jump(256, "Spawn") Grow: TNT1 A 0 //Dummy frame so A_Jump works //TNT1 A 5 A_NoBlocking //TNT1 A 0 A_HideThing TNT1 A 1 A_UnsetSolid TNT1 A 0 A_UnsetShootable TNT1 A 0 A_Jump(256, "GrowCheck") //Dynamic dispatch GrowCheck: TNT1 A 0 //Dummy frame so A_Jump works //There's a 1/256 chance that this tree will respawn //every second (35 ticks). TNT1 A 35 A_Jump(1, "HealAndSpawn") TNT1 A 35 A_Jump(256, "GrowCheck") Pain: TNT1 A 0 //Dummy frame so A_Jump works TNT1 A 0 A_JumpIf(health < 20000-200, "Grow") //A_JumpIfHealthLower(20000-200, "Grow") <-- does not work TNT1 A 0 A_Jump(256, "Spawn") //A_Jump is evaluated at run-time so this makes inheritance work goto Spawn //Weird hack to make the trees not go invisible in multiplayer, Zandro bug? Death: TNT1 A 0 Stop } } Also note that there's a second (BONUS!) bug, which could be related but might not be. If you remove that last "goto Spawn", then try shooting the torch once with the pistol, you'll notice it goes invisible right away, which is NOT what's supposed to happen according to the DECORATE. (It should only go invisible if you damage it for 200 health, which one pistol shot doesn't do.) However, it hasn't actually fully jumped states, as you'll notice that you can still bump into it. So somehow, it's become invisible without becoming unsolid, which is totally not what the DECORATE says should happen. Could this be desync between the client and the server again? (This only happens in multiplayer, not singleplayer!) | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-07-09 05:04 | haxmurderer | New Issue | |||
2014-07-09 08:01 | ZzZombo | Note Added: 0009916 | |||
2014-07-09 13:38 | haxmurderer | Note Added: 0009918 | |||
2014-07-09 23:28 | ZzZombo | Note Added: 0009927 | |||
2014-07-10 03:18 | ZzZombo | Note Edited: 0009927 | bug_revision_view_page.php?bugnote_id=9927#r5315 | ||
2024-03-20 05:00 | Ru5tK1ng | Note Added: 0023436 | |||
2024-03-20 05:00 | Ru5tK1ng | Status | new => closed | ||
2024-03-20 05:00 | Ru5tK1ng | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|