Jump to content
juandayz

EPOCH ADMIN EVENTS 1.6

Recommended Posts

8 hours ago, rockybonne said:

feel like an idiot.. that worked.. thank you

as bob marley said :P  "Don't worry about a thing,
'Cause every little thing gonna be all right."  :biggrin: thers no idiots here mate, i also forgot lil things everytime. glad to know you fix it

Share this post


Link to post
Share on other sites

I've had this script working rather well on my server, only problem being that on occasion the admin events mouse wheel option  wont show up and requires me to back out to lobby and rejoin for it to show, have no errors at all.

Share this post


Link to post
Share on other sites

Hello, i have a question, thats a great script and this works on my testserver well. But when i try start this on my right server with player then can i start the events well but goes a player to the event despawnt this. I have no errors in my rpt.  (Elisbook and Bombcreate works well)

Share this post


Link to post
Share on other sites

Hey @juandayz,

to avoid error spam in client rpt please edit the install instructions in your provided download and add this:

In custom variables.sqf find:
 

	s_player_toggleVector = -1;
	s_player_toggleVectors=[];
	vectorActions = -1;
	s_player_manageDoor = -1;

and add underneath:

//Elis Book
s_player_ebook = -1;

 

And in custom fn_selfActions.sqf find:

	player removeAction s_player_towing;
	s_player_towing = -1;
	player removeAction s_player_fuelauto;
	s_player_fuelauto = -1;
	player removeAction s_player_fuelauto2;
	s_player_fuelauto2 = -1;
	player removeAction s_player_manageDoor;
	s_player_manageDoor = -1;

and add underneath:

player removeAction s_player_ebook;
s_player_ebook = -1;

You forgot to reset the action for the elis book event.

Share this post


Link to post
Share on other sites
On 13.4.2017 at 10:25 AM, Chuppah said:

I've had this script working rather well on my server, only problem being that on occasion the admin events mouse wheel option  wont show up and requires me to back out to lobby and rejoin for it to show, have no errors at all.

The scroll option for the admin events needs some time to initialize to prevent lag.

On 21.4.2017 at 0:19 PM, axelrocket said:

Hello, i have a question, thats a great script and this works on my testserver well. But when i try start this on my right server with player then can i start the events well but goes a player to the event despawnt this. I have no errors in my rpt.  (Elisbook and Bombcreate works well)

What about the client rpt from the player that wants to do the event?

Share this post


Link to post
Share on other sites
On 1/1/2017 at 9:30 AM, juandayz said:

 

*This is based on old 1.0.5.1 manual execution events credits for @Sandbird

 

UPDATE 01/10/2017!

 

*Include 1.6 epoch events in download folder:

FEATURES:

  Reveal hidden contents

Yours Admins can execute manually the epoch events at any time.
*Multiples events are allowed at same time.

*You can add more events if u want.
 

*Armycamp event.
*ElisBook event .
*Bombcrate event .          
*NewRubbletown event.
*Supply_from_air event .
*Player_Supply event.
*Bleeding Heart Disease event.

 

Download:

HOTFIX EVENTS

http://www.mediafire.com/file/s7z9gwa49qgequ5/HOTFIXevents.rar

 

 

1-open your server_functions.sqf

  Reveal hidden contents

find:

server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf";

add below:

//adminevents
server_adminevents = compile preprocessFileLineNumbers "\z\addons\dayz_server\adminevents\server_adminevents.sqf";

2- Place folders:

  Reveal hidden contents

A-Place the adminevents folder in root of  dayz_server\

B-Place the admineventsclientside folder in root of mpmissions\your instance\

 

3-open your init.sqf

  Reveal hidden contents

A_change the path for publicEH.sqf  by this


call compile preprocessFileLineNumbers "custom\publicEH.sqf";

b- at very bottom add:


[] execVM "admineventsclientside\init_adminevents.sqf"; 

 

4-Drop your publicEH.sqf   ( Located in: \@DayZ_Epoch\addons\dayz_code\init\ ) 

