[Support] DZGM

Hello folks,

With your help, i was able to find where i had missed the playableUnits = [player]; It had a space in it when copying. When placed in the find window in NP++ I just happened to catch it.

Thanks again, its working now and you really nailed the cause.
If you use notepad ++ you can use the replace tab, in the find field enter what you need to delete and in the replace field leave it blank.. so then you click replace all and it will just delete all instances of that. Make sure you type it exactly.
 
Hello. I have a question. Should it really be that the group be after the restart? If so this does not work for me, unfortunately. I would be happy if it would go. Can anyone tell me how I can do that, the group even after the restart is still there? School ending for my bad english, google translated
 
Hi, I have an issue. I loaded in the mod by following the directions as best as possible. ( I'm pretty new at this) It worked at first, but once I added other stuff. The ability to right click the radio went away. I used the hot key option to fix that so that we could still use the mod, but then I added in ESS ( not the newest version, as I prefer the graphics of the old one better) and I can no longer call up Group management through the hot key, or the radio now.

Have these conflicted in the past? I tried to google it but it doesn't come up with anything definitive

Here is my ui_selectslot.sqf

Code:
private ["_control","_button","_parent","_group","_pos","_item","_conf","_name","_cfgActions","_numActions","_height","_menu","_config","_type","_script","_outputOriented","_compile","_array","_outputClass","_outputType"];
disableSerialization;
_control =     _this select 0;
_button =    _this select 1;
_parent =     findDisplay 106;

//if ((time - dayzClickTime) < 1) exitWith {};
if (!DZE_SelfTransfuse && ((gearSlotData _control) == "ItemBloodBag")) exitWith {};
if (_button == 1) then {
    //dayzClickTime = time;
    _group = _parent displayCtrl 6902;
   
    _pos =         ctrlPosition _group;
    _pos set [0,((_this select 2) + 0.48)];
    _pos set [1,((_this select 3) + 0.07)];
   
    _item = gearSlotData _control;
   
    _conf = configFile >> "cfgMagazines" >> _item;
    if (!isClass _conf) then {
        _conf = configFile >> "cfgWeapons" >> _item;
    };
    _name = getText(_conf >> "displayName");
   
    _cfgActions = _conf >> "ItemActions";
    _numActions = (count _cfgActions);
    _height = 0;
   
    //Populate Menu
    for "_i" from 0 to (_numActions - 1) do
    {
        _menu =     _parent displayCtrl (1600 + _i);
        _menu ctrlShow true;
        _config =     (_cfgActions select _i);
        _type =     getText    (_config >> "text");
        _script =     getText    (_config >> "script");
        _outputOriented =     getNumber    (_config >> "outputOriented") == 1;
        _height = _height + (0.025 * safezoneH);
        _compile =  format["_id = '%2' %1;",_script,_item];
        uiNamespace setVariable ['uiControl', _control];
        if (_outputOriented) then {
            /*
                This flag means that the action is output oriented
                the output class will then be transferred to the script
                && the type used for the name
            */           
            _array =     getArray    (_config >> "output");
            _outputClass = _array select 0;
            _outputType = _array select 1;
            _name = getText (configFile >> _outputType >> _outputClass >> "displayName");
            _compile =  format["_id = ['%2',%3] %1;",_script,_item,_array];
        };
       
        _menu ctrlSetText format[_type,_name];
        _menu ctrlSetEventHandler ["ButtonClick",_compile];
    };
     _erc_cfgActions = (missionConfigFile >> "ExtraRc" >> _item);
     _erc_numActions = (count _erc_cfgActions);
     if (isClass _erc_cfgActions) then {
     for "_j" from 0 to (_erc_numActions - 1) do
     {
       _menu =  _parent displayCtrl (1600 + _j + _numActions);
       _menu ctrlShow true;
       _config =  (_erc_cfgActions select _j);
       _text =  getText (_config >> "text");
       _script =  getText (_config >> "script");
       _height = _height + (0.025 * safezoneH);
       uiNamespace setVariable ['uiControl', _control];
       _menu ctrlSetText _text;
       _menu ctrlSetEventHandler ["ButtonClick",_script];
     };
   };
    _pos set [3,_height];
    //hint format["Obj: %1 \nHeight: %2\nPos: %3",_item,_height,_grpPos];       

    _group ctrlShow true;
    ctrlSetFocus _group;
    _group ctrlSetPosition _pos;
    _group ctrlCommit 0;
};
 
Post your Custom\extra_rc please that seems to be where the right clicks come from. That or your Description.ext is missing the execs for the mods.

Im new as well, but I promised I would always help IF I could .
 
Replace from 154 down with this


class RscTitles
{
#include "dzgm\icons.hpp"
};
// ESS Spawn Thanks Ebay!
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"

//Skins Mod You are incredible Zupa!
#include "zupa\skins\defines.hpp"
#include "zupa\skins\SkinGui.hpp"

// Extra RC
#include "custom\extra_rc.hpp"
//Snap Pro Raymix!
#include "custom\snap_pro\snappoints.hpp"

//DZGM Thank you Ebay for all that you do for everyone!
#include "dzgm\groupManagement.hpp"



==================================


Still use the above, sorry man, I realized what i did.

I noticed also because of your error that something was already defined, so here is the error and probably the issue as well all around...

on line 28 of your Description.ext is the define for DZGM. Remove that define and then use what i have above.

  1. respawn = "BASE";
  2. respawndelay = 5;
  3. onLoadMission= "DayZ Epoch Chernarus";
  4. OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
  5. OnLoadIntroTime = False;
  6. OnLoadMissionTime = False;
  7. disabledAI = true;
  8. disableChannels[]={0,2,6};
  9. enableItemsDropping = 0;


  10. briefing = 0;
  11. debriefing = 0;

  12. onPauseScript = "";
  13. loadScreen = "serverpicturetemp.jpg";

  14. class Header
  15. {
  16. gameType = COOP; //DM, Team, Coop, ...
  17. minPlayers = 1; //min # of players the mission supports
  18. maxPlayers = 100; //Max # of players the mission supports
  19. };

  20. aiKills = 1;
  21. diagRadio = 1;
  22. diagHit = 1;
  23. #include "dzgm\defines.hpp"
  24. class RscText
  25. {
  26. type = 0;
  27. idc = -1;
  28. x = 0;
 
Last edited:
Thank you, But copying and pasting what you said to replace from line 154 down (removing the calls for any mods I didn't have) Left me stuck at waiting for host, and this error in the RPT
ErrorMessage: File mpmissions\__cur_mp.chernarus\description.ext, line 157: /DayZ_loadingScreen/controls/: Missing '}'

Line 157 is only a };
 
nevermind... Pastebin shows the line differently than where Notepad ++ shows it... I'll try it in the spot where it would be on there.
 
OK... So I tried it your way... I noticed that in your code there, at the top where you wanted me to start my code replacement, it ws missing the #include "dzgm\defines.hpp"
as called for in the instructions, if you are using the
class RscTitles
{
#include "dzgm\icons.hpp"
};

so I put that in. No dice. I got an error that said a variable had already been defined. So I took it out. I got this error:


now when I went to where it was pointing, I found this:
http://pastebin.com/uw45ZECf

Don't know what to make of it. I had to back out the changes to the description.ext so I could start the server so people can play.

Hope you can still help me.
 
sorry, that error was
ErrorMessage: File mpmissions\__cur_mp.chernarus\dzgm\icons.hpp, line 14: /RscTitles/DZGMHud_Rsc/controls.Icons: Undefined base class 'w_RscStructuredText'
 
Replace from 154 down with this

#include "dzgm\defines.hpp"
class RscTitles
{
#include "dzgm\icons.hpp"
};
// ESS Spawn Thanks Ebay!
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"

//Skins Mod You are incredible Zupa!
#include "zupa\skins\defines.hpp"
#include "zupa\skins\SkinGui.hpp"

// Extra RC
#include "custom\extra_rc.hpp"
//Snap Pro Raymix!
#include "custom\snap_pro\snappoints.hpp"

//DZGM Thank you Ebay for all that you do for everyone!
#include "dzgm\groupManagement.hpp"



==================================


Still use the above, sorry man, I realized what i did.

I noticed also because of your error that something was already defined, so here is the error and probably the issue as well all around...

On line 23 of your Description.ext is the define for DZGM. Remove that define and then use what i have above to replace yours from line 154 down. I hope this helps genuinely.

  1. respawn = "BASE";
  2. respawndelay = 5;
  3. onLoadMission= "DayZ Epoch Chernarus";
  4. OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
  5. OnLoadIntroTime = False;
  6. OnLoadMissionTime = False;
  7. disabledAI = true;
  8. disableChannels[]={0,2,6};
  9. enableItemsDropping = 0;
  10. briefing = 0;
  11. debriefing = 0;
  12. onPauseScript = "";
  13. loadScreen = "serverpicturetemp.jpg";
  14. class Header
  15. {
  16. gameType = COOP; //DM, Team, Coop, ...
  17. minPlayers = 1; //min # of players the mission supports
  18. maxPlayers = 100; //Max # of players the mission supports
  19. };
  20. aiKills = 1;
  21. diagRadio = 1;
  22. diagHit = 1;
  23. #include "dzgm\defines.hpp"
  24. class RscText
  25. {
  26. type = 0;
  27. idc = -1;
  28. x = 0;
 
Last edited:
But the #include "dzgm\defines.hpp"
line still has to be in there somewhere, if it's not above this part

class RscTitles
{
#include "dzgm\icons.hpp"
};

like it says to put in the instructions, that come with the mod, it says to put inside the class titles. I've tried it inside the class titles ( as you saw there) and tried it above that first code, as recommended in the instructions. I remove it from one and place it in the other. But it has to be somewhere, and your version does not have it anywhere.. so I'm a bit confused.
 
But the #include "dzgm\defines.hpp"
line still has to be in there somewhere, if it's not above this part

class RscTitles
{
#include "dzgm\icons.hpp"
};

like it says to put in the instructions, that come with the mod, it says to put inside the class titles. I've tried it inside the class titles ( as you saw there) and tried it above that first code, as recommended in the instructions. I remove it from one and place it in the other. But it has to be somewhere, and your version does not have it anywhere.. so I'm a bit confused.
edited the post.
 
I'm having an issue where the DZGM works, I can invite people to a group and they get a message on there screen saying they have been invited to a group but then when you go to the dialog to accept it, there is no accept or decline button. It just doesn't invite people to the group?

No errors shown in RPT, server works as normal but I don't know why it's doing this at all.

Any help?
 
Hi all, I have a problem. when i use right click actions or extra_rc.hpp! The button pops up after clicking but i get
Warning Message: Resource GroupManagement not found come on the screen. Thanks for any help/advice

Epoch 1.0.5.1

scripts =
DayzBuildVectors
Epoch-A_Plot_for_Life_v2.35
Epoch-Admin-Tools
Precise Base Building
DayZEpochDeployableBike

this is the only error from the client RPT file
"Warning Message: Resource GroupManagement not found"
 
Last edited:
Anyone had the issue that AI's invite themself in your group? Was playing with a friend in group and all of sudden we had 6 other group members (AIs). We had to leave the group and rebuild it. Strange but beside that it works like a charm... Epoch Chernarus 1.0.5.1 with Infistar v1401. No error found in Server & Client RPT
 
Thank you for the information. Was just wondering why the heck these AIs joins our group and don't want to share their loot with us xD
 
Back
Top