From bf70b1fce6ef633628287a0f39eae3f80c909661 Mon Sep 17 00:00:00 2001 From: Alix Date: Sat, 8 Jul 2023 10:49:36 +0330 Subject: [PATCH] fix --- README.md | 13 ++++++------- data/appids.json | 28 ---------------------------- inc/pages.php | 4 ++-- 3 files changed, 8 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index cfbb65a..844cbf1 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ # Game Server Token Manager Steam -`PHP 8.* And composer` Require - -run `composer install` in app dir +## Games Support : + - CSGO + - TF2 + - if you want add moore games open issues -

TODO

+`PHP 8.* And composer` Require -- [ ] fix session bug -- [ ] Add More Games -- [ ] Logs +run `composer install` in app dir \ No newline at end of file diff --git a/data/appids.json b/data/appids.json index d22b2bb..924a7df 100644 --- a/data/appids.json +++ b/data/appids.json @@ -3,36 +3,8 @@ "SERVER_NAME": "Counter-Strike Global Offensive", "APPiD": "730" }, - { - "SERVER_NAME": "Counter Strike: Source", - "APPiD": "240" - }, - { - "SERVER_NAME": "Insurgency", - "APPiD": "222880" - }, - { - "SERVER_NAME": "Left 4 Dead 2", - "APPiD": "550" - }, { "SERVER_NAME": "Team Fortress 2", "APPiD": "440" - }, - { - "SERVER_NAME": "Garry's Mod", - "APPiD": "4000" - }, - { - "SERVER_NAME": "Zombie Panic! Source", - "APPiD": "17500" - }, - { - "SERVER_NAME": "No more Room in Hell", - "APPiD": "224260" - }, - { - "SERVER_NAME": "Day of Defeat: Source", - "APPiD": "300" } ] \ No newline at end of file diff --git a/inc/pages.php b/inc/pages.php index ae63e23..d1151fc 100644 --- a/inc/pages.php +++ b/inc/pages.php @@ -74,8 +74,8 @@ $count = $_GET['count']; if ($count <= 15) { - for ($i = 1; $i < $count; $i++) { - $steamAPI->generateToken($memo . " " . $i, $appId); + for ($i = 0; $i < $count; $i++) { + $steamAPI->generateToken($memo . "-" . $i, $appId); } } else { $steamAPI->generateToken($memo, $appId);