Last active
October 14, 2023 10:41
-
-
Save slawkens/6c3311cb9338455a22d9b32f0d6bdebb to your computer and use it in GitHub Desktop.
Generate random X players in MyAAC, may be used for performance testing. Save in system/pages, then go to http://localhost/?p=generator It may take a while to load. You may also want to adjust account id
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
for ($i = 0; $i <= 5500; $i++) { | |
$player = new OTS_Player(); | |
$player->setName(generateRandomString(10)); | |
$player->setAccountId(1); | |
$player->setGroupId(1); | |
$player->save(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment