fake trade just for logging when DZE_ConfigTrader = true

_key = format["CHILD:398:%1:%2:",_traderID,_buyorsell];

_data = "HiveEXT"
_result =
// diag_log ("TRADE: RES: "+ str(_result));
_outcome = _result select 0;
This commit is contained in:
[VB]AWOL
2014-02-04 12:48:57 -06:00
parent 9771ce3f1f
commit 5db68b7d13

View File

@@ -16,13 +16,17 @@ diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) bought a %3 in/at %4 for %5"
diag_log format["EPOCH SERVERTRADE: Player: %1 (%2) sold a %3 in/at %4 for %5",(name _player), (getPlayerUID _player), _classname, _traderCity, _price];
};
//Send request
_key = format["CHILD:398:%1:%2:",_traderID,_buyorsell];
if (DZE_ConfigTrader) then {
_outcome = "PASS";
} else {
//Send request
_key = format["CHILD:398:%1:%2:",_traderID,_buyorsell];
_data = "HiveEXT" callExtension _key;
_result = call compile format ["%1",_data];
// diag_log ("TRADE: RES: "+ str(_result));
_outcome = _result select 0;
_data = "HiveEXT" callExtension _key;
_result = call compile format ["%1",_data];
// diag_log ("TRADE: RES: "+ str(_result));
_outcome = _result select 0;
};
dayzTradeResult = _outcome;
if(!isNull _player) then {