Jump to content

rvg?!

Member
  • Posts

    226
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by rvg?!

  1. We rewrote Richies script some time ago when the ammo bug came up.

    Might be usefull for some of you.

    //#################################################
    //### UKGZ 2016 by rvg?! & TheStainlessSteelRat ###
    //#################################################
    
    rms_crashsite_amount = [8,15];			// Amount of crashsites
    rms_crashsite_loot_amount = [2,5];		// Amount of lootpiles close to each crashsite
    
    rms_wrecks = ["Land_Wreck_BMP2_F","Land_Wreck_BRDM2_F","Land_Wreck_HMMWV_F","Land_Wreck_Skodovka_F","Land_Wreck_CarDismantled_F","Land_Wreck_Truck_F","Land_Wreck_Car2_F",
    "Land_Wreck_Car_F","Land_Wreck_Car3_F","Land_Wreck_Hunter_F","Land_Wreck_Offroad_F","Land_Wreck_Offroad2_F","Land_Wreck_UAZ_F","Land_Wreck_Truck_dropside_F",
    "Land_Wreck_Van_F","Land_Wreck_Heli_Attack_01_F"];
    
    rms_guns =  ["ruger_pistol_epoch","ruger_pistol_epoch_snds_F","ruger_pistol_epoch_pointer_F","1911_pistol_epoch","hgun_ACPC2_F","hgun_ACPC2_snds_F","hgun_P07_F",
    "hgun_P07_snds_F","hgun_Pistol_heavy_01_F","hgun_Pistol_heavy_01_snds_F","hgun_Pistol_heavy_01_MRD_F","hgun_Pistol_heavy_02_F","hgun_Pistol_heavy_02_Yorris_F",
    "hgun_Rook40_F","hgun_Rook40_snds_F","hgun_Pistol_Signal_F","hgun_P07_khk_F","hgun_Pistol_01_F","Hatchet","CrudeHatchet","MultiGun",
    "arifle_Mk20_F","arifle_Mk20_plain_F","arifle_Mk20C_F","arifle_Mk20C_plain_F","arifle_Mk20_GL_F","arifle_Mk20_GL_plain_F","arifle_Mk20C_ACO_F","arifle_Mk20C_ACO_pointer_F",
    "arifle_Mk20_pointer_F","arifle_Mk20_Holo_F","arifle_Mk20_ACO_F","arifle_Mk20_ACO_pointer_F","arifle_Mk20_MRCO_F","arifle_Mk20_MRCO_plain_F","arifle_Mk20_MRCO_pointer_F",
    "arifle_Mk20_GL_MRCO_pointer_F","arifle_Mk20_GL_ACO_F","arifle_SDAR_F","arifle_TRG21_F","arifle_TRG20_F","arifle_TRG21_GL_F","arifle_TRG20_Holo_F","arifle_TRG20_ACO_pointer_F",
    "arifle_TRG20_ACO_Flash_F","arifle_TRG20_ACO_F","arifle_TRG21_ACO_pointer_F","arifle_TRG21_ARCO_pointer_F","arifle_TRG21_MRCO_F","arifle_TRG21_GL_MRCO_F",
    "arifle_TRG21_GL_ACO_pointer_F","hgun_PDW2000_F","hgun_PDW2000_snds_F","hgun_PDW2000_Holo_F","hgun_PDW2000_Holo_snds_F","SMG_01_F","SMG_01_Holo_F","SMG_01_Holo_pointer_snds_F",
    "SMG_01_ACO_F","SMG_02_F","SMG_02_ACO_F","SMG_02_ARCO_pointg_F","m4a3_EPOCH","m16_EPOCH","m16Red_EPOCH","m249_EPOCH","m249Tan_EPOCH","LMG_03_F","arifle_AKS_F","arifle_CTAR_blk_F",
    "arifle_CTAR_hex_F","arifle_CTAR_ghex_F","arifle_CTAR_GL_blk_F","arifle_CTAR_GL_hex_F","arifle_CTAR_GL_ghex_F","arifle_CTAR_blk_ACO_Pointer_F","arifle_CTAR_blk_Pointer_F",
    "arifle_CTAR_blk_ACO_F","arifle_CTAR_GL_blk_ACO_F","arifle_CTAR_blk_ARCO_Pointer_F","arifle_CTAR_blk_ACO_Pointer_Snds_F","arifle_CTAR_GL_blk_ACO_Pointer_Snds_F","arifle_CTAR_blk_ARCO_Pointer_Snds_F",
    "arifle_CTAR_blk_ARCO_F","arifle_CTARS_blk_F","arifle_CTARS_hex_F","arifle_CTARS_ghex_F","arifle_CTARS_blk_Pointer_F","arifle_SPAR_01_blk_F","arifle_SPAR_01_khk_F",
    "arifle_SPAR_01_snd_F","arifle_SPAR_01_GL_blk_F","arifle_SPAR_01_GL_khk_F","arifle_SPAR_01_GL_snd_F","arifle_SPAR_02_blk_F","arifle_SPAR_02_khk_F","arifle_SPAR_02_snd_F",
    "SMG_05_F","ChainSaw","ChainSawB","ChainSawG","ChainSawP","ChainSawR","l85a2_epoch","l85a2_ris_epoch","l85a2_ris_ng_epoch","l85a2_pink_epoch","l85a2_ugl_epoch",
    "LMG_Mk200_F","LMG_Mk200_MRCO_F","LMG_Mk200_pointer_F","arifle_Katiba_F","arifle_Katiba_C_F","arifle_Katiba_GL_F","arifle_Katiba_C_ACO_pointer_F","arifle_Katiba_C_ACO_F",
    "arifle_Katiba_ACO_F","arifle_Katiba_pointer_F","arifle_Katiba_ACO_pointer_F","arifle_Katiba_ARCO_F","arifle_Katiba_ARCO_pointer_F","arifle_Katiba_GL_ACO_F",
    "arifle_Katiba_GL_ARCO_pointer_F","arifle_Katiba_GL_ACO_pointer_F","arifle_Katiba_GL_Nstalker_pointer_F","arifle_Katiba_GL_ACO_pointer_snds_F",
    "arifle_Katiba_C_ACO_pointer_snds_F","arifle_Katiba_ACO_pointer_snds_F","arifle_Katiba_ARCO_pointer_snds_F","arifle_MXC_F","arifle_MX_F","arifle_MX_GL_F",
    "arifle_MX_SW_F","arifle_MXM_F","arifle_MX_pointer_F","arifle_MX_Holo_pointer_F","arifle_MX_Hamr_pointer_F","arifle_MX_ACO_pointer_F","arifle_MX_ACO_F",
    "arifle_MX_GL_ACO_F","arifle_MX_GL_ACO_pointer_F","arifle_MX_GL_Hamr_pointer_F","arifle_MXC_Holo_F","arifle_MXC_Holo_pointer_F","arifle_MX_SW_pointer_F",
    "arifle_MX_SW_Hamr_pointer_F","arifle_MXM_Hamr_pointer_F","arifle_MXC_ACO_F","arifle_MXC_Holo_pointer_snds_F","arifle_MXC_SOS_point_snds_F",
    "arifle_MXC_ACO_pointer_snds_F","arifle_MXC_ACO_pointer_F","arifle_MX_ACO_pointer_snds_F","arifle_MX_RCO_pointer_snds_F","arifle_MX_GL_Holo_pointer_snds_F",
    "arifle_MXM_SOS_pointer_F","arifle_MXM_RCO_pointer_snds_F","arifle_MXM_DMS_F","arifle_MXC_Black_F","arifle_MX_Black_F","arifle_MX_GL_Black_F",
    "arifle_MX_SW_Black_F","arifle_MXM_Black_F","arifle_MX_GL_Black_Hamr_pointer_F","arifle_MX_Black_Hamr_pointer_F","arifle_MX_SW_Black_Hamr_pointer_F",
    "LMG_Mk200_LP_BI_F","LMG_Mk200_BI_F"];
    
    fn_rnd_num = {
    
    _low = _this select 0;
    _high = _this select 1; 
    _calc = _high - _low;
    _rnd_num = round(random _calc) + _low;
    
    _rnd_num
    
    };
    
    _size = getNumber (configFile >> "CfgWorlds" >> worldName >> "MapSize");
    
    rms_mapcenter_pos = [_size/2,_size/2,0];
    
    _crash_amount = rms_crashsite_amount call fn_rnd_num;
    
    
    
    for "_crashsites" from 1 to _crash_amount do {
    
    		_loot_amount = rms_crashsite_loot_amount call fn_rnd_num;
    		
    		_crashpos = [rms_mapcenter_pos, 100, 15000,15,0,30,0] call BIS_fnc_findSafePos;
    		
    		rms_wrecks call BIS_fnc_arrayshuffle;
    		_crashObj = rms_wrecks call BIS_fnc_SelectRandom;
    		
    		_crashObj_final = _crashObj createVehicle _crashpos;
    		
    		_fire = "test_EmptyObjectForFireBig" createVehicle _crashpos;
    		_fire attachto [_crashObj_final, [0,0,-1]];  
    		
    		_crashObj_final setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    		
    		for "_crashloot" from 1 to _loot_amount do {
    		
    			_lootpos = [_crashpos,2,10,0,0,30,0] call BIS_fnc_findSafePos;
    			
    			_crate0 = createVehicle ["groundWeaponHolder", _lootpos, [], 0, "can_collide"];
    					
    			rms_guns call BIS_fnc_arrayshuffle;
    			_lootObj = rms_guns call BIS_fnc_SelectRandom;
    			
    			_ammo = getarray(configFile >> "cfgWeapons" >> _lootObj >> "magazines" );
    						
    			_crate0 addItemCargoGlobal [_lootobj, 1]; 
    			_crate0 addItemCargoGlobal [_ammo select 0, 3];
    			
    			_crate0 setVariable ["LAST_CHECK", (diag_tickTime + 14400)];
    		
    		};
    		
    		diag_log format ["[RMS] Crashsite at %1 with %2 lootpiles ",_crashpos,_loot_amount];
    };

     

  2. 10 minutes ago, KPABATOK said:

    but black market UI is pain in the ass. I always mixed up options of selling and buying items as they were never clearly shown. And finding stuff and going through all the tree list is time consuming and annoying.

    ... and still better than nothing ;)

    Because the Trader flood with e.g. electronic components is just annoying.

  3. I had it aswell that i looked over and over again and couldnt see the error specially when you spawn and not call scripts.

    I use a Lynx with LRPS attached to.

    And all i can see are objects floating 3km away, but i can see them.

    My viewdistance is 3500.

    Also i would zero fog, rain and overcast for testing by

    1 setfog 0;

    1 setovercast 0;

    1 setrain 0;

    in the init.sqf within a while or waituntil loop;

  4. Dont assume, ask. :wink:

    Always when a new epoch version drops out i setup a vanilla epoch testserver with epochAH enabled to have a look what has been changed  or what could cause problems.

    Infistar is just for the production/live server at the moment until things like positioning and so on are fixed.

    So, and from that point i can tell you that everything should work fine if you not screwed something up in the security settings or anywhere else.

    Else you could try the solution from my third reply here to just overwrite the epoch settings by writing it into the init.sqf.

     

     

  5. Exactly what mean:

    How you know how i woke up and why you are so sure i havent had epochAH with the 0.3.9?

    Dont be yourself so sure all the time, its not trustfull in the end.

    And if people mess around with your server problems try ro bring it to the point and reply things where you are really sure about.

    Its glasbowl assumptions here at the moment.

     

  6. Big words!

    You seem to be quite sure of yourself..

    Epoch AH doesnt support script cmds i need for events. Thats all.

    The Epoch security settings should do already but if not, in my third reply i told you what you need to do.

    That does the trick.

    If it doesnt, then the admin screwd something else up.

  7. I haven't had the issue with any antihack. The reason i switched off Epoch AH temporary is just because, it restricts me in my scripting freedom.

     

    Infistar cfg:

    /* Terrain Grid Value   */ _TGV = 40;		/* 50, 25, 12.5  */	/* if set to 50 grass will be very low for better client FPS.. default is 25 ~35 is good performance and grass :) */
    /* ViewDistance Value   */ _VDV = 3500;
    /* ObjectViewDistance   */ _VOV = 1400;

     

  8. 40 minutes ago, TAGau said:

    :blush: I is so dumb, feel like a bloody wanker now, out of all the files i've gone through I never went through the epoch_server_settings.pbo\config.cpp cause i just thought it was mainly for the config of the core settings lol and nothing to do with spawning and shit like that. sorry guys for being such a noob

    No need to feel like that. The documentation of Epoch is a bit, let's say "not as well as it should be".

    When a new Epoch version rolls out i always extract the Epoch serverside and mission.pbos to one folder, navigate with cmd to this folder and do a:

    tree /f /a > %temp%\Listing >> EpochTree.txt

    So you have a better overview. Just my opinion.

×
×
  • Create New...