Jump to content

auzgamer

Member
  • Posts

    84
  • Joined

  • Last visited

Posts posted by auzgamer

  1. *Note this will only work with door Management script as it needs to pull your gui so you can unlock the door without the code*

     

    Random Door Codes (manual code entry will not work on doors anymore, random chance you'll hit the right code)

    Takes 20% of your food and water every attempt

     

    Custom\doorManagement\player_unlockDoorCode.sqf

     

     

    Here's the changes:
     
    // get object combination
    _objectCharacterID  = _obj getVariable ["CharacterID","0"];
     
    //Yeah, let's just go ahead and make this incredibly hard
    _doorRandomCode = floor(random 100); //Change the number value to higher if you want tougher lock
    _playerRandomCode = floor(random 100); //Make sure numbers are the same, otherwise player would have less chance to get it
     
    // Check combination
    //if (DZE_Lock_Door == _objectCharacterID) then {
    if (_doorRandomCode == _playerRandomCode) then { //So we're just gonna ignore what the player put in and use two random numbers
     
    [player,"combo_unlock",0,false] call dayz_zombieSpeak;
     
    
    Credit goes to apoc
  2. what does this script do?

     

    The loyalty system rewards players who play on your server with 10000 coins after an 30 minutes this amount is multiplied by 1 every 30 minutes (can be configured how ever you like)

     

    http://prntscr.com/6m1qql

     

     

    To install copy the code below and name it fn_rewardLoyalty.sqf and place it in your mission pbo

    multiPlyWith = 1;
    _i=0;
    
    while {_i < 7} do
    {
    	if ( _i == 1) then 
    	{
    		_reward = (10000 * multiPlyWith);
    		player setVariable ["cashMoney", ((player getVariable ["cashMoney", 0]) + _reward), true];
    		_msg = parseText format ["<t align='center' color='#FFFFFF' shadow='2' size='1.75'>Loyalty time reward!</t><br/><t align='center' color='#17FF41'>------------------------------</t><br/><t align='center' color='#FFFFFF'>%1 thank you for playing on Mayhem! Your loyalty has been rewarded with: </t><t align='center' color='#40FF00'>$%2</t>", name player, _reward];
    		hint _msg;
    		multiPlyWith = multiPlyWith + 1;
    		_i = 0;
    	};
    	sleep 1800;
    	_i = _i + 1;
    };
    

    open your init and call it using 

    execVM "Custom\fn_rewardLoyalty.sqf"

     change the path if you do not use a custom folder.

     

    just configure how often and how much a player gets in the rewardloyalty.sqf

     

    This was used in arma 3 so i give credit to the original author JoSchaap i only got it working in arma 2.

    it wont let upload a screen shot so you will have to install to see it.

     

    Enjoy 

  3. Hello there, well i run my own 42 Slot server with a custom map, reduced spawn rate but more objects. I see lots of 30 Slot servers with 500 vehicles + or loot ++ in the name. Same for extreme spawn rates for drones and Sappers.

     

    Seriously, whats the point here? I can't understand why somebody would like to bore the shit ouf the game. Do you guys really prefer such servers over more "hardcore" servers?

    and how many people play on your server? The heavily modded servers are the ones with all the player as much as you don't like it that's how its going to be unfortunately.  

  4. i done it like this
     
    //Elektro
    _this = createMarker ["atm3", [8168.665, 9027.165, -0.072704464]];
    _this setMarkerText "ATM";
    _this setMarkerType "Dot";
    _this setMarkerBrush "Solid";
    _marker_1300 = _this;
     
    //Guglovo
    _this = createMarker ["ATM2", [5759.5435, 7466.9927, -0.069170587]];
    _this setMarkerText "ATM";
    _this setMarkerType "Dot";
    _this setMarkerBrush "Solid";
    _marker_1700 = _this;
     
    place this in your init
    [] execVM "Buildings\markers.sqf";
  5. Thanks for the workaround - this was indeed a surprise. LOL for the folks who didn't know about Hosts file - guess the newer generation doesn't know everything!

     

    'tis indeed a sad day when a dev feels it necessary to stop supporting a product, but I do understand his feelings.

    i have a real life so don't work on computers 24/7 not everyone is as smart as you and knows everything about configuring servers.

    Remember this is a community server to help each other out if we all new everything about setting up servers and configuring them then there would be no point of this forum.

  6. i already have a init.sqf in my pbo. should i paste

     if (isServer) then {

    fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "custom\LSpawner\fn_LSgetBuildingstospawnLoot.sqf";

    LSdeleter = compile preProcessFileLineNumbers "custom\LSpawner\LSdeleter.sqf";

    execVM "custom\LSpawner\Lootspawner.sqf";

    }; 

    inside of it.. or should i still make another init.sqf then place the code?

    just paste it in the one you already have works all the same

×
×
  • Create New...