fix: clear all remaining village troops when conquering a village

Closes #269
This commit is contained in:
Martin Ambrus
2017-11-05 00:08:22 +01:00
parent 1767b591d4
commit f485f69e0a
4 changed files with 40 additions and 18 deletions
+1
View File
@@ -2,6 +2,7 @@
- change "incoming attacker" title of the raid list icon when actually attacking a farm (it should be "Own attacking troops")
- change "select all" button to actually select all checkboxes via JS, not via page reload
- make sure that when auto-removing inactive players, anyone who have units going there + anyone with them in their raid lists etc. gets notified and sorted out
- display "send troops" link for own villages, so we don't have to enter coordinates or search by name (which can search good name but wrong owner!)
- check the following queries for performing stuff on DB rather than in PHP:
"SELECT * FROM s1_vdata WHERE wood > maxstore OR clay > maxstore OR iron > maxstore OR crop > maxcrop"
"SELECT * FROM s1_odata WHERE maxstore < 800 OR maxcrop < 800"