update to version 0.2.0

This commit is contained in:
slawkens1 2017-05-21 08:33:47 +02:00
parent 75aa62a113
commit a8a4efd39a
71 changed files with 92 additions and 72 deletions

View File

@ -1,3 +1,23 @@
[0.2.0 - 21.05.2017]
- added option to change character sex for premium points
- moved site_closed to database, now you can close your site through admin panel
- added option to admin panel: clear cache
- added experiencetable_rows configurable
- optimized OTS_Account->getGroupId(), now its using like 20 queries less
- optimized OTS_Player->load($id) function, should be much faster now
- fixed displaying on highscores special outfits
- fixed skull images displaying
- fixed displaying unlimited premium account
- fixed bug where players.lookaddons doesn't exist (OTHire etc.) (https://otland.net/threads/myaac-v0-0-1.251454/page-6#post-2442407)
- fixed signature tibian for OTHire and other servers that doesnt use accounts.premdays field
- fixed when player name in signature containst space
- don't show "Create forum thread" when editing
- fixed red color table after create account
- updated download links, as clients.halfaway.net isn't working anymore
- fixed some bugs while installing when field `email_next` or `hidden` already exist
- fixed movies unexpected comment
- added template_place_holder('center_top') to kathrine template
[0.1.5 - 13.05.2017]
- fixed bug with "Integrity constraint violation: 1048 Column 'ip' cannot be null"

View File

@ -21,13 +21,13 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
session_start();
define('MYAAC', true);
define('MYAAC_VERSION', '0.1.5');
define('MYAAC_VERSION', '0.2.0');
define('DATABASE_VERSION', 3);
define('TABLE_PREFIX', 'myaac_');
define('START_TIME', microtime(true));

View File

@ -13,7 +13,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
@ -218,7 +218,7 @@ $config = array(
'email_lai_sec_interval' => 60, // time in seconds between e-mails to one account from lost account interface, block spam
'google_analytics_id' => '', // e.g.: UA-XXXXXXX-X
'experiencetable_columns' => 5, // how many columns to display in experience table page. * experiencetable_rows, 5 = 500 (will show up to 500 level)
'experiencetable_rows' => 100, // till how many levels in one columt
'experiencetable_rows' => 100, // till how many levels in one column
'monsters' => array(),
'npc' => array()

View File

@ -21,7 +21,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Slawkens <slawkens@gmail.com>
* @author Mark Samman (Talaturen) <marksamman@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
$title = 'Downloads';

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
$_GET['archive'] = true;

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Averatec <pervera.pl & otland.net>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @author Gesior <jerzyskalski@wp.pl>
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -5,7 +5,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2017 MyAAC
* @version 0.1.5
* @version 0.2.0
* @link http://my-aac.org
*/
defined('MYAAC') or die('Direct access not allowed!');

View File

@ -6,7 +6,7 @@
* @package MyAAC
* @author Slawkens <slawkens@gmail.com>
* @copyright 2016 WodzAAC
* @version 0.1.5
* @version 0.2.0
* @link http://myaac.info
*/