Jump to content
  • 0

Origins 1.7.9.5 vehicles disappearing after reset


Bob_the_K

Question

Hi,  I'm running Epoch 1.0.5.1, Overwatch 0.2.5, Origins 1.7.9.5 (Overpochins).   Almost everything works OK.  When I started with a clean database, vehicles spawned in, including the 1.7.9.5 vehicles.   After a reset, I get a message in my HiveExt.log file:   2015-06-12 21:36:47 HiveExt: [Error] Skipping ObjectID 766 load because of invalid data in db.

 

When I look in the database, the data for object 766 is as follows:

 

ObjectID ObjectUID Instance Classname Datestamp LastUpdated CharacterID Worldspace Inventory Hitpoints Fuel Damage


766 1581981401340170 13 ori_ZAZ968M 6/11/2015 22:39 6/11/2015 22:43 0 [178,[15819.8,14013.4,0.002]] [[[],[]],[[],[]],[[],[]]] [["pluhPredni",0.153],["kolaOchrana",0.819],["oknaOchrana",0.936],["predniOknoOchrana",0.685],["sklo_p1",0.365],["sklo_pl1",0.759],["sklo_pp1",0.785],["sklo_z1",0.512],["sklo_zl1",0.347],["sklo_zp1",0.07],["wheel_1_1_steering",0.358],["wheel_1_2_steering",0.026],["wheel_2_1_steering",0.53],["wheel_2_2_steering",0.835],["wheel_1_3_steering",0.389],["wheel_2_3_steering",0.081],["wheel_1_4_steering",0.31],["wheel_2_4_steering",0.141],["sklo predni P",0.112],["sklo predni L",0.358],["motor",0.8],["karoserie",0. 0.81358 0

 

 

If I empty the objects table, new vehicles spawn in, including Origins 1.7.9.5 vehicles.  But once again, on the next reset, they're gone.   There are no errors or warnings in either my client or server .rpt files. 

 

Any ideas where to look?

 

Thanks,
Bob

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi,

I have no true idea if this has anything to do with the above, but it does relate so may be connected in some way.

I noticed in the DB the hitpoints field of the ori_ZAZ968M that it was truncated once I had installed the origins upgrade script ( I cannot say it was this script and I do not personally think it is, but as I did not check what the data looked like before, I assume the hitpoint field data is the same). There are some missing comma, close brackets at the end of the field entry.

I thought at the time this might be due to the long strings for the names used and it was making the field of this particular vehicle too long for the DB entry in some way.

A check revealed this is the case somehow, the truncated length is 512 chars, which is the field length as the epoch.sql list it as:

`Hitpoints` varchar(512) NOT NULL DEFAULT '[]',

It did seem to be just the classname ori_ZAZ968M, but it is possible there could be others as I did not make a thorough check of all the class names.

I also wondered what the origins dev folk had done about this and if they had the problem at all, though I havn't checked any origins forums to see if anyone is reporting errors.

I tried editing it correctly in phpMyAdmin and received an error message I forget the exact line but it also suggested the field text was too long.

This might be the reason that on restart when the hitpoint field is read, being incorrect the classname is being skipped.

I did check a few of the other origins vehicles and found them all to be correctly listing the hitpoints field, so just mentally noted that this vehicle might show problems down the line as well as possibly others.

Is it possible a simple fix is just to change the line above to something like:

`Hitpoints` varchar(1024) NOT NULL DEFAULT '[]',

in the sql file and then create a new DB?

My sql is sadly low level so I just don't know, but if I was trying something this is where I would start looking.

Of course, this is all breadcrumbs and theory to me at this stage until someone with the knowledge can verify.

Link to comment
Share on other sites

  • 0

Here's what I did... first, I created a pure vanilla OverPochins server with all the latest files.   I then added in your script to fix the extra wheel issue, then I added in the script to remove the Origins logo from the new vehicles.  Then I added in a script to do a better distribution of vehicles on the map (don't recall whose off the top of my head.  That's it.  The new Origins vehicles disappear after a reset.  Like it is all the 1.7.9.5 vehicles, not just the used ones.

 

So then I reverted back to a plain vanilla base server, and overlayed ElDubya's server release for OverPochins.  Same problem.  The new Origins vehicles disappear after reset, whether used or not. (And I did  change my loading screen!)

 

I had started off with ElDubya's server build but wanted to remove a few of the scripts he had and add a few that we like but figured that it may just be easier to start with a vanilla server and add in the scripts.  But in either case, I get stuck with the vehicles disappearing.

 

One thing to note. I notice that the thread about removing the Origins logo from the 1.7.9.5 vehicles has been taken down.  I guess the Origins "police" strike again!

Link to comment
Share on other sites

  • 0

Well, for me, it's not just the ori_ZAZ968M.  It's also the ori_maniac, and ori_buchanka.  I'm not sure if the other 1.7.9.5 vehicles have the same problem yet since those were the only ones to spawn in during my last clearing of the object table (and subsequently disappear).  I'm not a database person so I'm at a loss as to how to proceed.  But i figured that something was definitely done differently int the database for the new vehicles.  But it's interesting that they'll spawn in fine the first time with the logo still on them.  They just disappear upon reset when the code runs to remove the logo.

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...