Jump to content

DaBi

Member
  • Posts

    83
  • Joined

  • Last visited

Posts posted by DaBi

  1. Great missions, going down very well on our server. 

     

    I have a weapons crate guarded by AI that respawns the loot after every server restart, it seems though the AI shoot at the crate and destroy it, any ideas how to stop this?

     

     

    P.s

     

    I have also just noticed, when my custom AI spawn in they do so 1 at a time but the first one who spawns in shoots and kills all the other AI as they are spawning in,

     

    Thanks

  2. Help please,

     

    I have this installed and everything seems to be working great, I can paint and the colours stay after restart but the problem I have is it seems other players get the option but it closes within seconds of opening the option to paint. I am down as admin but I can not see in the script where that may affect others not being able to paint. 

     

    I know its not just the cars they are choosing as I went and painted one for a player who got the issue of the menu vanishing.

     

    Any ideas?

     

    Thanks in advance

  3. So, with the change to steam, instead of gamespy, all of the names on DayzCommander and Dayz Launcher have been shortened.

     

    This means it's almost impossible to have "-mod=@DayzOverwatch" in the title anymore. I see so many people joining our server and immediately disconnecting and I'm thinking this is because a lot of people don't know to add the overwatch parameter. 

     

    I don't know a good solution for this other than getting longer name support, the only other thing I was thinking is that when you join and you get kicked for "Missing addons blah blah" if that could say "You need to add this to your launch parameters" but I'd hazard a guess and say that message comes locally and isn't sent out by the server. 

     

    Does anyone have any ideas on this?

    I also feel I have this problem, I see so many players connecting and disconnecting within 6 seconds. Really sad as it is affecting establishing a player base

  4. QUickly converting this to overheat file structure/ variable names ( SINGLE CURRENCY)

     

    i use maca's right click:

    	class IRStrobe {
    		class PaintCar1 {
    			text = "Paint Vehicle";
    			script = "call player_paint;";
    		};		
    	};
    

    then change your vehicleColourPaint.sqf to

    private ["_colour","_colour2","_playerWealth","_PUID"];
    _PUID = (getPlayerUID player);
    _playerWealth = player getVariable["cashMoney",0];
    
    if (ColourPrice > _playerWealth) exitWith {titleText ["You do not have enough money to repaint your vehicle!","PLAIN DOWN"];};
    
    _colour = ""+str((sliderPosition 5700) / 10)+","+str((sliderPosition 5701) / 10)+","+str((sliderPosition 5702) / 10)+",1";
    _colour2 = ""+str((sliderPosition 6700) / 10)+","+str((sliderPosition 6701) / 10)+","+str((sliderPosition 6702) / 10)+",1";
    _toPaint =  vehicle player;
    if(_toPaint != player &&  driver _toPaint == player )then {
    PVDZE_veh_Colour = [VehicleToPaint,_colour,_colour2,_PUID,dayz_playerName];
    publicVariableServer "PVDZE_veh_Colour";
    [player,"IRStrobe"] call BIS_fnc_invRemove;
    titleText ["Vehicle has been repainted! Please wait a moment for the texture to update!","PLAIN DOWN"];
    
    player setVariable["cashMoney",(_playerWealth - ColourPrice),true];
    }else{
    cutText ["You need to be the driver to change the color.","plain"];
    };

    put Colourprice to 0 if u want it to be free, since you probably pay for the item).

     

    Thanks for this Zupa, one more thing I am using your single currency script and so should I change - _playerWealth = player getVariable["cashMoney",0];

     

    to: _playerWealth = player getVariable["headShots",0];

     

    and: player setVariable["cashMoney",(_playerWealth - ColourPrice),true];

     

    to: player setVariable["headShots",(_playerWealth - ColourPrice),true];

  5. Check your cleint RPT sounds like an issue in your variables.sqf

     

    These are the errors my RPT throws up

    needUpdate_>
    10:50:07   Error Undefined variable in expression: needupdate_objects
    10:50:07 File z\addons\dayz_server\compile\server_updateObject.sqf, line 186
    10:50:07 Error in expression <"));
    _isbuildable = (typeOf _object) in dayz_allowedObjects;
    _isNotOk = false;
    _>
    10:50:07   Error position: <dayz_allowedObjects;
    _isNotOk = false;
    _>
    10:50:07   Error Undefined variable in expression: dayz_allowedobjects
    10:50:07 File z\addons\dayz_server\compile\server_updateObject.sqf, line 14
    10:50:07 Error in expression <;
    _dam = _x select 1;
    if (_selection in dayZ_explosiveParts && _dam > 0.8) then >
    10:50:07   Error position: <dayZ_explosiveParts && _dam > 0.8) then >
    10:50:07   Error Undefined variable in expression: dayz_explosiveparts
    10:50:07 File z\addons\dayz_server\compile\server_publishVehicle.sqf, line 107
    10:50:07 Error in expression <bject_damage;
    } else {
    if (!(_object in needUpdate_objects)) then {
     
    needUpdate_>
    10:50:07   Error position: <needUpdate_objects)) then {

    They only get shown when this was added
  6. Just attempted to install this and spawned in with broken legs and grey screen, was getting alot of RPT errors but I think this might be down to not having access to Infistar files as I host with GTX who provide a free version. Might try sending them a message with the fix needed and see if they can implement it there end. Looks a very cool script.

  7. Just something you might consider.

     

    In my version of the paint script. I bind the colloring to an item "IRStrobe", you can buy this items at the traders.

     

    Now if you are in a vehicle and right click this items u can choose paint.

     

    Otherwise it's too easy imo to just paint ? ^^

     

    Hey Zupa,

     

    Would you be kind enough to show us how this would be done?

     

    Thanks

  8. The traders are on the map but in different locations, the markers are not up to date though! 

     

    class Markers

            {
                    items=17;
                    class Item0
                    {
                            position[]={7839.6055,381.33774,8414.7324};
                            name="center";
                            type="Empty";
                    };
                    class Item1
                    {
                            position[]={-7245.377,365.98782,19535.367};
                            name="respawn_west";
                            type="Empty";
                    };
                    class Item2
                    {
                            position[]={4932.3345,0.39950246,1989.1094};
                            name="spawn0";
                            type="Empty";
                    };
                    class Item3
                    {
                            position[]={2236.0391,0.63119155,1923.3735};
                            name="spawn1";
                            type="Empty";
                    };
                    class Item4
                    {
                            position[]={8738.1328,0.45720705,2122.1082};
                            name="spawn2";
                            type="Empty";
                    };
                    class Item5
                    {
                            position[]={10909.267,0.57597214,2422.3096};
                            name="spawn3";
                            type="Empty";
                    };
                    class Item6
                    {
                            position[]={13510.764,0.44504455,5249.3027};
                            name="spawn4";
                            type="Empty";
                    };
                    class Item7
                    {
                            position[]={6326.4805,304.99265,7809.4888};
                            name="Tradercitystary";
                            text="Trader City Stary";
                            type="mil_circle";
                            colorName="ColorBlack";
                    };
                    class Item8
                    {
                            position[]={1102.38,0.002,2850.69};
                            name="wholesaleSouth";
                            text="Wholesaler";
                            type="mil_dot";
                            colorName="ColorBlack";
                    };
                    class Item9
                    {
                            position[]={13246.2,0.001,6074.4};
                            name="boatTraderEast";
                            text="Wholesaler";
                            type="mil_dot";
                            colorName="ColorBlack";
                    };
                    class Item10
                    {
                            position[]={8387.1025,0.002,2369.3113};  
                            name="BoatDealerSouth";
                            text="Boat Dealer";
                            type="mil_dot";
                            colorName="ColorBlack";
                    };
                    class Item11
                    {
                            position[]={5066.14,0.001,9730.46};
                            name="AirVehicles";
                            text="Aircraft Dealer";
                            type="mil_dot";
                            colorName="ColorGreen";
                    };
                    class Item12
                    {
                            position[]={1606.6443,289.70795,7803.5156};
                            name="BanditDen";
                            text="Bandit Camp";
                            type="mil_dot";
                            colorName="ColorRed";
                    };
                    class Item13
                    {
                            position[]={11447.91,317.27109,11364.536};
                            name="Klen";
                            text="Trader City Klen";
                            type="mil_circle";
                            colorName="ColorGreen";
                    };
                    class Item14
                    {
                            position[]={13105.7,4.21,8254.56};
                            name="BoatDealerEast";
                            text="Boat Dealer";
                            type="mil_dot";
                            colorName="ColorBlack";
                    };
                    class Item15
                    {
                            position[]={4064.2258,365.13501,11665.938};
                            name="TradercityBash";
                            text="Trader City Bash";
                            type="mil_circle";
                            colorName="ColorBlack";
                    };
                    class Item16
                    {
                            position[]={12944.227,210.19823,12766.889};
                            name="HeroTrader";
                            text="Hero Camp";
                            type="mil_dot";
                            colorName="ColorBlue";
                    };     
                   
            };

     
    These are the markers from my mission.sqm, just use these and the new traders should appear on the map in the new locations
  9. I am not sure if that is the reason, I copied the e.g and just pasted my own coords in, it looks like

     

    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher

     

    I think the // is in the right place on mine:

     

    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher

  10.  

        [
    [1417.9,4028.24,0.1] // Position - missing the , after the ]
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;

     

    I inserted the , but still getting the same error

    20:54:12 "WAI: Initialising missions"

    20:54:12 "WAI: Initialising static missions"
    20:54:12 Error in expression <
    "extreme",
    "Random", or ["Random","at"],
    4,
    "Random",>
    20:54:12   Error position: <["Random","at"],
    4,
    "Random",>
    20:54:12   Error Missing ]
    20:54:12 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 27
    20:54:12 Error in expression <
    "extreme",
    "Random", or ["Random","at"],
    4,
    "Random",>
    20:54:12   Error position: <["Random","at"],
    4,
    "Random",>
    20:54:12   Error Missing ]
    20:54:12 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 27
    20:54:12 "WAI: AI Monitor Started"

     
    Sorry to be a pain, but thanks for the help
  11.  

        [
    [1417.9,4028.24,0.1] // Position - missing the , after the ]
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;

     

    Thank you very much! Should of noticed so apologies. 

  12. Get this error in my RPT when using custom AI

    19:55:30 Error in expression <

     
     
     
     
     
     
     
     
     
     
     
     
     
    [
    [1417.9,4028.24,0.1]
    7,
    "extreme",
    "Random", >
    19:55:30   Error position: <7,
    "extreme",
    "Random", >
    19:55:30   Error Missing ]
    19:55:30 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 25
    19:55:30 Error in expression <
     
     
     
     
     
     
     
     
     
     
     
     
     
    [
    [1417.9,4028.24,0.1]
    7,
    "extreme",
    "Random", >
    19:55:30   Error position: <7,
    "extreme",
    "Random", >
    19:55:30   Error Missing ]
    19:55:30 File z\addons\dayz_server\WAI\static\chernarus.sqf, line 25
    19:55:30 "WAI: AI Monitor Started"

    This is my sqf file for the error call

    [Place your custom group spawns below
    */
     
        [
    [1417.9,4028.24,0.1] // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1335.9,4113.85,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","aa"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1318.62,4127.0,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","aa"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1317.62,4120.0,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","aa"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1365.16,4000.22,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1355.55,3990.26,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1427.04,3984.35,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1243.64,4116.48,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
    [
    [1231.7,4185.59,0.1], // Position
    7, // Number Of units
    "extreme", // Skill level of unit (easy, medium, hard, extreme, Random)
    "Random", or ["Random","at"], // Primary gun set number and rocket launcher. "Random" for random weapon set, "at" for anti-tank, "aa" for anti-air launcher
    4, // Number of magazines
    "Random", // Backpack classname, use "Random" or classname here
    "Random", // Skin classname, use "Random" or classname here
    "Random", // Gearset number. "Random" for random gear set
    "Bandit" // AI Type, "Hero" or "Bandit".
    ] call spawn_group;
     
     
     
     
    /*]

    I see where the error is and what is says is missing but I can not see where it actually needs to go :)
     
    Thanks
  13. I went ahead I put this in my server, used MGT's SQL code and the original SQF file. Works and missions show up on map but when you unlock a safe using 0000 any safes that may also be eligible to pop up for missions you get the option to open locked safe. Would it be possible to only be able to open the one safe per mission?

×
×
  • Create New...