Anonymous | Login | 2024-12-07 09:47 CET |
My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0005771 | USAF | General | public | 2020-06-26 04:46 | 2020-07-26 14:06 | ||||||||
Reporter | Thoreaufare | ||||||||||||
Assigned To | reyhard | ||||||||||||
Priority | none | Severity | minor | Reproducibility | always | ||||||||
Status | resolved | Resolution | fixed | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | 0.5.3 | |||||||||||
Summary | 0005771: DUKE system does not work on dedicated server | ||||||||||||
Description | The DUKE system used on a select number of RHSUSAF vehicles does not work on a dedicated server. This appears to be due to the use of enableSimulationGlobal in the duke_jammer function. The DUKE system appears to work in singleplayer and when the player is the host of a local multiplayer server (non-dedicated). This makes sense since the player would be the server in both of these cases, where enableSimulationGlobal is sufficient. A suggested fix is to update the duke_jammer function to remoteExec the enableSimulationGlobal command on the server. I'm uncertain if this is the most performance friendly option, but the main loop of the duke_jammer only runs every 0.5 seconds so it may be acceptable. | ||||||||||||
Steps To Reproduce | 1. Load up the duke_test_vanilla_MP mission on a dedicated server. (Make sure you are logged in as admin) 2. Start the mission and place a Large IED. 3. Get into the MRAP and enable the DUKE system. Confirm that it says DUKE online. 4. Scroll and touch-off the IED you placed. Notice how it explodes and that the DUKE system did not prevent it from exploding. In the mission I've provided, I have made a variant of the duke_jammer function that uses remoteExec for the enableSimulationGlobal command. To see how this results in the intended behavior do the following: 1. Restart or reload the mission. 2. Place down a large IED. 3. Get into the MRAP. 4. Use the debug console to locally run the duke_test_2.sqf script included with the mission. (execVM "duke_test_2.sqf") Notice that the systemchat shows that simulation has been disabled for the IED. 5. Scroll wheel and attempt to touch-off the IED. Notice that the IED does not explode. 6. Drive approximately 50 meters away. Notice how the IED then explodes, as intended. | ||||||||||||
Additional Information | Relevant RPT file: https://pastebin.com/dx2A8Uqw [^] Video showcasing behavior: https://youtu.be/1R2aZ53Ne3c [^] | ||||||||||||
Tags | No tags attached. | ||||||||||||
Is it a wish/request? | No | ||||||||||||
RHS version | Stable | ||||||||||||
Arma 3 version | 1.98 | ||||||||||||
Did you used any other mod when the error occurred? | No | ||||||||||||
Which mods? | |||||||||||||
Attached Files | duke_test_vanilla_MP.Stratis.pbo [^] (17,401 bytes) 2020-06-26 04:46 | ||||||||||||
Notes | |
(0010880) reyhard (administrator) 2020-07-26 14:06 |
https://community.bistudio.com/wiki/enableSimulationGlobal [^] It's suggested to run it only on server so I guess that's the only correct way anyway. enableSimulationGlobal is only launched once per ied detection so it shouldn't cause too much problems. If you have a chance, please try it with couple people and let me know if it's somewhat problematic. Thanks for the tip - it should be hopefully resolved in next patch. |
Issue History | |||
Date Modified | Username | Field | Change |
2020-06-26 04:46 | Thoreaufare | New Issue | |
2020-06-26 04:46 | Thoreaufare | File Added: duke_test_vanilla_MP.Stratis.pbo | |
2020-07-26 14:06 | reyhard | Note Added: 0010880 | |
2020-07-26 14:06 | reyhard | Status | new => resolved |
2020-07-26 14:06 | reyhard | Fixed in Version | => 0.5.3 |
2020-07-26 14:06 | reyhard | Resolution | open => fixed |
2020-07-26 14:06 | reyhard | Assigned To | => reyhard |
Copyright © 2000 - 2024 MantisBT Team |