Jump to content

[Issue] Players get negative sums in cashMoney across restarts


Recommended Posts

Hi everyone,

 

I have recently had issues where players are experiencing negative amounts in their cashMoney column, when picking up money from corpses or selling/buying from traders.  Generally this is something that players say they do within the last 5 minutes before restart.

 

I have already stressed to them that they should log out sooner, but I am still seeing this issue. 

 

What I currently have is:

 

Core:

- Zupa 1.1 + Soul version 1,

 

Addon:

- Universal Remove/Add Coins

- Single Currency Base Maintenance

- Single Currency Service Points

 

I have already reinstalled all files and dll's to test if I missed something (not appearing to be the issue).

 

Any ideas?

Link to comment
Share on other sites

Looking into my Hive log (which I completely missed all weekend), show three distinct issues:

2014-08-24 19:21:49 HiveExt: [Error] Error executing |CHILD:201:296:[295,[11868,12613.2,0.0438232]]:[["ItemMap","ItemKnife","ItemEtool","ItemCompass","ItemCrowbar","Colt1911","ItemMatchbox_DZE","ItemHatchet_DZE","Mk_48_DZ"],["ItemMorphine","ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemBandage","20Rnd_762x51_DMR","ItemPainkiller","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ItemSodaCoke","100Rnd_762x51_M240","100Rnd_762x51_M240"]]:["DZ_GunBag_EP1",[["SCAR_L_STD_Mk4CQT","DMR","VSS_vintorez","ItemToolbox"],[1,1,1,1]],[["ItemMorphine","ItemPainkiller","20Rnd_9x39_SP5_VSS"],[1,1,2]]]:[false,false,false,false,false,false,true,8957.63,[],[0.0060121,0],0,[145.411,251.838]]:false:false:3:3:168:2:["Mk_48_DZ","amovpknlmstpsraswrfldnon",41,[]]:0:0::15:scalar:|

2014-08-24 19:23:31 Database: [Error] Error 1062 (Duplicate entry '##################' for key 'PRIMARY') in MySQLStmtExecute SQL: 'INSERT INTO `Banking_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?) VALUES("##################", "someplayernamehere")'

2014-08-24 19:50:37 HiveExt: [Error] Error executing |CHILD:201:277:[317,[12890.7,12764,0]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[615.536,236.644]]:false:false:0:0:0:0:["","",42,[]]:0:0::0:1.25e+006:|

(Player details anonymized to ###)

 

Now, I will assume that the reason for the three various errors are: 

 

1.) scalar is not an option that should be in the string to be updated?

2.) SQL is trying to add in Value (?,?) followed by another proper VALUES("##################", "someplayernamehere")
3.) Possibly a protest where it cant enter scientific value to the DB?

As for number 1 above, I don know why 
As for number 2 above, I'll try and see if there are any reasons for it in a file I edited or not. 

As for number 3 above, It is over the 999.999 value barrier - so the question is if saving to DB has the same limitation as saving to bank at the moment - cant exceed 999.999 in Child 201 calls? 

Hope this shed some more light on the topic. :) 

 

Cheers, 

Link to comment
Share on other sites

Looking into my Hive log (which I completely missed all weekend), show three distinct issues:

2014-08-24 19:21:49 HiveExt: [Error] Error executing |CHILD:201:296:[295,[11868,12613.2,0.0438232]]:[["ItemMap","ItemKnife","ItemEtool","ItemCompass","ItemCrowbar","Colt1911","ItemMatchbox_DZE","ItemHatchet_DZE","Mk_48_DZ"],["ItemMorphine","ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemBandage","20Rnd_762x51_DMR","ItemPainkiller","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ItemSodaCoke","100Rnd_762x51_M240","100Rnd_762x51_M240"]]:["DZ_GunBag_EP1",[["SCAR_L_STD_Mk4CQT","DMR","VSS_vintorez","ItemToolbox"],[1,1,1,1]],[["ItemMorphine","ItemPainkiller","20Rnd_9x39_SP5_VSS"],[1,1,2]]]:[false,false,false,false,false,false,true,8957.63,[],[0.0060121,0],0,[145.411,251.838]]:false:false:3:3:168:2:["Mk_48_DZ","amovpknlmstpsraswrfldnon",41,[]]:0:0::15:scalar:|

