+ added color coding of backpack when selling fixes #112
+ fixed silver to gold conversion rates on bulk selling weapons and
backpacks. Fixes #114
+ add more missing weights for R3F realism. Fixes #110
+ added random direction to purchased vehicles makes it harder to get
duplicate uid not fixed 100%
This commit is contained in:
vbawol
2013-02-20 10:37:42 -06:00
parent fa5a0902f9
commit fcada965e2
12 changed files with 125 additions and 69 deletions

View File

@@ -404,7 +404,7 @@ dayz_objectUID = {
_position = getPosATL _object;
_dir = direction _object;
_key = [_dir,_position] call dayz_objectUID2;
_key
_key
};
dayz_objectUID2 = {
@@ -421,6 +421,20 @@ dayz_objectUID2 = {
_key
};
dayz_objectUID3 = {
private["_position","_dir","_key"];
_dir = _this select 0;
_key = "";
_position = _this select 1;
{
_x = _x * 10;
if ( _x < 0 ) then { _x = _x * -10 };
_key = _key + str(round(_x));
} forEach _position;
_key = _key + str(round(_dir));
_key
};
dayz_recordLogin = {
private["_key"];
_key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];