into mpmissions\your instance\custom\

5. open the custom publicEH.sqf

  Reveal hidden contents

find:
"PVDZE_maintainArea" 	addPublicVariableEventHandler {(_this select 1) spawn server_maintainArea};

below  paste:
"PVDZE_adminevents"      addPublicVariableEventHandler {(_this select 1) spawn server_adminevents};

6-in a custom variables.sqf (only if ure using elis book event and u have some kind of rpt error about undefined variable s_player_ebook = -1;)

  Reveal hidden contents

Find


dayz_resetSelfActions = {

add below


s_player_ebook = -1;

 

7- in init_adminevents.sqf  (admineventsclientside folder )  add your adms id

adminsList= ["76561198257****"];  //An array of adms replace with your admins ids

 

8- BE FILTERS  tnks! @Cherdenko and @Grahame

any issue with your battleye restriction add

!="PVDZE_adminevents" 

in your publicvariable.txt

Is there any logging, like, When an admin Executes,Where it executes, Which Admin Executed

Share this post


Link to post
Share on other sites

@juandayz

Server runs fine with this, no errors or probs to start or join the server.

Nothing in RPT ............ but where the fuck is this "scroll menu"?

Yes, I´m not dumb, I have added my steam ID.

I try it logged in as admin ......... nothing.

Share this post


Link to post
Share on other sites
15 hours ago, nova said:

awesome script! tested and works fine. i do however have an issue. I would like it for when you kill and a.i you gain humanity and to be able to get coins from the bodies. anyway for me to do this? @juandayz

for money you can try add for example in armycamp.sqf  this code:

{
_cash = round(random 50) * 100;
		_x setVariable["Z_moneyVariable",_cash ,true];					  
} foreach units _group_1;

in somewhere before define all _enemy lines

and maybe you will need change this line in fn_selfactions.sqf  and add the Ai id or "man" condition

if (_isMan && {!_isAlive} && {!(_cursorTarget isKindOf "Animal")} && {player distance _cursorTarget < 5}) then {
		if (s_player_checkWallet < 0) then {
			s_player_checkWallet = player addAction ["Check Wallet","scripts\zsc\checkWallet.sqf",_cursorTarget,0,false,true];
		};
	} else {
		player removeAction s_player_checkWallet;
		s_player_checkWallet = -1;
	};

example:


if (_isMan or (_cursorTarget isKindOf "RU_Soldier_AR") && {!_isAlive} && {!(_cursorTarget isKindOf "Animal")} && {player distance _cursorTarget < 5}) then {
		if (s_player_checkWallet < 0) then {
			s_player_checkWallet = player addAction ["Check Wallet","scripts\zsc\checkWallet.sqf",_cursorTarget,0,false,true];
		};
	} else {
		player removeAction s_player_checkWallet;
		s_player_checkWallet = -1;
	};

 

Share this post


Link to post
Share on other sites
7 hours ago, juandayz said:

for money you can try add for example in armycamp.sqf  this code:

{
_cash = round(random 50) * 100;
		_x setVariable["Z_moneyVariable",_cash ,true];					  
} foreach units _group_1;

in somewhere before define all _enemy lines

and maybe you will need change this line in fn_selfactions.sqf  and add the Ai id or "man" condition

if (_isMan && {!_isAlive} && {!(_cursorTarget isKindOf "Animal")} && {player distance _cursorTarget < 5}) then {
		if (s_player_checkWallet < 0) then {
			s_player_checkWallet = player addAction ["Check Wallet","scripts\zsc\checkWallet.sqf",_cursorTarget,0,false,true];
		};
	} else {
		player removeAction s_player_checkWallet;
		s_player_checkWallet = -1;
	};

example:


if (_isMan or (_cursorTarget isKindOf "RU_Soldier_AR") && {!_isAlive} && {!(_cursorTarget isKindOf "Animal")} && {player distance _cursorTarget < 5}) then {
		if (s_player_checkWallet < 0) then {
			s_player_checkWallet = player addAction ["Check Wallet","scripts\zsc\checkWallet.sqf",_cursorTarget,0,false,true];
		};
	} else {
		player removeAction s_player_checkWallet;
		s_player_checkWallet = -1;
	};

 

The default fn_selfActions from ZSC check wallet will pick up an AI correctly (https://github.com/oiad/ZSC/blob/master/dayz_code/compile/fn_selfActions.sqf#L930)

_isMan = _cursorTarget isKindOf "Man"; //includes animals and zombies

Correctly detects AI as _isMan

isPlayer cursorTarget

will not detect an AI.

@novaif your check wallet isn't showing for an AI then something else is amiss, it will show even if the AI has no coins

Share this post


Link to post
Share on other sites

Hello. I know this is an old post but was wondering but the bleeding heart disease mission, it spawns the plane in the air and in about 5 seconds after it spawns the plane blows up. i tried other planes too but just randomly blows up in mid air. tried spamming the mission too and just mass explosions everywhere. I don't seem to have any errors on the RPT. I thought maybe this was supposed to happen but I looked around the wrecks and saw no loot or bodies around. Anyone know how to fix this?

Share this post


Link to post
Share on other sites
On 10/8/2017 at 4:09 AM, nova said:

Hello. I know this is an old post but was wondering but the bleeding heart disease mission, it spawns the plane in the air and in about 5 seconds after it spawns the plane blows up. i tried other planes too but just randomly blows up in mid air. tried spamming the mission too and just mass explosions everywhere. I don't seem to have any errors on the RPT. I thought maybe this was supposed to happen but I looked around the wrecks and saw no loot or bodies around. Anyone know how to fix this?

sleep 5;
deleteVehicle _pilot;
_carrier setDamage 1;

its the script idea.

The script spawns the plane. Blows up. sleep 7 seconds .. get the plane wreck pos and spawns a zed. see:

sleep 5;
deleteVehicle _pilot;
_carrier setDamage 1;

sleep 7;

_getPos_para1 = getPos _carrier;

_zed = objNull;
_zed = _unitGroup createUnit [_zedskin, [(_getPos_para1 select 0) + 2, (_getPos_para1 select 1) + 2], [], 1, "NONE"];

you can rise the sleep value if u want. hope it help you.

Share this post


Link to post
Share on other sites
11 hours ago, DieTanx said:

Is there a way to Spawn a mission- For instance

RubbleTown- and than add a VEHICLE to spawn and save to hive(can be a non keyed version)

So..you want add a vehicle into rubletown code and this veh must be saved in db?

Share this post


Link to post
Share on other sites
2 minutes ago, juandayz said:

So..you want add a vehicle into rubletown code and this veh must be saved in db?

Does not specific need to be Rubble Town,  

 

My end goal is to make a new event/new buildings and save a vehicle that players can claim. and would use rubble town as an example-

Share this post


Link to post
Share on other sites
On 1.1.2017 at 4:30 PM, juandayz said:

 

*This is based on old 1.0.5.1 manual execution events credits for @Sandbird

 

UPDATE 01/10/2017!

 

*Include 1.6 epoch events in download folder:

FEATURES:

  Reveal hidden contents

Yours Admins can execute manually the epoch events at any time.
*Multiples events are allowed at same time.

*You can add more events if u want.
 

*Armycamp event.
*ElisBook event .
*Bombcrate event .          
*NewRubbletown event.
*Supply_from_air event .
*Player_Supply event.
*Bleeding Heart Disease event.

 

Download:

HOTFIX EVENTS

http://www.mediafire.com/file/s7z9gwa49qgequ5/HOTFIXevents.rar

 

 

1-open your server_functions.sqf

  Reveal hidden contents

find:

server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf";

add below:

//adminevents
server_adminevents = compile preprocessFileLineNumbers "\z\addons\dayz_server\adminevents\server_adminevents.sqf";

2- Place folders:

  Reveal hidden contents

A-Place the adminevents folder in root of  dayz_server\

B-Place the admineventsclientside folder in root of mpmissions\your instance\

 

3-open your init.sqf

  Reveal hidden contents

A_change the path for publicEH.sqf  by this


call compile preprocessFileLineNumbers "custom\publicEH.sqf";

b- at very bottom add:


[] execVM "admineventsclientside\init_adminevents.sqf"; 

 

4-Drop your publicEH.sqf   ( Located in: \@DayZ_Epoch\addons\dayz_code\init\ ) 

into mpmissions\your instance\custom\

5. open the custom publicEH.sqf

  Reveal hidden contents

find:
"PVDZE_maintainArea" 	addPublicVariableEventHandler {(_this select 1) spawn server_maintainArea};

below  paste:
"PVDZE_adminevents"      addPublicVariableEventHandler {(_this select 1) spawn server_adminevents};

6-in a custom variables.sqf (only if ure using elis book event and u have some kind of rpt error about undefined variable s_player_ebook = -1;)

  Reveal hidden contents

Find


dayz_resetSelfActions = {

add below


s_player_ebook = -1;

 

7- in init_adminevents.sqf  (admineventsclientside folder )  add your adms id

adminsList= ["76561198257****"];  //An array of adms replace with your admins ids

 

8- BE FILTERS  tnks! @Cherdenko and @Grahame

any issue with your battleye restriction add

!="PVDZE_adminevents" 

in your publicvariable.txt

know that from somewhere :DD

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Tricks
      I have been browsing the forums looking for unique mods to add to my server. I noticed Juandayz deleted a lot of his mods before leaving the community. Just curious if anyone has them all and would possibly repost them giving him full credit? I am particularly interested in his "Admin Skin" and "Debug" mods.
       
      Thanks community, here's hoping someone will step up!
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By juandayz
      VIDEO:
      If (You dont have a custom compiles.sqf or a custom keyboard.sqf) exitWith { step1;}else{ proceed with step 2; } forEach user; 1-Making a custom compiles.sqf and custom keyboard.sqf
       
       
      2-In your CUSTOM!!! keyboard.sqf at bottom but before the last "_handled" paste:
      3-Create remote_key.sqf  (mpmissions\your instance\scripts\ )
       
    • By juandayz
      ALL CREDITS FOR @Sandbird
      Walk Amongst The Dead - (Hide from zombies like "The Walking Dead")
      original post 1.0.5.1
       
      *Allow players to walk through zeds and they dsnt been detected.
      *The diference with the old walk amongst is that you get the cammo directly from zeds, not using itemzombiepart.
      *Also i remove the rain wash (sory sandbird) (this was awesome but burn my brain ) but i added an option to wash the cammo in  lakes.
      *Another diference is when you shoot a weapon the cammo go away inmediatly, and the icon is diferent.
       
      INSTALL:
      1-init.sqf
       
       
      2- Description.ext  (ONLY IF URE USING COINS)
       
      3-custom fn_selfactions.sqf
      4-custom Variables.sqf
      5-Download from here:  http://www.mediafire.com/file/9d74axmfym1tz16/zedutility.rar
      and place the "zedutility" folder into mpmissions\the instance that youreusing\scripts\
       
      6- Open the config.sqf located in \zedutility\walkamongstthedead\  to add more or less time to your cammo before he wash automatically
      DZ_ZCAMO_USE_TIME = 30;//30 seconds for default.  
       
    • By juandayz
      Fully Rewrited for this 2017 xmas. 
      MERRY XMAS EPOCH MOD!!!!!!
       
      1-Download from here: http://www.mediafire.com/file/6iax6nymsdnotva/xmas2017.rar
      2-Open your init.sqf 
      3-Open your custom variables.sqf
      4-Open fn_selfactions.sqf
      5-Open server_monitor.sqf
      6-Open Description.ext and into class sound add the xmas sound.. take a look in this example:
      7-INFISTAR
      8-BEFILTERS
       If u have some issues with battleyes open createvehicle.txt
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...