fix attacking bug, somthing on buying goldclub, add merchant run 3 times to goldclub and now banned player cannot found new village

This commit is contained in:
unknown
2012-06-04 13:30:36 +03:00
parent f9b9d7faaf
commit 19a286d4c4
10 changed files with 144 additions and 114 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
////////////// made by alq0rsan /////////////////////////
if($session->access != BANNED){
if($session->gold >= 100 && $session->sit == 0) {
if($session->gold >= 100 && $session->sit == 0 && $session->goldclub == 0) {
mysql_query("UPDATE ".TB_PREFIX."users set goldclub = 1, gold = gold - 100 where `username`='".$session->username."'");
}
header("Location: plus.php?id=3");