Jump to content

juandayz

Collaborator
  • Content count

    1972
  • Joined

  • Last visited

  • Days Won

    139

Everything posted by juandayz

  1. [WIP] Scrapper [UPDATED]

    @ViktorReznov hey mate just a doubt.. scuse me cuz maybe cannot understand your code.. but do you belive if is possible use one sigle file for all of this? for example in this line of scraptastic.sqf if (_vehClass in VRapvs) then { _chance = random 100; if (_chance >= 40) then { [_vehClass] ExecVM "scripts\scrapper\GlobalScrap.sqf"; call _fn_del_vehicle; systemChat("Successfully scrapped vehicle, usable parts are in that crate!"); } else { call _fn_dmg_veh; systemChat("Be careful! You just damaged your vehicle!"); }; }; can you replace it by something like: then create a new sqf.. GlobalScrap.sqf
  2. 1.6 [ Remake of Hotwire Safes/Lockboxes]

    no problem lance.. good luck !
  3. This is a rewrite for the old Hotwire Safese/eLockboxes .. all credits for @SchwEde Fixes by @A Man and @Shawn was added. (tnks guys) And is fully dedicate for @PillBox_ remake it was his idea! INSTALL: 1-You need a custom fn_selfactions.sqf 2-In a custom variables.sqf 3-Create forcevault.sqf ( drop into mpmissions\yourinstance\custom ) and its done. Remember you need have a itemhotwire in your inventory. See ya epoch communty im going on vacations
  4. Humanity Restriction for certain Vehicles

    @totis @DAKA or @someoneelse can you test it... if works i guess its gonna be a lil more better for your server performance using waituntil command at top of the loop. veh_hum.sqf private ["_vehicle","_driver","_humanity","_txt"]; while {true} do { waitUntil {uiSleep 0.25;vehicle player != player}; _vehicle = vehicle player; _driver = driver (vehicle player); if (({(isPlayer _driver) && (alive _driver)} count (crew _vehicle) > 0)) then { _humanity = _driver getVariable["humanity",0]; if (typeOf _vehicle in DZE_heroHumanity && _humanity <= 20000 || (typeOf _vehicle in DZE_superHeroHumanity && _humanity <= 40000) || (typeOf _vehicle in DZE_agentHumanity && _humanity <= 60000)) then { player action ["getOut", (vehicle player)]; titleText ["","WHITE IN"]; _txt = "<img image='addons\vehicon.paa' /><br/><t size='0.7' color='#ea2828' align='center'>prohibited vehicle</t>"; [_txt, [safezoneX, safezoneW], [0.20 * safezoneH + safezoneY, 0.3 * safezoneH], 2, 0.5] spawn BIS_fnc_dynamicText; }; }; sleep 3; };
  5. 1.6 [ Remake of Hotwire Safes/Lockboxes]

    mmm not sure if is type = "trade_items"; or type ="trade_weapons". try with " trade_items"
  6. 1.6 [ Remake of Hotwire Safes/Lockboxes]

    @_Lance_ also remember your post
  7. EPOCH ADMIN EVENTS 1.6

    *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: Download: HOTFIX EVENTS http://www.mediafire.com/file/s7z9gwa49qgequ5/HOTFIXevents.rar 1-open your server_functions.sqf 2- Place folders: 3-open your init.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 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;) 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
  8. EPOCH ADMIN EVENTS 1.6

    So..you want add a vehicle into rubletown code and this veh must be saved in db?
  9. 1.6 [ Remake of Hotwire Safes/Lockboxes]

    Remember a version for doors maded by oldmatechoc.
  10. [extended_climatology]

    Download mod folder from here: http://www.mediafire.com/file/kxy4ne6jk58my72/EC_Install_Folder.rar *Include some climatology events executed as epoch events: *SandStorm, *Radioactive Fog, *Acid Rain. *Players will need get covered inside a house or they will die during this events. (use dayz_inside var for it). VIDEO: From minute 0:50 you will see the effect of sandstorm 1- Open the EC_Install folder and place dayz_server\modules folder content into : (\@DayZ_Epoch_Server\addons\dayz_server\modules\ ) 2-Open the EC_Install folder and place extended_climatology folder into: (...\mpmissions\your instance\ ) 3A-Open your init.sqf 3B-Find lines in red and add lines in blue: 3C-Find lines in red and add lines in blue: 4-in your custom variables.sqf paste in somewhere: 5- open your description.ext
  11. Humanity Restriction for certain Vehicles

    probably will not work at first time,, gonna need some test, for example im not sure if you need recognize the vehicle with cursortarget select3 before say : player action['getOut', _vehicle]; example: _vehicle = cursorTarget; or if all syntax about checks gonna work with this way.
  12. Humanity Restriction for certain Vehicles

    @totis in the way that I propose you.. would you have to use a loop but remember its just a dirt idea . hum_veh.sqf now in init.sqf paste: [] execVM 'humveh\hum_veh.sqf'; below of: execFSM "\z\addons\dayz_code\system\player_monitor.fsm";
  13. Humanity Restriction for certain Vehicles

    Quick idea where start to build. _humanity = player getVariable["humanity", 0]; _isBandit = (_humanity <= -2500); _isHero = (_humanity >=5000); _vehicle = vehicle player; _inVehicle = (_vehicle != player); _BanditVeh = typeOf _vehicle in ["hilux1_civil_3_open_DZE","datsun1_civil_3_open_DZE"]; _HeroVeh = typeOf _vehicle in ["V3S_Open_TK_CIV_EP1","V3S_Open_TK_EP1","KamazOpen_DZE"]; if (_inVehicle && _HeroVeh && _isBandit (driver _vehicle == player)) exitWith { systemchat "<Prevention>:vehicle not allowed for your humanity amount!"; player action['getOut', _vehicle]; }; if (_inVehicle && _BanditVeh && _isHero (driver _vehicle == player)) exitWith { systemchat "<Prevention>:vehicle not allowed for your humanity amount!"; player action['getOut', _vehicle]; };
  14. [Find Items on Wreck]

    Tnks you for reportt and test mate.
  15. [Find Items on Wreck]

    Simple scripts to allow players to search items into the wrecks. Use scroll menu on wrecks. what is wrecks? DZE_isWreck = ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"]; 1-Create this path: mpmissions\your instance\scripts\wreck\ into this new path.. create wreck.sqf 2-You need a custom fn_selfactions.sqf 3-in a custom variables.sqf
  16. [Find Items on Wreck]

    hey @Runewulv nice spot.. i dont have the game installed any more.. so cannot test.. can you try this fix? in your fn_selfactions.sqf add the line commented:
  17. Execute Code When X Players Are Online

    [nil,nil,rTitleText,"Jet spawn", "PLAIN",10] call RE; but put it out of the loop.
  18. [extended_climatology]

    yes or include this block at bottom of your blah.sqf if (sandstormvar) exitWith { _esc closedisplay 0; systemchat ("<ANTIHACK>:Cannot Abort in a sandstorm"); }; //your variable about ESC key cannot be called _esc take a look on it. for example this is my whole noleave.sqf ( i use just one file to put all restrictions)
  19. can't create a data base with xampp

    mmm maybe.. but when the dayz_server.pbo is broken drop errors on rpt about cannot load server_monitor and those files.. heres a quick video that i made just right now.. maybe can help a lil.
  20. can't create a data base with xampp

    @killerkiwi hey mate. i always use xamp for it. this is the way i do it: 1-Run xamp with Mysql and apache. 2-open mysql adm panel. 3-create a database. 4-create an user acount with 127.0.0.1 as host. ( not localhost with text) all privileges actives. 5-Onces i did it.. close xamp and run heidy sql to asociate the database with the user and load epoch default tables. 6-open my HiveExt.ini and this is important for me, cuz other way dsnt work.. this line: Host = 127.0.0.1 must be as above.. not writed with @localhost
  21. [WIP] Scrapper [UPDATED]

    @ViktorReznov have an idea.. maybe u can do it. broke engines to get some wires and scrap electronics. and set damage only over the vehicle engine. another thing.. fill fueltanks with water .. to limit the speed of this vehicle.. from 100 to 25mph. for example. trolling vehicles
  22. [1.6 FLYBE Player_supply] EVENT

    Use other side east,civilian and remove the setfriend line. //_this = createCenter west; //_this setFriend [west, 1]; _this = createCenter civilian;
  23. UPDATED 1/10/17 Based on Flyby 1.0.5.1 by . @f3cuk Choose a random player. Spawn a plane and drop supplys near of this player. (this was included in adminevents mod. so if u have it you already know this event) VIDEO: 1-init.sqf EpochUseEvents = true; //Enable event scheduler. Define custom scripts in dayz_server\modules to run on a schedule. EpochEvents = [["any","any","any","any",25,"Player_supply"],["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; Player_supply.sqf (into dayz_server\modules\ )
  24. [extended_climatology]

    hey @DAmNRelentless .. the most clean way is that you said. use jsut the line that you gonna use.. in my case i use a full copy of publicEh.. cuz i play a lot with this file..its just an habit... sorry for passing my bad habits i think yes cuz im using that Bunker showed in the video.
  25. Vehicle damage

    Seems Like youre missing a public var. Pvdz_veh_save maybe? Chech the update of vehicle service point by salival to get a reference of what i talking about.
×