Jump to content

oSoDirty

Member
  • Posts

    460
  • Joined

  • Last visited

Posts posted by oSoDirty

  1. I looked into the fn_selfActions my self when i saw the post. The if then else would work, but only for locked vehicles. or maybe i missed something.

     But here is a start anyway.

     

    Change 

    	// Allow Owner to lock && unlock vehicle  
    	if(_player_lockUnlock_crtl) then {
    		if (s_player_lockUnlock_crtl < 0) then {
    			_hasKey = _ownerID in _temp_keys;
    			_oldOwner = (_ownerID == dayz_playerUID);
    			if(locked _cursorTarget) then {
    				if(_hasKey || _oldOwner) then {
    					_Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",[_cursorTarget,(_temp_keys_names select (parseNumber _ownerID))], 2, true, true, "", ""];
    					s_player_lockunlock set [count s_player_lockunlock,_Unlock];
    					s_player_lockUnlock_crtl = 1;
    				} else {
    					if(_hasHotwireKit) then {
    						_Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true, "", ""];
    					} else {
    						_Unlock = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",_cursorTarget, 2, true, true, "", ""];
    					};
    					s_player_lockunlock set [count s_player_lockunlock,_Unlock];
    					s_player_lockUnlock_crtl = 1;
    				};
    			} else {
    				if(_hasKey || _oldOwner) then {
    					_lock = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",_cursorTarget, 1, true, true, "", ""];
    					s_player_lockunlock set [count s_player_lockunlock,_lock];
    					s_player_lockUnlock_crtl = 1;
    				};
    			};
    		};
    		 
    	} else {
    		{player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
    		s_player_lockUnlock_crtl = -1;
    	};
    

    To

    	// Allow Owner to lock && unlock vehicle 
    	_iHave = magazines player;
    	_hasLicense = if ("CDF_dogrags" in _iHave) then { true } else { false };
    
    	if(_player_lockUnlock_crtl) then {
    		if (s_player_lockUnlock_crtl < 0) then {
    			_hasKey = _ownerID in _temp_keys;
    			_oldOwner = (_ownerID == dayz_playerUID);
    			if (_hasLicense) then {
    				if(locked _cursorTarget) then {
    					if(_hasKey || _oldOwner) then {
    						_Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",[_cursorTarget,(_temp_keys_names select (parseNumber _ownerID))], 2, true, true, "", ""];
    						s_player_lockunlock set [count s_player_lockunlock,_Unlock];
    						s_player_lockUnlock_crtl = 1;
    					} else {
    						if(_hasHotwireKit) then {
    							_Unlock = player addAction [format[localize "STR_EPOCH_ACTIONS_HOTWIRE",_text], "\z\addons\dayz_code\actions\hotwire_veh.sqf",_cursorTarget, 2, true, true, "", ""];
    						} else {
    							_Unlock = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_VEHLOCKED"], "",_cursorTarget, 2, true, true, "", ""];
    						};
    						s_player_lockunlock set [count s_player_lockunlock,_Unlock];
    						s_player_lockUnlock_crtl = 1;
    					};
    				} else {
    					if(_hasKey || _oldOwner) then {
    						_lock = player addAction [format[localize "STR_EPOCH_ACTIONS_LOCK",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",_cursorTarget, 1, true, true, "", ""];
    						s_player_lockunlock set [count s_player_lockunlock,_lock];
    						s_player_lockUnlock_crtl = 1;
    					};
    				};
    			} else {
    				_cantDrive = player addaction[("<t color=""#c70000"">" + ("Requires License") +"</t>"),"",_cursorTarget, 10, false, false, "", ""];
    				waitUntil { speed player > 0 };
    				player removeAction _cantDrive;
    				_cantDrive = -1;					 
    			};
    		};
    		 
    	} else {
    		{player removeAction _x} count s_player_lockunlock;s_player_lockunlock = [];
    		s_player_lockUnlock_crtl = -1;
    	};
    

    This will set it so unlicensed player cannot unlock cars. However if the car is unlocked they can access it and drive it unlicensed. If it is set otherwise then you wouldn't be able to have passengers. This has no effect on non key vehicles, and limiting vehicle traders to only selling to those who possess a license is a different story and its a bit over my head.

  2. I have a suggestion. With the banking system why is there no telephones or mac machines at the traders? I am in the process of stocking my servers traders in the spawns. If players can get to their banked krypto they can get geared up before leaving. Before the servers were available to rent,I was shot several times leaving the traders at spawn. This would include debug island.

    Pretty sure you could add them server side with ease. I havent done any A3 modification yet myself, But if the pbo is anything like A2 epoch it's a piece of cake.

  3. .

     

    I just put in 2.2.0 beta and we have a few people banging away at it... I put it in vanilla along with DZMS, which I've had running for awhile now.   One thing that started up after I put in WAI is we're getting the message "You cannot play/edit this mission;  it is dependent on downloadable content that has been deleted.  ussr_cheytac."

     

    I've had "ussr_cheytac"; in my mission.sqm file for a long time.  This only started after adding WAI.  We'd never gotten that message before.   Any ideas?

     

    Thanks,

    Bob

     

    Well you say in vanilla, so i hear non epoch dayz mod. If you have the ussr in any config of WAI you will get that message no matter what since its an Overwatch/Overpoch specific weapon, Maybe im reading this wrong but if its DayZ 1.8.3 you need to remove it from mission.sqm,  WAI, and any occurrence in the database to clear that message.

     

     

     

     

     

    I've had the beta running well for a month now, yesterday I had an odd occurrence.

     

    At one mission the players asked for help because they thought all the AI were dead, but were not getting the loot spawning in the crate. I used some admin tools which allowed me to see the AI on the map - they were over 1000 meters away from the mission and moving further away. After I killed them, the loot spawned.

     

    I'm wondering if there is a way to prevent this in the future?

     

    Otherwise, everything is working great!

     

    There has been an update to the beta. 2.2.0 v3 maybe a week or 2 ago It's posted a cpl pages back. The combat behavior was changed. 

  4.  

    Here Ai are easywith max config difficulty, one shoot they die, my other missions run with Ai where if u shoot him, they stand up later, must shoot few times before they die. Then u can say Ai is very difficul.

     

     

    The AI may die easily, but on a proper performing server they will head shot you at 1000+ m on max dif. And the static turrets much farther. This along with large numbers of AI in my opinion makes up for one shot kills, and depending on weapon, and distance. It's not always a one shot kill. If your AI stand up after taking a cheytac or a m107 round then something is wrong =] On some of my missions if you engage them within 600m there is no chance you will make it.

  5. Very nice guide, anyone know where I could find a good guide on setting up an Arma3 Epoch server? .. any tips would be welcome!

    same thing basically. make a folder on your desktop copy and paste the contents of steam\steamapps\common\arma 3  then add client files copy in server files overwrite if prompted. Look though folders, any ReadMe you see and configs. Most info and configs are found in BC folder. It's much easier than a DayZ Epoch server.

  6. Pay for healing -Default Currency- 

     

    Updateded! I forgot to add the fix broken legs bit. As well as some others For those who have already installed this. Just replace the playerHeal.sqf with the new one in the link.

    I have updated the link a couple of times now lol. This will now heal/reset and save blood amount, wounds, broken limbs, pain level, and sickness. 

     

     

    Future: Food and hydration also set to full.

     

     

    Credits to   GaspArt  for the original idea! For his coin currency version go

    Credits & thanks to Krixes @ http://opendayz.net for his self bloodbag script and letting me use his healing method.

     

     

     

    What it does:

    Places an AI at a specific location that will heal you for one gold if not in combat.

    This script does give change although if you use silver it has to be a full brief.

    To many combos of silver to write.

     

     

    You will need

    playerHeal.sqf get it HERE

    A tool for unpacking pbos. (I recommend pbo manager from armaholic)

    A custom fn_selfActions.sqf

    A custom variables.sqf

     

     

    NOTE!: Im not 100% sure which addon this Ai skin is from, due to my trader addons it just happens to be the last available medic.

    To change which AI is used just change the classname from "GER_Soldier_Medic_EP1" to any available AI skin you have. Note that if you intend to add this to a pre existing AI you'll skip the mission.sqf step and just find the classname of the ai you intend to use and replace it in the fn_selfActions part.

     

    Let's do this shall we?

     

     

    1st off, Place the playerHeal.sqf you downloaded in a folder a called "custom" -no quotes- in the root of your mission pbo/folder. (I you have one already then use the pre-existing)

     

     

     

    Open up your custom variables.sqf look for 

    //Player self-action handles
    dayz_resetSelfActions = {
          s_player_fire =			-1;
          s_player_cook =			-1;
          s_player_boil =			-1;
          s_player_fireout =		-1;
          s_player_butcher =		-1;
          s_player_packtent = 	        -1;
          ................
          ..........
    }; 

    and at the bottom of that array you need to put:

    s_playerHeal = -1;
    

    We're done with variables.

     

     

    Now we need to open up fn_selfActions.sqf and find this block of variables:

    	_isVehicle = _cursorTarget isKindOf "AllVehicles";
    	_isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"];
    	_isnewstorage = _typeOfCursorTarget in DZE_isNewStorage;
    

    A space below them place:

    // AI heal start
    if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "GER_Soldier_Medic_EP1")) then {
    	if (s_playerHeal < 0) then {
                s_playerHeal = player addaction["Heal for 1 gold","custom\getHealed.sqf","",15,false,true,"", ""];
    			waitUntil { speed player > 0 };
    			player removeAction s_playerHeal;  // Stops player from being able to target AI healer and heal elsewhere later on
    			s_playerHeal = -1;
            };
        } else {
            player removeAction s_playerHeal;
            s_playerHeal = -1;
        };	
    // AI heal end
    

    You should have something like this:

    	_isVehicle = _cursorTarget isKindOf "AllVehicles";
    	_isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"];
    	_isnewstorage = _typeOfCursorTarget in DZE_isNewStorage;
    	
    // AI heal start
    if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "GER_Soldier_Medic_EP1")) then {
    	if (s_playerHeal < 0) then {
                s_playerHeal = player addaction["Heal for 1 gold","custom\getHealed.sqf","",15,false,true,"", ""];
    			waitUntil { speed player > 0 };
    			player removeAction s_playerHeal;  // Stops player from being able to target AI healer and heal elsewhere later on
    			s_playerHeal = -1;
            };
        } else {
            player removeAction s_playerHeal;
            s_playerHeal = -1;
        };	
    // AI heal end
    	
    	// get items && magazines only once
    	_magazinesPlayer = magazines player;
    
    	//boiled Water
    	_hasbottleitem = "ItemWaterbottle" in _magazinesPlayer;
    	_hastinitem = false;
    	{
    

     

     

    That's all for fn_selfActions

     

     

    Now for the last part. Unpack your dayz_server.pbo and in missions\YourMission\ open up mission.sqf  & place:

         _unit_1525 = objNull;
    if (true) then
    {
      _this = createAgent ["GER_Soldier_Medic_EP1", [15529.1,8508.58,0.018], [], 0, "CAN_COLLIDE"];
      _unit_1525 = _this;
      _this setDir 1.60;
      _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
      _this setUnitAbility 0.60000002;
      _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
    

    at the bottom a space above   processInitCommands;   and at least a space below the last    }; If you already have trader additions then just place it with your other additions making sure the unit # is unique.

    Note that these coords are in a random tent in Taviana (origins version). Change them to suit your needs. You can add as many as you like just make sure they dont have the same unit number. I just did one for reference.

     

    That should be it!!

     

    Repack, upload, get gold, get hurt, & get HEALED!

     

    #2 from oSoDirty, Hope y'all enjoy!

  7. I remember an issue on server i play on when they implemented a new safezone script that used speed limits, and when using the tp function in or out of traders, or changing clothes (which effectively is a teleport to debug and back)

    inside traders caused some funk with god mode. Players would have god outside of trader and admins gods weren't working. Not sure which script, but it had something to do with speed limits.

  8. Lol, Never claimed to you gump. Do you have downs?!? You came in here running your cocksucker making assumptions and putting words in my mouth since you have nothing better to do with your time. im done here, enjoy your miserable life of loneliness in your moms basement troll. Since you have so much time on your hands to tend to nothing at all, take a look my posts, see how much i whine... or see that they are releases of some sort or fixing others errors. Degenerate.

    The only shit you have ever talked in the hmm i assume 12?? years of your life has been over a forum/chat or a microphone.

  9. How does this work ?

     

    if im renting a few servers

    do i put the login details of my first sql server database to connect too and then upload the dll to both servers through ftp?

    Is it the file HiveExt.dll ?

    what do you open the HiveExt file with ?

     

    Could you please do a tutorial thanks

    Pretty sure you just go into the HiveExt of each server and point them at the same database. May be a more to it, but i know at very least you'll  have to do that.

  10. By no means was I trying to say you were a noob, sorry if you thought that. This is a very heated topic right now with many treads about it. What most are not looking at is the fact that server owners will have the option to remove it or use it. This will make it so you will be able to find a server without it once we get past Alpha.

     

    Just give it time all. 

    No worries. I didn't think that at all. Thanks for the info. =]

  11. Lets read your original post again?

     

    looks like moaning, smells like moaning, ohh.......... it is moaning, you crude little boy.

     

    Make your own tool then you tool. if you are so awesome at making things and you hate it that much because it's not suited to YOU. Then change it, make your own and quit moaning like a bitch.

     

    Or post more about how you hate having to scroll.

     

    You utter penis.

     

    LOL typical douchebag computer gangster. Do something useful or helpful, or GTFO the forum.

  12. Well, pardon my noobness to pc addons. I guess im too used to being ripped off by console map packs XD

     

    I guess in a zed free environment a go kart may be useful lol, Most cars aren't much for bullet resistance anyway. so i guess agility would be key. 

  13. change the layout to big, or somethign else, they will pop up then

     

    Thank you, Zupa

     

    How might i change the layout? I do notice the red lines on menu border, the right side doesn't square off and do on the left. But my UI and debug in game are spot on. Option i'm too blind to see in menu? lol or maybe the config?

  14. Funny, i get updates emailed to me whenever he releases them. Then again i dont send him snotty emails demanding updates and so forth like the majority of folks probably do that dont get updates when THEY want. i also think if you had the ability to do his job you would? but im also guessing you can't so instead you moan when  he doesnt tailor it to you?

     

     

    How about, shut the fuck up, not make assumptions, not once have I EVER sent him a snotty email, nor has my co-owner. How about taking yourself somewhere with the rest of the clueless noob forum trolls. I asked a simple question. I made no demands. I get my updates within 10 min of email. I simply stated i miss the scroll boxes and inquired for other options. If i wanted to make an anti hack i would. Instead i use my time making things that there isnt 1000 of.

  15. Is it a home Dedi? If so, it's  100%  for sure a port issue

    Sorry missed the GTX part.

     

     

    This is a very odd issue, I have only seen this (backwards- only see from in game lobbies, not steam or any 3rd party Launcher) once before. And it was steam ports. But if its a GTX server, i would get on the line with themand have them look into it, I can't imagine there is much if anything you can do yourself to fix what really seems to be a port issue on a rented server.

×
×
  • Create New...