[Simple Tutorial] Dogs on Taviana

getting wait for host. have gone back over this 100 times now. should it look like
Code:
if (isServer) then {
    dogOwner = [];
    hiveInUse = true;
    _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
};
 
if (!isDedicated) then {
    0 fadeSound 0;
    0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
    //_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "addin\plrInit.sqf";
    "heliCrash" addPublicVariableEventHandler {
        _list = nearestObjects [_this select 1, ["CraterLong"], 100];
        {deleteVehicle _x;} foreach _list;
    };
 
};
this?
Code:
if (isServer) then {
    hiveInUse = true;
    _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
    dogOwner = [];
};
 
if (!isDedicated) then {
    0 fadeSound 0;
    0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
    //_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "addin\plrInit.sqf";
    "heliCrash" addPublicVariableEventHandler {
        _list = nearestObjects [_this select 1, ["CraterLong"], 100];
        {deleteVehicle _x;} foreach _list;
    };
 
};
or this?
Code:
if (isServer) then {
    hiveInUse = true;
    _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
};
dogOwner = [];
 
if (!isDedicated) then {
    0 fadeSound 0;
    0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
    //_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "addin\plrInit.sqf";
    "heliCrash" addPublicVariableEventHandler {
        _list = nearestObjects [_this select 1, ["CraterLong"], 100];
        {deleteVehicle _x;} foreach _list;
    };
 
};

Please advise and thank you very much. At this point im not getting the rpt logs to fully load so im assuming its this early in the code. IDK.
 
rpt shows this at the end....
Code:
ErrorMessage: File mpmissions\__cur_mp.tavi\description.ext, line 103: .CfgSounds: Member already defined.

so i figured out that this is from tent healing. It is the snoring code. I deleted it all together so dont get that error anymore. My rpt's will only load to these lines then the server freezes.
Code:
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/

edit: it works...figured it out. awesome job!
 
Ok heres what I got...I run Tavi 2.0 on Dayz.st. I have Sarge AI, lift and tow, server and mission side fix for ingame messages, headshot zeds, basebuilding, remove parts, tent heal, wardrobe, zombie shield and bait, sbc fast rope, halo jump, suicide, smelting, and a few others. As you see from above I had a few issues getting dogs to work but did eventually figure it out. Me and about 6 others were in the server and loved the dogs. We each were able to command them, etc. After about an hour each player suddenly got a broken bone symbol, none of the debug monitors would work, and no one could abort the server. I am not sure what caused this but I got all these errors:

Code:
21:13:54 Server: Network message 2bab9f is pending
21:13:54 Server: Network message 2baba0 is pending
21:13:54 Server: Network message 2baba1 is pending
21:13:54 Server: Network message 2baba1 is pending
21:13:54 Server: Network message 2baba2 is pending
21:13:54 Server: Network message 2baba3 is pending

Code:
21:32:20 "CLEANUP: KILLING A HACKER Rincewind R 1-1-F:1 IN ParachuteG"
21:32:20 WARNING: Function 'name' - Rincewind is dead

Code:
21:34:43 Server: Object 5:446 not found (message 94)
21:34:43 Server: Object 5:447 not found (message 70)
21:34:44 Server: Object 5:450 not found (message 94)

Code:
21:45:28 Client: Object 4:1228 (type Type_149) not found.
21:45:28 Client: Object 13:207 (type Type_149) not found.
21:45:28 Client: Object 10:224 (type Type_149) not found.
21:45:28 Client: Object 9:291 (type Type_149) not found.

Code:
21:47:05 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
21:47:09 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
21:47:13 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
21:47:15 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
21:47:17 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
21:47:17 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
21:47:28 Server: Object 2:162 not found (message 221)
21:47:28 Server: Object 2:164 not found (message 221)
21:47:28 Server: Object 2:166 not found (message 221)

Can anyone tell me anything about this? After i switched back to the previous PBO (without dogs) I have "0" problems. Coincidence that a hacker (never get hit) happened during the dogs testing or are these errors from a conflicting script? PLease help???!!
 
