TFS 0.2 and 1.0 report bug system

Players can say !report SomeMessageHere to send a report to database, it will automatically fetch position of player etc. You can check reports in admin panel and change status of them, and optionally reward player with points if you feel they deserve it for reporting the bug.
Default working TFS 1.0 scripts for shop and firstitems
This commit is contained in:
Stefan Brannfjell
2014-03-10 08:10:03 +01:00
parent 0e90c050a8
commit dfce8d97dd
9 changed files with 302 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ if (empty($_POST) === false) {
if ($_POST['name'] === false) {
$errors[] = 'Your name can not contain more than 2 words.';
} else {
if (user_character_exist($_POST['name']) === true) {
if (user_character_exist($_POST['name']) !== false) {
$errors[] = 'Sorry, that character name already exist.';
}
if (!preg_match("/^[a-zA-Z_ ]+$/", $_POST['name'])) {