Jump to content

Hux

Member
  • Posts

    552
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Hux

  1. I'm trying to setup a Taviana 2.0 server.

    It's a rented server with Streamline servers.

    I've uploaded Taviana 2.0 to the server root.

    My server start line: -ip=160.202.164.27 -port=2332 -cpuCount=2 -config=server.cfg -cfg=basic.cfg -profiles=Profile -name=server -world="Tavi" -mod=@Taviana;@DayZ_Epoch;@DayZ_Epoch_Server

    I searched forum and discovered this start parameter example:

    start "arma2" /min "arma2oaserver.exe" -port=2302 "-config=instance_13_Tavi\config.cfg" "-cfg=instance_13_Tavi\basic.cfg" "-profiles=instance_13_Tavi" -name=instance_13_Tavi "-mod=@Taviana;@DayZ_Epoch;@DayZ_Epoch_Server;"

    Not sure about Instance part is this required?

    -config=instance_13_Tavi\config.cfg" "-cfg=instance_13_Tavi\basic.cfg" "-profiles=instance_13_Tavi" -name=instance_13_Tavi 
  2. Hello, I can't seem to find any info on the Epoch satellite event.

    I'm not sure what to do with the satellite. I tried to examine and also use inventory but I see nothing and no action menu option.

    What is the objective for this event?

     

    Thank you.

  3. I just updated to Epoch 1.0 and noticed my command menu doesn't appear any more. I'm using AI recruit script so I need it to command AI.

    What would be blocking command menu in this update?

     

    Thank you.

  4. Hello.

    I've recently noticed some new buildings on my Tanoa server (Grid: 107107).

    I have no idea where they came from so I thought maybe one of my mission systems was spawning it but after disabling each mission system the buildings remain.

    I also checked in the editor and made sure they weren't part of the Tanoa map...they aren't.

    They are very sloppy in their placement also, so they don't look like they belong there.

    Here are some pics:

    http://tinypic.com/m/k1t8om/4

    http://tinypic.com/m/k1t8oh/4

    http://tinypic.com/m/k1t8ok/4

    http://tinypic.com/m/k1t8oj/4

    Anyone here running Tanoa have these buidings?

    Very strange...

     

    Thank you.

     

  5. 9 minutes ago, Ghostrider-DbD- said:

    The fighters roam around quite a bit. Testing this now.

    I mean spawn far away like in WAI missions (They spawn in SW corner of the map and travel to mission).

    Also I wanted to ask about a strange bug. Sometimes the AI at missions seem to be frozen in place. They seem to be dead but are still standing and aiming their rifles...very strange.

    Thanks.

  6. 2 hours ago, Ghostrider-DbD- said:

    I just checked the master Version 6.60 now Build 69 on an EpochExperimental server and it seemed to be fine.

    Adding the option to spawn multiple heli's, figher's, or UAV to add the the drama hehe for Verision 6.61.

    That sounds great.

    Is it possible to have the support aircraft spawn a distance away from mission so it has to travel to it and surprise the players doing the mission?

  7. Hello.

    Yesterday (about the time we got the A3 update) I started having problem joining my server.

    When I try to join I spawn in next to my character (near the ground) and eventually get the "Authentication Failed, Disconnect and try again" message.

    Other players can join and play the server no problem.

    I tried verifying my game and deleting my profile to make a new one but this didn't work. I also tried reinstalling A3.

    Here is my Client and Server rpt:

    https://www.dropbox.com/s/2yfll135a4mexx4/Client.rpt?dl=0

    https://www.dropbox.com/s/lkooqg32n5oa77p/Server.rpt?dl=0

    Thank you.

    Edit: Working now. I removed most of my mods and was able to join. Then I added the mods back one by one and it seems to be fine now...no idea...

  8. 3 hours ago, natoed said:

    Hey Hux

    you need to edit HS_playertraderequest.sqf regarding the vehicle slot check  to be able to sell the vehicles to the black market trader.

     

      Hide contents
    
    
    /*
    
    	a3 epoch trader
    	HS_playertraderequest.sqf
    	by Halv & Suppe
    
    	
    */
    
    _arr = _this select 0;
    _player = _this select 1;
    _type = _this select 2;
    
    
    _message = "";
    
    switch(_type)do{
    	case 1:{
    		//[classname,price,tax,config,txt,libtxt,pic,bis1,bis2(,vehicle)]
    		_return = 0;
    		{
    			_obj = _x select 9;
    			
    			if((owner _obj) isEqualTo (owner _player))then{
    		//damage price reductions, the price is divded by this number
    				_damagepricereduction = switch(true)do{
    							//damaged over 90%
    					case ((damage _obj) > 0.9):{10};
    							//damaged over 75%
    					case ((damage _obj) > 0.75):{5};
    							//damaged over 50%
    					case ((damage _obj) > 0.5):{3};
    							//damaged over 25%
    					case ((damage _obj) > 0.25):{1.5};
    					default {1};
    				};
    				_vehSlot=_obj getVariable["VEHICLE_SLOT","ABORT"];
    				_isrental = _obj getVariable ["HSHALFPRICE",0];
    				if(!(_vehSlot isEqualTo "ABORT") && !(_isrental in [1,2]))then{
    					_message = _message + format["%1 is OK to sell, dam: %2 pricemod: %3 || ",_x select 4,damage _obj,_damagepricereduction];
    					removeFromRemainsCollector[_obj];
    					deleteVehicle _obj;
    					_vehHiveKey=format["%1:%2",(call EPOCH_fn_InstanceID),_vehSlot];
    					_VAL=[];
    					["Vehicle",_vehHiveKey,_VAL]call EPOCH_fnc_server_hiveSET;
    					EPOCH_VehicleSlots pushBack _vehSlot;
    					EPOCH_VehicleSlotCount=count EPOCH_VehicleSlots;
    					publicVariable "EPOCH_VehicleSlotCount";
    					_cost = ((_x select 1)/_damagepricereduction);
    					_return = _return + _cost;
    				}else{
    					//if(_isrental > 0)then{
    						_message = _message + format[" || %1 'Rental/Mission Vehicle' is OK to sell, dam: %2 pricemod: %3",_x select 4,damage _obj,_damagepricereduction];
    						removeFromRemainsCollector[_obj];
    						_obj setVariable["VEHICLE_SLOT","ABORT",true];
    						_obj setVariable["HSHALFPRICE",0,true];
    						_obj call HALV_PurgeObject;
    						_cost = ((_x select 1)/_damagepricereduction);
    						_return = _return + _cost;
    					/*
    					}else{
    						//_message = _message + format[" || - ERROR Attempt to sell %1 twice -",_x select 4,_player];
    					}; 
    					*/
    				};
    			}else{
    				_message = _message + format[" || %1 Not yours (get in as driver to sell)",_x select 4];
    			};
    //			diag_log format["[HSBlackmarket] %1 | %2",_player,_x];
    		}forEach _arr;
    		if(_return > 0)then{
    			[_player,round _return]call HALV_server_takegive_crypto;
    		};
    		_message = format["Return: %3 Crypto (%1) %2",_return,_message,_player];
    		diag_log format["[HSBlackmarket] %1 selling %2",_player,_arr];
    	};
    	case 2:{
    		if(EPOCH_VehicleSlotCount <= 0)exitWith{
    			_message = format["Could not buy a %1, too many vehicles on the map!",_arr select 4];
    		};
    		_spot = nearestObjects [_player, ["Land_HelipadCivil_F","Land_HelipadCircle_F","Land_HelipadEmpty_F","Land_HelipadSquare_F"],400];
    //		_spot = nearestObjects [_player, ["Land_HelipadCivil_F","Land_HelipadCircle_F","Land_HelipadEmpty_F","Land_HelipadSquare_F","Land_JumpTarget_F"],400];
    		_nospace = false;
    		if(count _spot < 1)then{
    			_canbewwater = if((_arr select 0) isKindOf "Ship")then{1}else{0};
    			_spot = [getPos _player,5,125,0,_canbewwater,2000,0] call BIS_fnc_findSafePos;
    			if(_spot distance _player > 125)exitWith{_nospace = true;};
    		}else{
    			_spot = getPosATL (_spot select 0);
    		};
    		if(_nospace)exitWith{_message = format["Could not buy a %1, not enough space nearby!",_arr select 4];};
    		_slot=EPOCH_VehicleSlots select 0;
    		EPOCH_VehicleSlots = EPOCH_VehicleSlots - [_slot];
    		EPOCH_VehicleSlotCount = count EPOCH_VehicleSlots;
    		publicVariable "EPOCH_VehicleSlotCount";
    		_veh = createVehicle[(_arr select 0),_spot,[],0,"NONE"];
    		_veh call EPOCH_server_setVToken;
    		addToRemainsCollector[_veh];
    		_veh disableTIEquipment true;
    		clearWeaponCargoGlobal _veh;
    		clearMagazineCargoGlobal _veh;
    		clearBackpackCargoGlobal _veh;
    		clearItemCargoGlobal _veh;
    		_veh lock true;
    		_lockOwner=getPlayerUID _player;
    		_plyrGroup=_player getVariable["GROUP",""];
    		if !(_plyrGroup isEqualTo "")then{
    			_lockOwner=_plyrGroup;
    		};
    		_vehLockHiveKey=format["%1:%2",(call EPOCH_fn_InstanceID),_slot];
    		["VehicleLock",_vehLockHiveKey,EPOCH_vehicleLockTime,[_lockOwner]]call EPOCH_fnc_server_hiveSETEX;
    		_colorsConfig=configFile >> "CfgVehicles" >> (_arr select 0) >> "availableColors";
    		if(isArray(_colorsConfig))then{
    			_textureSelectionIndex=configFile >> "CfgVehicles" >> (_arr select 0) >> "textureSelectionIndex";
    			_selections=if(isArray(_textureSelectionIndex))then{getArray(_textureSelectionIndex)}else{[0]};
    			_colors=getArray(_colorsConfig);
    			_textures=_colors select 0;
    			_color=floor(random(count _textures));
    			_count=(count _colors)-1;
    			{
    				if(_count >=_forEachIndex)then{
    					_textures=_colors select _forEachIndex;
    				};
    				_veh setObjectTextureGlobal[_x,(_textures select _color)];
    			}forEach _selections;
    			_veh setVariable["VEHICLE_TEXTURE",_color];
    		};
    		_veh setVariable["VEHICLE_SLOT",_slot,true];
    		_veh call EPOCH_server_save_vehicle;
    		_veh call EPOCH_server_vehicleInit;
    		_veh call HS_weaponsrestriction;
    
    		_itemWorth = (_arr select 1);
    		_itemTax = (_arr select 2);
    		_tax = _itemWorth * (EPOCH_taxRate + _itemTax);
    		_calced = ceil(_itemWorth + _tax);
    
    		[_player,_calced*-1]call HALV_server_takegive_crypto;
    
    		_message = format["You Bought a %1",_arr select 4];
    		diag_log format["[HSBlackmarket] %1 | %2",_player,_arr];
    	};
    	case 3:{
    		_spot = nearestObjects [_player, ["Land_HelipadCivil_F","Land_HelipadCircle_F","Land_HelipadEmpty_F","Land_HelipadSquare_F","Land_JumpTarget_F"],100];
    		_nospace = false;
    		if(count _spot < 1)then{
    			_canbewwater = if((_arr select 0) isKindOf "Ship")then{1}else{0};
    			_spot = [getPos _player,5,125,0,_canbewwater,2000,0] call BIS_fnc_findSafePos;
    			if(_spot distance _player > 125)exitWith{_nospace = true;};
    		}else{
    			_spot = getPosATL (_spot select 0);
    		};
    		if(_nospace)exitWith{_message = format["Could not buy a %1, not enough space nearby!",_arr select 4];};
    		_veh = createVehicle[(_arr select 0),_spot,[],0,"NONE"];
    		_veh call EPOCH_server_setVToken;
    		addToRemainsCollector[_veh];
    		_veh disableTIEquipment true;
    		clearWeaponCargoGlobal _veh;
    		clearMagazineCargoGlobal _veh;
    		clearBackpackCargoGlobal _veh;
    		clearItemCargoGlobal _veh;
    		_veh lock true;
    		_colorsConfig=configFile >> "CfgVehicles" >> (_arr select 0) >> "availableColors";
    		if(isArray(_colorsConfig))then{
    			_textureSelectionIndex=configFile >> "CfgVehicles" >> (_arr select 0) >> "textureSelectionIndex";
    			_selections=if(isArray(_textureSelectionIndex))then{getArray(_textureSelectionIndex)}else{[0]};
    			_colors=getArray(_colorsConfig);
    			_textures=_colors select 0;
    			_color=floor(random(count _textures));
    			_count=(count _colors)-1;
    			{
    				if(_count >=_forEachIndex)then{
    					_textures=_colors select _forEachIndex;
    				};
    				_veh setObjectTextureGlobal[_x,(_textures select _color)];
    			}forEach _selections;
    			_veh setVariable["VEHICLE_TEXTURE",_color];
    		};
    		_veh call EPOCH_server_vehicleInit;
    		_veh call HS_weaponsrestriction;
    		_veh addEventHandler ["GetIn",{
    			HalvPV_player_message = ["titleText", ["[Warning]:\nnThis vehicle is a rental and will disappear on server restart!", "PLAIN DOWN"]];
    			owner(_this select 2) publicVariableClient "HalvPV_player_message";
    		}];
    		_veh setVariable["HSHALFPRICE",1,true];
    		_itemWorth = ((_arr select 1)/2);
    		_itemTax = (_arr select 2);
    		_tax = _itemWorth * (EPOCH_taxRate + _itemTax);
    		_calced = ceil(_itemWorth + _tax);
    		[_player,_calced*-1]call HALV_server_takegive_crypto;
    		_message = format["You Rented a Temporary %1 untill next restart\nIt is 'unlocked' so watch out for thieves!",_arr select 4];
    		diag_log format["[HSBlackmarket] %1 | %2",_player,_arr];
    	};
    };
    
    if !(_message isEqualTo "")then{
    	HalvPV_player_message = ["titleText", [_message, "PLAIN DOWN"]];
    	(owner _player) publicVariableClient "HalvPV_player_message";
    }else{
    	HalvPV_player_message = ["titleText", ["== HS Trader ERROR ==", "PLAIN DOWN"]];
    	(owner _player) publicVariableClient "HalvPV_player_message";
    };

     

    hope it helps

    cheers

    natoed

    Hey thanks natoed, I didn't expect a solution. I had tried a few things I found in the BM thread but had no success.

    Works great now .

  9. Just now, Ghostrider-DbD- said:

    I believe you can sell them at blackmarket traders if you wish. There are a few posts by Grahame around on this topic. It is not advisable to sell them at epoch traders as the game is configured. If Epoch were to be able to distiguish persistant from non-persistant vehicles then this would not cause any problems.

    Oh really. I have BM traders and was unable to sell.

    I'll check the class names to be sure they're in trader menu.

    Thank you.

  10. Just now, Ghostrider-DbD- said:

    The lines beginning with diag_log were commented out just to reduce uneccessary logging.

    The deleteMarker was commented out accidentally at one point, causing issues; I replaced it as you can see but now see that I had it twice. Too little sleep was the probable cause of this issue.

    I see, just curious. :)

    BTW, I've been meaning to ask...

    Will the mission vehicles be sellable sometime in the future?

    Thanks.

  11. 1 minute ago, Ghostrider-DbD- said:

    I think this was a bug in one recent build. Please double-check that you are using the latest files in the debug folder.

    I ended up using my old debug folder and it works fine.

    I saw this in the new deleteMarker.sqf :

    ////////////////////////////////////////////
    // Delete and change Mission Markers
    // 7/10/15
    // by Ghostrider-DbD-
    //////////////////////////////////////////
    // delete a marker
    
    //diag_log format["blck_fnc_deleteMarker:: _this = %1",_this];
    private["_markerName"];
    _markerName = _this select 0;
    //deleteMarker _markerName;
    _markerName = "label" + _markerName;
    deleteMarker _markerName;
    //diag_log format["deleteMarker complete script for _this = %1",_this];

    Why are those lines commented out?

  12. 5 hours ago, UtahJuanHERE said:

    I am wondering if I can get some help...I have everything working very well.  Multiple missions spawning very quickly and bots are tuned in well.  The only problem I have is the GRID marker won't ever despawn and when I have cycled enough missions, the new missions that do spawn won't have GRID markers, but they will have Bandit Patrol arrows and spawn as they normally should.  Max missions at one time on my server is 6.  Any ideas?

    Check your debug folder. Some of the lines in deleteMarker.sqf are commented out.

    I just recently updated and noticed this.

  13. 10 hours ago, natoed said:

    @Hux

    ur server rpt

    line 688 "Starting Custom Addons PBO"

    line 689  "Loading Static Loot Container Spawning System"

    empty out @epochhive\addons of everything except epoch_server.pbo, epoch_server_core.pbo and epoch_server_settings.pbo.

     

    also check password and ports number is the same in the following

    EpochServer.ini

    redis.conf

    BEServer.cfg  or  (if 64bit) BEServer_x64.cfg

    config.cfg - could be name server.cfg

    many have forgotten one or so, GTX have their own forum don't they, as they are quite different from most GPS from what I've read.

     

    cheers

    natoed

     

     

     

    I already did a fresh install of server and all seems to be good now.

    I did forget about the @epochhive stuff though so thanks for the suggestion.

×
×
  • Create New...