Jump to content

[Alpha Release] Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking).


Recommended Posts

Hey zupa i've noticed an exploit that needs to be fixed

 

After putting money in a safe you can lock it, you still have a few seconds to get option to money, if you wait until safe locks then take your money out, when unlocking it again the money will be still in

Link to comment
Share on other sites

So for The Server.pbo section and on part a. I dont know where your  "compiles/server_tradeObject.sqf" is so I cant finish the install (Im really new to this so please simplify answers so an idiot could understand)

dayz_server.pbo , in the compiles folder
Link to comment
Share on other sites

what i have below, is that correct?

if (_grave and _isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then {

i dont think that would do it , i could be wrong _grave is not a variable so it would do nothing , and correct name for grave is GraveDZE

also that code is for trading 1 on 1 , 

 

think the  code we have to edit is in  server_functions.sqf we need to add the coins from inventory to the grave[box] , not sure how

 

dayz_perform_purge_player = {

 
private ["_countr","_backpack","_backpackType","_backpackWpn","_backpackMag","_objWpnTypes","_objWpnQty","_location","_dir","_holder","_weapons","_magazines"];
    diag_log ("Purging player: " + str(_this));
 
if(!isNull(_this)) then {
 
_location = getPosATL _this;
_dir = getDir _this;
 
_holder = createVehicle ["GraveDZE", _location, [], 0, "CAN_COLLIDE"];//ORIGINAL
_holder setDir _dir;
_holder setPosATL _location;
 
_holder enableSimulation false;
 
_weapons = weapons _this;
_magazines = magazines _this;
 
// find backpack
if(!(isNull unitBackpack _this)) then {
_backpack = unitBackpack _this;
_backpackType = typeOf _backpack;
_backpackWpn = getWeaponCargo _backpack;
_backpackMag = getMagazineCargo _backpack;
 
_holder addBackpackCargoGlobal [_backpackType,1];
 
// add items from backpack 
_objWpnTypes = _backpackWpn select 0;
_objWpnQty = _backpackWpn select 1;
_countr = 0;
{
_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} count _objWpnTypes;
 
// add backpack magazine items
_objWpnTypes = _backpackMag select 0;
_objWpnQty = _backpackMag select 1;
_countr = 0;
{
_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} count _objWpnTypes;
};
};
 
// add weapons
_holder addWeaponCargoGlobal [_x, 1];
} count _weapons;
 
// add mags
_holder addMagazineCargoGlobal [_x, 1];
} count _magazines;
_group = group _this;
_this removeAllMPEventHandlers "mpkilled";
_this removeAllMPEventHandlers "mphit";
_this removeAllMPEventHandlers "mprespawn";
_this removeAllEventHandlers "FiredNear";
_this removeAllEventHandlers "HandleDamage";
_this removeAllEventHandlers "Killed";
_this removeAllEventHandlers "Fired";
_this removeAllEventHandlers "GetOut";
_this removeAllEventHandlers "GetIn";
_this removeAllEventHandlers "Local";
clearVehicleInit _this;
deleteVehicle _this;
if ((count (units _group) == 0) && (_group != grpNull)) then {
deleteGroup _group;
};
//  _this = nil;
};
 

but i could be wrong , will need to try to find out =P

 

 

you would also need to add GraveDZE to the type of items that can have the bank menu , and now that im rethinking it this might also break the amount a box can hold if you have more money then the box could hold , so the other way might be better

Edited by TNT
Link to comment
Share on other sites

i dont think that would do it , i could be wrong _grave is not a variable so it would do nothing , and correct name for grave is GraveDZE

also that code is for trading 1 on 1 , 

 

think the  code we have to edit is in  server_functions.sqf we need to add the coins from inventory to the grave[box] , not sure how

 

