Page MenuHomeFeedback Tracker

5_mission GesturesMenu class is unmoddable
Assigned, NormalPublic

Description

When trying to mod the GesturesMenu class the game will not compile past 5_mission due to a protected member function.

Details

Severity
Block
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Reproduction steps are very simple.

  1. Create a script only addon with a single file with the below code

modded class GesturesMenu{};

  1. Pack and load the mod.

A compile error will be thrown regarding the protected status of a member function.

Additional Information

dxdiag.txt

Event Timeline

ItsATreee created this task.Tue, Apr 1, 8:17 PM

I forgot to mention, this only happens on the prod version of DayZ exe. Diag exe will swallow the compile error.

The function is being called from GesturesMenu.CloseMenu publicly, instance.OnMenuRelease(); with instance being static GesturesMenu instance;. Which somehow bypasses the access modifier.

Geez changed the task status from New to Assigned.Wed, Apr 2, 10:53 AM