Jump to content

FragZ

Member
  • Posts

    487
  • Joined

  • Last visited

Posts posted by FragZ

  1. I have a big desync problem with WAI... custom spawns... I have like 44 AIs at skalisty + 15 at Novy+ 10 at NWAF... and they Desync REALLY bad.

    Aslo, now that the server reaches 40+ players it desycns alot too. I am using dayz.st...


    Any ideas how to fix that?

  2. I tried adding a new trader, I got it working spawning and a marker on the map, I got the guns added, but for some reason it won't let players SELL the m107 (you can buy it as well as the RPG).

    Why can't you sell it? The name just doesn't show green.

     

    EDIT: I believe the guy had it before and tried selling it but it's wrong classname... any idea how to fix that?

  3. I do not have that config in the init.sqf   I just tried adding it to a new trader instead of bandit and hero and it shows up and all, I can pres s buy... but when I do so it just close the trader menu again. Merlin is added to dynamic_vehicles, traders_items sql table, I added it into the Traders_DATA and all... what am I missing here??

  4. Post your SQl query that you used to add them

    INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["BAF_Jackal2_L2A1_W",2]',30,'[1,"ItemBriefcase100oz",1]','[6,"ItemGoldBar10oz",1]',0,562,'trade_vehicles');
    
    INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["BAF_Jackal2_L2A1_W",2]',30,'[2,"ItemBriefcase100oz",1]','[1,"ItemBriefcase100oz",1]',0,569,'trade_vehicles');
    
    INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["BAF_Merlin_DZE",2]',30,'[1,"ItemBriefcase100oz",1]','[6,"ItemGoldBar10oz",1]',0,493,'trade_vehicles');
    
    INSERT INTO `Traders_DATA` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES ('["BAF_Merlin_DZE",2]',30,'[2,"ItemBriefcase100oz",1]','[1,"ItemBriefcase100oz",1]',0,512,'trade_vehicles');
    
    

    EDIT: Afile was trade_any_vehicle

  5. Im using dayz.st I think the issue is with my pbo extractor. I have done scripting before and never had the issues that I am having. In all honesty at this point I do not mind paying. I was talking to the infastar people today and they sent me pbo's that they had done and when I packed them they still wouldn't work.

    I use dayz.st

    Add me on skype I'll see what I can do.

    fewii.seller

  6. Unless you pay them I doubt someone will do that job for you.

    If you don't want to pay, look up on epochforums there are plenty of tutorials on how to do it :)

    May I ask you what host you are using? I might be able to help with all of those scripts and even more.

  7. THIS HAS BEEN FIXED. FU**** Typo...

     

     

    I tried adding a new trader at devils castle (Blackmarket) and now my other traders stopped working... I NEED URGENT HELP!

     

    mission.sqf part I added at the bottom (Just the unit)
     

    _vehicle_1352 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_Rock1", [13817.806, 11746.111, -27.215347], [], 0, "CAN_COLLIDE"];
      _vehicle_1352 = _this;
      _this setDir 68.549126;
      _this setPos [13817.806, 11746.111, -27.215347];
    };
    
    _unit_420 = objNull;
    if (true) then
    {
      _this = createAgent ["Ins_Soldier_GL_DZ", [6887.87, 11465], [], 0, "CAN_COLLIDE"];
      _unit_420 = _this;
      _this setDir 172;
      _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
      _this setUnitAbility 0.60000002;
      _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
    

    server_traders
    (trop part)
     

    // DayZ Epoch TRADERS for 11
    serverTraders = ["RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Soldier_GL_M16A2_PMC","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2","Ins_Soldier_GL_DZ"];
    

    server_traders.sqf
    (part I added)
     

    // Black market Dealer Devils castle
    menu_Ins_Soldier_GL_DZ = [
    	[["Black Market Weapons",693]],["Black Market Ammo",694]
    	[],
    	"neutral"
    ];
    

    This is my server traders sql tab (I only SS the part I added)
    http://prntscr.com/3c2huh
    Its the one circled in red

    Traders TIDS part of sql
    http://prntscr.com/3c2i2r



    I REALLY NEED HELP ADDING THIS DAM TRADER!

  8. I am currently using this script to make Zombies moved out of the plot pole radius (zombie free bases) and it takes some times (I believe cus of the sleep 10;)

    while {true} do {
      sleep 10;
    
    
      // No Zeds near Plot Poles
      _playerPos = getPos player;
      _nearPole = nearestObject [_playerPos, "Plastic_Pole_EP1_DZ"];
      if (!isNull _nearPole) then {
        _pos2 = getPos _nearPole;
        _zombies2 = _pos2 nearEntities ["zZombie_Base", dayz_poleSafeArea];
        _count2 = count _zombies2;
        for "_i" from 0 to (_count2 -1) do
        {
          _zombie2 = _zombies2 select _i;
          _zombie2 setpos [-3367.739,-120.84577,-8247.0625];
        };
      };
    };
    

    However, there is a zombieshield script in most hack menus and admin menus that goes as following:

    while {zoombiieshieldd} do
            {
                {
                    if (!isNull _x) then {
                        if !(isPlayer _x) then {
                            deletevehicle _x;
                        };
                    };
                } forEach (vehicle player nearEntities ["zZombie_Base",50]);
                sleep 1;
            };
    

    The second version, instead of TPing zombies out, DELETES them. So I was wondering 3 things:

    1- Which one is the best method /performance and efficacity wise?
    2- Would the zombieshield script be used into the first one (matching it to a plotpole)?

    3- Would removing the *sleep 10;* portion of the first script affect it by any means the performance or the efficacity of the script? If not, would it make it faster?

  9. Ok so I recently added a custom black market trader that I want to sell more *OP* stuff but for high prices. So i want to add RPG inside of it as well as rockets etc...

    One question though, I know rockets are magazine typish stuff, but how about Rocket launchers?

    Are they weapons or considered as Backpack (since they go on backpack slot) since this is how it works:

    • Weapons = 3
    • Vehicles and backpacks = 2
    • Magazines = 1

      What is your guess on this? Weapons or Backpack?
  10. I found a script on a server I played on the other day and it makes you able to dump the cargo from your heli as a cargo drop (a box with a parachute).



    I found a script by ggogling and arrived on Armaholics but the BTK script does only support VEHICLES, Boxes (objects and etc) and stuff like that.
    http://www.armaholic.com/page.php?id=10834


    Would such a script be possible to get?

     

    For example with this script
    http://www.armaholic.com/page.php?id=14510&highlight=CARGO%2BDROP

  11. _bldObj = objNull;
    if (true) then
    {
      _bldObj = createVehicle ["TKVehicleBox_EP1", [13620.817,3185.1843,-1.9073881], [], 0, "CAN_COLLIDE"];
      _bldObj setDir -180;
      _bldObj setPos [13624.906, 3200.7109, -8.392334e-005];
      //Clear Cargo
      clearweaponcargoGlobal _bldObj;
      clearmagazinecargoGlobal _bldObj;
      //Add Cargo
      _bldObj addWeaponCargoGlobal ["FN_FAL_ANPVS4",5];
      _bldObj addWeaponCargoGlobal ["BAF_L85A2_UGL_ACOG",5];
      _bldObj addWeaponCargoGlobal ["M14_EP1",5];
      _bldObj addWeaponCargoGlobal ["M24",5];
      _bldObj addWeaponCargoGlobal ["RPG7V",1];
      _bldObj addWeaponCargoGlobal ["G36C",5];
      _bldObj addWeaponCargoGlobal ["ItemWire",25];
      _bldObj addmagazineCargoGlobal ["30Rnd_556x45_G36",20];
      _bldObj addmagazineCargoGlobal ["20Rnd_762x51_FNFAL",15];
      _bldObj addmagazineCargoGlobal ["30Rnd_556x45_Stanag",20];
      _bldObj addmagazineCargoGlobal ["PG7VL",1];
      _bldObj addmagazineCargoGlobal ["ItemMorphine",10];
      _bldObj addmagazineCargoGlobal ["ItemEpinephrine",10];
      _bldObj addmagazineCargoGlobal ["ItemPainkiller",10];
      _bldObj addmagazineCargoGlobal ["ItemHeatPack",10];
      _bldObj addmagazineCargoGlobal ["ItemBandage",20];
      _bldObj addmagazineCargoGlobal ["ItemAntibiotic",10];
      _bldObj addmagazineCargoGlobal ["ItemBloodbag",10];
      _bldObj addmagazineCargoGlobal ["ItemSodaCoke",10];
      _bldObj addmagazineCargoGlobal ["FoodMRE",10];
      _bldObj addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
    //Can only fit 1 backpack, the rest end up on the ground. Backpacks should be in a tent for +1 =)
      _bldObj setVariable ["permaLoot",true];
     };
    

    This should work =)

    Is it under the ground? Your set postions are different!

     

    That box is spawning, now the other doesn't lol!

×
×
  • Create New...