Jump to content

js2k6

Member
  • Posts

    209
  • Joined

  • Last visited

Posts posted by js2k6

  1. got this working.

    modified the male skins file 

    http://pastebin.com/mLqRLjqg

    ^ this now includes a lot of the overwatch skins. such as stalker and the likes

     

    and removed the female clothing as most seem to be civilian

     

    some things should be noted here, 

    if you use the files, unedited. some skins like dr hladik for instance, will mean that any player could trade items with you, as if you were the doctor at stary. 

     

    thanks for all your effort boyd

     

    although, even though my skin has changed in the sql database itself. when i come back in after a restart i was back in civilian clothing 

  2. Hi guys, 

    Today I've had a couple of players complaining that their positions did not save when they logged out. 

    I checked my RPT and noticed this error. 

     

    14:07:11 "DISCONNECT: z0d14cm45t3r (xxxxxxxx) Object: B 1-1-D:1 (z0d14cm45t3r) REMOTE, _characterID: 1381 at loc [8230.31,10862.7,0.00140381]"
    14:07:11 Client: Remote object 6:0 not found
    14:07:11 Client: Remote object 6:9 not found
    14:07:11 Bad conversion: array
    14:07:11 Error in expression <r"] call server_updateObject;
    } forEach nearestObjects [_pos, dayz_updateObjects>
    14:07:11   Error position: <nearestObjects [_pos, dayz_updateObjects>
    14:07:11   Error 0 elements provided, 3 expected
    14:07:11 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209
    14:07:12 "Skipping Null Object: <NULL-object>"
    14:07:12 Warning: Cleanup player - person 6:8 not found

    I do run a heavily modified server, And have been for the past 5-6 weeks. this is the first time i've had anyone mention the above happening and the first time i've seen this in my logs

     

    This is the area of line 209, but I'm not noticing any issues with it?

    		// Force gear updates for nearby vehicles/tents
    		_pos = _this select 0;
    		{
    			[_x, "gear"] call server_updateObject;
    		} forEach nearestObjects [_pos, dayz_updateObjects, 10];
    		//[_charPos] call server_updateNearbyObjects;
    

    Any ideas?

     

  3. nice script keep up the good work..

     

    please can someone explain how to activate more then one mission at the same time?

     

    regards

    I came here today looking for the same thing, I love WAI, and have created some custom missions for it

    But I am wanting something similar to the DZMS with it's small and major missions array,

    DZMSMajorArray = ["SM1","SM3","SM4","EM1"];
    DZMSMinorArray = ["SM1","SM2","SM3","SM4","SM5","SM6"]; 

    so that way I could have 2 missions running at the same time. I can of course achieve this by using both WAI and DZMS. but sometimes this spawns two missions on top of each other 

     

    edit: so i had a brainwave after posting this. 

    so what i did is created a second missions folder, and moved some of what i would consider to be the 'smaller' missions across into the second folder

    renamed some of the functions to include an s to denote small, for example 

     

    [] ExecVM "\z\addons\dayz_server\WAI\Smissions\missionCfg.sqf";
    waitUntil {WAISmissionconfig};
    diag_log "WAI: Small Mission Config File Loaded";
    [] ExecVM "\z\addons\dayz_server\WAI\missions\missionCfg.sqf";
    waitUntil {WAImissionconfig};
    diag_log "WAI: Mission Config File Loaded";
     
    i left the compiles where they were for the time being, except for the marker, i created a second file for small mission markers, different colour and smaller radius. 
    now i can have 2 x WAI missions spawning together. 
    ported a few of the DZMS small missions across and so far it seems to be working well enough. 
     
    when i have some time over the weekend i might tidy this up a bit and see if i can improve on it further. 
  4. I've had some great success on my lan test server using your HC files goober, 

    I also added the elec_HC_detect i found on armaholic for some of the sarge AI functions

     

    never had any issues with battleye kicks or anything like that.

     

    works bloody brilliantly on my lan server, but on my actual server box. 

     

    i just get horrible desync with the zombies and some of the ai. i've disabled it all for now

     

    I'm thinking it's probably because I added some of the AI functions to the HC, maybe it was a bit too much for the hc to handle?

     

    either way, loving you work. :)

  5. The hive won't start until someone joins, have never left a server long enough to see if it will load on its own but I don't think so. Get yourself a headless client setup. He will badger a restarting server until it was him on, mostly. Also leads into a whole world of AI fun :)

     

    Thanks for that axeman. 

    Yeah I've been keeping an eye on the headless client option because I would like to add a lot more AI to the compounds. 

    I usually have at least one or two people join within minutes of a restart so it's no huge issue. it'd just be nice if i could force the hive to autostart. might have to buy myself another key and get that. 

    left myself a tiny bit broke, server rental in australia isn't cheap =/ 

  6. Hi everyone, 

    I've recently started hosting epoch server on my VPS. 

    All is working fine, no issues with scripts or restarts.

     

    But after a restart it can take quite some time for the server to work. 

    And it takes some players a long time to connect, When i watch the console I've noticed the hive doesn't start loading until a player tries to connect

     

    that person is usually then kicked back to the lobby and has to try connecting again. 

    after this point it works, and everyone can join as normal.

     

    Is there anyway to bypass this? Have the mission automatically start even with zero players connected

    or at least reduce the 90 second time out at the beginning of a restart. 

     

    I'm not sure what to look for.

    Or even if this is a normal thing? 

     

    So my searches have come up empty. 

     

    Any assistance would be greatly appreciated. 

  7. Hi, 

     

    I've been having some issues with a testing server i'm running on my LAN

    I have a whole bunch of map additions, and in three of these locations i have loot crates that are supposed to spawn.

     

    sometimes these spawn, other times they do not

     

    currently the map additions are in the server .pbo and the crates are in the mission files. 

    I call the server side map additions from server_functions.sqf like so...

    // Map Additions 
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\balota.sqf";				// balota barracks
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\tikhaya.sqf";				// tikhaya city near kamenka
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\zelebarracks.sqf";			// zelenogorsk barracks
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\GOC_SI_Zelenogorsk.sqf"; 	// GOC Zeleno Rehab Center
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\GOC_SI_Grishino.sqf";		// Grishino Construction Site
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\GOC_TE_htlh.sqf"; 			// Hero Trader Overhaul
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\GOC_TE_btcc.sqf";			// Bandit Trader Overhaul
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\zonealpha.sqf";				// Zone Alpha
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\blklakecamp.sqf";			// Black Lake Campsite
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\ne_airstrip.sqf"; 			// NEAF Additions
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\lopatino.sqf";				// Lopatino Barracks
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\novylugbase.sqf";			// Novy Lug Base
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\GOC_TE_bash.sqf";			// Bash Trader City Overhaul
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\NWAF.sqf";					// NWAF Military Compound
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\otmelvil.sqf";				// Otmel Village
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\Mine_grotte.sqf";			// Kamenka Mine
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\skalisty.sqf";				// Skalisty Island Village and Bridge
    // The Following Addons were made by 21DMD
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\solnichbike.sqf";			// Solnichiy Bike Dealer (made by jedish3ep aka jakehekesfists)
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\NWAFtrader.sqf";			// NWAF Trader (made by jedish3ep aka jakehekesfists)
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\smoosestaryfinal.sqf";		// Stary Trader (made by Smooose) 
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\balotaimproved.sqf";		// Balota Improvements by jedish3ep aka jakehekesfists
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\berezimproved.sqf";			// Berezino Improvements by jedish3ep aka jakehekesfists
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\superhero.sqf";				// super hero trader by jedish3ep aka jakehekesfists
    call compile preProcessFileLineNumbers "\z\addons\dayz_server\map_additions\superbandit.sqf";			// super bandit trader by jedish3ep aka jakehekesfists
    

    and then i call the loot crates from init.sqf like so

    // Map Additions Loot
    [] execVM "map_additions\box_la_grotte.sqf";
    [] execVM "map_additions\nwafcrates.sqf";
    [] execVM "map_additions\zonealpha_loot.sqf";
    
    // Map Additions, Map Markers - New Method - easier to clean
    [] execVM "custom\markers.sqf";
    

    Previously I had tried to load all the additions serverside but the crates rarely spawned. 

     

    I'm at a loss now as they only spawn sometimes. Does anyone have any tips to make these crates always spawn?

     

    in case required, heres one of my crates files

    if (isServer) then {
    		_vehicle_999991 = objNull;
    		
    		if (true) then
    		{
    		  _this = createVehicle ["TKVehicleBox_EP1", [7909.4,13691.2], [], 0, "CAN_COLLIDE"];
    		  _vehicle_999991 = _this;
    		  _this setDir 20;
    
    		  clearweaponcargoGlobal _this;
    		  clearmagazinecargoGlobal _this;
    
    		  
    		  _this addWeaponCargoGlobal ["NVGoggles",2];
    		  _this addWeaponCargoGlobal ["Binocular_Vector",2];
    		  _this addWeaponCargoGlobal ["ItemGPS",2];
    		  _this addWeaponCargoGlobal ["ItemEtool", 2];
    		  _this addWeaponCargoGlobal ["ItemFlashlightRed", 2];
    		  _this addMagazineCargoGlobal ["Skin_Camo1_DZ", 2];
    
    		  GunRandomizerA=floor(random 4);
    
    				if (GunRandomizerA == 0) then {
    					_this addWeaponCargoGlobal ["MakarovSD", 2];
    					_this addMagazineCargoGlobal ["8Rnd_9x18_MakarovSD", 25];
    					_this addWeaponCargoGlobal ["FN_FAL",2];
    					_this addmagazineCargoGlobal ["20Rnd_762x51_FNFAL",20];
    					_this addWeaponCargoGlobal ["DMR_DZ",2];
    					_this addmagazineCargoGlobal ["20Rnd_762x51_DMR",20];
    					_this addWeaponCargoGlobal ["M4A1_HWS_GL", 2];
    					_this addMagazineCargoGlobal ["30Rnd_556x45_Stanag", 30];
    					_this addWeaponCargoGlobal ["AK_107_kobra", 1];
    					_this addMagazineCargoGlobal ["30Rnd_545x39_AK", 30];
    					_this addWeaponCargoGlobal ["M4A1_AIM_SD_camo",2];
    					_this addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 30];	
    					_this addWeaponCargoGlobal ["BAF_L85A2_RIS_SUSAT",2];
    				};
    				
    				if (GunRandomizerA == 1) then {
    					_this addWeaponCargoGlobal ["M9SD", 1];
    					_this addMagazineCargoGlobal ["15Rnd_9x19_M9SD", 25];
    					_this addWeaponCargoGlobal ["SVD_CAMO",2];
    					_this addmagazineCargoGlobal ["10Rnd_762x54_SVD",20];
    					_this addWeaponCargoGlobal ["M107_DZ",2];
    					_this addmagazineCargoGlobal ["10Rnd_127x99_m107",20];
    					_this addWeaponCargoGlobal ["G36K_camo",2];
    					_this addmagazineCargoGlobal ["30Rnd_556x45_G36",30];
    					_this addWeaponCargoGlobal ["M4A1_HWS_GL_SD_camo",2];
    					_this addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 30];
    					_this addWeaponCargoGlobal ["AKS_74_U", 1];
    					_this addMagazineCargoGlobal ["30Rnd_545x39_AK", 30];
    					_this addWeaponCargoGlobal ["BAF_L85A2_RIS_SUSAT",2];
    				};
    				
    				if (GunRandomizerA == 2) then {
    					_this addWeaponCargoGlobal ["UZI_SD_EP1", 1];
    					_this addMagazineCargoGlobal ["30Rnd_9x19_UZI_SD", 25];
    					_this addWeaponCargoGlobal ["SCAR_H_LNG_Sniper_SD",2];
    					_this addmagazineCargoGlobal ["20Rnd_762x51_SB_SCAR",20];
    					_this addWeaponCargoGlobal ["M4A1_AIM_SD_camo", 2];
    					_this addMagazineCargoGlobal ["30Rnd_556x45_Stanag", 30];
    					_this addWeaponCargoGlobal ["RPK_74", 2];
    					_this addMagazineCargoGlobal ["75Rnd_545x39_RPK", 25];
    					_this addWeaponCargoGlobal ["AK_74_GL", 2];
    					_this addMagazineCargoGlobal ["30Rnd_545x39_AK", 30];
    					_this addWeaponCargoGlobal ["BAF_L85A2_RIS_Holo",2];
    				};
    		  
    				if (GunRandomizerA == 3) then {
    					_this addWeaponCargoGlobal ["MakarovSD", 2];
    					_this addMagazineCargoGlobal ["8Rnd_9x18_MakarovSD", 25];
    					_this addWeaponCargoGlobal ["VSS_vintorez",1];
    					_this addmagazineCargoGlobal ["20Rnd_9x39_SP5_VSS",20];
    					_this addWeaponCargoGlobal ["M40A3",2];
    					_this addmagazineCargoGlobal ["5Rnd_762x51_M24",20];
    					_this addWeaponCargoGlobal ["SVD", 2];
    					_this addMagazineCargoGlobal ["10Rnd_762x54_SVD", 20];
    					_this addWeaponCargoGlobal ["FN_FAL", 2];
    					_this addMagazineCargoGlobal ["20Rnd_762x51_FNFAL", 30];
    					_this addWeaponCargoGlobal ["MP5A5", 2];
    					_this addMagazineCargoGlobal ["30rnd_9x19_MP5", 30];
    					_this addWeaponCargoGlobal ["M240_DZ", 2];
    					_this addMagazineCargoGlobal ["100Rnd_762x51_M240", 25];
    				};
    
    		  _this addbackpackCargoGlobal ["DZ_LargeGunBag_EP1",5];
    		  _this setPos [7909.4,13691.2];
    		};
    
    
    		_vehicle_999992 = objNull;
    		
    		if (true) then
    		{
    		  _this = createVehicle ["USVehicleBox", [8020.13,13633.4], [], 0, "CAN_COLLIDE"];
    		  _vehicle_999992 = _this;
    		  _this setDir 130;
    
    		  clearweaponcargoGlobal _this;
    		  clearmagazinecargoGlobal _this;
    
    		  _this addmagazineCargoGlobal ["PartEngine",5];
    		  _this addmagazineCargoGlobal ["PartGeneric",10];
    		  _this addmagazineCargoGlobal ["PartVRotor",5];
    		  _this addmagazineCargoGlobal ["PartWheel",10];
    		  _this addmagazineCargoGlobal ["PartFueltank",3];
    		  _this addmagazineCargoGlobal ["PartGlass",10];
    		  _this addmagazineCargoGlobal ["ItemJerrycan",3];
    		  
    		  _this addmagazineCargoGlobal ["50Rnd_127x107_DSHKM",5];
    		  _this addmagazineCargoGlobal ["100Rnd_127x99_M2",5];
    		  _this addmagazineCargoGlobal ["4000Rnd_762x51_M134",5];
    		  _this addmagazineCargoGlobal ["100Rnd_762x51_M240",5];
    		  
    		  GunCrateSRandomizer=floor(random 3);
    
    				if (GunCrateSRandomizer == 0) then {
    					_this addmagazineCargoGlobal ["ItemGoldBar10oz",6];
    				};
    				if (GunCrateSRandomizer == 1) then {
    					_this addmagazineCargoGlobal ["ItemSilverBar10oz",12];
    				};
    				if (GunCrateSRandomizer == 2) then {
    					_this addmagazineCargoGlobal ["ItemBriefcase10oz",1];
    				};
    		  
    		  _this setPos [8020.13,13633.4];
    		};
    
    
    
    		_vehicle_999993= objNull;
    		
    		if (true) then
    		{
    		  _this = createVehicle ["TKVehicleBox_EP1", [8007.18,13638.1], [], 0, "CAN_COLLIDE"];
    		  _vehicle_999993 = _this;
    		  _this setDir 90.560677;
    
    		  clearweaponcargoGlobal _this;
    		  clearmagazinecargoGlobal _this;
    
    		  _this addWeaponCargoGlobal ["NVGoggles",1];
    		  _this addWeaponCargoGlobal ["ItemGPS",1];
    
    		  _this addmagazineCargoGlobal ["ItemBandage",10];
    		  _this addmagazineCargoGlobal ["ItemPainkiller",10];
    		  _this addmagazineCargoGlobal ["ItemMorphine",10];
    		  _this addmagazineCargoGlobal ["ItemBloodBag",10];
    		  _this addmagazineCargoGlobal ["ItemEpinephrine",10];
    		  _this addmagazineCargoGlobal ["ItemAntibiotic",10];
    		  _this addmagazineCargoGlobal ["FoodCanBakedBeans",2];
    		  _this addmagazineCargoGlobal ["FoodCanSardines",2];
    		  _this addmagazineCargoGlobal ["FoodCanFrankBeans",2];
    		  _this addmagazineCargoGlobal ["FoodCanPasta",2];
    		  _this addmagazineCargoGlobal ["FoodCanGriff",2];
    		  _this addmagazineCargoGlobal ["FoodCanBoneboy",2];
    		  _this addmagazineCargoGlobal ["FoodCanCorn",2];
    		  _this addmagazineCargoGlobal ["FoodCanCurgon",2];
    		  _this addmagazineCargoGlobal ["FoodCanDemon",2];
    		  _this addmagazineCargoGlobal ["FoodCanFraggleos",2];
    		  _this addmagazineCargoGlobal ["FoodCanHerpy",2];
    		  _this addmagazineCargoGlobal ["FoodCanOrlok",2];
    		  _this addmagazineCargoGlobal ["FoodCanPowell",2];
    		  _this addmagazineCargoGlobal ["FoodCanTylers",2];
    		  _this addmagazineCargoGlobal ["ItemSodaCoke",4];
    		  _this addmagazineCargoGlobal ["ItemSodaPepsi",4];
    		  _this addmagazineCargoGlobal ["ItemSodaMdew",4];
    		  _this addmagazineCargoGlobal ["ItemSodaMtngreen",4];
    		  _this addmagazineCargoGlobal ["ItemSodaR4z0r",4];
    		  _this addmagazineCargoGlobal ["ItemSodaClays",4];
    		  _this addmagazineCargoGlobal ["ItemSodaSmasht",4];
    		  _this addmagazineCargoGlobal ["ItemSodaDrwaste",4];
    		  _this addmagazineCargoGlobal ["ItemSodaLemonade",4];
    		  _this addmagazineCargoGlobal ["ItemSodaLvg",4];
    		  _this addmagazineCargoGlobal ["ItemSodaMzly",4];
    		  _this addmagazineCargoGlobal ["ItemSodaRabbit",4];  
    		  _this addmagazineCargoGlobal ["Skin_Drake_Light_DZ",2];
    		  _this addmagazineCargoGlobal ["Skin_FR_OHara_DZ",2];
    		  _this addmagazineCargoGlobal ["Skin_FR_Rodriguez_DZ",2];
    		  _this addmagazineCargoGlobal ["Skin_CZ_Soldier_Sniper_EP1_DZ",2];
    		  _this addmagazineCargoGlobal ["Skin_Graves_Light_DZ",2];
    		  		  
    		  _this addbackpackCargoGlobal ["DZ_LargeGunBag_EP1",2];
    		  _this setPos [8007.18,13638.1];
    		};
    
    };
    

    any help would be greatly appreciated. 

     

    Edit: another possible thought, could it possibly be DZMS or WAI missions deleting these boxes as part of a cleanup script? 

×
×
  • Create New...