MantisBT - Zandronum
View Issue Details
0001252Zandronum[All Projects] Bugpublic2013-01-16 17:092013-01-16 17:56
HexaDoken 
 
highblockalways
closedduplicate 
MicrosoftWindowsXP/Vista/7
1.0 
 
0001252: Zero length Looping state crashes in multiplayer
Missile:
    TROO A 0 A_Jump(256,"Missile1","Missile2")
    Loop

This code. What we have here is a zero-length state that loops itself. Normally, it should result in an infinite loop, but we have A_Jump(256) there, which jumps out of the state with 100% chance before the looping is met.

The problem about it? Offline, it works perfectly fine. Online, as soon as the state is entered by an actor, all clients freeze instantly. Attempting to reconnect to the server results in being instantly kicked due to too much missed packets.

On a modder's side, this code can be easily fixed by replacing Loop with Goto Statename. Despite having the exact same functionality, doing so will avoid online freezes. However, I'm tired of fixing this bug for other modders. If you could make zandronum not freeze this bad because of this code, I'd be really grateful.

Example wad below!
Host a server with an example wad below. The wad replaces standart doom imps with a modified version, that randomly shoot you with imp fireballs or caco fireballs. As soon as an imp decides to shoot you online, all clients freeze solid.
No tags attached.
duplicate of 0001200closed Torr Samaho "randomguy" causes clients to freeze in online games 
? crashexample.wad (349) 2013-01-16 17:09
/tracker/file_download.php?file_id=918&type=bug
Issue History
2013-01-16 17:09HexaDokenNew Issue
2013-01-16 17:09HexaDokenFile Added: crashexample.wad
2013-01-16 17:56DuskRelationship addedduplicate of 0001200
2013-01-16 17:56DuskStatusnew => closed
2013-01-16 17:56DuskResolutionopen => duplicate

There are no notes attached to this issue.