Jump to content

juandayz

Collaborator
  • Posts

    2098
  • Joined

  • Last visited

  • Days Won

    144

Posts posted by juandayz

  1. @iben

    I had stopped posting in public. but in this case I wanted to set aside certain things because it is really sad to read your post.
    In my opinion you are the best one here. Not only for the way you write, its the humanity you have, patience, humility, good manners.
    Generally great writers like you, do not have these qualities that you squander.
    so friend I hope "goodbye" means "see you soon".

  2. @Erzengelgames dont know what kind of script is it,, but you can test with other script.

    Extra_rc.hpp

    Spoiler
    
    class ExtraRc {
        class ItemLightbulb {
            class Start_Crafting {
                text = "Custom Building";
                script = "execVM 'custom\extra_test.sqf'";
            };
            
        };    
        class Notebook_bio_DZE {
            class Debug_menu {
                text = "Display stats";
                script = "execVM 'custom\extra_test.sqf'";
            };
        };    
        class Moscow_Bombing_File {
            class Request_bombs {
                text = "Suicidebomber";
                script = "execVM 'custom\extra_test.sqf'";
            };
        };
    }; 

     

    extra_test.sqf

    Spoiler

    systemChat("Extra right click test success");
            
    player playActionNow "Medic";

     

  3. you also can try this little test.

    replace your extra_rc  with this code.

    class ExtraRc {
     
      class ItemToolbox {
         class test {
            text = "test";
            script = "execVM 'custom\extra_test.sqf'";
         };
      };
    }; 

    extra_test.sqf

    Spoiler

    systemChat("Extra right click test success");
            
    player playActionNow "Medic";

    if works you can discard any issue with ui_selectslot.sqf

  4. 1 hour ago, Anaconda101 said:

    Not sure exactly what the problem was but i just redownloaded the mod and replaced the "admintools" folder with the one i downloaded. everything works great now.

    Problem was you took old files. Remember a guy with the same rpt. Glad to know is working now. See yaa.

  5. Just now, Anaconda101 said:

    I followed the guide on GITHUB to install 1.10.7 for epoch 1.0.6.1.

    Im getting this error spammed in my .rpt file

     

    19:49:08 Error in expression <andler {};}; {dayz_allowedObjects = dayz_allowedObjects + [_x select 2];}for>
    19:49:08   Error position: <dayz_allowedObjects + [_x select 2];}for>
    19:49:08   Error Undefined variable in expression: dayz_allowedobjects
    19:49:08 File mpmissions\DayZ_Epoch_11.Chernarus\admintools\variables.sqf, line 284

     

    Any ideas in what i did wrong? I can provide any further info you may need.

    Youre not using the last admin tools version. Your undefined variable is cuz epoch 1.6 use safeobjets not allowed objects. Check the gitub link.. noxicarius had updated this.. so pretty sure ure using olds files.

    check this post:

     

  6. Just now, Sieegfreed said:

    Hi Juandayz, I tried what you ask and continue having the same problem...

    my frend have in his mods: "Dayz, Epoch and Epoch 1.0.6." and for me apperas "Dayz, Arma2 Dayz Mod and Epoch" dont appears any Epoch 1.0.6.1

    server and client are in the same version 1.0.6.1

    the tip is.. check how your :  \steamapps\common\Arma 2 Operation Arrowhead\ looks-

    you will see all your mods with an @ in front of the folder name.

    for my epoch 16 the folder is @DayZ_Epoch161

    this is mine:

    Spoiler

    Sin_t_tulo22.jpg

    then you must go to your game, expansions.. and activate this folder/mod.

    Spoiler

    Arm_A2_OA_2017-10-10_11-41-34-20.png

    Do not active the Dayz Mod or others mods.. jsut arma,arma2,BAF,PMC and epoch

  7. Just now, totis said:

    Hi Juan. m8 you are always looking to help me. Tnx again :)

    I call them with exec vm command only inside server_function...

    so if i call inside server_function should i always call with call compile? and on server_monitor with exec?

    I havent understand their differences yet :)

    you can use exec in server_functions .. but i always use call compile in this file..  anyway is hard to me explain it in my bad english and without totally knowless about it...  but check this post maybe help you better than me to understand

    https://forums.bistudio.com/forums/topic/115016-call-execvm-and-spawn-which-and-when/

  8. Just now, totis said:

    Hi Guys,

    Im using this bridge and i was calling it from mission side using an sqf with code and exec command inside init.sqf.

    Sometimes players couldnt see the bridge and with a relog it was appearing.

    I added also calling it from server again with an sqf file and exec command from server_functions.sqf.

    And i still have the problem  thats once every often bridge doesnt show and needs a relog.

    Is there a way to make the building permanent without needing a relog?

    do you try with call compile?

    at bottom of server_functions.sqf

    call compile preProcessFileLineNumbers "z\addons\dayz_server\PATH\BRIDGE.sqf";

    or at bottom of server_monitor.sqf

    execVM "\z\addons\dayz_server\PATH\BRIDGE.sqf";

    Or just put the bridge function at bottom of server_functions.sqf?

    Spoiler

    #include "mission_check.sqf"//default epoch line

    
    fnc_bridgeA2 = {
            private ["_start","_obj"];
            _start = createVehicle [_this select 2,_this select 0,[],0,"CAN_COLLIDE"];
            _start setVectorUp [0,0,1];
            _start setDir (_this select 1);
            _start setPosATL (_this select 0);
            for "_i" from 1 to (_this select 3) do {
                    _obj = createVehicle [_this select 2,_this select 0,[],0,"CAN_COLLIDE"];
                    _obj attachTo [_start, [_i*(_this select 4),_i*(_this select 5),_i*(_this select 6)]];
            };
    }; 
    call fnc_bridgeA2;

     

    EDIT:

    @totis LOL now we need vote thogeter the selenaparat post.. is the real answer to be in first place:laugh:

  9. So just for test.. remove any kind of parameters i notice that you was using  "- mod= @DayZ_Epoch;"

    Start arma2 one single time close it. (from steam launcher)

    Start arma2oa  from your steam launcher...Not with dayz_launcher or that sh***   (clean version without mods) 

    Go to your main menu, expansions and let activated the mods : arma2, arma2oa, BAF,PMC, and epoch161.

    restart arma2oa (allways by steam launcher)

    go again to the expansions menu and check if all of this mods are still actives..  if yes then try to join in a dayz epoch 1.6.1 server.

     

    **note: with steam launcher i mean this way:

    Spoiler

    Sin_t_tulo.jpg

     

  10. Just now, Sieegfreed said:

    well, Im using 1.0.6.1 and the server looks use same: "Arma 2, Arma 2: Operation Arrowhead, Arma 2: British Armed Forces (Lite), Arma 2: Private Military Company (Lite), DayZ Epoch 1.0.6.1, @DayZ_Epoch_Server"

    I dont understand, my friends can join this server, and others, without problems, and I cant enter in any server... 

    I dont know what to do anymore :(

     

     

    just for know.. are you taking your epoch client files from here? http://epochmod.com/a2dayzepoch.php

    Do you have this file:dayz_epoch106.bikey  in your ....\steamapps\common\Arma 2 Operation Arrowhead\@DayZ_Epoch16\Keys\

     your expansions looks like this: (forgot phantera island its just a map)

    Arm_A2_OA_2017-10-10_11-41-34-20.png

  11. At beign at the circus show you get your answer from @lwbuk. At the end of this post im pretty sure you gonna change your key. Anyway is not a problem wit h you, just with your actitude. Ilbuk is a great guy..i saw lot of his post always helping.. you can ask some other thing and i gonna be glad to try to help you....i@salival maybe this post needs be locked. Cuz i could start to be a rude clown. 

  12. 3 hours ago, iben said:

    @lwbuk, thanks good you are just sitting on this forum and talk alot of useless crap! Your useless crap helps tons and tons guys here and people like you are the Gold for this forum.
    For one little post like from this guy does exist houndred thanks posts from users that understand, how to ask and receive answers from experienced scripters... Keep up your good work... !
    Cheers...

    I found another bug. Everytime i ask "anyone in cherno?" I die. Maybe devs are using player setdammage 1; when u chat this words?

  13. @totis if ure runing this block_

    Spoiler
    
    -- ----------------------------
    -- Unlock vehicle's with no key.
    -- ----------------------------
    UPDATE `Object_DATA`
    SET `Object_DATA`.`CharacterID` = 0,`LastUpdated` = `LastUpdated`
    WHERE `Object_DATA`.`CharacterID` <> 0
    AND`Object_DATA`.`CharacterID` <= 12500
    AND`Object_DATA`.`Classname` NOT LIKE 'Tent%'
    AND`Object_DATA`.`Classname` NOT LIKE '%Locked'
    AND`Object_DATA`.`Classname` NOT LIKE 'Land%'
    AND`Object_DATA`.`Classname` NOT LIKE 'Cinder%'
    AND`Object_DATA`.`Classname` NOT LIKE 'Wood%'
    AND`Object_DATA`.`Classname` NOT LIKE 'Metal%'
    AND`Object_DATA`.`Classname` NOT LIKE '%Storage%'
    AND`Object_DATA`.`Classname` NOT IN ('OutHouse_DZ', 'GunRack_DZ', 'WorkBench_DZ', 'Sandbag1_DZ', 'FireBarrel_DZ', 'DesertCamoNet_DZ', 'StickFence_DZ', 'LightPole_DZ', 'DeerStand_DZ', 'ForestLargeCamoNet_DZ', 'Plastic_Pole_EP1_DZ', 'Hedgehog_DZ', 'FuelPump_DZ', 'Fort_RazorWire', 'SandNest_DZ', 'ForestCamoNet_DZ', 'Fence_corrugated_DZ', 'CanvasHut_DZ', 'Generator_DZ')
    AND FindVehicleKeysCount(Object_DATA.CharacterID) = 0;

     

    remember run the function to find vehicles without keys. ( if u dont have this function the sql event should be stop)

    So go to your heidy or navicat or whatever program you are using and run it as query over your db one single time.

    -- ----------------------------
    -- Function structure for FindVehicleKeysCount
    -- ----------------------------
    DROP FUNCTION IF EXISTS `FindVehicleKeysCount`;
    DELIMITER ;;
    CREATE FUNCTION `FindVehicleKeysCount`(`keyId` INT) RETURNS int(11)
    BEGIN
        DECLARE totalKeys INT DEFAULT 0;
        DECLARE keyName VARCHAR(32) DEFAULT "";
        DECLARE keysInChar INT DEFAULT 0;
        DECLARE keysInObj INT DEFAULT 0;
    
        SET keyName = (CASE
            WHEN `keyId` < 2501 THEN CONCAT('ItemKeyGreen', `keyId`)
            WHEN `keyId` < 5001 THEN CONCAT('ItemKeyRed', `keyId` - 2500)
            WHEN `keyId` < 7501 THEN CONCAT('ItemKeyBlue', `keyId` - 5000)
            WHEN `keyId` < 10001 THEN CONCAT('ItemKeyYellow', `keyId` - 7500)
            WHEN `keyId` < 12501 THEN CONCAT('ItemKeyBlack', `keyId` - 10000)
            ELSE 'ERROR'
        END);
    
        SET keysInChar = (SELECT COUNT(*) FROM `Character_DATA` WHERE `Alive` = '1' AND (`Inventory` LIKE CONCAT('%', keyName, '%') OR `Backpack` LIKE CONCAT('%', keyName, '%')));
        SET keysInObj = (SELECT COUNT(*) FROM `Object_DATA` WHERE `Inventory` LIKE CONCAT('%', keyName, '%'));
    
        RETURN (keysInChar + keysInObj);
    END

     

×
×
  • Create New...