dayz_perform_purge_player = {

 
private ["_countr","_backpack","_backpackType","_backpackWpn","_backpackMag","_objWpnTypes","_objWpnQty","_location","_dir","_holder","_weapons","_magazines"];
    diag_log ("Purging player: " + str(_this));
 
if(!isNull(_this)) then {
 
_location = getPosATL _this;
_dir = getDir _this;
 
_holder = createVehicle ["GraveDZE", _location, [], 0, "CAN_COLLIDE"];//ORIGINAL
_holder setDir _dir;
_holder setPosATL _location;
 
_holder enableSimulation false;
 
_weapons = weapons _this;
_magazines = magazines _this;
 
// find backpack
if(!(isNull unitBackpack _this)) then {
_backpack = unitBackpack _this;
_backpackType = typeOf _backpack;
_backpackWpn = getWeaponCargo _backpack;
_backpackMag = getMagazineCargo _backpack;
 
_holder addBackpackCargoGlobal [_backpackType,1];
 
// add items from backpack 
_objWpnTypes = _backpackWpn select 0;
_objWpnQty = _backpackWpn select 1;
_countr = 0;
{
_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} count _objWpnTypes;
 
// add backpack magazine items
_objWpnTypes = _backpackMag select 0;
_objWpnQty = _backpackMag select 1;
_countr = 0;
{
_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
_countr = _countr + 1;
} count _objWpnTypes;
};
};
 
// add weapons
_holder addWeaponCargoGlobal [_x, 1];
} count _weapons;
 
// add mags
_holder addMagazineCargoGlobal [_x, 1];
} count _magazines;
_group = group _this;
_this removeAllMPEventHandlers "mpkilled";
_this removeAllMPEventHandlers "mphit";
_this removeAllMPEventHandlers "mprespawn";
_this removeAllEventHandlers "FiredNear";
_this removeAllEventHandlers "HandleDamage";
_this removeAllEventHandlers "Killed";
_this removeAllEventHandlers "Fired";
_this removeAllEventHandlers "GetOut";
_this removeAllEventHandlers "GetIn";
_this removeAllEventHandlers "Local";
clearVehicleInit _this;
deleteVehicle _this;
if ((count (units _group) == 0) && (_group != grpNull)) then {
deleteGroup _group;
};
//  _this = nil;
};
 

but i could be wrong , will need to try to find out =P

 

 

you would also need to add GraveDZE to the type of items that can have the bank menu , and now that im rethinking it this might also break the amount a box can hold if you have more money then the box could hold , so the other way might be better

I wonder, what about the Org. Coin. That may have something in it. Will have to go look. If someone knows where i might start to look, i thank you in advance.

Link to comment
Share on other sites

To put the money from body to grave

 

change