Ok so heres the fix for 1.7.7.1, go to \addin\plrInit.sqf and open it find waitUntil {!isNil ("dayzLoginRecord")}; it will be the first line, change it to waitUntil {!isNil ("PVDZ_plr_LoginRecord")}; your dogs will now work, along with the into scroll, Have fun and happy gaming!

awsome dude ... this works perfectly ... can i type waypoint instead of empty in the class Markers and give it a text or do i need to make extra markers for those?
 
I just installed this on my server and boy am I EXCITED! Everyone is going nuts! We're super psyched! Thank you so much for posting this. Everyone who worked to get this together is amazing!!!

Just one thing though, when I found the dog and told him to follow me I was shortly after attacked by several zombies which the dog just sat and ignored. I nearly died waiting for him to spring into action lol! I ended up having to shoot them and bandage up. Does the zed killing work a lil funny or might I have something wrong? They're following and getting into vehicles just fine.
 
I just installed this on my server and boy am I EXCITED! Everyone is going nuts! We're super psyched! Thank you so much for posting this. Everyone who worked to get this together is amazing!!!

Just one thing though, when I found the dog and told him to follow me I was shortly after attacked by several zombies which the dog just sat and ignored. I nearly died waiting for him to spring into action lol! I ended up having to shoot them and bandage up. Does the zed killing work a lil funny or might I have something wrong? They're following and getting into vehicles just fine.

It works funny, they seem to have a delay before they attack and after they attack, and iv noticed if theres more then 3-5 zeds they don't attack at all
 
It works funny, they seem to have a delay before they attack and after they attack, and iv noticed if theres more then 3-5 zeds they don't attack at all


Shortly after I posted that one of our players found a dog and put it through the paces testing out all the different things they can do. They were able to confirm the dog was killing zeds and doing a very good job at it! Thank you so much for replying so quick! I feel much better knowing they can be a little delayed and that I didn't mess up horribly in the script. Everyone has been going nuts looking for dog houses now! Thank you from all of us at The Dragon's Lair!
 
Shortly after I posted that one of our players found a dog and put it through the paces testing out all the different things they can do. They were able to confirm the dog was killing zeds and doing a very good job at it! Thank you so much for replying so quick! I feel much better knowing they can be a little delayed and that I didn't mess up horribly in the script. Everyone has been going nuts looking for dog houses now! Thank you from all of us at The Dragon's Lair!

No problem
 
Dog houses spawned, no dogs.

Code:
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
14:34:44 Wrong text element 'null'
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Offroad_SPG9_Gue/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/HMMWV_Ambulance/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/HMMWV_Avenger/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/USMC_Soldier/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/MTVR/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Profiteer2/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M119/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/DSHkM_Mini_TriPod/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/SearchLight/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Igla_AA_pod_East/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/Metis/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/2b14_82mm/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M252/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M2HD_mini_TriPod/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/MK19_TriPod/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/A10/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/C130J/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/T34/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/M1A1/
Unrecognized CfgVehicles simulation in bin\config.bin/CfgVehicles/MLRS/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseWeakYellow/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumOrange/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseMediumPale/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_BaseStrongPale/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/StreetLamp_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Cable_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_decor_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
Unrecognized CfgNonAIVehicles simulation thing in bin\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
getting that in RPT logs.
 
Could having my items # off in the mission.sqm file cause dogs not to spawn specifically?

Because my number was off. (the one that you set your total number of vehicles too.)
 
Well....its definitely the dogs causing the above listed errors. Shame to cause my players really liked them! Time to remove them though.
 
Vilemouse, would you please take a look at the rpt errors I posted and let me know what you think? My player base loved this addition but I had to remove it as it keeps crashing my server. When I put the older PBO (with all other scripts except dogs) in I have absolutely no problems but when I put the PBO in with dogs, the dogs and all scripts work ok for about an hour and then the server crashes. Im so clueless as this is not typical behavior for a missinstalled script. Id love to correct this and get it back into the server. Thanks in advance.
 
Back
Top