Jump to content

ITr1ckst3rI

Member
  • Posts

    7
  • Joined

  • Last visited

Posts posted by ITr1ckst3rI

  1. I haven't had the time. It is still planned, but I just started modding again. I had so much work with school and had to put off this and youtube for a while.

    Yea i hear ya, hope finals went well. To think its been a year already it crazy. I still think binding the username and looping through the player list causing the freeze where the play matches the name should work. However... you know how annoying BIS scripting is.

     

    EDIT:

    if ( !((getPlayerUID player) in AdminList) && !((getPlayerUID player) in ModList)) then 
    {
      [] execVM "admintools\antihack\antihack.sqf"; // Epoch Antihack with bypass
    };
    

    Should be ?

    if ( !((getPlayerUID player) in SuperAdminList) && !((getPlayerUID player) in AdminList) && !((getPlayerUID player) in ModList)) then 
    {
      [] execVM "admintools\antihack\antihack.sqf"; // Epoch Antihack with bypass
    };
    

    ??

     

    EDIT 2:

    Fresh install, Server still cleaning me up even with the MalSar variable check.

     

    Spawned Temp Vehicle. Checked the SQF for it

    _veh setVariable ["MalSar",1,true];

    okay so that's good. 

    Unblocked all DLLs as well. Some interesting symptoms is that it wont kill me right off the bat, i can fly around for about 1 minute or so before the system kicked off the clean up.

     

    Exiting the Check Here

    if (_object getVariable "MalSar" == 1) exitWith {};
    if (!_parachuteWest && !(locked _object)) then {

    RPT

    14:16:21 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
    14:16:24 "CLEANUP: KILLING A HACKER MrTr1ck B 1-1-B:1 (MrTr1ck) REMOTE IN MH6J_EP1"
    14:16:24 Client: Object 3:11 (type Type_69) not found.
    14:16:24 Client: Object 3:11 (type Type_70) not found.
    14:16:24 "PDEATH: Player Died 76561198112303240"
    14:16:35 "get: STRING (76561198112303240), sent: STRING (76561198112303240)"
    14:16:35 "DISCONNECT: MrTr1ck (76561198112303240) Object: B 1-1-B:1 (MrTr1ck) REMOTE, _characterID: 1 at loc [12547.5,-5865.77,0.00143433]"
    14:16:35 "ERROR: server_playerSync: Cannot Sync Player MrTr1ck [1]. Position in debug! [12547.5,-5865.77,0.00143433]"
    14:16:35 Warning: Cleanup player - person 3:37 not found
    14:21:21 "TIME SYNC: Local Time set to [2013,8,3,13,21]"

    So, is the server double checking after a period of time and the vehicle no longer has the var? I can't see anything wrong... Will edit after checking the perm Vehicles.

     

    EDIT 2.5: Spawned a helicopter, tail killed me because it spawned too close. Just FYI xD

    EDIT 2.5.5: Spawn locked vehicle menu doesn't go back on right click. So opening hero menu for vehicles will cause the player to lose the menu on right click.

    EDIT 3.0: Can confirm it is something wrong with the temporary menu. Spawned Perm huey and flew around for 2 minutes. Spawned a temp little bird and it blew up in my face (Instantly)

    Rechecked and spawned a perm little bird, seems fine.

     

    My apologize if someone already brought this up previously in the thread. 

  2. My self actions never seem to work unless i set the player speed to less than 5

    Something like this

    if ( cursorTarget isKindOf "SatPhone" && (player distance cursorTarget) < 2  && (speed player <= 1)) then {
        if (s_player_Phone6 < 0) then {
        s_player_Phone6 = player addaction[("<t color=""#0000ff"">" + ("Elektro!") +"</t>"),"fasttravel\elektro!.sqf","",5,false,true,"", ""];
    };
    } else {
        player removeAction s_player_Phone6;
        s_player_Phone6 = -1;
    };

    also why not try this: (Keep in mind im still really new at arma scripting)

     

     

    fastTravel\init.sqf 

    _phone = "SatPhone"
    
    if ((cursorTarget == _phone ) and  ((player distance _phone) < 5)) 
    then
    {
     _phone addaction[("<t color=""#ff0000"">" + ("Fast Travel!") +"</t>"),"fasttravel\menu.sqf",0,false,true,"", ""];
    }

    fasttravel\menu.sqf

    path = "fasttravel\"; 
    exstr = 'player execVM "'+path+'%1"';
    
    
    Travel = 
    [
    ["",true],
    ["---Fast Travel---", [-1], "", -5, [["expression", ""]], "1", "0"],
    ["", [-1], "", -5, [["expression", ""]], "1", "0"],
        ["Klen Trader!", [],  "", -5, [["expression", format[exstr,"klen.sqf"]]], "1", "1"],
        ["Hero Trader!", [],  "", -5, [["expression", format[exstr,"hero.sqf"]]], "1", "1"], 
        ["Exit", [], "", -3, [["expression", ""]], "1", "1"]  //no comma at the last one!
    ];
    showCommandingMenu "#USER:Travel";
    };
     

    I'm actually on the search for something and came across this. Thought i might be able to help others or OP

  3. necro bump.

     

    Trying to do this, not working D:

    		if (_isMine) then {
    			if((random 10) <= 10) then {
    				_gems = ["ItemTopaz","ItemObsidian"];
    				_gem = _gems select (floor(random (count _gems)));
    				_selectedRemoveOutput set [(count _selectedRemoveOutput),[_gem,1]];
    			};
    		};
    

    Still dropping other gems. 

     

    init.sqf

    //Load in compiled functions
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";				//Initilize the Variables (IMPORTANT: Must happen very early)
    progressLoadingScreen 0.1;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";				//Initilize the publicVariable event handlers
    progressLoadingScreen 0.2;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";	//Functions used by CLIENT for medical
    progressLoadingScreen 0.4;
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";				//Compile regular functions
    progressLoadingScreen 0.5;
    call compile preprocessFileLineNumbers "server_traders.sqf";				//Compile trader configs
    call compile preprocessFileLineNumbers "custom\compiles.sqf";       //Compile custom compiles
    progressLoadingScreen 1.0;
    

    custom/compiles.sqf

    fnc_usec_selfActions = compile preprocessFileLineNumbers "custom\fn_selfActions.sqf"; // fnc_usec_selfActions - adds custom actions to dayz code
    player_removeObject =        compile preprocessFileLineNumbers "dayz_code\actions\player_removeObject.sqf";
    if (!isDedicated) then {
    	player_build		= compile preprocessFileLineNumbers "custom\snap_build\player_build.sqf";
    	player_buildControls	= compile preprocessFileLineNumbers "custom\snap_build\player_buildControls.sqf";
    	snap_object		= compile preprocessFileLineNumbers "custom\snap_build\snap_object.sqf";
    };
    
×
×
  • Create New...