Page MenuHomeFeedback Tracker

[1.62] drawingInMap server.cfg parameter does not work
Closed, ResolvedPublic

Description

In SPOTREP #00058 it says under ENGINE:

Added: A new drawingInMap server.cfg parameter to toggle the Line Drawing on Dedicated Servers

However, if one adds drawingInMap = 0; into their server.cfg file line drawing is still available and visible to other players (depending on chat channel selected).

Note: On the BI Wiki the drawingInMap param description says "...(since Arma 3 1.63+)."

Details

Severity
Minor
Resolution
Fixed
Reproducibility
Always
Operating System
Windows 7 x64
Category
Dedicated Server
Steps To Reproduce
  1. Add the following into a server.cfg file:
drawingInMap = 0;
  1. Start a dedicated server.
  2. Join the server and spawn into the game.
  3. Use CTRL + LMB to draw lines.
Additional Information

Launcher version: 1.5.137506

Game version: 1.62.137494

Branch: main / beta branch not specified

Event Timeline

Jawsh created this task.Jul 12 2016, 10:13 AM
razazel claimed this task.Jul 12 2016, 3:32 PM
razazel changed the task status from New to Feedback.
razazel added a subscriber: razazel.

Hello,

tested it now to confirm, seems to work just fine (wiki info seems to be a bit off), it should work just fine. Please make sure that you are loading the correct server cfg file that has it disabled.

Jawsh added a comment.Jul 13 2016, 5:22 AM

Hi.

I double checked my server.cfg settings and the startup parameters in the BAT file. They are definitely correct, but players can still draw lines on the map.

However, when a vanilla mission is loaded - in this case End Game 16 Moddergat (MP_End_Game_05) - line drawing is correctly disabled. In other words, I can only reproduce this issue on a custom mission file.

I searched through the custom mission file and could not find anything that would interfere with line drawing being disabled.

Jawsh added a comment.Jul 13 2016, 6:16 AM

Two of the custom mission files I can reproduce this issue on are: co40 Domination! Blufor (co40_domination_3_45_blufor.tanoa) by Xeno and GunGame-Tanoa by OPTiX.

Xeno added a subscriber: Xeno.Jul 13 2016, 8:48 AM

Maybe caused by adding a draw eventhandler to the map?

Xeno added a comment.Jul 13 2016, 9:00 AM

It's not the mission which is causing it because when I add drawingInMap = 0; to my server.cfg I can't draw lines on the map when running the mission. So map eventhandler was nothing more than a guess :)

@Jawsh Since Xeno is unable to reproduce the issue on his side, perhaps there're some corrupt or inconsistent files. What about game cache integrity?

@Xeno, thanks for the heads up, should anything else come in mind, please let me know

Jawsh added a comment.Jul 14 2016, 5:42 AM

I have verified the game cache for both my Arma 3 Client and Server. I have downloaded the latest version of Xeno's mission (co40_domination_3_46_blufor.tanoa). I have also double checked my server.cfg and BAT file that launches the server. Everything seems to be in good order, yet I can still draw lines on the map in Domination and GunGame-Tanoa.

See this ZIP file for (near) identical versions of the server.cfg, launch BAT, and .Arma3Profile files that I'm using.

Jawsh added a comment.EditedJul 15 2016, 5:13 PM

Line drawing is correctly disabled as intended.

Voted for MP_End_Game_05 - regular.

Server.cfg:

[...]
// MISSIONS CYCLE (see below)
class Missions {};        // An empty Missions class means there will be no mission rotation
//class Missions
//{
//	class MP
//	{
//		template = "MP_End_Game_05.tanoa";          // Omit the .pbo suffix.
//		difficulty = "regular";                     // Difficulty: recruit, regular, veteran, or custom (see CfgDifficulties in the main game config) //This has changed since 1.58!
//		class Params
//		{
//		};
//	};
//};
[...]

Line drawing is meant to be disabled, but is actually still available.

Server.cfg:

[...]
// MISSIONS CYCLE (see below)
//class Missions {};        // An empty Missions class means there will be no mission rotation
class Missions
{
	class MP
	{
		template = "MP_End_Game_05.tanoa";          // Omit the .pbo suffix.
		difficulty = "Custom";                     // Difficulty: recruit, regular, veteran, or custom (see CfgDifficulties in the main game config) //This has changed since 1.58!
		class Params
		{
		};
	};
};
[...]

I also tried changing the difficulty from custom to regular and the issue persisted.

Jawsh added a comment.Sep 2 2016, 4:36 PM

Disabling drawingInMap still does not work.

Server.cfg:

drawingInMap = 0;				// Enables or disables the ability to place markers and draw lines in map. Default = 1 (since Arma 3 1.63+).

Launcher version: 1.5.138010

Game version: 1.64.138137 (26-08-2016)

Branch: rc

Tested.

Definitely not working.

razazel changed the task status from Feedback to Reviewed.Sep 5 2016, 10:58 AM

The drawingInMap parameter is now correctly working as of version 1.64.138310 (09-09-2016) RC.

[...]
Fixed: JIP players were able to draw on the map even with drawingInMap disabled (https://feedback.bistudio.com/T119279)

Awesome news, thanks for the confirmation :)

Jawsh added a comment.Sep 23 2016, 6:40 PM

@razazel, this issue is fixed in 1.64, but another issue with drawingInMap has arisen. Please see Disabling drawingInMap server.cfg parameter removes map markers.

Thank you for the heads up, will look into the second issue now :)

razazel closed this task as Resolved.Sep 26 2016, 10:31 AM
razazel changed Resolution from Open to Fixed.