2014-08-24 19:23:31 Database: [Error] Error 1062 (Duplicate entry '##################' for key 'PRIMARY') in MySQLStmtExecute SQL: 'INSERT INTO `Banking_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?) VALUES("##################", "someplayernamehere")'

2014-08-24 19:50:37 HiveExt: [Error] Error executing |CHILD:201:277:[317,[12890.7,12764,0]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[615.536,236.644]]:false:false:0:0:0:0:["","",42,[]]:0:0::0:1.25e+006:|

(Player details anonymized to ###)

 

Now, I will assume that the reason for the three various errors are: 

 

1.) scalar is not an option that should be in the string to be updated?

Dunno what you are doing but you are trying to store a typename value instead of the actual value...

 

2.) SQL is trying to add in Value (?,?) followed by another proper VALUES("##################", "someplayernamehere")

Ignore this error for now, this one doesnt harm.

3.) Possibly a protest where it cant enter scientific value to the DB?

i dont see how someone can get a update that large, do you have objects worth over 999999 on your server?

The way it works is it uses a check variable and does a difference calulation of that one and the actual var that holds the current amount of coins.

The difference gets send to hive and the hive does the addition or deduction.

As for number 1 above, I don know why 

As for number 2 above, I'll try and see if there are any reasons for it in a file I edited or not. 

As for number 3 above, It is over the 999.999 value barrier - so the question is if saving to DB has the same limitation as saving to bank at the moment - cant exceed 999.999 in Child 201 calls? 

Hope this shed some more light on the topic. :)

 

Cheers, 

Link to comment
Share on other sites

Yes, we do have items with values over 999999 on the server - in hindsight it was probably not a good idea to price things so high, but the initial values were set based on how we had priced items in the DB before. 

 

For the Scalar issue, not sure what that is from  - will have to look that up. 

Link to comment
Share on other sites

Yes, we do have items with values over 999999 on the server - in hindsight it was probably not a good idea to price things so high, but the initial values were set based on how we had priced items in the DB before. 

 

For the Scalar issue, not sure what that is from  - will have to look that up. 

 

scalar is the typename for integer values, so your server is not trying to store the value but the value's typename.

Link to comment
Share on other sites

Any progress on this issue ?

My players are suffering the same issue. player can have say 600k in coins, server restart and they will come back with a very large negative number.

This does not happen all the time but as you can imagine, make some players pretty unhappy :blink:

 

Cheers

Link to comment
Share on other sites

Any progress on this issue ?

My players are suffering the same issue. player can have say 600k in coins, server restart and they will come back with a very large negative number.

This does not happen all the time but as you can imagine, make some players pretty unhappy :blink:

 

Cheers

 

Can you confirm the database also says that negative number then?

Link to comment
Share on other sites

  • 1 month later...

Having this issue too. We have APCS on our server that are priced over 1 million and bank limit raised to 1 million. Could this be the problem? Also seeing another bug where if you give player money it returns to the giver after restart so basically dupes coins -this may be a seperate issue tho?

 

Thanks

Max

Link to comment
Share on other sites

Managed to fix things for amounts over 999,999 :)

 

Apply the changes below and you're golden.

 

server_playerSync.sqf

private ["_empty","_name","_playerwasNearby","_character","_magazines","_force","_characterID","_charPos","_isInVehicle","_timeSince","_humanity","_debug","_distance","_isNewMed","_isNewPos","_isNewGear","_playerPos","_playerGear","_playerBackp","_medical","_distanceFoot","_lastPos","_backpack","_kills","_killsB","_killsH","_headShots","_cashMoney","_cashMoneyStr","_lastTime","_timeGross","_timeLeft","_currentWpn","_currentAnim","_config","_onLadder","_isTerminal","_currentModel","_modelChk","_muzzles","_temp","_currentState","_array","_key","_pos","_forceGear","_friendlies"];

