Dogs and anomalies addin scripts

Phailyur

New Member
But I've never even opened this before lol. Here it is:

Code:
//===================piXel 26-1-2013============
private ["_dogHouse","_dogSound","_trg"];
_dogHouse = _this select 0;
if (!isServer) then
{
_dogSound = createSoundSource ["Sound_LittleDog", getPosATL _dogHouse, [], 0];
};
if (isServer) then
{
_trg = createTrigger ["emptyDetector", getPosATL _dogHouse];
_trg setTriggerArea [2,2,0, false];
_trg setTriggerTimeout [0,0,0, false];
_trg setTriggerActivation ["any", "present", true];
_trg setTriggerStatements ["isplayer (thisList select 0)", "nul = [(thisList select 0)] execVM 'addin\dog.sqf'", ""];
};
 

Sprinkz

New Member
Sprinkz
It,s good that you have attention for detail. in the 26-1-2003 version it needed to be under the rscpicture. for images. in the first release I placed it for convenience on top. Now, if you build this into your own version //loadscreen is needed. To solve double declaration

Phailyur
that snippet seems ok. file doginit in addin is found otherwise error. trigger is not fired (and you are running this in a server environment). No idea, sorry. you should debug thedoginit file to see if it triggers anything.

in addition to the problem Phailyur was having -
 

Armedtoe

New Member
Trying to get these dogs to save to the database.
Here's what I have so far:
First, I added a player_dog column in my `survivor` table;

underneath "while {(alive _dog) && (alive _leader)} do"
(_timeCount, _dogType, and _userId are declared before it)
Code:
    _timeCount = _timeCount + 1;
    if (_timeCount > 9) then {
    _timeCount = 0;
    _record = [_dogtype,_userId] execVM "addin\dogCheck.sqf";
    };
inside dogCheck.sqf
Code:
Private ["_dogType","_userId","_key"];
_dogType = _this select 0;
_userId = _this select 1;
_key = format ["CHILD:103:update `survivor` set `player_dog` = ? where `unique_id` = ? and `is_dead` = 0:[%1, ""%2""]:", _dogType, _userId];

Can someone point me to the right direction?
 

piXel

Valued Member!
@Phailure
You can always give up. But it's working fine in 1.7.5.1 only loading screen is added by dayz that could interfere so just //loadScreen will do.
 

Sprinkz

New Member
@Phailure
You can always give up. But it's working fine in 1.7.5.1 only loading screen is added by dayz that could interfere so just //loadScreen will do.

I was trying to work with him. this was his description.ext

Code:
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
#include "addin\fx\descrExt.h"
#include "gcam\gcam_component.hpp"
onPauseScript = "onpause.sqf";
loadScreen = "loadingscreen.jpg";

should I place the "#include "addin\fx\descrExt.h"" above "class RscLoadingText : RscText" like you have it?

or just add the slashes like what you said above? "//loadScreen = "loadingscreen.jpg";"

(shown below)
Code:
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
#include "addin\fx\descrExt.h"
#include "gcam\gcam_component.hpp"
onPauseScript = "onpause.sqf";
//loadScreen = "loadingscreen.jpg";
 

DonCapello

New Member
@capello
I have fixed the flashes in the new version, almost ready... It was client serverside issue. if you want to disable flashes in your version.
change in, or delete whole rows in, the anomaly files : anomalyFire.sqf etc.
// cutText ['','white out'];
nul = [(thisList select 0)]execVM 'addin\setHealth.sqf';
nul = [(thisList select 0)]execVM 'addin\teleport.sqf';
// cutText ['','white in', 9];

Will apply this, till you release the new version. Also, if you still want me to test your sitting on the back stuff, or anything else, feel free to PM me, I'll gladly assist you, as a thank-you for your help so far.
 

skynetdev

New Member
Every time when somebody of player near of me and I with dog, and when my dog starting bark, and then others know where I am.

Need command for dog "Silent" then dog won't bark
 

Calzaghe

New Member
Well for some reason when i drop the sensors section into my mission.pbo it wont load server, we all just get the "waiting for host" blackscreen. Here's my PBO Pixel, if you have time : )
 

Attachments

  • newdogs_mission (3).pbo
    229.2 KB · Views: 11

Sinoco

New Member
Well for some reason when i drop the sensors section into my mission.pbo it wont load server, we all just get the "waiting for host" blackscreen. Here's my PBO Pixel, if you have time : )

This happens to me, I did everything as instructed, and I get stuck at "Wait for Host."

Seems I didn't have the dogOwner = ... in my init.sqf, I added it, but it gets stuck at the logo loading bar screen, and at the end it gets stuck with a full loading bar saying that it couldn't find the DayZ logo in the dayz_code.
 

iconet

New Member
аномалии телепортируют в исходную точку ,как лечить?
 
Top