Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alix1383 committed Jul 8, 2023
1 parent aa5b6da commit bf70b1f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 37 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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


<h1>TODO</h1>
`PHP 8.* And composer` Require

- [ ] fix session bug
- [ ] Add More Games
- [ ] Logs
run `composer install` in app dir
28 changes: 0 additions & 28 deletions data/appids.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
4 changes: 2 additions & 2 deletions inc/pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bf70b1f

Please sign in to comment.