_character = 	_this select 0;
_magazines = _this select 1;

//_force = 		_this select 2;
_forceGear =	_this select 3;
_force =	true;
_playerwasNearby = false;

if ((count _this) > 4) then {
	_playerwasNearby =	_this select 4;
};

if (isNull _character) exitWith {
	diag_log ("Player is Null FAILED: Exiting, player sync: " + str(_character));
};

_characterID =	_character getVariable ["CharacterID","0"];
_charPos = 		getPosATL _character;
_isInVehicle = 	vehicle _character != _character;
_timeSince = 	0;
_humanity =		0;

//diag_log ("DW_DEBUG: (isnil _characterID): " + str(isnil "_characterID"));
_name = if (alive _character) then { name _character; } else { "Dead Player"; };
if (_character isKindOf "Animal") exitWith {
	diag_log ("ERROR: Cannot Sync Character " + (_name) + " is an Animal class");
};

if (isnil "_characterID") exitWith {
	diag_log ("ERROR: Cannot Sync Character " + (_name) + " has nil characterID");	
};

if (_characterID == "0") exitWith {
	diag_log ("ERROR: Cannot Sync Character " + (_name) + " as no characterID");
};

private["_debug","_distance"];
_debug = getMarkerpos "respawn_west";
_distance = _debug distance _charPos;
if (_distance < 2000) exitWith { 
	diag_log format["ERROR: server_playerSync: Cannot Sync Player %1 [%2]. Position in debug! %3",_name,_characterID,_charPos];
};

//Check for server initiated updates
_isNewMed =		_character getVariable["medForceUpdate",false];		//Med Update is forced when a player receives some kind of med incident
_isNewPos =		_character getVariable["posForceUpdate",false];		//Med Update is forced when a player receives some kind of med incident
_isNewGear =	(count _magazines) > 0;

