[Support] DZGM

Did you do step #14 for server_playerDied.sqf? Also are you running the newest version?
Yes, although I do have an edited server_playerDied.sqf to display kill messages.

Which is the newest version? I just followed the instructions from the release thread on this site. I installed this probably less than a month ago.
 
Hey @ebay , Is it possible to show the distance in meters on the 3D Marker and on the map.

The Distance of how far you are from that person in your group.

And Also, 3D Markers and Map Markers of the Dead Bodies of your group members ?
 
I've installed this script after a few days of learning how everything works and as far as I know I've installed everything right, but when I join the server I get stuck on "Server responded, creating character". It sits there until it times out and kicks me back to the lobby.

Things to note:

- My server host did not have a player_switchModel.sqf so I copied and edited the file from the epoch github (related?) https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/compile/player_switchModel.sqf
- I moved icons.hpp into custom\gui\ and added #include "icons.hpp" after class RscTitles in ATD_Hud.h
- After the first few tries I wiped the DB and still got the same error.

Stopped getting any member defined errors after learning the structure a bit.

Also note that I still am pretty clueless when it comes to this, but I've started to understand how some of it works. File structure, sqfs, etc. I can make sense of, but the code throws me off sometimes.

Removed all the HIVE, BASE, UPDATE, Strange convex, etc to be able to even make this post.

Code:
=====================================================================
== C:\TCAFiles\Users\xxx\xxxx\xxxx.exe
== C:\TCAFiles\Users\xxx\xxxx\xxxx.exe  -ip= -port= -mod=@DayzOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server; -name=DayZConfig -config=DayZConfig\config.cfg -cfg=DayZConfig\basic.cfg -profiles=DayZConfig
=====================================================================
Exe timestamp: 2014/07/16 07:16:30
Current time:  2015/02/16 14:55:08

Version 1.63.125548
Item STR_EQUIP_NAME_41 listed twice
Item STR_EQUIP_DESC_41 listed twice
Conflicting addon Monaro in 'holdenmonarocop\', previous definition in 'holdenmonaro\'
File nissan_350z\config.cpp, line 244: '/CfgVehicles/350zBase/Library.libTextDesc': Missing ';' prior '}'
14:55:27 Server error: Player without identity player (id 1943728276) //Logged 11 times
14:56:00 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\wlk\non\non\amovpercmwlksnonwnondf.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon
14:56:00 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\wlk\non\non\amovpercmwlksnonwnondf.rtm differs (looped now 1)! MoveName: amovpercmrunsnonwbindf_rfl
14:56:00 "DayZ Epoch: PRELOAD Functions\init [[<No group>:0 (FunctionsManager)],any]"
14:56:00 "DayZ Epoch: MPframework inited"
14:56:09 "infiSTAR.de - Waiting for BIS_fnc_init..."
14:56:09 "infiSTAR.de - BIS_fnc_init done - AntiHack STARTING...!"
14:56:09 Warning Message: Script low_admins.sqf not found
14:56:09 Warning Message: Script normal_admins.sqf not found
14:56:09 Warning Message: Script super_admins.sqf not found
14:56:09 Warning Message: Script blacklist.sqf not found
14:56:09 "infiSTAR.de - iproductVersion: 30012015IAHAT343C | Server productVersion: ["ArmA 2 OA","ArmA2OA",163,125548] | worldName: Chernarus | dayz_instance: 11 | missionName: DayZ_Epoch_11"
14:56:09 "infiSTAR.de - _fnc_RandomGen: {
_arr = ["Z","N","J","t","N","T","x","x","Q","j","K","k","D","u","E","j","a","U","c","S","F","T","J","i","r","e","T","m","N","t"];
_gen = "p";
for "_i" from 1 to 7 do {_gen = _gen + (_arr select (random ((count _arr)-1)));};
_num = str(round(random 999998));
_gen = _gen + '_' + _num;
_gen
}"
14:56:09 "infiSTAR.de - _randvar1: pkNmucuD_923968"
14:56:09 "infiSTAR.de - _remark: pjxZNSDT_127157"
14:56:09 "infiSTAR.de - _AHpos: ptUecJeS_389076"
14:56:09 "infiSTAR.de - _loadedcheckpos: pKmJKSJu_132459"
14:56:09 "infiSTAR.de - _loadedchecktime: puJTuejS_319200"
14:56:09 "infiSTAR.de - _MenuChecksRunningx: pTQJmTkT_102966"
14:56:09 "infiSTAR.de - _oneachframe: pejTmiTc_872164"
14:56:09 "infiSTAR.de - _bigpubvar: putjjcFc_667917"
14:56:09 "infiSTAR.de - _anotherloop: pjaUTkjr_977018"
14:56:09 "infiSTAR.de - _anotherlooptest: ptJkJTTe_899916"
14:56:09 "infiSTAR.de - _clientoncetwo: pNFNuQNx_693669"
14:56:09 "infiSTAR.de - _randvar10: PVAHR_0_dgrhgpa_689923"
14:56:09 "infiSTAR.de - AntiHack LOADED!"
14:56:09 "infiSTAR.de - CREATING AdminMenu"
14:56:09 "infiSTAR.de - ADDING PublicVariableEventHandlers"
14:56:09 "infiSTAR.de - AntiHack FULLY LOADED"
14:56:09 "Admin Tools: AdminList.sqf loaded"
14:56:09 "Res3tting B!S effects..."
14:56:10 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
14:56:12 "Total Number of spawn locations 5"
14:56:15 "infiSTAR.de - Player-Log: player(redacted) - 0h 00min | ******ADMIN******"
14:56:54 "infiSTAR.de PlayerConnected: ["redacted","player"]"
14:56:54 "infiSTAR.de PlayerConnected: ["","__SERVER__"]"
15:00:16 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
15:04:38 "infiSTAR.de PlayerDisconnected: _uid: redacted   _name: player"
15:04:38 "get: STRING (redacted), sent: STRING (redacted)"
15:04:38 "DISCONNECT: player (redacted) Object: B 1-1-A:1 (player) REMOTE, _characterID: 0 at loc [-7244.94,19534.5,0]"
15:04:38 "ERROR: Cannot Sync Character player as no characterID"
15:04:38 Client: Remote object 2:9 not found
15:04:38 Client: Remote object 2:10 not found
15:04:38 Client: Remote object 2:11 not found
15:05:16 "TIME SYNC: Local Time set to [2013,8,3,11,5]"
15:10:16 "TIME SYNC: Local Time set to [2013,8,3,11,10]"
15:15:03 "RUNNING EVENT: supply_drop on [2015,2,16,11,15]"
15:15:16 "TIME SYNC: Local Time set to [2013,8,3,11,15]"
15:15:16 "CLEANUP: Deleted 1 Animals out of 1"


