Tent migration from Reality

superlube

Member
Server: Vanilla Chernarus

Hello, I've managed to successfully migrate players from Reality to Lite however I seem to be having issues with the tents. Here is a snippet of what was added to the object_data table:
Code:
INSERT INTO `object_data` (`ObjectID`,`ObjectUID`,`Instance`,`Classname`,`Damage`,`CharacterID`,`Worldspace`,`Inventory`,`Hitpoints`,`Fuel`,`Datestamp`)
VALUES (185, '65890929410210', '1', 'TentStorage', '0', 510, '[210,[6588.89,9293.99,0.00119019]]', '[[[/"AKS_74_kobra/"],[1]],[[/"ItemMorphine/",/"ItemSodaPepsi/",/"30Rnd_556x45_Stanag/",/"30Rnd_762x39_AK47/",/"30Rnd_545x39_AK/"],[1,1,4,1,3]],[[],[]]]', '[]', '0', '2013-03-08 20:53:38'),
(186, '1376111265950100', '1', 'TentStorage', '0', 1968, '[103,[13761.2,12659.5,0.0043869]]', '[[[],[]],[[],[]],[[],[]]]', '[]', '0', '2013-03-08 20:53:38'),
(187, '115445859070222', '1', 'TentStorage', '0', 4159, '[222,[11544.9,8591,0.0130157]]', '[[[],[]],[[],[]],[[],[]]]', '[]', '0', '2013-03-08 20:53:38'),
(188, '65125930920330', '1', 'TentStorage', '0', 1368, '[330,[6512.36,9309.26,0.000274658]]', '[[[/"MR43/"],[1]],[[/"HandChemGreen/"],[1]],[[],[]]]', '[]', '0', '2013-03-08 20:53:38'),
I assume that this is the only table required to be filled in for tents.
When trying to join, server logs display as follows:
Code:
2:21:33 HiveExt(0): [Error] Skipping ObjectID 185 load because of invalid data in db

Any ideas on what I am doing wrong?

Also a bonus question: Looking at Start_DayZ_Server, I notice that it's executing "call pMain()" as well as the server instance. Anyone know the reasoning for this? I run my servers via services and not sure if I need to create a service for it as well.

Edit: I found out via another post that "call pMain()" is in charge of vehicle clean/spawn. I guess I can run this separately every few days.

Cheers
 
Hey man, are you able to elaborate?
When you say 'Damage [] not a number also hitpoints [] and fuel []", are you saying that are suppose to be a number or not?

In my example, the variables were quoted as the datatype for the damage, hitpoint and fuel fields in the database are VARCHAR opposed to INT.
 
Actually, I found the issue. In the inventory portion, I had "/" instead "\". Sigh... lol.

Thanks for your help.
 
Back
Top