//Check for player initiated updates
if (_characterID != "0") then {
	_playerPos =	[];
	_playerGear =	[];
	_playerBackp =	[];
	_medical =		[];
	_distanceFoot =	0;
	
	//diag_log ("Found Character...");
	
	//Check if update is requested
	if (_isNewPos || _force) then {
		//diag_log ("position..." + str(_isNewPos) + " / " + str(_force)); sleep 0.05;
		if (((_charPos select 0) == 0) && ((_charPos select 1) == 0)) then {
			//Zero Position
		} else {
			//diag_log ("getting position..."); sleep 0.05;
			_playerPos = 	[round(direction _character),_charPos];
			_lastPos = 		_character getVariable["lastPos",_charPos];
			if (count _lastPos > 2 && count _charPos > 2) then {
				if (!_isInVehicle) then {
					_distanceFoot = round(_charPos distance _lastPos);
				};
				_character setVariable["lastPos",_charPos];
			};
			if (count _charPos < 3) then {
				_playerPos =	[];
			};
			//diag_log ("position = " + str(_playerPos)); sleep 0.05;
		};
		_character setVariable ["posForceUpdate",false,true];
	};
	if (_isNewGear || _forceGear) then {
		//diag_log ("gear..."); sleep 0.05;
		_playerGear = [weapons _character,_magazines];
		//diag_log ("playerGear: " +str(_playerGear));
		_backpack = unitBackpack _character;
		if(_playerwasNearby) then {
			_empty = [[],[]];
			_playerBackp = [typeOf _backpack,_empty,_empty];
		} else {
			_playerBackp = [typeOf _backpack,getWeaponCargo _backpack,getMagazineCargo _backpack];
		};
	};
	if (_isNewMed || _force) then {
		//diag_log ("medical..."); sleep 0.05;
		if (!(_character getVariable["USEC_isDead",false])) then {
			//diag_log ("medical check..."); sleep 0.05;
			_medical = _character call player_sumMedical;
			//diag_log ("medical result..." + str(_medical)); sleep 0.05;
		};
		_character setVariable ["medForceUpdate",false,true];
	};
	
	//Process update
	if (_characterID != "0") then {		
		//Record stats while we're here		
		/*
			Check previous stats against what client had when they logged in
			this helps prevent JIP issues, where a new player wouldn't have received
			the old players updates. Only valid for stats where clients could have
			be recording  results from their local objects (such as agent zombies)
		*/
		_kills = 		["zombieKills",_character] call server_getDiff;
		_killsB = 		["banditKills",_character] call server_getDiff;
		_killsH = 		["humanKills",_character] call server_getDiff;
		_headShots = 	["headShots",_character] call server_getDiff;
		_humanity = 	["humanity",_character] call server_getDiff2;
		//_humanity = 	_character getVariable ["humanity",0];
		//Soul start: SC Edit >>> collecting players cashmoney
		_cashMoney = 	["cashMoney",_character] call server_getDiff2;
		_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
		//Soul end: SC Edit
		_character addScore _kills;		
		/*
			Assess how much time has passed, for recording total time on server
		*/
		_lastTime = 	_character getVariable["lastTime",time];
		_timeGross = 	(time - _lastTime);
		_timeSince = 	floor(_timeGross / 60);
		_timeLeft =		(_timeGross - (_timeSince * 60));
		/*
			Get character state details
		*/
		_currentWpn = 	currentMuzzle _character;
		_currentAnim =	animationState _character;
		_config = 		configFile >> "CfgMovesMaleSdr" >> "States" >> _currentAnim;
		_onLadder =		(getNumber (_config >> "onLadder")) == 1;
		_isTerminal = 	(getNumber (_config >> "terminal")) == 1;
		//_wpnDisabled =	(getNumber (_config >> "disableWeapons")) == 1;
		_currentModel = typeOf _character;
		_modelChk = 	_character getVariable ["model_CHK",""];
		if (_currentModel == _modelChk) then {
			_currentModel = "";
		} else {
			_currentModel = _currentModel;
			_character setVariable ["model_CHK",typeOf _character];
		};
		
		if (_onLadder || _isInVehicle || _isTerminal) then {
			_currentAnim = "";
			//If position to be updated, make sure it is at ground level!
			if ((count _playerPos > 0) && !_isTerminal) then {
				_charPos set [2,0];
				_playerPos set[1,_charPos];					
			};
		};
		if (_isInVehicle) then {
			_currentWpn = "";
		} else {
			if ( typeName(_currentWpn) == "STRING" ) then {
				_muzzles = getArray(configFile >> "cfgWeapons" >> _currentWpn >> "muzzles");
				if (count _muzzles > 1) then {
					_currentWpn = currentMuzzle _character;
				};	
			} else {
				//diag_log ("DW_DEBUG: _currentWpn: " + str(_currentWpn));
				_currentWpn = "";
			};
		};
		_temp = round(_character getVariable ["temperature",100]);
		_currentState = [_currentWpn,_currentAnim,_temp];
		if(DZE_FriendlySaving) then {
			// save only last/most recent 5 entrys as we only have 200 chars in db field && weapon + animation names are sometimes really long 60-70 chars.
			_friendlies = [(_character getVariable ["friendlies",[]]),5] call array_reduceSizeReverse;
			_currentState set [(count _currentState),_friendlies];
		};
		/*
			Everything is ready, now publish to HIVE
		*/
		if (count _playerPos > 0) then {
			_array = [];
			{
				if (_x > dayz_minpos && _x < dayz_maxpos) then {
					_array set [count _array,_x];
				};
			} count (_playerPos select 1);
			_playerPos set [1,_array];
		};
		if (!isNull _character) then {
			if (alive _character) then {
				//Wait for HIVE to be free
				//Send request
				_key = format["CHILD:201:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13:%14:%15:%16:%17:",_characterID,_playerPos,_playerGear,_playerBackp,_medical,false,false,_kills,_headShots,_distanceFoot,_timeSince,_currentState,_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
				//diag_log ("HIVE: WRITE: "+ str(_key) + " / " + _characterID);
				_key call server_hiveWrite;							
			};
		};

		// If player is in a vehicle, keep its position updated
		if (vehicle _character != _character) then {
			//[vehicle _character, "position"] call server_updateObject;
			if (!(vehicle _character in needUpdate_objects)) then {
				//diag_log format["DEBUG: Added to NeedUpdate=%1",vehicle _character];
				needUpdate_objects set [count needUpdate_objects, vehicle _character];
			};
		};
		
		// Force gear updates for nearby vehicles/tents
		_pos = _this select 0;
		{
			[_x, "gear"] call server_updateObject;
		} count nearestObjects [_pos, dayz_updateObjects, 10];
		//[_charPos] call server_updateNearbyObjects;

		//Reset timer
		if (_timeSince > 0) then {
			_character setVariable ["lastTime",(time - _timeLeft)];
		};
	};
};

And in compiles.sqf

	MDC_fnc_numberToString = {
		_number = _this;
		_str = "";
		if (_number == 0) then {
			_str = "0";
		} else {
			_negative = false;
			if (_number < 0) then {
				_number = abs _number;
				_negative = true;
			};
			if (_number % 1 == 0) then {
				while { _number > 0 } do {
					_digit = floor (_number % 10);
					_str = (str _digit) + _str;
					_number = floor (_number / 10);
				};
			} else {
				_decimals = _number % 1;
				_decimals = _decimals * 1000000;
				_number = floor _number;
				_str = _number call MDC_fnc_numberToString;
				_str = _str + "." + str _decimals;
			};
			if (_negative) then { _str = "-" + _str; };
		};
		_str;
	};
Link to comment
Share on other sites

Managed to fix things for amounts over 999,999 :)

 

