Jump to content

linkinpunk

Member
  • Content Count

    17
  • Joined

  • Last visited

  • Medals

Posts posted by linkinpunk


  1. On 11/21/2012 at 11:20 PM, LordJarhead said:

    Tonci came up with a nice idea how to get this to work.

    Start the CMD as Admin, then type: net user administrator /active:yes

    This will make the OS Admins Account available to use. Log off your current OS Account, switch to the master OS account and repeat the whole procedure to create your private key. After that, start CMD again, type net user administrator /active:no to disable the Admins Account while being back on your current OS Acc and all should be fine again ;)

    Worked for me with Win7 Ultimate, no ServicePacks or updates...

    LJ

    Great! This method still working for me in 2024 on Windows 10 LTSC.

    Thanks!


  2. init.sqf:

    Spoiler
    
    ALTMAP_Markers = ["Marker_0","Marker_1"];
    
    ALTMAP_ShowMarkerIfNear = {
    	Params ["_control", "_xPos", "_yPos"];
    	
    	private _MarkerDir = uiNamespace getVariable ["ALTMAP_MarkerDir", 0];
    	private _MarkerAdd = uiNamespace getVariable ["ALTMAP_MarkerAdd", +1];
    	private _MarkerSize = uiNamespace getVariable ["ALTMAP_MarkerSize", 2.0];
    	private _MarkerResz = uiNamespace getVariable ["ALTMAP_MarkerResize", -0.02];
    	
    	private _posMarkers = [];	
    	{_posMarkers set [count _posMarkers, getMarkerPos _x];} forEach ALTMAP_Markers;
    	
    	if (_MarkerDir < 2) then {_MarkerAdd = +1;};
    	if (_MarkerDir > 358) then {_MarkerAdd = -1;};
    	if (_MarkerSize < 1.2) then {_MarkerResz = +0.02;};
    	if (_MarkerSize > 1.8) then {_MarkerResz = -0.02;};
    	
    	_MarkerDir = _MarkerDir + _MarkerAdd;
    	_MarkerSize = _MarkerSize + _MarkerResz;
    	
    	uiNamespace setVariable ["ALTMAP_MarkerDir", _MarkerDir];
    	uiNamespace setVariable ["ALTMAP_MarkerAdd", _MarkerAdd];
    	uiNamespace setVariable ["ALTMAP_MarkerSize", _MarkerSize];
    	uiNamespace setVariable ["ALTMAP_MarkerResize", _MarkerResz];
    	
    	private _tmpScreenToWorld = _control ctrlMapScreenToWorld [_xPos, _yPos];
    	private _nearestMarkerPos = [_posMarkers,_tmpScreenToWorld] call BIS_fnc_nearestPosition;
    	private _tmpMarker = "ALTMAP_PathTo";
    	
    	if ((_nearestMarkerPos distance _tmpScreenToWorld)<25) then {
    		
    		if ((str (getMarkerPos _tmpMarker)) == "[0,0,0]") then {
    			_tmpMarker = createMarkerLocal ["ALTMAP_PathTo", _nearestMarkerPos];
    			playSound "Click";
    		};
    		_tmpMarker = "ALTMAP_PathTo";
    		_tmpMarker setMarkerPosLocal _nearestMarkerPos;
    		_tmpMarker setMarkerTypeLocal "selector_selectedMission";
    		_tmpMarker setMarkerColorLocal "ColorYellow";
    		_tmpMarker setMarkerTextLocal format ["Jump here!"];		
    		_tmpMarker setMarkerSizeLocal [_MarkerSize,_MarkerSize];
    		_tmpMarker setMarkerDirLocal _MarkerDir;
    	} else {
    		if (not ((str (getMarkerPos _tmpMarker)) == "[0,0,0]"))then {
    			deleteMarkerLocal _tmpMarker;			
    		};
    	};
    	true;
    };
    
    ALTMAP_Click = {
    	Params ["_control", "_button", "_xPos", "_yPos", "_shift", "_ctrl", "_alt"];
    	private _tmpScreenToWorld = _control ctrlMapScreenToWorld [_xPos, _yPos];
    	private _posMarkers = [];	
    	{_posMarkers set [count _posMarkers, getMarkerPos _x];} forEach ALTMAP_Markers;
    	private _nearestMarkerPos = [_posMarkers,_tmpScreenToWorld] call BIS_fnc_nearestPosition;
    	if ((_nearestMarkerPos distance _tmpScreenToWorld)<25) then {
    		player setPos _tmpScreenToWorld;
    	};
    };
    
    ALTMAP_CloseDisplay = {
    	Params ["_control"];
    	_display = ctrlParent _control;
    	_display CloseDisplay 2;
    };
    
    OpenAltMAP = {	
    	
    	_ATLMAP_Display = findDisplay 46 createDisplay "RscDisplayEmpty";
    
    	_ALTMAP_Background = _ATLMAP_Display ctrlCreate["RscText", 8001];
    	_ALTMAP_Background ctrlSetPosition [safezoneXAbs + 0.01, safezoneY + 0.1, safezoneWAbs - 0.02, safezoneH - 0.2];
    	_ALTMAP_Background ctrlSetBackgroundColor [0.03,0.03,0.09,0.345];
    	_ALTMAP_Background ctrlSetTextColor [0.99,0.99,0.99,1];	
    	_ALTMAP_Background ctrlCommit 0;
    	uiNamespace setVariable ["_ALTMAP_Background",_ALTMAP_Background];
    	
    	_ALTMAP_CloseButton = _ATLMAP_Display ctrlCreate["RscButton", 8002];
    	_ALTMAP_CloseButton ctrlSetPosition [safezoneWAbs - abs(safezoneXAbs) - 0.01 - 0.01 - 0.04, safezoneY + 0.12, 0.04, 0.04]; // X1: left border 0.01 + right border 0.01 + button width 0.04 + abs(safezoneWAbs), because safezoneWAbs can be negative value!1
    	_ALTMAP_CloseButton ctrlSetBackgroundColor [0.9,0.1,0.1,0];
    	_ALTMAP_CloseButton ctrlSetTextColor [0.99,0.99,0.99,1];
    	_ALTMAP_CloseButton ctrlSetText " < ";
    	_ALTMAP_CloseButton ctrlAddEventHandler ["MouseButtonClick", "_this call ALTMAP_CloseDisplay"];
    	_ALTMAP_CloseButton ctrlCommit 0;
    	uiNamespace setVariable ["_ALTMAP_CloseButton",_ALTMAP_CloseButton];
    	
    	_ALTMAP_MAP = _ATLMAP_Display ctrlCreate ["RscMapControl", 8003];
    	_ALTMAP_MAP ctrlSetPosition [safezoneXAbs + 0.02, safezoneY + 0.18, safezoneWAbs - 0.04, safezoneH - 0.42]; // Y1:0.1 + 0.04 (button height) + 0.2 (button top) + 0.2 (space); W:0.02 + 0.02 left/right border; H:0.18 from start + 0.2 Display bottom + 0.02 top space + 0.02 space bottom space
    	_ALTMAP_MAP ctrlSetBackgroundColor [0.1,0.1,0.1,1];
    	_ALTMAP_MAP ctrlSetTextColor [0.99,0.99,0.99,1];
    	_ALTMAP_MAP ctrlCommit 0;	
    	uiNamespace setVariable ["_ALTMAP_MAP",_ALTMAP_MAP];	
    	
    	_ALTMAP_MAP ctrlMapAnimAdd [0.75, 0.045, player];
    	ctrlMapAnimCommit _ALTMAP_MAP;
    	waitUntil {mapAnimDone};
    	_ALTMAP_MAP ctrlAddEventHandler ["MouseMoving", "_this call ALTMAP_ShowMarkerIfNear"];
    	_ALTMAP_MAP ctrlAddEventHandler ["MouseHolding", "_this call ALTMAP_ShowMarkerIfNear"];
    	_ALTMAP_MAP ctrlAddEventHandler ["MouseButtonClick", "_this call ALTMAP_Click"];	
    };
    
    
    player AddAction ["Open Map with animate markers", "_this call OpenAltMAP"];

     

    Example mission:

    https://yadi.sk/d/kM5vcZIuUzi8Cg


  3. Hello!

    Please sorry my english.

    But i have net truble.

    Linux: xUbuntu 14.04

    $ uname -a
    Linux linkinpunk-pc 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux

    and i try run arma 2 oa server with mod's from this topic.

    I install Steam, and auth.

    Install arma 2 oa with 1.63 (from windows steam).

    Run tolower.

    Configure starting script:

    export LD_LIBRARY_PATH=.:/usr/lib:$LD_LIBRARY_PATH;./server -port=8192 -netlog -server -mod="@dayz_epoch;@dayz_epoch_server;" -config="cfgdayz/server.cfg" -cfg="cfgdayz/basic.cfg" -beta="expansion/beta;expansion/beta/expansion" -noSound -noPause -world=Chernarus -profiles=cfgdayz -name=cfgdayz -cpucount=2 -exThreads=3 -showscripterrors -pid=8192.pid 2>&1 | ./writer.pl

    And run it:

    etting breakpad minidump AppID = 33930
    Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198149629425 [API loaded no]
    Item STR_EQUIP_NAME_41 listed twice
    Item STR_EQUIP_DESC_41 listed twice
    Updating base class ->NonStrategic, by Ca\config.bin/CfgVehicles/HouseBase/
    Updating base class ->HouseBase, by Ca\config.bin/CfgVehicles/Ruins/
    Updating base class ->DestructionEffects, by Ca\config.bin/CfgVehicles/House/DestructionEffects/
    Updating base class ->FlagCarrierCore, by ca\ca_pmc\config.bin/CfgVehicles/FlagCarrier/
    Updating base class ->VehicleMagazine, by ca\weapons\config.bin/CfgMagazines/14Rnd_FFAR/
    Updating base class ->PistolCore, by ca\weapons\config.bin/cfgWeapons/Pistol/
    Updating base class ->LauncherCore, by ca\weapons\config.bin/cfgWeapons/RocketPods/
    Updating base class ->RocketPods, by ca\weapons\config.bin/cfgWeapons/FFARLauncher/
    Updating base class ->Default, by ca\weapons\config.bin/cfgWeapons/ItemCore/
    Updating base class ->Citizen, by ca\characters2\config.bin/CfgVehicles/Citizen1/
    Updating base class ->SkodaBase, by ca\wheeled\config.bin/CfgVehicles/car_sedan/
    Updating base class ->UH60_Base, by ca\air\config.bin/CfgVehicles/MH60S/
    Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_Fire/
    Updating base class ->House, by ca\misc3\config.bin/CfgVehicles/Land_A_tent/
    Updating base class ->Camp_base, by ca\misc3\config.bin/CfgVehicles/ACamp/
    Updating base class ->Car, by ca\wheeled2\lada\config.bin/CfgVehicles/Lada_base/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Small_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street1_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lamp_Street2_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_Lampa_Ind_EP1/
    Updating base class StreetLamp_EP1->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_PowLines_Conc2L_EP1/
    Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl/
    Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_2/
    Updating base class StreetLamp_BaseMediumOrange->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_sidl_3/
    Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind/
    Updating base class StreetLamp_BaseWeakYellow->StreetLamp, by z\addons\dayz_code\config.bin/CfgNonAIVehicles/Land_lampa_ind_zebr/
    Updating base class RscStandardDisplay->, by z\addons\dayz_code\config.bin/RscDisplayStart/
    Updating base class RscShortcutButton->RscShortcutButtonMain, by z\addons\dayz_code\config.bin/RscDisplayMain/controls/CA_Exit/
    Updating base class RscText->, by z\addons\dayz_code\config.bin/RscTitles/Default/
    Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_villager1/
    Updating base class zZombie_Base->zZombie_new_Base, by z\addons\dayz_code\config.bin/CfgVehicles/z_worker1/
    Updating base class Soldier_Crew_PMC->Soldier_Bodyguard_M4_PMC, by z\addons\dayz_code\config.bin/CfgVehicles/SurvivorW2_DZ/
    Updating base class HighCommand->Logic, by z\addons\dayz_code\config.bin/CfgVehicles/HighCommandSubordinate/
    Updating base class ->ViewOptics, by z\addons\dayz_code\config.bin/CfgVehicles/Mi17_base/Turrets/MainTurret/ViewOptics/
    Updating base class HouseBase->, by z\addons\dayz_code\config.bin/CfgVehicles/House/
    Updating base class NonStrategic->BuiltItems, by z\addons\dayz_code\config.bin/CfgVehicles/Fort_RazorWire/
    Updating base class MeleeHatchet->MeleeWeapon, by z\addons\dayz_code\config.bin/CfgWeapons/MeleeCrowbar/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/29Rnd_30mm_AGS30/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/48Rnd_40mm_MK19/
    Updating base class 4000Rnd_762x51_M134->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/2000Rnd_762x51_M134/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/100Rnd_127x99_M2/
    Updating base class VehicleMagazine->CA_Magazine, by z\addons\dayz_code\config.bin/CfgMagazines/50Rnd_127x107_DSHKM/
    Updating base class Hatchet_Swing->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/crowbar_swing/
    Updating base class CA_Magazine->Melee_Swing, by z\addons\dayz_code\config.bin/CfgMagazines/Hatchet_Swing/
    Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_1L2/
    Updating base class Land_HouseV_1I2->House, by zero_buildings\config.cpp/CfgVehicles/Land_HouseV_3I3/
    Updating base class ->Plane, by ca\air2\mv22\config.bin/CfgVehicles/MV22/
    Updating base class ViewOptics->, by ca\air2\uh1y\config.bin/CfgVehicles/UH1_Base/Turrets/MainTurret/ViewOptics/
    Updating base class ->HouseBase, by ca\misc_e\config.bin/CfgVehicles/House/
    Updating base class ->Land_CamoNet_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNet_EAST_EP1/
    Updating base class ->Land_CamoNetB_EAST, by ca\misc_e\config.bin/CfgVehicles/Land_CamoNetB_EAST_EP1/
    Updating base class ->Sign_1L_Noentry, by ca\misc_e\config.bin/CfgVehicles/Sign_1L_Noentry_EP1/
    Updating base class ->Sign_circle, by ca\misc_e\config.bin/CfgVehicles/Helper_Base_EP1/
    Updating base class ->Rifle, by ca\weapons_baf\config.bin/cfgWeapons/BAF_AS50_scoped/
    Updating base class ->Rifle, by ca\weapons_e\config.bin/cfgWeapons/M60A4_EP1/
    Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_EP1/
    Updating base class ->M249, by ca\weapons_e\config.bin/cfgWeapons/M249_m145_EP1/
    Updating base class ->m107, by ca\weapons_e\m107\config.bin/CfgWeapons/m107_TWS_EP1/
    Updating base class ->M240, by ca\weapons_e\m240\config.bin/CfgWeapons/m240_scoped_EP1/
    Updating base class ->V3S_Base, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Base_EP1/
    Updating base class ->V3S_Base_EP1, by ca\wheeled_e\v3s\config.bin/CfgVehicles/V3S_Refuel_TK_GUE_EP1/
    Updating base class House->DZE_OpenHouse, by warehouse\config.bin/CfgVehicles/Land_Ind_Pec_03/
    Updating base class ->C130J_base, by ca\air_e\config.bin/CfgVehicles/C130J_US_EP1/
    Updating base class ->Helicopter, by ca\air_e\ah6j\config.bin/CfgVehicles/AH6_Base_EP1/
    Updating base class ->Plane, by ca\air_e\an2\config.bin/CfgVehicles/An2_Base_EP1/
    Updating base class ->CH47_base_EP1, by ca\air_e\ch47\config.bin/CfgVehicles/CH_47F_EP1/
    Updating base class ViewOptics->, by ca\air_e\uh1h\config.bin/CfgVehicles/UH1H_base/Turrets/MainTurret/ViewOptics/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Crew_PMC/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_TL_PMC/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_M4_PMC/
    Updating base class ->Soldier_Base_PMC, by ca\characters_pmc\config.bin/cfgVehicles/Soldier_Bodyguard_AA12_PMC/
    Updating base class ->BAF_Soldier_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_W/
    Updating base class ->BAF_Soldier_L_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_L_W/
    Updating base class ->BAF_Soldier_Officer_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_Officer_W/
    Updating base class ->BAF_Soldier_SniperH_MTP, by ca\characters_w_baf\config.bin/CfgVehicles/BAF_Soldier_SniperH_W/
    Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_UN_EP1/
    Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_UN_EP1/
    Updating base class ->M113Ambul_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113Ambul_TK_EP1/
    Updating base class ->M113_Base, by ca\tracked_e\m113\config.bin/CfgVehicles/M113_TK_EP1/
    Updating base class ->Helicopter, by ca\air_d_baf\config.bin/CfgVehicles/BAF_Merlin_HC3_D/
    0:25:20 Dedicated host created.
    0:25:21 Host identity created.

    But i can't connect to my server.

    And i check openned ports when server is run, but port 8192 not openned:

    root@linkinpunk-pc:~# sudo netstat -tnlp
    Ðктивные ÑÐ¾ÐµÐ´Ð¸Ð½ÐµÐ½Ð¸Ñ Ñ Ð¸Ð½Ñ‚ÐµÑ€Ð½ÐµÑ‚Ð¾Ð¼ (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State       PID/Program name
    tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      1018/dnsmasq    
    tcp        0      0 127.0.0.1:3350          0.0.0.0:*               LISTEN      1003/xrdp-sesman
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      859/sshd        
    tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      2495/cupsd      
    tcp        0      0 0.0.0.0:27036           0.0.0.0:*               LISTEN      5803/steam      
    tcp        0      0 0.0.0.0:27037           0.0.0.0:*               LISTEN      5803/steam      
    tcp        0      0 0.0.0.0:3389            0.0.0.0:*               LISTEN      988/xrdp        
    tcp        0      0 127.0.0.1:57343         0.0.0.0:*               LISTEN      5803/steam      
    tcp        0      0 0.0.0.0:6210            0.0.0.0:*               LISTEN      1418/X11rdp     
    tcp        0      0 0.0.0.0:6211            0.0.0.0:*               LISTEN      2098/X11rdp     
    tcp        0      0 127.0.0.1:6502          0.0.0.0:*               LISTEN      1608/murmurd    
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      970/mysqld      
    tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      3033/x11vnc     
    tcp6       0      0 :::22                   :::*                    LISTEN      859/sshd        
    tcp6       0      0 ::1:631                 :::*                    LISTEN      2495/cupsd      
    tcp6       0      0 :::64738                :::*                    LISTEN      1608/murmurd    
    tcp6       0      0 :::5900                 :::*                    LISTEN      3033/x11vnc     

    And when i try to connect to my server, i have "Waiting for host" long time...

    Any idea?

    P.S. Please sorry my english.

×