Jump to content

Recommended Posts

Hello,

 

How to make the Repair/Refuel works with the Single Currency & Banking system ?

I use this one : 

 

I would like to know how to do this also.

 

 

My coins aren't saving, and my rpt keeps saying this

 

server_hiveReadWriteLar>

15:36:06   Error Undefined variable in expression: _resultarray

15:36:06 File z\addons\dayz_server\init\server_functions.sqf, line 168

15:36:14 Error in expression <ray = call compile format ["%1",_data];

_resultArray

};

 

any idea why? Does this mean that the hiveext.dll wasn't replaced? Cause I also looked in my hive log and it says [Error] Invalid method id: 999.

Link to comment
Share on other sites

I love this script and thanks for all the hard work going into it's development. I'm having an issue or two that may be due to these errors in the RPT file:

19:20:32 Bad conversion: array
19:20:32 Error in expression <0) && (speed _vehicle < 5) && (typeName _hasAttached == "OBJECT")) then {
if (s_>
19:20:32   Error position: <_hasAttached == "OBJECT")) then {
if (s_>
19:20:32   Error Undefined variable in expression: _hasattached
19:20:32 File mpmissions\DayZ_Overpoch_7.Lingor\custom\fn_selfActions.sqf, line 42
19:20:32 Error in expression <r_fuelauto2 = -1;


player removeAction s_givemoney_dialog;
s_givemoney_dialog =>
19:20:32   Error position: <s_givemoney_dialog;
s_givemoney_dialog =>
19:20:32   Error Undefined variable in expression: s_givemoney_dialog
19:20:32 File mpmissions\DayZ_Overpoch_7.Lingor\custom\fn_selfActions.sqf, line 967
19:20:32 Error in expression <height","_liftHelis","_attached"];

if (DZE_ActionInProgress) exitWith {}; 

_ve>
19:20:32   Error position: <DZE_ActionInProgress) exitWith {}; 

_ve>
19:20:32   Error Undefined variable in expression: dze_actioninprogress
19:20:32 File mpmissions\DayZ_Overpoch_7.Lingor\custom\fn_selfActions.sqf, line 9

The main issue i have found is that when i put coins in the bank via a safe and log out, they are placed back on my body when logging back in. I have been over and over all the install instructions and cannot find anything i've missed.

 

Thanks in advance.

Link to comment
Share on other sites

How do i get only the coins on the side of my screen like on ccg servers and how to enlarge the picture of the coins please help

This should work to show only the coins, change your playerHud.sqf to

disableSerialization;

// player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud

AsReMixhud_Control = true; // player getVariable["AsReMixhud",true];

while {true} do

{

1000 cutRsc ["AsReMixhud","PLAIN"];

_wpui = uiNameSpace getVariable "AsReMixhud";

_vitals = _wpui displayCtrl 4900;

_thePlayer = player;

AsReMixhud_headshots = _thePlayer getVariable["headShots",0];

_vitals ctrlSetStructuredText parseText format ["

%1

,

AsReMixhud_headshots,//1

];

_vitals ctrlCommit 0;

sleep 2;

};

as for the size of the image, I'm unsure what setting to change

Link to comment
Share on other sites

for some reason I'm not getting the option to bank at my laptops. I've placed them myself in the mission.sqf:

 

variables http://pastebin.com/j5f3Ljsd

 

selfaction http://pastebin.com/bivkvzfx

_vehicle_104128 = objNull;
if (true) then
{
  _this = createVehicle ["Laptop_EP1", [4316.8242, 4765.7012, 0.69932973], [], 0, "CAN_COLLIDE"];
  _vehicle_104128 = _this;
  _this setDir 50.267807;
  _this setPos [4316.8242, 4765.7012, 0.69932973];
};
 
_vehicle_104129 = objNull;
if (true) then
{
  _this = createVehicle ["Laptop_EP1", [4316.8418, 4764.4961, 0.70494616], [], 0, "CAN_COLLIDE"];
  _vehicle_104129 = _this;
  _this setDir 107.4182;
  _this setPos [4316.8418, 4764.4961, 0.70494616];
};
Link to comment
Share on other sites

This should work to show only the coins, change your playerHud.sqf to

disableSerialization;

// player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud

AsReMixhud_Control = true; // player getVariable["AsReMixhud",true];

while {true} do

{

1000 cutRsc ["AsReMixhud","PLAIN"];

_wpui = uiNameSpace getVariable "AsReMixhud";

_vitals = _wpui displayCtrl 4900;

_thePlayer = player;

AsReMixhud_headshots = _thePlayer getVariable["headShots",0];

_vitals ctrlSetStructuredText parseText format ["

%1

,

AsReMixhud_headshots,//1

];

_vitals ctrlCommit 0;

sleep 2;

};

as for the size of the image, I'm unsure what setting to change

Ive Replaced everything in my hud.sqf and it hasnt worked there is no icon :( all the icons are gone

Link to comment
Share on other sites

do you have a playerhud.sqf that has the bank and coins only??

Here ya go

disableSerialization;

// player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud

AsReMixhud_Control = true; // player getVariable["AsReMixhud",true];

while {true} do

{

1000 cutRsc ["AsReMixhud","PLAIN"];

_wpui = uiNameSpace getVariable "AsReMixhud";

_vitals = _wpui displayCtrl 4900;

_thePlayer = player;

AsReMixhud_headshots = _thePlayer getVariable["headShots",0];

Zupa_bank = _thePlayer getVariable["bank",0];

_vitals ctrlSetStructuredText parseText format ["

%1

%2

",

AsReMixhud_headshots,//1

Zupa_bank//2

];

_vitals ctrlCommit 0;

sleep 2;

};

Link to comment
Share on other sites

Here ya go

disableSerialization;

// player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud

AsReMixhud_Control = true; // player getVariable["AsReMixhud",true];

while {true} do

{

1000 cutRsc ["AsReMixhud","PLAIN"];

_wpui = uiNameSpace getVariable "AsReMixhud";

_vitals = _wpui displayCtrl 4900;

_thePlayer = player;

AsReMixhud_headshots = _thePlayer getVariable["headShots",0];

Zupa_bank = _thePlayer getVariable["bank",0];

_vitals ctrlSetStructuredText parseText format ["

%1

%2

",

AsReMixhud_headshots,//1

Zupa_bank//2

];

_vitals ctrlCommit 0;

sleep 2;

};

i replaced my whole playerhud.sqf with thsi code and it doesnt work :( i get no images could you give me your playerhud.sqf plz :)

Link to comment
Share on other sites

My players are not able to change skins once we added in the coin scripts.  Everything else works though!  Any ideas?  

 

When we right-click a skin to put it on, and click 'Wear Ghillie Suit' for instance, nothing will happen.

That's a issue with your selfactions not the coin system.

Link to comment
Share on other sites

The only things changed in the self actions were from the instructions listed with the scripts.  I'll run through it and see what I can find.  Any chance you could point me in the right direction?

 

Thanks!

Use the one Zupa had made.
Link to comment
Share on other sites

 

for some reason I'm not getting the option to bank at my laptops. I've placed them myself in the mission.sqf:

 

variables http://pastebin.com/j5f3Ljsd

 

selfaction http://pastebin.com/bivkvzfx

_vehicle_104128 = objNull;
if (true) then
{
  _this = createVehicle ["Laptop_EP1", [4316.8242, 4765.7012, 0.69932973], [], 0, "CAN_COLLIDE"];
  _vehicle_104128 = _this;
  _this setDir 50.267807;
  _this setPos [4316.8242, 4765.7012, 0.69932973];
};
 
_vehicle_104129 = objNull;
if (true) then
{
  _this = createVehicle ["Laptop_EP1", [4316.8418, 4764.4961, 0.70494616], [], 0, "CAN_COLLIDE"];
  _vehicle_104129 = _this;
  _this setDir 107.4182;
  _this setPos [4316.8418, 4764.4961, 0.70494616];
};
Link to comment
Share on other sites

Hey guys. I just installed this and I'm trying to use the traders they supplied. I followed the instructions exactly as they were written on the site but when I get in my server none of my traders have any items to sell except for one, my custom Sports Cars trader now offers me all the old currencies instead of vehicles. I'd rather not have to go through changing all the TIDs, but if that's the only option then I will. I liked how he had the traders set up though and wanted to use them. It'd save me quite a few hours of work. Any help would be greatly appreciated.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...