Tricks Posted September 8, 2014 Report Share Posted September 8, 2014 Hey guys, I am turning base maintence back on this Friday for our server. Is there a way to "refresh" all buildables in the database so when I do turn it on players bases don't disappear overnight? Thanks! Link to comment Share on other sites More sharing options...
Zupa Posted September 8, 2014 Report Share Posted September 8, 2014 Put the datestamp and lastupdated to the day u do it Link to comment Share on other sites More sharing options...
Zupa Posted September 8, 2014 Report Share Posted September 8, 2014 UPDATE `object_data` SET `Datestamp`= '2014-09-08 01:01:01.000000' , `LastUpdated`= '2014-09-08 01:01:01.000000' Tricks 1 Link to comment Share on other sites More sharing options...
PeterBeer Posted September 8, 2014 Report Share Posted September 8, 2014 UPDATE `Object_DATA` SET `Datestamp`=CURRENT_TIMESTAMP WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') ) Will update all stuff Tricks 1 Link to comment Share on other sites More sharing options...
Tricks Posted September 8, 2014 Author Report Share Posted September 8, 2014 Sweeeeeet!!! You guys rock, thank you so much! Link to comment Share on other sites More sharing options...
RimBlock Posted September 8, 2014 Report Share Posted September 8, 2014 update object_data set lastupdated = now(), datestamp = now() etc ..... Also works well. Tricks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now