KrisiS
-
Posts
16 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by KrisiS
-
-
I really don't know any further than that mate, hopefully someone else will come along soon to help you.
-
That looks ok I think. Here is a pic of my dayz_server.pbo
I am not sure why it is not working for you my friend, you will have to wait for someone else to come up with the solution.
Sorry I couldn't help you more :) -
Do you have the 'Maps' folder in the root of your dayz_server.pbo ?
Here is a snippet from my put server_functions.sqf:
//server_weather = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_weather.sqf"; fnc_plyrHit = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fnc_plyrHit.sqf"; server_deaths = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_playerDeaths.sqf"; server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\balota.sqf"; call compile preProcessFileLineNumbers "\z\addons\dayz_server\maps\neaf.sqf";
-
Maps folder should be in the root folder of your dayz_server.pbo
-
Try this in the serverfunctions.sqf
AFTER:
server_maintainArea = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\server_maintainArea.sqf";
ADD:
call compile preProcessFileLineNumbers "\z\addons\dayz_server\Maps\mapedit.sqf";
-
Try adding this to the end of your init.sqf which is located in the root folder of your mission file.
[] ExecVM "Maps\mapedit.sqf";
-
Hi guys,
Can someone help me to add online players to the following debug monitor ?
Online Players: */*
Thank you in advance,
Debug Monitor:
/* /////Tweaked j0k3r5 / Original work done by Matt L / and to anyone else that is involved that Ive forgotten//// ////www.j0k3r5.com//// If modified and released give credits where due, thank you. */ fnc_debug = { j0k3r5_stats = true; while {j0k3r5_stats} do { _logo = ""; _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture')); _nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],750]; _textCity = "Wilderness"; if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)}; if (player == vehicle player) then { _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture')); } else { _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture')); }; _timeleft= _combattimeout-time; _kills = player getVariable["zombieKills",0]; _killsH = player getVariable["humanKills",0]; _killsB = player getVariable["banditKills",0]; _humanity = player getVariable["humanity",0]; _headShots = player getVariable["headShots",0]; _zombies = count entities "zZombie_Base"; _zombiesA = {alive _x} count entities "zZombie_Base"; hintSilent parseText format [ " <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Headshots:</t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%6</t><br/> <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Survivors Killed:</t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%3</t><br/> <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Assholes Killed:</t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%4</t><br/> <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Zombies Killed:</t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%5</t><br/> <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Zeds (alive/total): </t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%13/%12</t><br/> <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Survived:</t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%7 Dayz</t><br/> <t size='0.90' font='Bitstream'align='left'color='#f0f068'>Humanity:</t><t size='0.90' font='Bitstream'align='right'color='#FFFFFF'>%2</t><br/> <br/> <t size='0.90' font='Bitstream'align='left'color='#1ade00'>FPS: </t><t size='0.90' font='Bitstream'align='right'color='#1ade00'>%14</t><br/> <t size='0.90' font='Bitstream'align='left'color='#ff3d3d'>BLOOD:</t><t size='0.90' font='Bitstream'align='right'color='#ff3d3d'>%1</t><br/> <br/> <t size='0.90' font='Bitstream'align='left' color='#FFFF00'>Server Restart:</t><t size='0.90' font='Bitstream'align='right'color='#FFFF00'>%8 minutes!</t> ", r_player_blood, //1 round _humanity, //2 _killsH, //3 _killsB, //4 _kills, //5 _headShots, //6 (dayz_Survived), //7 (240-(round(serverTime/60))), //8 change the 180 to suit your server mins for restarts _pic, //9 _logo, //10 _textCity, //11 count entities "zZombie_Base", //12 {alive _x} count entities "zZombie_Base", //13 diag_fps //14 ]; sleep 5; }; }; [] spawn fnc_debug;
-
No, sorry. There was a bad link in my sig. It was due for an update anyways. Check now.
Works perfect, Thank you very much :)
-
When I press on you suicide script (in signature) it brings me to the deployable bike.
Am I missing something ?
-
Hey, this is a great script. Thank you so much!
I use a (right click) suicide script but after installing this mod it appears that the 'right click' options don't work from my extra_rc.hpp
Is it possible to call the suicide script from this mod?
If so, how can I do it ?
My current file is as follows:
extra_rc.hpp
class ExtraRc { class glock17_EP1 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class M9 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class M9SD { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class Makarov { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class revolver_EP1 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class UZI_EP1 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class Sa61_EP1 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class Colt1911 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class UZI_SD_EP1 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class revolver_gold_EP1 { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; class MakarovSD { class CommitSuicide { text = "Commit Suicide"; script = "execVM ""Scripts\suicide\suicide.sqf"";"; }; }; };
-
The bike despawns after about 30 seconds on my server, also the option to repack does not appear
Can anyone help me to fix this ?
Epoch 1.0.5.1
Beta:112555
My fn_selfactions.sqf
//Pack Vehicles if (_typeOfCursorTarget in EVDVehicleArray and !(locked _cursorTarget) and (damage _cursorTarget < 1)) then { if (s_player_packvehicle < 0) then { s_player_packvehicle = player addAction ["<t color=""#008aff"">Pack Vehicle</t>", "Scripts\EVD\EVD_pack.sqf",_cursorTarget, 0, false, true, "",""]; }; } else { player removeAction s_player_packvehicle; s_player_packvehicle = -1; };
Thanks :)
-
Worked perfect, thank you very much !
-
Hi,
I would like to be able to change the color of 'Pack Vehicle' in this line, how can I do it ?
s_player_packvehicle = player addAction ["Pack Vehicle", "Scripts\EVD\EVD_pack.sqf",_cursorTarget, 0, false, true, "",""];
-
[sOLVED]: I used this instead:
-
Hi,
I am having trouble getting protection in the trader cities, could someone please point me in the right direction?
The following, I have done but the protection doesn't work when you enter the trade area, nor does the message regarding God mode come up as in the safezone.sqf.
I have added safezone.sqf to the root folder of my mission.pbo
safezone.sqf:
//Mod by Zane Private ["_Basis","_EH_Fired","_EH_Hit","_EH_Killed"]; _Basis = _this select 0; //Basisname while {true} do { waitUntil {vehicle player in list _Basis}; titleText ["Welcome to the Trading post, God mode ON.", "PLAIN DOWN", 3]; sleep 2; player setUnitRecoilCoefficient 0; player_zombieCheck = {}; fnc_usec_damageHandler = {}; fnc_usec_unconscious = {}; player allowDamage false; waitUntil {! (vehicle player in list _Basis)}; titleText ["Leaving Trading Post, God mode OFF.", "PLAIN DOWN", 3]; sleep 2; player setUnitRecoilCoefficient 1; player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf"; fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf"; fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf"; player allowDamage true; }
I have changed my class sensors in mission.sqm to:
class Sensors { items=5; class Item0 { position[]={6325.6772,304.99033,7807.7412}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonestary"; expCond="(player distance zonestary) < 100;"; expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false; inTraderCity = ""Stary""; execVM ""safezone.sqf"";"; expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";"; class Effects { }; }; class Item1 { position[]={4063.4226,365.00577,11664.19}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonebash"; expCond="(player distance zonebash) < 100;"; expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; canbuild = false; inTraderCity = ""Bash""; execVM ""safezone.sqf"";"; expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";"; class Effects { }; }; class Item2 { position[]={11447.472,317.26886,11364.504}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zoneklen"; expCond="(player distance zoneklen) < 100;"; expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; canbuild = false; inTraderCity = ""Klen""; execVM ""safezone.sqf"";"; expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";"; class Effects { }; }; class Item3 { position[]={1606.6443,289.70795,7803.5156}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonebandit"; expCond="(player distance zonebandit) < 100;"; expActiv="canbuild = false; inTraderCity = ""Bandit Trader""; execVM ""safezone.sqf"";"; expDesactiv="canbuild = true; inTraderCity = ""Any"";"; class Effects { }; }; class Item4 { position[]={12944.227,210.19823,12766.889}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonehero"; expCond="(player distance zonehero) < 100;"; expActiv="canbuild = false; inTraderCity = ""Hero Trader""; execVM ""safezone.sqf"";"; expDesactiv="canbuild = true; inTraderCity = ""Any"";"; class Effects { }; }; }; };
[SOLVED] Debug Monitor: How to add 'Online Players' ?
in Scripting
Posted
Thanks for the reply mate, it didn't work though.
However, I got it to work with the following edits: