Page MenuHomeFeedback Tracker

Buildings destroyed by Edit Terrain Object module don't appear properly for players in multiplayer on dedicated servers
Reviewed, NormalPublic


Buildings destroyed by 3DEN Editors "Edit Terrain Object" module are not working properly in multiplayer missions on dedicated servers. Target building doesn't appear destroyed for players but instead ruins are shown in addition to original building which appears undamaged.


Operating System
Windows 7 x64
Operating System Version
Steps To Reproduce
  1. Create multiplayer mission and put "Edit Terrain Object" module on some building that is originally in the map.
  2. Select "destroyed" state from module attributes.
  3. Run mission on dedicated server.
  4. Undamaged target building and its ruins are both visible for players.

Problem doesn't occur in singleplayer or in multiplayer if client is same than server. Only on dedicated servers for non-local players.

Additional Information

EDIT, more info: Occurrance of problem is dependant on player count. Propability of problem occurring rises when there are bigger amount of players on server.

Event Timeline

Kiardon created this task.Oct 23 2018, 5:50 PM
Kiardon edited Additional Information. (Show Details)Oct 23 2018, 7:17 PM
Nillers added a subscriber: Nillers.Dec 4 2018, 7:49 AM
Nillers removed a subscriber: Nillers.

Would to confirm that I have too experienced this on a dedicated server I run. The player count did not make any difference to the results described here (tested 1 and 12 players).

Nillers added a subscriber: Nillers.Dec 4 2018, 7:53 AM
Wulf changed the task status from New to Reviewed.Dec 4 2018, 2:07 PM
Wulf added a subscriber: Wulf.


Thank you for the report. We will ahve a look at it.

The same is true for the state of the doors. Open/close are more or less random on dedicate server.

PiepMGI added a subscriber: PiepMGI.EditedApr 27 2019, 10:15 PM

The solution is known. Instead of a "server only" module trying to execute some weird EG (effect global) commands, it could be far more efficient to run a script locally, at least for destruction which is not supposed to evolve during game. the module must be global.
See the workaround here for destroyed building.

@Wulf It's been almost a year and this is still broken. The "Enable Damage" checkbox is also affected. The problem as far as I can tell is that the code is executed locally to the host. The below workaround is why I believe that.

@PiepMGI A better workaround, although I haven't tested it on the damage states, is to run whatever code is necessary through the "Global Object Init". For example I leave the "Enable Damage" checkbox checked and then enter in the Global Object Init _this allowDamage false;. For the damage states one could try _this setDamage 0.5;. However having to manually script the functions kind of defeats the purpose of the module if you ask me.

@Drift_91 @Wulf I can confirm that the "Enable Damage" checkbox won´t work. This is a really huge problem for our server because destroyed buildings are FPS killers.

Still not fixed, unfortunately. :(

dedmen added a project: Restricted Project.Aug 14 2020, 1:46 PM
Gehock added a subscriber: Gehock.Apr 14 2021, 6:35 PM