Sandbird Posted March 8, 2014 Report Share Posted March 8, 2014 Is Plastic_Pole_EP1_DZ supposed to be maintained as well when we maintain buildings ? Cause i see alot of them with 0.1 damage in the database....wont they get deleted from the SQL event if they are not maintained? They are not in the DZE_maintainClasses variable...They belong in Fortifications, so they are NOT getting maintained. Draftkid 1 Link to comment Share on other sites More sharing options...
0 Sandbird Posted March 8, 2014 Author Report Share Posted March 8, 2014 bump.....important question guys. Link to comment Share on other sites More sharing options...
0 Tobias Solem Posted March 8, 2014 Report Share Posted March 8, 2014 Yep they will disappear. Only way the server won't delete them is if you remove and build them again. Same thing with safes. Link to comment Share on other sites More sharing options...
0 Sandbird Posted March 8, 2014 Author Report Share Posted March 8, 2014 Yep they will disappear. Only way the server won't delete them is if you remove and build them again. Same thing with safes. So why doesnt the maintain area fix plotpoles by default as well. I dont understand this...DZE_maintainClasses doesnt have plot_poles....meaning they wont get maintained. How come no one else has seen this before. Link to comment Share on other sites More sharing options...
0 Tobias Solem Posted March 9, 2014 Report Share Posted March 9, 2014 So why doesnt the maintain area fix plotpoles by default as well. I dont understand this...DZE_maintainClasses doesnt have plot_poles....meaning they wont get maintained. How come no one else has seen this before. I think a lot of people remove their plot poles after building. Link to comment Share on other sites More sharing options...
0 Sandbird Posted March 9, 2014 Author Report Share Posted March 9, 2014 In your variables.sqf add Plastic_pole, solves the problem. DZE_maintainClasses = ["ModularItems","DZE_Housebase","LightPole_DZ","Plastic_Pole_EP1_DZ"]; I love the little comment there : - Skaronator, looks like some classes are missing not sure if this is intended Draftkid 1 Link to comment Share on other sites More sharing options...
0 GeneralTragedy Posted March 19, 2014 Report Share Posted March 19, 2014 If you look at that variable in the 1.0.5 code, a BUNCH of things are being added to it. The additions make a lot of sense. GT Link to comment Share on other sites More sharing options...
0 Sandbird Posted April 1, 2014 Author Report Share Posted April 1, 2014 I've rewritten the DZE_maintainClasses....just another small thing i had to fix. I am surprised in other servers that people havent noticed that parts of their bases are missing. Link to comment Share on other sites More sharing options...
0 derpyhooves Posted April 9, 2014 Report Share Posted April 9, 2014 I've rewritten the DZE_maintainClasses....just another small thing i had to fix. I am surprised in other servers that people havent noticed that parts of their bases are missing. Any chance to get a copy of that? Link to comment Share on other sites More sharing options...
0 Sandbird Posted April 9, 2014 Author Report Share Posted April 9, 2014 Any chance to get a copy of that? DZE_maintainClasses = ["ModularItems","DZE_Housebase","LightPole_DZ","Plastic_Pole_EP1_DZ","DZE_LockedStorage"]; - ModularItems for all epoch buildings - HouseBase by default i left that there - LighPole for the light poles :P - Plastic_pole for the plot pole - DZE_LockedStorage for any Storage type object (vaults, storageboxes, sheds etc) Link to comment Share on other sites More sharing options...
0 derpyhooves Posted April 9, 2014 Report Share Posted April 9, 2014 DZE_maintainClasses = ["ModularItems","DZE_Housebase","LightPole_DZ","Plastic_Pole_EP1_DZ","DZE_LockedStorage"]; - ModularItems for all epoch buildings - HouseBase by default i left that there - LighPole for the light poles :P - Plastic_pole for the plot pole - DZE_LockedStorage for any Storage type object (vaults, storageboxes, sheds etc) Thanks mate, also I know this is not the thread for it but do you know how to make maintaining actually work? I've got it set to 13 days now, but no damage is being done to my buildings, not sure where to set it. Link to comment Share on other sites More sharing options...
0 cen Posted April 9, 2014 Report Share Posted April 9, 2014 You need to set up the database event to set damage on the objects so they can be maintained. Link to comment Share on other sites More sharing options...
0 Sandbird Posted April 9, 2014 Author Report Share Posted April 9, 2014 Thanks mate, also I know this is not the thread for it but do you know how to make maintaining actually work? I've got it set to 13 days now, but no damage is being done to my buildings, not sure where to set it. Do you have the SQL event running ? setDamageOnAge CREATE DEFINER=`dayz`@`localhost` EVENT `setDamageOnAge` ON SCHEDULE EVERY 1 DAY STARTS '2014-03-07 12:37:10' ON COMPLETION NOT PRESERVE ENABLE COMMENT 'This sets damage on a wall so that it can be maintained' DO UPDATE `object_data` SET `Damage`=0.1 WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 3 DAY) AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]')) You need to activate that event on the database...This sql is located in the SQL folder when you downloaded the dayz_epoch server files. You need to access the database ( i use phpmyadmin ) and enable Event scheduler, for events to run all the time. If you are using a windows setup, and run things manually instead of a villalayer type of hosting then you have to manually set the Event scheduler to autostart http://stackoverflow.com/questions/10071871/enabling-mysql-event-scheduler-on-server-restarts Link to comment Share on other sites More sharing options...
0 derpyhooves Posted April 9, 2014 Report Share Posted April 9, 2014 Do you have the SQL event running ? setDamageOnAge CREATE DEFINER=`dayz`@`localhost` EVENT `setDamageOnAge` ON SCHEDULE EVERY 1 DAY STARTS '2014-03-07 12:37:10' ON COMPLETION NOT PRESERVE ENABLE COMMENT 'This sets damage on a wall so that it can be maintained' DO UPDATE `object_data` SET `Damage`=0.1 WHERE `ObjectUID` <> 0 AND `CharacterID` <> 0 AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 3 DAY) AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]')) You need to activate that event on the database...This sql is located in the SQL folder when you downloaded the dayz_epoch server files. You need to access the database ( i use phpmyadmin ) and enable Event scheduler, for events to run all the time. If you are using a windows setup, and run things manually instead of a villalayer type of hosting then you have to manually set the Event scheduler to autostart http://stackoverflow.com/questions/10071871/enabling-mysql-event-scheduler-on-server-restarts I'm getting this error when I try to enable event scheduler: "#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation""... Link to comment Share on other sites More sharing options...
0 Sandbird Posted April 9, 2014 Author Report Share Posted April 9, 2014 I'm getting this error when I try to enable event scheduler: "#1227 - Access denied; you need (at least one of) the SUPER privilege(s) for this operation""... You need to be root, or at least your login username has to have root privileges. If this is a machine that you are an admin on, then you must know the root pass right? If you are renting this....then ask the admin to do it for you. derpyhooves 1 Link to comment Share on other sites More sharing options...
0 derpyhooves Posted April 9, 2014 Report Share Posted April 9, 2014 You need to be root, or at least your login username has to have root privileges. If this is a machine that you are an admin on, then you must know the root pass right? If you are renting this....then ask the admin to do it for you. I've sent in a support ticket. Is there any way I can check if event schedulers are turned on? Maybe they're on by default. Link to comment Share on other sites More sharing options...
0 Sandbird Posted April 9, 2014 Author Report Share Posted April 9, 2014 I've sent in a support ticket. Is there any way I can check if event schedulers are turned on? Maybe they're on by default. well hardly...unless the guys that have the server already knew that epoch needs that, and they do it after a new setup. Either way...they have to have that enabled in order for the events to work on every SQL server restart. And you have to have that event imported in the database as well....to give damage to your objects every 3 days. Basically all the events that are in that SQL folder have to be imported for a 100% operational server. Link to comment Share on other sites More sharing options...
0 derpyhooves Posted April 9, 2014 Report Share Posted April 9, 2014 well hardly...unless the guys that have the server already knew that epoch needs that, and they do it after a new setup. Either way...they have to have that enabled in order for the events to work on every SQL server restart. And you have to have that event imported in the database as well....to give damage to your objects every 3 days. Basically all the events that are in that SQL folder have to be imported for a 100% operational server. I've ran all the sql as far as I can tell.. it's just that the event scheduler thing doesn't work (as far as I know) hopefully i'll get a reply on my ticket soon... Sandbird 1 Link to comment Share on other sites More sharing options...
Question
Sandbird
Is Plastic_Pole_EP1_DZ supposed to be maintained as well when we maintain buildings ?
Cause i see alot of them with 0.1 damage in the database....wont they get deleted from the SQL event if they are not maintained?
They are not in the DZE_maintainClasses variable...They belong in Fortifications, so they are NOT getting maintained.
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now