dayz_perform_purge_player = {

	private ["_countr","_backpack","_backpackType","_backpackWpn","_backpackMag","_objWpnTypes","_objWpnQty","_location","_dir","_holder","_weapons","_magazines"];
    diag_log ("Purging player: " + str(_this));	

	if(!isNull(_this)) then {

		_location = getPosATL _this;
		_dir = getDir _this;

		_holder = createVehicle ["GraveDZE", _location, [], 0, "CAN_COLLIDE"];
		_holder setDir _dir;
		_holder setPosATL _location;

		_holder enableSimulation false;

		_weapons = weapons _this;
		_magazines = magazines _this;

		// find backpack
		if(!(isNull unitBackpack _this)) then {
			_backpack = unitBackpack _this;
			_backpackType = typeOf _backpack;
			_backpackWpn = getWeaponCargo _backpack;
			_backpackMag = getMagazineCargo _backpack;

			_holder addBackpackCargoGlobal [_backpackType,1];

			// add items from backpack 
			_objWpnTypes = _backpackWpn select 0;
			_objWpnQty = _backpackWpn select 1;
			_countr = 0;
			{
				_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;

			// add backpack magazine items
			_objWpnTypes = _backpackMag select 0;
			_objWpnQty = _backpackMag select 1;
			_countr = 0;
			{
				_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;
		};
	};

	// add weapons
	{ 
		_holder addWeaponCargoGlobal [_x, 1];
	} count _weapons;

	// add mags
	{ 
		_holder addMagazineCargoGlobal [_x, 1];
	} count _magazines;
	_group = group _this;
	_this removeAllMPEventHandlers "mpkilled";
	_this removeAllMPEventHandlers "mphit";
	_this removeAllMPEventHandlers "mprespawn";
	_this removeAllEventHandlers "FiredNear";
	_this removeAllEventHandlers "HandleDamage";
	_this removeAllEventHandlers "Killed";
	_this removeAllEventHandlers "Fired";
	_this removeAllEventHandlers "GetOut";
	_this removeAllEventHandlers "GetIn";
	_this removeAllEventHandlers "Local";
	clearVehicleInit _this;
	deleteVehicle _this;
	if ((count (units _group) == 0) && (_group != grpNull)) then {
		deleteGroup _group;
	};
	//  _this = nil;
};

in server_functions.sqf ( in server init folder)

 

to

dayz_perform_purge_player = {

	private ["_countr","_backpack","_backpackType","_backpackWpn","_backpackMag","_objWpnTypes","_objWpnQty","_location","_dir","_holder","_weapons","_magazines"];
    diag_log ("Purging player: " + str(_this));	

	if(!isNull(_this)) then {

		_location = getPosATL _this;
		_dir = getDir _this;
		_scMoney = _this getVariable["cashMoney",0];

		_holder = createVehicle ["GraveDZE", _location, [], 0, "CAN_COLLIDE"];
		_holder setDir _dir;
		_holder setPosATL _location;
		_holder setVariable["cashMoney",_scMoney,true];

		_holder enableSimulation false;

		_weapons = weapons _this;
		_magazines = magazines _this;

		// find backpack
		if(!(isNull unitBackpack _this)) then {
			_backpack = unitBackpack _this;
			_backpackType = typeOf _backpack;
			_backpackWpn = getWeaponCargo _backpack;
			_backpackMag = getMagazineCargo _backpack;

			_holder addBackpackCargoGlobal [_backpackType,1];

			// add items from backpack 
			_objWpnTypes = _backpackWpn select 0;
			_objWpnQty = _backpackWpn select 1;
			_countr = 0;
			{
				_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;

			// add backpack magazine items
			_objWpnTypes = _backpackMag select 0;
			_objWpnQty = _backpackMag select 1;
			_countr = 0;
			{
				_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;
		};
	};

	// add weapons
	{ 
		_holder addWeaponCargoGlobal [_x, 1];
	} count _weapons;

	// add mags
	{ 
		_holder addMagazineCargoGlobal [_x, 1];
	} count _magazines;
	_group = group _this;
	_this removeAllMPEventHandlers "mpkilled";
	_this removeAllMPEventHandlers "mphit";
	_this removeAllMPEventHandlers "mprespawn";
	_this removeAllEventHandlers "FiredNear";
	_this removeAllEventHandlers "HandleDamage";
	_this removeAllEventHandlers "Killed";
	_this removeAllEventHandlers "Fired";
	_this removeAllEventHandlers "GetOut";
	_this removeAllEventHandlers "GetIn";
	_this removeAllEventHandlers "Local";
	clearVehicleInit _this;
	deleteVehicle _this;
	if ((count (units _group) == 0) && (_group != grpNull)) then {
		deleteGroup _group;
	};
	//  _this = nil;
};

in selfActions

 

add

if ( cursorTarget isKindOf "GraveDZE") then {
	_player_studybody = true;
}

after

_player_butcher = false;
_player_studybody = false;
_player_SurrenderedGear = false;
Link to comment
Share on other sites

 

To put the money from body to grave

 

change

dayz_perform_purge_player = {

	private ["_countr","_backpack","_backpackType","_backpackWpn","_backpackMag","_objWpnTypes","_objWpnQty","_location","_dir","_holder","_weapons","_magazines"];
    diag_log ("Purging player: " + str(_this));	

	if(!isNull(_this)) then {

		_location = getPosATL _this;
		_dir = getDir _this;

		_holder = createVehicle ["GraveDZE", _location, [], 0, "CAN_COLLIDE"];
		_holder setDir _dir;
		_holder setPosATL _location;

		_holder enableSimulation false;

		_weapons = weapons _this;
		_magazines = magazines _this;

		// find backpack
		if(!(isNull unitBackpack _this)) then {
			_backpack = unitBackpack _this;
			_backpackType = typeOf _backpack;
			_backpackWpn = getWeaponCargo _backpack;
			_backpackMag = getMagazineCargo _backpack;

			_holder addBackpackCargoGlobal [_backpackType,1];

			// add items from backpack 
			_objWpnTypes = _backpackWpn select 0;
			_objWpnQty = _backpackWpn select 1;
			_countr = 0;
			{
				_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;

			// add backpack magazine items
			_objWpnTypes = _backpackMag select 0;
			_objWpnQty = _backpackMag select 1;
			_countr = 0;
			{
				_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;
		};
	};

	// add weapons
	{ 
		_holder addWeaponCargoGlobal [_x, 1];
	} count _weapons;

	// add mags
	{ 
		_holder addMagazineCargoGlobal [_x, 1];
	} count _magazines;
	_group = group _this;
	_this removeAllMPEventHandlers "mpkilled";
	_this removeAllMPEventHandlers "mphit";
	_this removeAllMPEventHandlers "mprespawn";
	_this removeAllEventHandlers "FiredNear";
	_this removeAllEventHandlers "HandleDamage";
	_this removeAllEventHandlers "Killed";
	_this removeAllEventHandlers "Fired";
	_this removeAllEventHandlers "GetOut";
	_this removeAllEventHandlers "GetIn";
	_this removeAllEventHandlers "Local";
	clearVehicleInit _this;
	deleteVehicle _this;
	if ((count (units _group) == 0) && (_group != grpNull)) then {
		deleteGroup _group;
	};
	//  _this = nil;
};

in server_functions.sqf ( in server init folder)

 

to

dayz_perform_purge_player = {

	private ["_countr","_backpack","_backpackType","_backpackWpn","_backpackMag","_objWpnTypes","_objWpnQty","_location","_dir","_holder","_weapons","_magazines"];
    diag_log ("Purging player: " + str(_this));	

	if(!isNull(_this)) then {

		_location = getPosATL _this;
		_dir = getDir _this;
		_scMoney = _this getVariable["cashMoney",0];

		_holder = createVehicle ["GraveDZE", _location, [], 0, "CAN_COLLIDE"];
		_holder setDir _dir;
		_holder setPosATL _location;
		_holder setVariable["cashMoney",_scMoney,true];

		_holder enableSimulation false;

		_weapons = weapons _this;
		_magazines = magazines _this;

		// find backpack
		if(!(isNull unitBackpack _this)) then {
			_backpack = unitBackpack _this;
			_backpackType = typeOf _backpack;
			_backpackWpn = getWeaponCargo _backpack;
			_backpackMag = getMagazineCargo _backpack;

			_holder addBackpackCargoGlobal [_backpackType,1];

			// add items from backpack 
			_objWpnTypes = _backpackWpn select 0;
			_objWpnQty = _backpackWpn select 1;
			_countr = 0;
			{
				_holder addWeaponCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;

			// add backpack magazine items
			_objWpnTypes = _backpackMag select 0;
			_objWpnQty = _backpackMag select 1;
			_countr = 0;
			{
				_holder addMagazineCargoGlobal [_x,(_objWpnQty select _countr)];
				_countr = _countr + 1;
			} count _objWpnTypes;
		};
	};

	// add weapons
	{ 
		_holder addWeaponCargoGlobal [_x, 1];
	} count _weapons;

	// add mags
	{ 
		_holder addMagazineCargoGlobal [_x, 1];
	} count _magazines;
	_group = group _this;
	_this removeAllMPEventHandlers "mpkilled";
	_this removeAllMPEventHandlers "mphit";
	_this removeAllMPEventHandlers "mprespawn";
	_this removeAllEventHandlers "FiredNear";
	_this removeAllEventHandlers "HandleDamage";
	_this removeAllEventHandlers "Killed";
	_this removeAllEventHandlers "Fired";
	_this removeAllEventHandlers "GetOut";
	_this removeAllEventHandlers "GetIn";
	_this removeAllEventHandlers "Local";
	clearVehicleInit _this;
	deleteVehicle _this;
	if ((count (units _group) == 0) && (_group != grpNull)) then {
		deleteGroup _group;
	};
	//  _this = nil;
};

in selfActions

 

add

if ( cursorTarget isKindOf "GraveDZE") then {
	_player_studybody = true;
}

after

_player_butcher = false;
_player_studybody = false;
_player_SurrenderedGear = false;

But when i do this ... save me server nothing not weapon not Backpack not Money nothing 

 

And what is with this file ?? "convert.sql "

where do save the in Money Database or in anyone file ?

Link to comment
Share on other sites

Hi Zupa, Applied this fix for Grave, But it would not work it broke the traders menu, and I also lost the option to Check Wallet on dead palyers,

Client RTP Showed this:

Error in expression <") then {

_player_studybody = true;
}

if (!_isAlive) then {


if((_isAnimal ||>
  Error position: <if (!_isAlive) then {

if((_isAnimal ||>
  Error Missing ;
File mpmissions\__CUR_MP.Napf\custom\fn_selfActions.sqf, line 403

---------------------------------

and this in server RTP:

 

20:49:37 Error in expression <") then {
_player_studybody = true;
}

if (!_isAlive) then {

if((_isAnimal ||>
20:49:37   Error position: <if (!_isAlive) then {

if((_isAnimal ||>
20:49:37   Error Missing ;
20:49:37 File mpmissions\dayz_epoch_24.Napf\custom\fn_selfActions.sqf, line 403

 

 

MegaZ

Link to comment
Share on other sites

Hi Zupa, Applied this fix for Grave, But it would not work it broke the traders menu, and I also lost the option to Check Wallet on dead palyers,

Client RTP Showed this:

Error in expression <") then {

_player_studybody = true;

}

if (!_isAlive) then {

if((_isAnimal ||>

  Error position: <if (!_isAlive) then {

if((_isAnimal ||>

  Error Missing ;

File mpmissions\__CUR_MP.Napf\custom\fn_selfActions.sqf, line 403

---------------------------------

and this in server RTP:

 

20:49:37 Error in expression <") then {

_player_studybody = true;

}

if (!_isAlive) then {

if((_isAnimal ||>

20:49:37   Error position: <if (!_isAlive) then {

if((_isAnimal ||>

20:49:37   Error Missing ;

20:49:37 File mpmissions\dayz_epoch_24.Napf\custom\fn_selfActions.sqf, line 403

 

 

MegaZ

me too

Link to comment
Share on other sites

guys the mistake zupa made to grave fix is easy to fix just put a ; at the end of 
 
if ( cursorTarget isKindOf "GraveDZE") then {
_player_studybody = true;
};
 
testing right now

 

  ok so i tried this out , it works an issue to mayb look into zupa is Name is not showing it says unknown , u can fix that or not its not game killing . 

 

now i just need fix my weapons traders , they seem to cancel my trade every time , but other traders work fine , thanks for your time zupa 

Edited by TNT
Link to comment
Share on other sites

guys the mistake zupa made to grave fix is easy to fix just put a ; at the end of 

 

if ( cursorTarget isKindOf "GraveDZE") then {

_player_studybody = true;

};

 

testing right now

 

  ok so i tried this out , it works an issue to mayb look into zupa is Name is not showing it says unknown , u can fix that or not its not game killing . 

 

now i just need fix my weapons traders , they seem to cancel my trade every time , but other traders work fine , thanks for your time zupa 

 

Thx for pointing that out to them ( reading simple client rpt's could have show them that mistake easely ^^)

 

About the grave, the grave has no name, and as u see in the code, it never gets transfered from the body to the grave.

 

you could do something like ( in th epurge player function)

_name= name _this;

_holder setVariable["bodyName",_name,true]; // this after the createVehicle ofcourse, otherwise it doesnt excist yet.

Link to comment
Share on other sites

thanks again zupa =] , 

 

i have a few more client errors if you could please look at them , i have not modified the files at all 

Error in expression <rItemList select _index;

_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <o { sleep 1; };
 
_item = TraderItemList select _index;
_qty = {_x == (_item sele>
  Error position: <select _index;
_qty = {_x == (_item sele>
  Error Zero divisor
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 186
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <rItemList select _index;
_qty = {_x == (_item select 3)} count magazines player;>
  Error position: <_item select 3)} count magazines player;>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 187
Error in expression <[TraderDialogBuyPrice, format["%1 %2", [_item select 2] call BIS_fnc_numberText,>
  Error position: <_item select 2] call BIS_fnc_numberText,>
  Error Undefined variable in expression: _item
File mpmissions\__CUR_MP.Napf\ZSC\gold\player_traderMenu.sqf, line 189
 

Link to comment
Share on other sites

Hi, great script but by any chance is it possible to use this coins to pay for car refuel/repair and to give AI coins which can be taken after killing them ??? (WickedAI & DZMS)

 

Literally on the main thread for zupa's single currency. 

 

http://epochmod.com/forum/index.php?/forum/56-project-gold-coin-based-single-currency-banking-system/

Link to comment
Share on other sites

Zupa help me pleas me coins never save !!!

 

Start -> Player_sync correct ? 

 

Yes -> look in DB if the money is in the inventory array on the end? 

 

Yes -> gearSet.sqf true in config and present in code ?

 

Thats all to check on player money :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...