Well, as I already posted this thing made in PHP and checked some things, I came to the result that this wouldn't be safe at all.
Therefor I decided to make this thing simply in C++
It is actually nothing special, you can make that also with some SQL Queries. Anyway, it saves some time and does the work you're to lazy to do ;)
http://bildupload.sro.at/a/images/4-Beispiel.png
When you set someone to a leader he automatically get's a leader shield, 5 Happy Hours and the things which increase the attackpower for 30 minutes.
That works also on the other way.
When you remove the leaders, the leader shield and all the other things will get deleted automatically.
The other things should be clear.
Have fun with it
Hope

