Jump to content
  • 0

Vehicles disappearing from server.


LunchboxCharlie

Question

5 answers to this question

Recommended Posts

  • 0

I am having an issue vehicles disappearing from traders, I don't know how to fix it. 

 

I am running 1.0.5.1

 

Error log: 

16:40:45 "Deleting object SUV_Orange with invalid ID at pos [4014.75,11656.3,0.00476074]"

are these spawned by a mission? this happens if the object doesn't have a valid id assigned to it. when the vehicles are spawned in they need to have an ObjectID or ObjectUID assigned through setVariable or the server gets rid of them during server_updateObject calls

Link to comment
Share on other sites

  • 0

One thing about this fix is that it completely circumvents the object id system.

 

In the best case scenario, the object is assigned a valid ObjectID/ObjectUID shortly afterwards and saved.

 

In the worst case scenario, the object can't get a valid ObjectID/ObjectUID and can never be saved to the database so is eventually deleted anyways.

 

Not that I have anything against it, just pointing out some extra information.

 

I would say it opens up some security holes as well but we're talking about dayz here :P

Link to comment
Share on other sites

  • 0

One thing about this fix is that it completely circumvents the object id system.

 

In the best case scenario, the object is assigned a valid ObjectID/ObjectUID shortly afterwards and saved.

 

In the worst case scenario, the object can't get a valid ObjectID/ObjectUID and can never be saved to the database so is eventually deleted anyways.

 

Not that I have anything against it, just pointing out some extra information.

 

I would say it opens up some security holes as well but we're talking about dayz here :P

 

Yeah it's no big though. I run custom anti hacks. 

Link to comment
Share on other sites

  • 0

By commenting out that line, almost all that is sent to be synchronised (including data that should not be, potentially causing performance issues down the line) will end up being synchronised. Since adding this "fix"  my server has had some weird performance issues with object inventory not saving correctly and in my HiveExt.log it throws alot of  Child 303 errors trying to do so. Any ideas on this? What decides on what to give an invalid/valid id?

 

RPT- http://pastebin.com/G5q5nzz5

HiveExt.log- [Error] Error executing |CHILD:303:13833 <--- ALOT of that. Would patebin but it messes up the format

13833 being the objectid and from what I can see it only gives errors dealing with inventory

13833 isnt the only objectid with this issue. Just an example

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

×
×
  • Create New...