I just digged around and found a workaround which improves the fun again a little bit.
Crafting stations will not break so fast and additionally the will be "repaired" at each server restart.
I know they way I did it is not the best, but we all put our pants on one leg at a time... and it seems to work
I won´t call it a "solution" because I can´t change the game server code NOT to cause the damage taken.
But I managed to avoid the permanent writing of the durability loss.
For me that worked:
- * database trigger BEFORE UPDATE: if dura goes down, set it to old value or lower the impact by a configurable percentage setting
* database trigger BEFORE INSERT: if a crafting station is build highten the durability from 5000 to 65535
* update all your existing crafting stations to durability 65535
* do all your actions only for children of object type 64
I wrote an detailled description of the workaround in my new blog (see signature), where I will post more and more database additions and scripts in the near future.
If sth. is unclear there, please post your questions.
Thanks,
schpidi