Apply the changes below and you're golden.

 

Seems like this indeed does work. Haven't tested it 100% but at first glance it seems like it fixed the main issue.

Great find. Kudos for you!

 

You should prob. make a pull request on Zupa's GitHub for this since it's quite the issue. Or at very least it should be included in the library.

 

 

And just to make things easier here's the step-by-step of what mdc did to his files:

 

 

 

 

Open server_playerSync.sqf from your server's PBO.

 

 

Find:

_cashMoney = ["cashMoney",_character] call server_getDiff2;

Add below:

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;

Find:

,_cashMoney];

Replace it with:

,_cashMoneyStr];

Open your custom compiles.sqf from your mission PBO.

 

At the very top, add:

MDC_fnc_numberToString = {
	_number = _this;
	_str = "";
	if (_number == 0) then {
		_str = "0";
	} else {
		_negative = false;
		if (_number < 0) then {
			_number = abs _number;
			_negative = true;
		};
		if (_number % 1 == 0) then {
			while { _number > 0 } do {
				_digit = floor (_number % 10);
				_str = (str _digit) + _str;
				_number = floor (_number / 10);
			};
		} else {
			_decimals = _number % 1;
			_decimals = _decimals * 1000000;
			_number = floor _number;
			_str = _number call MDC_fnc_numberToString;
			_str = _str + "." + str _decimals;
		};
		if (_negative) then { _str = "-" + _str; };
	};
	_str;
};
Link to comment
Share on other sites

Hi Gents,

 

Just a quick note here. I am running SC2 and have the same issue.

 

2014-10-27 22:09:04 HiveExt: [information] Result: ["PASS",[false,false,false,false,false,false,true,12000,[],[0.524,0],0,[740.697,346.832]],[56,34,0,17],["ChainSawR","amovpercmstpslowwrfldnon_player_idlesteady02",41,[]],[176,[6132.68,7021.52,13.54]],3639,11,-172550]
 
