R4Z0R49 / DayZAdmin

DayZAdmin - forked from katzsmile/DayZAdmin
22 stars 17 forks source link

Traps Not Showing on Map #236

Closed seaweeduk closed 10 years ago

seaweeduk commented 10 years ago

Hey, I just noticed traps aren't drawn on the map for me. Here's a couple of sample rows from my database

INSERT INTO object_data(ObjectID, ObjectUID, Instance, Classname, Datestamp, CharacterID, Worldspace, Inventory, Hitpoints, Fuel, Damage, last_updated) VALUES
(20607, 21309218220360, 1, 'BearTrap_DZ', '2014-03-24 21:51:59', '27673', '[359.966,[2130.95,2182.17,0.01]]', '[true]', '[]', 0, 0, '2014-03-24 22:09:18');
INSERT INTO object_data(ObjectID, ObjectUID, Instance, Classname, Datestamp, CharacterID, Worldspace, Inventory, Hitpoints, Fuel, Damage, last_updated) VALUES
(20608, 21300218050360, 1, 'BearTrap_DZ', '2014-03-24 21:52:17', '27673', '[359.966,[2129.95,2180.46,0.01]]', '[false]', '[]', 0, 0, '2014-03-24 22:09:33');

Is it because of the inventory column not containing a normal inventory array?

seaweeduk commented 10 years ago

should be fixed with the correction i made to queries.php