Jump to content

Lukedbx

Member
  • Posts

    38
  • Joined

  • Last visited

Posts posted by Lukedbx

  1. Same thing shows, section of it after I hit continue

     

    Warning Message: Script z\addons\dayz_code\actions\trade_vehicles.sqf not found
     
    Edit: Never mind, fixed it.. just messed around with the traders for a while
  2. Had a look actually, actions\trade_vehicles.sqf doesnt exist and im guessing its been replaced by trade_any_vehicle.sqf and the traders are trying to use the old one,weird it only happens for ones I add, any ideas?  :( 

  3. Took a while to get, wasn't showing the error for a while... anyway -  z\addons\dayz_code\actions\trade_vehicles.sqf not found         after hitting continue it doesnt show again, nothing happens when trying to trade the vehicles (Buy + Sell). It is on flat open land. Tried with several vehicles and also another custom trader, no luck :/

  4. So I have been messing around with the traders over the last few days and set up a small trader city with some high value weapons and stuff.. I am able to trade weapons/Items perfectly fine, but when I try to trade vehicles I get an error thats something like cannot find script\dayz_code\randomthings\trade_vehicles, and then when I click it, nothing happens. Anyone know why this is happening and have any suggestions? Ive probably missed something out, dont understand if you have to add the spawn location for vehicles manually or something if your making your own trader? 

    Thanks guys

  5. Hi, im using the following debug monitor on my server, but there is a problem with the bandit and hero cout. Its basically not showing the correct amount of bandits and heroes for some players, as it just gets stuck on 1 bandit 0 heroes, but it works fine for other people.

    fnc_debug = {
        debugMonitor = true;
        while {debugMonitor} do
        {
            _kills =        player getVariable["zombieKills",0];
            _killsH =        player getVariable["humanKills",0];
            _killsB =        player getVariable["banditKills",0];
            _humanity =        player getVariable["humanity",0];
            _headShots =    player getVariable["headShots",0];
            _zombies =              count entities "zZombie_Base";
            _zombiesA =    {alive _x} count entities "zZombie_Base";
            _banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)} count playableUnits;
            _heroCount  = {(isPlayer _x) && ((_x getVariable ["humanity",0]) >= 5000)} count playableUnits;
            _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
                if (player == vehicle player) then
                {
                    _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
                }
                    else
                {
                    _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
                };
    
                _stime = 0;
    			if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
    			_hours = (_stime/60/60);
    			_hours = toArray (str _hours);
    			_hours resize 1;
    			_hours = toString _hours;
    			_hours = compile _hours;
    			_hours = call  _hours;
    			_minutes = floor(_stime/60);
    			_minutes2 = _minutes - (_hours*60);
    
            hintSilent parseText format ["
            <t size='1'font='Bitstream'align='center' color='#EE0000' >%1</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EE0000' >Blood Left:</t><t size='1' font='Bitstream'align='right' color='#EE0000' >%2</t><br/>
            <t size='1'font='Bitstream'align='left' color='#104E8B' >Humanity:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%3</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Players Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%4</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Bandits Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%5</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Zombies Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%6</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Headshots:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%7</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900' >Zombies (alive/total): </t><t size='1' font='Bitstream' align='right' color='#EEC900' >%9/%8</t><br/>
            <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Bandit Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%11</t><br/>
            <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Hero Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%12</t><br/>
            <t size='1' font='Bitstream' align='left' color='#104E8B' >FPS: </t><t size='1' font='Bitstream' align='right' color='#104E8B' >%10</t><br/>
            <img size='3' image='%13'/><br/>
            <t size='1'font='Bitstream'align='center' color='#104E8B' >Press F10 to Toggle!</t><br/>
            <t size='1'font='Bitstream'align='center' color='#104E8B' > End Days Epoch </t><br/>
            <t size='1' font='Bitstream' align='left' color='#FFBF00'>UPTIME: </t><t size='1' font='Bitstream' align='right'>%14h %15min</t><br/>
             
    
            ",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots,count entities "zZombie_Base",{alive _x} count entities "zZombie_Base",diag_fps,_banditCount,_heroCount,_pic,_hours,_minutes2];
        sleep 1;
        };
    };
     
    [] spawn fnc_debug;
    

    I dont really see what the problem is, so if anyone can see any reason why it wouldnt work it would be awesome, thanks.

  6. So I was having problems with my server when I added a custom debug the can be toggled.

     

     

    dayz_spaceInterrupt = {

        private ["_dikCode", "_handled"];
        _dikCode = _this select 1;
        _handled = false;
     
        if (_dikCode == 0x44) then {
            if (debugMonitor) then {
                debugMonitor = false;
                hintSilent "";
            } else {[] spawn fnc_debug;};
        };
        _handled
    };
     
    fnc_debug = {
        debugMonitor = true;
        while {debugMonitor} do
        {
            _kills =        player getVariable["zombieKills",0];
            _killsH =        player getVariable["humanKills",0];
            _killsB =        player getVariable["banditKills",0];
            _humanity =        player getVariable["humanity",0];
            _headShots =    player getVariable["headShots",0];
            _zombies =              count entities "zZombie_Base";
            _zombiesA =    {alive _x} count entities "zZombie_Base";
            _banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)} count playableUnits;
            _heroCount  = {(isPlayer _x) && ((_x getVariable ["humanity",0]) >= 5000)} count playableUnits;
            _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
                if (player == vehicle player) then
                {
                    _pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
                }
                    else
                {
                    _pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
                };
            hintSilent parseText format ["
            <t size='1'font='Bitstream'align='center' color='#EE0000' >%1</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EE0000' >Blood Left:</t><t size='1' font='Bitstream'align='right' color='#EE0000' >%2</t><br/>
            <t size='1'font='Bitstream'align='left' color='#104E8B' >Humanity:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%3</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Players Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%4</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Bandits Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%5</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Zombies Killed:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%6</t><br/>
            <t size='1'font='Bitstream'align='left' color='#EEC900' >Headshots:</t><t size='1'font='Bitstream'align='right' color='#EEC900' >%7</t><br/>
            <t size='1' font='Bitstream' align='left' color='#EEC900' >Zombies (alive/total): </t><t size='1' font='Bitstream' align='right' color='#EEC900' >%9/%8</t><br/>
            <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Bandit Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%11</t><br/>
            <t size='1'font='Bitstream'align='left' color='#104E8B' >Current Hero Count:</t><t size='1'font='Bitstream'align='right' color='#104E8B' >%12</t><br/>
            <t size='1' font='Bitstream' align='left' color='#104E8B' >FPS: </t><t size='1' font='Bitstream' align='right' color='#104E8B' >%10</t><br/>
            <img size='3' image='%13'/><br/>
            <t size='1'font='Bitstream'align='center' color='#104E8B' >Press F10 to toggle! </t><br/>
            <t size='1'font='Bitstream'align='center' color='#104E8B' > End Days Epoch </t><br/>
     
            ",dayz_playerName,r_player_blood,round _humanity,_killsH,_killsB,_kills,_headShots,count entities "zZombie_Base",{alive _x} count entities "zZombie_Base",diag_fps,_banditCount,_heroCount,_pic];
        sleep 1;
        };
    };
     
    [] spawn fnc_debug;

     

     

    dayz_spaceInterrupt = {

        private ["_dikCode", "_handled"];
        _dikCode = _this select 1;
        _handled = false;
     
        if (_dikCode == 0x44) then {
            if (debugMonitor) then {
                debugMonitor = false;
                hintSilent "";
            } else {[] spawn fnc_debug;};
        };
        _handled
    };
     

     

    When I had this on, it made people unable to use hotkeys when placing things like walls,safes etc , so they couldn't build anything. Dunno if anyone else has had this problem, but I thought I would share.
     
     
     
  7. So, Im trying to install side missions for my epoch server, but so far I've not had any luck getting it working. It seems that whenever I make any changes to the server pbo it just doesnt work, server wont authenticate and I can press esc and spawn in the middle of nowhere, so Ive obviously done something wrong or its just a bug with dayz.st cos Ive noticed even when I make really simple changes to the server pbo it doesnt work when I re-upload it.. Anyway, if anyone could help me with getting side missions working on the latest epoch it would be much appreciated, thanks.

×
×
  • Create New...