If i look in the DB yes they do have a negative value !
 
 
mysql> select * from Character_DATA where CharacterID=130\G
*************************** 1. row ***************************
 CharacterID: 130
   PlayerUID: XXXXXXXXXXXXXX
   CashMoney: -172550
  InstanceID: 11
   Datestamp: 2014-10-27 01:50:26
   LastLogin: 2014-10-27 22:09:03
   Inventory: [["ItemMap","ItemCompass","ItemCrowbar","ItemEtool","ItemHatchet_DZE","ItemKnife","NVGoggles","ItemToolbox","RH_m9csd","ItemKeyBlack765","ChainSawR"],["ItemGunRackKit","ItemWoodCrateKit","ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemBandage"]]
    Backpack: ["DZ_CivilBackpack_EP1",[[],[]],[[],[]]]
  Worldspace: [180,[6122.91,7020.59,19.245]]
     Medical: [false,false,false,false,false,false,true,12000,[],[0.524,0],0,[1286.94,719.685]]
       Alive: 1
  Generation: 25
     LastAte: 2014-10-27 01:50:26
   LastDrank: 2014-10-27 01:50:26
      KillsZ: 56
  HeadshotsZ: 34
DistanceFoot: 182717
    Duration: 433
CurrentState: ["ChainSawR","amovpercmstpsraswrfldnon_gear",40,[]]
      KillsH: 0
       Model: Haris_Press_EP1_DZ
      KillsB: 17
    Humanity: 3639
    Infected: 0
last_updated: 2014-10-27 22:28:27
 
I have made mdc mod and will test
Link to comment
Share on other sites

Hi Again, So i have made the mod and yes I am now not getting - values however I am seeing the following.. this is the hive log and server log

