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 | |
################################################# | |
### Scripted by Shadow_ ### | |
### All rights reserverd ### | |
### Do not use/distribute without permission! ### | |
### Contact: Discord: Carcoo#2914 ### | |
### [email protected] ### | |
################################################# | |
/* | |
In MySQL: |
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 | |
/** | |
* Installation: | |
* 1) place this file into "templates/tibiacom/boxes/" | |
* 2) place events.png that can be found below this script, into "templates/tibiacom/images/themeboxes" | |
* 3) edit config.ini in tibiacom folder and add "events" into "boxes", so it looks like this: | |
* boxes = "highscores,newcomer,gallery,networks,poll,events" | |
* | |
* Original author: Rusherzin | |
* Found on: https://tibiaking.com/forums/topic/76526-widget-upcoming-events-para-tfs-12/?do=findComment&comment=429655 |
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(); | |
} |