Jump to content
  • 0

Vehicle deleting immediately after buying it?


ElDubya

Question

Hey all, 

 

Noticed this in the logs today and wondered if anyone knows of a fix or a reason why it happens.

13:29:48 "EPOCH SERVERTRADE: Player: neverfuckunicorns (76561198136905184) bought a GAZ_Vodnik_MedEvac in/at trader city Lenzburg for 100000x Coins" <----------------
13:29:50 "EPOCH SERVERTRADE: Player: Mong (76561198082012580) bought a FoodbeefCooked in/at trader city Schratten for 120x Coins"
13:29:51 "PUBLISH: Attempt 35af0800# 992545: arrow_down_large_ep1.p3d REMOTE"
13:29:51 "HIVE: WRITE: "CHILD:308:24:GAZ_Vodnik_MedEvac:0:5478:[354,[8259.37,15472.3,-5.00679e-005]]:[]:[]:1:8259415472305387:"" <--------------
13:29:53 "WAI: Spawned in 4 M2StaticMG"
13:29:53 "EPOCH SERVERTRADE: Player: Mong (76561198082012580) bought a FoodbeefCooked in/at trader city Schratten for 120x Coins"
13:29:55 "HIVE: WRITE: "CHILD:388:8259415472305387:""
13:29:55 "CUSTOM: Selected "4402""
13:29:55 UH1Y_DZE: ObsTurret - unknown animation source ObsTurret
13:29:55 UH1Y_DZE: ObsGun - unknown animation source ObsGun
13:29:56 "Deleting object GAZ_Vodnik_MedEvac with invalid ID at pos [8259.37,15472.3,-1.71661e-005]" <------
13:29:56 "EPOCH SERVERTRADE: Player: Mong (76561198082012580) bought a FoodbeefCooked in/at trader city Schratten for 120x Coins"
13:29:56 "PUBLISH: B 1-1-E:1 (neverfuckunicorns) REMOTE Bought GAZ_Vodnik_MedEvac with ID "8259415472305387"" <--------

It appears he bought it, the spawn arrow appeared, the vehicle appeared, was then deleted due to invalid ID and was THEN assigned an ID by the server .... AFTER it was deleted?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

comment out this line in your Server_UpdateObject.sqf
 

// delete if still not ok
if (_isNotOk) exitWith { deleteVehicle _object; diag_log(format["Deleting object %1 with invalid ID at pos [%2,%3,%4]",typeOf _object,_object_position select 0,_object_position select 1, _object_position select 2]); };

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...