Some questions about database/scripting

Stollenwerk

New Member
Hello,


I'm running an EPOCH Server with Sarge AI.
In the following my questions I have.

Matter 1:

I created some custom missions, like bandits in a castle and placed a tent there with reward stuff to gain after killing the bandits.

By now I have to restock this reward stuff manually via database. I simply copy and paste the content I made before. When I miss a restart of the server, the stuff is of course not restocked.

My question here: I guess it's simply possible to create a little script and initiate it within the init.sqf to refill it automatically?

Matter 2:

Maintaining of player based buildings, like wooden walls etc.
I had much problems to get maintaining running properly, so I shut it off at all.
This is not the best solution, I know. I recognized that they added a point "SetDamageOnAge" to the database with one of the last Epoch patches, but I didn't figure out yet how I have to use it the right way.
I guess it's easy, so if anyone knows, please let me know.

Matter 3:

As Owner I really like to blow up abandoned stuff of players who have left.
I would like to know if there is a way to delete all objects via the database that belong to a specific player including modular buildings and vehicles as well ?

Thanks in advance for your help!

Cheers,
Stoll
 
Back
Top