strikearena-sania
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by strikearena-sania
-
-
I am have this market on my server. And i have bag. I send 1 auto and he is sended. And i send 2-nd auto to tipe, and he is not sended without errors.
how to fix this problem?
Logs in rpt:21:11:44 Server: Object 2:3642 not found (message Type_91) 21:11:51 "[HSBlackmarket] B Alpha 1-1:1 (AXEL) REMOTE selling [["Mrshounka_rs4_civ_noir",8500,0.1,"cfgvehicles","Audi RS4 Noir","","\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa","","",68512b00# 1839753: mrshounka_rs4_p.p3d]]" 21:12:10 "[HSBlackmarket] B Alpha 1-1:1 (AXEL) REMOTE selling [["Mrshounka_rs4_civ_noir",8500,0.1,"cfgvehicles","Audi RS4 Noir","","\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa","","",68512b00# 1839753: mrshounka_rs4_p.p3d]]" 21:12:21 Server: Object 2:3642 not found (message Type_119) 21:12:24 Server: Object 2:3642 not found (message Type_91) 21:12:32 MovesType CfgMovesDog_F load time 54 ms 21:12:44 "DEBUG: _event PlantSpawner" 21:12:46 "[HSBlackmarket] B Alpha 1-1:1 (AXEL) REMOTE selling [["Mrshounka_rs4_civ_noir",8500,0.1,"cfgvehicles","Audi RS4 Noir","","\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa","","",68512b00# 1839753: mrshounka_rs4_p.p3d REMOTE]]" 21:13:04 Server: Object 2:3642 not found (message Type_91) 21:13:23 "[HSBlackmarket] B Alpha 1-1:1 (AXEL) REMOTE selling [["Mrshounka_rs4_civ_noir",8500,0.1,"cfgvehicles","Audi RS4 Noir","","\A3\soft_f_gamma\Hatchback_01\Data\UI\portrait_car_CA.paa","","",68512b00# 1839753: mrshounka_rs4_p.p3d REMOTE]]" 21:13:34 Server: Object 2:3642 not found (message Type_119)
Code in HS_playertraderequest:
if((owner _obj) isEqualTo (owner _player))then{ //damage price reductions, the price is divded by this number _damagepricereduction = switch(true)do{ //damaged over 90% case ((damage _obj) > 0.9):{10}; //damaged over 75% case ((damage _obj) > 0.75):{5}; //damaged over 50% case ((damage _obj) > 0.5):{3}; //damaged over 25% case ((damage _obj) > 0.25):{1.5}; default {1}; }; _vehSlot=_obj getVariable["VEHICLE_SLOT","ABORT"]; _isrental = _obj getVariable ["HSHALFPRICE",0]; if(!(_vehSlot isEqualTo "ABORT") && !(_isrental in [1,2]))then{ _message = _message + format["%1 is OK to sell, dam: %2 pricemod: %3 || ",_x select 4,damage _obj,_damagepricereduction]; removeFromRemainsCollector[_obj]; deleteVehicle _obj; _vehHiveKey=format["%1:%2",(call EPOCH_fn_InstanceID),_vehSlot]; _VAL=[]; ["Vehicle",_vehHiveKey,_VAL]call EPOCH_fnc_server_hiveSET; EPOCH_VehicleSlots pushBack _vehSlot; EPOCH_VehicleSlotCount=count EPOCH_VehicleSlots; publicVariable "EPOCH_VehicleSlotCount"; _cost = ((_x select 1)/_damagepricereduction); _return = _return + _cost; }else{ if(_isrental > 0)then{ _message = _message + format[" || %1 'Rental' is OK to sell, dam: %2 pricemod: %3",_x select 4,damage _obj,_damagepricereduction]; removeFromRemainsCollector[_obj]; _obj setVariable["VEHICLE_SLOT","ABORT",true]; _obj setVariable["HSHALFPRICE",0,true]; _obj call HALV_PurgeObject; _cost = ((_x select 1)/_damagepricereduction); _return = _return + _cost; }else{ _message = _message + format[" || - ERROR Attempt to sell %1 twice -",_x select 4,_player]; };
[Release] HS Blackmarket 1.6 | 'New' Trader System | Special Trader | Blackmarket
in Scripts
Posted
How fix it? Help!