|
|
|
@ -176,7 +176,7 @@ function nehmeKampfAn($user, $charid, $kampf_id, $kampf_pw){
|
|
|
|
|
} else if($_SERVER['REMOTE_ADDR'] == $fight_row['ip']){
|
|
|
|
|
displayErrorMessage(NULL,'Kampf kann nicht angenommen werden, da die IP gleich ist!', displayHistoryBackLink());
|
|
|
|
|
} else if($fight_row['lvlmax'] != 0 && $fight_row['lvlmin'] > $char_a['level']){
|
|
|
|
|
displayErrorMessage(NULL,'Level zu niedring!', displayHistoryBackLink());
|
|
|
|
|
displayErrorMessage(NULL,'Level zu niedrig!', displayHistoryBackLink());
|
|
|
|
|
} else if($fight_row['lvlmax'] != 0 && $fight_row['lvlmax'] < $char_a['level']){
|
|
|
|
|
displayErrorMessage(NULL,'Level zu hoch!', displayHistoryBackLink());
|
|
|
|
|
} else if($fight_row['passwort'] != $kampf_pw){
|
|
|
|
|