2014-10-28 17:25:04 HiveExt: [Information] Method: 201 Params: 16476:[115,[8207.01,6716.45,0.276]]:[[ItemMap,ItemCompass,ItemFlashlight,ItemToolbox,Pecheneg_DZ,MakarovSD,ItemKeyRed588,ItemKeyRed102,ItemRadio,NVGoggles,ItemKnife,ItemGPS,ItemEtool,ItemCrowbar,ItemMatchbox_DZE,Binocular],[ItemWaterbottle,FoodPistachio,ItemWaterbottleUnfilled,ItemPainkiller,ItemPainkiller,ItemMorphine,ItemBloodbag,ItemBloodbag,[100Rnd_762x54_PK,21],[100Rnd_762x54_PK,92],ItemBandage,ItemBandage,ItemBandage,8Rnd_9x18_MakarovSD,8Rnd_9x18_MakarovSD,8Rnd_9x18_MakarovSD,8Rnd_9x18_MakarovSD,ItemBandage]]:[DZ_LargeGunBag_EP1,[[M24,ItemToolbox,M249_EP1_DZ],[1,1,1]],[[100Rnd_556x45_M249,ItemSilverBar],[1,1]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:135:0:[Pecheneg_DZ,amovpercmstpsraswrfldnon_gear,41,[]]:0:0::0:any:
2014-10-28 17:25:04 HiveExt: [Error] Error executing |CHILD:201:16476:[115,[8207.01,6716.45,0.276031]]:[["ItemMap","ItemCompass","ItemFlashlight","ItemToolbox","Pecheneg_DZ","MakarovSD","ItemKeyRed588","ItemKeyRed102","ItemRadio","NVGoggles","ItemKnife","ItemGPS","ItemEtool","ItemCrowbar","ItemMatchbox_DZE","Binocular"],["ItemWaterbottle","FoodPistachio","ItemWaterbottleUnfilled","ItemPainkiller","ItemPainkiller","ItemMorphine","ItemBloodbag","ItemBloodbag",["100Rnd_762x54_PK",21],["100Rnd_762x54_PK",92],"ItemBandage","ItemBandage","ItemBandage","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","ItemBandage"]]:["DZ_LargeGunBag_EP1",[["M24","ItemToolbox","M249_EP1_DZ"],[1,1,1]],[["100Rnd_556x45_M249","ItemSilverBar"],[1,1]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:135:0:["Pecheneg_DZ","amovpercmstpsraswrfldnon_gear",41,[]]:0:0::0:any:|
2014-10-28 17:25:05 HiveExt: [Information] Method: 201 Params: 16476:[38,[8206.85,6716.28,0.272]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:0:0:[Pecheneg_DZ,amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon,41,[]]:0:0::0:any:
2014-10-28 17:25:05 HiveExt: [Error] Error executing |CHILD:201:16476:[38,[8206.85,6716.28,0.27179]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:0:0:["Pecheneg_DZ","amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon",41,[]]:0:0::0:any:|



17:25:04 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:04   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:04   Error Undefined variable in expression: _vnew
17:25:04 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:04 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:04   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:04   Error Undefined variable in expression: _cashmoneystr
17:25:04 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:04 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:04   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:04   Error Undefined variable in expression: _cashmoney
17:25:04 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
17:25:05 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:05   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:05   Error Undefined variable in expression: _vnew
17:25:05 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:05 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:05   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:05   Error Undefined variable in expression: _cashmoneystr
17:25:05 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:05 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:05   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:05   Error Undefined variable in expression: _cashmoney
17:25:05 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
17:25:16 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:16   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:16   Error Undefined variable in expression: _vnew
17:25:16 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:16 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:16   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:16   Error Undefined variable in expression: _cashmoneystr
17:25:16 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:16 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:16   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:16   Error Undefined variable in expression: _cashmoney
17:25:16 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
17:25:17 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:17   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:17   Error Undefined variable in expression: _vnew
17:25:17 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:17 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:17   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:17   Error Undefined variable in expression: _cashmoneystr
17:25:17 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:17 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:17   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:17   Error Undefined variable in expression: _cashmoney
17:25:17 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
Link to comment
Share on other sites

Hi Again, So i have made the mod and yes I am now not getting - values however I am seeing the following.. this is the hive log and server log

2014-10-28 17:25:04 HiveExt: [Information] Method: 201 Params: 16476:[115,[8207.01,6716.45,0.276]]:[[ItemMap,ItemCompass,ItemFlashlight,ItemToolbox,Pecheneg_DZ,MakarovSD,ItemKeyRed588,ItemKeyRed102,ItemRadio,NVGoggles,ItemKnife,ItemGPS,ItemEtool,ItemCrowbar,ItemMatchbox_DZE,Binocular],[ItemWaterbottle,FoodPistachio,ItemWaterbottleUnfilled,ItemPainkiller,ItemPainkiller,ItemMorphine,ItemBloodbag,ItemBloodbag,[100Rnd_762x54_PK,21],[100Rnd_762x54_PK,92],ItemBandage,ItemBandage,ItemBandage,8Rnd_9x18_MakarovSD,8Rnd_9x18_MakarovSD,8Rnd_9x18_MakarovSD,8Rnd_9x18_MakarovSD,ItemBandage]]:[DZ_LargeGunBag_EP1,[[M24,ItemToolbox,M249_EP1_DZ],[1,1,1]],[[100Rnd_556x45_M249,ItemSilverBar],[1,1]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:135:0:[Pecheneg_DZ,amovpercmstpsraswrfldnon_gear,41,[]]:0:0::0:any:
2014-10-28 17:25:04 HiveExt: [Error] Error executing |CHILD:201:16476:[115,[8207.01,6716.45,0.276031]]:[["ItemMap","ItemCompass","ItemFlashlight","ItemToolbox","Pecheneg_DZ","MakarovSD","ItemKeyRed588","ItemKeyRed102","ItemRadio","NVGoggles","ItemKnife","ItemGPS","ItemEtool","ItemCrowbar","ItemMatchbox_DZE","Binocular"],["ItemWaterbottle","FoodPistachio","ItemWaterbottleUnfilled","ItemPainkiller","ItemPainkiller","ItemMorphine","ItemBloodbag","ItemBloodbag",["100Rnd_762x54_PK",21],["100Rnd_762x54_PK",92],"ItemBandage","ItemBandage","ItemBandage","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","8Rnd_9x18_MakarovSD","ItemBandage"]]:["DZ_LargeGunBag_EP1",[["M24","ItemToolbox","M249_EP1_DZ"],[1,1,1]],[["100Rnd_556x45_M249","ItemSilverBar"],[1,1]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:135:0:["Pecheneg_DZ","amovpercmstpsraswrfldnon_gear",41,[]]:0:0::0:any:|
2014-10-28 17:25:05 HiveExt: [Information] Method: 201 Params: 16476:[38,[8206.85,6716.28,0.272]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:0:0:[Pecheneg_DZ,amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon,41,[]]:0:0::0:any:
2014-10-28 17:25:05 HiveExt: [Error] Error executing |CHILD:201:16476:[38,[8206.85,6716.28,0.27179]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[232.15,254]]:false:false:0:0:0:0:["Pecheneg_DZ","amovpknlmstpslowwrfldnon_amovpercmstpsraswrfldnon",41,[]]:0:0::0:any:|



17:25:04 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:04   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:04   Error Undefined variable in expression: _vnew
17:25:04 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:04 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:04   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:04   Error Undefined variable in expression: _cashmoneystr
17:25:04 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:04 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:04   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:04   Error Undefined variable in expression: _cashmoney
17:25:04 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
17:25:05 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:05   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:05   Error Undefined variable in expression: _vnew
17:25:05 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:05 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:05   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:05   Error Undefined variable in expression: _cashmoneystr
17:25:05 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:05 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:05   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:05   Error Undefined variable in expression: _cashmoney
17:25:05 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
17:25:16 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:16   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:16   Error Undefined variable in expression: _vnew
17:25:16 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:16 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:16   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:16   Error Undefined variable in expression: _cashmoneystr
17:25:16 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:16 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:16   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:16   Error Undefined variable in expression: _cashmoney
17:25:16 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110
17:25:17 Error in expression <object getVariable[(_variable + "_CHK"),_vNew];
_result = _vNew - _vOld;
_object>
17:25:17   Error position: <_vNew];
_result = _vNew - _vOld;
_object>
17:25:17   Error Undefined variable in expression: _vnew
17:25:17 File z\addons\dayz_server\init\server_functions.sqf, line 582
17:25:17 Error in expression <_killsH,_killsB,_currentModel,_humanity,_cashMoneyStr];
_key call server_hiveWri>
17:25:17   Error position: <_cashMoneyStr];
_key call server_hiveWri>
17:25:17   Error Undefined variable in expression: _cashmoneystr
17:25:17 File z\addons\dayz_server\compile\server_playerSync.sqf, line 176
17:25:17 Error in expression < call server_getDiff2;

_cashMoneyStr = _cashMoney call MDC_fnc_numberToString;
>
17:25:17   Error position: <_cashMoney call MDC_fnc_numberToString;
>
17:25:17   Error Undefined variable in expression: _cashmoney
17:25:17 File z\addons\dayz_server\compile\server_playerSync.sqf, line 110

y replace all DLLs files?
Link to comment
Share on other sites

I should probably add it does not always happen. 70% time its all fine.. and I am running the SC2 stuff.

 

HiveExt.dll ver 0.9.4.14

Database.dll 0.9.9.0

DatabaseMySql.dll 0.9.14.0

tbb.dll 4.1.2012.718

tbbmalloc.dll 4.1.2012.718

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
  • Discord

×
×
  • Create New...