Home
Feedback Tracker
Search
Configure Global Search
Log In
Transactions
T188524
Change Details
Change Details
Old
New
Diff
{F4853112} 1. Download and unzip the mod inside the attached file, 'StaticMapMarkers'. Place the mod folder inside your Workbench addons directory (usually C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons). 2. Open the mod in Workbench. 3. Open worlds/ArlandTest.ent 4. Open the dedicated server tool (ctrl+shift+D) and configure it to run the test harness. a. Set config type to DedicatedServerPluginCLI_Server b. Set world to worlds/ArlandTest.ent c. Set executable to C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger Server\ArmaReforgerServerDiag.exe (or where ever your ArmaReforgerServerDiag.exe is located) d. Set profile to any value e. Set params to -debuggerPort 1001 -addonsDir "C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger\addons,C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons" f. Check run peers g. Add the desired amount of peers with these params -debuggerPort 1002 -addonsDir "C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger\addons,C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons", setting a unique debuggerPort for any subsequent peers. 5. Run the dedicated server tool. The server terminal and peers should open. You may see exceptions related to SCR_SaveManagerCore. These are unrelated and can be ignored. Click 'abort'. 6. For each peer client, select US Army, join a group, and spawn at the provided deployment point. 7. Open the script editor. Click the 'Debug' dropdown, select 'Debug Custom', and put '1001' for the port so that the debugger connects to the server instance. 8. Open the remote console tab, set it to 'Game', paste the following into the remote console, and execute: auto scripted = new ArmaReforgerScripted(); scripted.CreateMarkers(); 100 markers labeled with their index should appear on the map. 9. Paste the following into the remote console and execute it: auto scripted = new ArmaReforgerScripted(); scripted.DeleteMarkers(); Here's where the bug occurs. The expected result would be for all 100 markers to be deleted on the server and on all clients. However, there is a not-insignificant chance that some or all markers will not be deleted on one or more clients. This happens seemingly at random. Sometimes to see the bug, you need to close and reopen the map, or zoom/pan around. 10. To verify that the server and client are out of sync, paste the following in the console, changing the debug port to execute on server/client and see the various results. auto scripted = new ArmaReforgerScripted(); scripted.PrintAllMarkers(); // Prints custom text of all markers returned SCR_MapMarkerManagerComponent.GetStaticMarkers
{F4853112} 1. Download and unzip the mod inside the attached file, 'StaticMapMarkers'. Place the mod folder inside your Workbench addons directory (usually C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons). 2. Open the mod in Workbench. 3. Open worlds/ArlandTest.ent 4. Open the dedicated server tool (ctrl+shift+D) and configure it to run the test harness. a. Set config type to DedicatedServerPluginCLI_Server b. Set world to worlds/ArlandTest.ent c. Set executable to C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger Server\ArmaReforgerServerDiag.exe (or where ever your ArmaReforgerServerDiag.exe is located) d. Set profile to any value e. Set params to -debuggerPort 1001 -addonsDir "C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger\addons,C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons" f. Check run peers g. Add the desired amount of peers with these params -debuggerPort 1002 -addonsDir "C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger\addons,C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons", setting a unique debuggerPort for any subsequent peers. 5. Run the dedicated server tool. The server terminal and peers should open. You may see exceptions related to SCR_SaveManagerCore. These are unrelated and can be ignored. Click 'abort'. 6. For each peer client, select US Army, join a group, and spawn at the provided deployment point. 7. Open the script editor. Click the 'Debug' dropdown, select 'Debug Custom', and put '1001' for the port so that the debugger connects to the server instance. 8. Open the remote console tab, set it to 'Game', paste the following into the remote console, and execute: ```auto scripted = new ArmaReforgerScripted(); scripted.CreateMarkers();``` 100 markers labeled with their index should appear on the map. 9. Paste the following into the remote console and execute it: ```auto scripted = new ArmaReforgerScripted(); scripted.DeleteMarkers();``` Here's where the bug occurs. The expected result would be for all 100 markers to be deleted on the server and on all clients. However, there is a not-insignificant chance that some or all markers will not be deleted on one or more clients. This happens seemingly at random. Sometimes to see the bug, you need to close and reopen the map, or zoom/pan around. 10. To verify that the server and client are out of sync, paste the following in the console, changing the debug port to execute on server/client and see the various results. ```auto scripted = new ArmaReforgerScripted(); scripted.PrintAllMarkers(); // Prints custom text of all markers returned SCR_MapMarkerManagerComponent.GetStaticMarkers```
{F4853112} 1. Download and unzip the mod inside the attached file, 'StaticMapMarkers'. Place the mod folder inside your Workbench addons directory (usually C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons). 2. Open the mod in Workbench. 3. Open worlds/ArlandTest.ent 4. Open the dedicated server tool (ctrl+shift+D) and configure it to run the test harness. a. Set config type to DedicatedServerPluginCLI_Server b. Set world to worlds/ArlandTest.ent c. Set executable to C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger Server\ArmaReforgerServerDiag.exe (or where ever your ArmaReforgerServerDiag.exe is located) d. Set profile to any value e. Set params to -debuggerPort 1001 -addonsDir "C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger\addons,C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons" f. Check run peers g. Add the desired amount of peers with these params -debuggerPort 1002 -addonsDir "C:\Program Files (x86)\Steam\steamapps\common\Arma Reforger\addons,C:\Users\<your-user>\Documents\My Games\ArmaReforgerWorkbench\addons", setting a unique debuggerPort for any subsequent peers. 5. Run the dedicated server tool. The server terminal and peers should open. You may see exceptions related to SCR_SaveManagerCore. These are unrelated and can be ignored. Click 'abort'. 6. For each peer client, select US Army, join a group, and spawn at the provided deployment point. 7. Open the script editor. Click the 'Debug' dropdown, select 'Debug Custom', and put '1001' for the port so that the debugger connects to the server instance. 8. Open the remote console tab, set it to 'Game', paste the following into the remote console, and execute:
```
auto scripted = new ArmaReforgerScripted(); scripted.CreateMarkers();
```
100 markers labeled with their index should appear on the map. 9. Paste the following into the remote console and execute it:
```
auto scripted = new ArmaReforgerScripted(); scripted.DeleteMarkers();
```
Here's where the bug occurs. The expected result would be for all 100 markers to be deleted on the server and on all clients. However, there is a not-insignificant chance that some or all markers will not be deleted on one or more clients. This happens seemingly at random. Sometimes to see the bug, you need to close and reopen the map, or zoom/pan around. 10. To verify that the server and client are out of sync, paste the following in the console, changing the debug port to execute on server/client and see the various results.
```
auto scripted = new ArmaReforgerScripted(); scripted.PrintAllMarkers(); // Prints custom text of all markers returned SCR_MapMarkerManagerComponent.GetStaticMarkers
```
Continue