Client RPT is literally just the same thing spammed for countless lines.

Code:
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2

Any help at all is really greatly appreciated. And I've searched as much as I could before giving up before posting here, so it's not like I didn't try and help myself.

edit:

Code:
if (!isDedicated) then {
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =     [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";  
  
    //anti Hack
    //[] execVM "\z\addons\dayz_code\system\antihack.sqf";

    //Lights
    //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  
};

#include "\z\addons\dayz_code\system\REsec.sqf"

//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";


#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
endLoadingScreen;


Adding that to the end of init fixed it. No idea why, but it fixed it.
 
Last edited:
on 1.8.4.1 I'm having an issue changing what button opens the group dialog. When I change it, it seems to completely break the other key bindings.
 
I had a friend join in to test DZGM and I'm running into a few issues.

The script runs fine, can add, accept, kick people etc. But after player death they get stuck on "Server responded, creating character" and they are no longer in my group. When I died, I get back into the server fine without any problems, but I'm still not in the group (other player was group leader when we tested this).

Code:
17:25:17 "PDEATH: Player Died 1234567890"
17:25:23 "ERROR: server_playerSync: Cannot Sync Player player [4]. Position in debug! [-7242.26,19537.5,0.636169]"
17:25:26 Server: Object info 3:71 not found during Changing Owner
17:25:26 Server: Object info 3:70 not found during Changing Owner
17:25:27 "ERROR: Cannot Sync Character Ill Clinton as no characterID" //gets into the server without issue
17:25:28 "infiSTAR.de PlayerDisconnected: _uid: 1234567890 _name: player"
17:25:28 "get: STRING (1234567890), sent: STRING (1234567890)"
17:25:28 "DISCONNECT: player (1234567890) Object: B 1-1-B:2 (player) REMOTE, _characterID: 4 at loc [-7239.67,19539.3,0.245789]"
17:25:28 "ERROR: server_playerSync: Cannot Sync Player Broken [4]. Position in debug! [-7239.67,19539.3,0.245789]" //gets stuck on load
17:25:28 Client: Remote object 5:0 not found
17:25:28 Client: Remote object 3:68 not found
17:25:28 Client: Remote object 3:69 not found
17:25:41 "infiSTAR.de PlayerConnected: ["1234567890","player"]"

Whenever player relogs, there are no issues. I'm assuming the bug is related to DZGM. Not sure where to start, but I'll go through all of the steps again and see if I missed something. I'll report any updates.

In the meantime, any ideas where to look or known issues would be awesome.

Edit:

Thinking this might be related to the ghetto fix I implemented earlier in init. Since !isDecicated is added to init as a fix should I move player_switchModel compile from my custom compiles.sqf to the fix? Or do I move the fix to my custom compiles?

In fact I'm pretty damn sure that's gotta be it. Players not syncing with db after death (don't remember if they actually changed skins or not) and not staying in GM after death. I'll try moving the fix over to my custom compiles and add those to it and see what happens. If it doesn't work I will move them to init and see if that works.

Again not 100% what I'm doing so any guidance would be awesome.

edit 2:

Adding the compile (whatever the term is) down to the fix fixed the issue, but now I get random issues related to it running twice such as the splash displaying twice, getting stuck on the load screen sometimes, or I start running, screen fades black really quick then goes back to my character. Is there a better fix than that?

edit 3: noticed that the gear menu pops up and if I close out of it i get stuck. if i wait, it loads in, but it's hella sloppy.

edit 3: tried replacing all above changes + the fix and using this

Code:
  if (dayz_clientPreload && dayz_authed) exitWith { diag_log "PLOGIN: Login loop completed!"; };

With:



  if (dayz_clientPreload && dayz_authed) exitWith {
  endLoadingScreen;
         diag_log "PLOGIN: Login loop completed!";
       };
no dice.
edit 4:
Script now works after some fixes. Players are invisible and can't move when they respawn. I think it's related to ESSV2.
edit 5: switchmodel was commented out, forgot about that. uncommented it and the problem is back...

edit 6: doesn't seem player_humanityMorph even exists in my server files if it's related. i'll try adding it here on a whim. don't know where to go from here otherwise.

edit 7: nope, didn't expect that to work.

Still stuck on Server responded, creating character...

also if you didn't notice from the rpt i'm running overpoch. everything up-to-date.

EDIT 8: Fixed all other errors, only issue now is the player_switchModel addition. Adding the custom one, replacing the original, or any variant of the above that I have tried breaks character sync and results in hang on login. Spams client rpt with

Code:
Error in expression <ame",false];
_playerUID = [player] call FNC_GetPlayerUID;
_weapons     = weapons pl>
  Error position: <FNC_GetPlayerUID;
_weapons     = weapons pl>
  Error Undefined variable in expression: fnc_getplayeruid
File mpmissions\__CUR_MP.Chernarus\custom\player_switchModel.sqf, line 8
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
Error in expression <count (dayzPlayerLogin2) > 0>
  Error position: <dayzPlayerLogin2) > 0>
  Error Undefined variable in expression: dayzplayerlogin2
 
Last edited:
The newest is always on the github master branch. I don't do release versions since it is such a small mod.

You can see the history of updates here:
https://github.com/ebaydayz/DZGM/commits/master

The most important thing for saving group after death is the { } count allDead; loop in dzgm\init.sqf. Make sure you have that. Also make sure this fix is in the version you are using:
https://github.com/ebaydayz/DZGM/commit/1645381feee1ab445513eedeb363ccee709af0a8

It is usually easiest just to use the newest files unless you made significant changes to them.
Not all of my files are 100% up to date but the files that would have anything to do with staying grouped after death are up to date.
 
Not all of my files are 100% up to date but the files that would have anything to do with staying grouped after death are up to date.

14. In dayz_server\compile\server_playerDied.sqf find this:

Code:
_newObject setVariable ["bodyName", _victimName, true];

Add right below:

Code:
_newObject setVariable ["bodyUID", _playerID, true];
_newObject setVariable ["bodyGroup", (group _newObject), true];
 
The key handling is the exact same i think, even in 1.8.3 to 1.8.4.1 any change I make to what they key it seems to just not work at all.
 
Thanks for that eBay, had no idea that's what was being referenced. I'll try replacing it and putting it back into my custom compiles and repot back. I'm running overpoch. And to think that I spent an entire day trying to fix a problem that resulted from my own negligence, haha.

Edit: no problems so far. Haven't had the chance to test it with another player yet, but no more issues with character sync before or after death. No more invisible people (a mistake with ESSV2 on my part).
 
Last edited:
Code:
if (tagName) then {_tag = composeText [image _pIcon," ",_pName," ",_distance,"m"];} else {_tag = composeText [image _pIcon];};

This line of code seems to have a problem.

Code:
File mpmissions\__CUR_MP.Chernarus\GG\group\icons.sqf, line 39
Error in expression <elect _index;
if (tagName) then {_tag = composeText [image _pIcon," ",_pName," ">
  Error position: <composeText [image _pIcon," ",_pName," ">
  Error Type Number, expected String,Text
 
14. In dayz_server\compile\server_playerDied.sqf find this:

Code:
_newObject setVariable ["bodyName", _victimName, true];

Add right below:

Code:
_newObject setVariable ["bodyUID", _playerID, true];
_newObject setVariable ["bodyGroup", (group _newObject), true];
That has been in my server_playerdied.sqf since the first day I installed this addon. That's why I was saying that all of the files relevant to this saving through death are up to date.
I think the problem is that this is designed and tested on epoch. I run this on Overwatch. Ive spoken with another server mod who runs a very successful Vanilla dayz server and also has this issue.
 
Thanks ebay for looking into it, i have tried left control, right control, Y, H... I've tried several different keys and they all seem to not work when I try them... not sure whats wrong with it.
 
Back
Top