• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

MyAAC v0.7.12

Status
Not open for further replies.
New version has been released!

Its a bigger update with some new features and bug fixes.

All users are advice to update to the latest version. You don't need to make any changes in your database (it will be done automatically). You just need to replace the content of your web root with current AAC files.

Latest version: v0.1.0

Changes:
* added new feature: change character name for premium points (disabled by default, you can enable it in config under account_change_character_name in config.php)
* added automatic database updater (data migrations)
* renamed events to hooks
* moved hooks to database
* now you can use hooks in plugins
* set account.type field to 5 on install, if TFS 1.0+
* added example plugin
* new, latest google analytics code
* fixed bug with loading account.name that has numbers in it
* fixed many bugs in player editor in admin panel
* added error handling to plugin manager and some more verification in
file has been correctly unpacked/uploaded
* fixed Statistics page in admin panel when using account.number
* fixed bug when creating/recovering account on servers with
account.salt field (TFS 0.3 for example)
* fixed forum showing thread with html tags (added from news manager)
* new, latest code for youtube videos in movies page
* fixed showing vocation images when using $config['online_vocations_images']
* many fixes in polls (also importing proper schema)
* fixed hovering on buttons in kathrine template (on accountmanagement page)
* fixed signatures (many fixes)
* added missing gesior signature system
 
New version has been released!

Its a bigger update with some new features and bug fixes.

All users are advice to update to the latest version. You don't need to make any changes in your database (it will be done automatically). You just need to replace the content of your web root with current AAC files.

Latest version: v0.1.0

Changes:
* added new feature: change character name for premium points (disabled by default, you can enable it in config under account_change_character_name in config.php)
* added automatic database updater (data migrations)
* renamed events to hooks
* moved hooks to database
* now you can use hooks in plugins
* set account.type field to 5 on install, if TFS 1.0+
* added example plugin
* new, latest google analytics code
* fixed bug with loading account.name that has numbers in it
* fixed many bugs in player editor in admin panel
* added error handling to plugin manager and some more verification in
file has been correctly unpacked/uploaded
* fixed Statistics page in admin panel when using account.number
* fixed bug when creating/recovering account on servers with
account.salt field (TFS 0.3 for example)
* fixed forum showing thread with html tags (added from news manager)
* new, latest code for youtube videos in movies page
* fixed showing vocation images when using $config['online_vocations_images']
* many fixes in polls (also importing proper schema)
* fixed hovering on buttons in kathrine template (on accountmanagement page)
* fixed signatures (many fixes)
* added missing gesior signature system
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'myaac_hooks' already exists' in C:\xampp\htdocs\new\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 C:\xampp\htdocs\new\system\libs\pot\OTS_Base_DB.php(100): PDO->query('\n\tCREATE TABLE ...') #1 C:\xampp\htdocs\new\system\migrations\1.php(14): OTS_Base_DB->query('\n\tCREATE TABLE ...') #2 C:\xampp\htdocs\new\index.php(71): require('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\new\system\libs\pot\OTS_Base_DB.php on line 100
 
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'myaac_hooks' already exists' in C:\xampp\htdocs\new\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 C:\xampp\htdocs\new\system\libs\pot\OTS_Base_DB.php(100): PDO->query('\n\tCREATE TABLE ...') #1 C:\xampp\htdocs\new\system\migrations\1.php(14): OTS_Base_DB->query('\n\tCREATE TABLE ...') #2 C:\xampp\htdocs\new\index.php(71): require('C:\\xampp\\htdocs...') #3 {main} thrown in C:\xampp\htdocs\new\system\libs\pot\OTS_Base_DB.php on line 100

You installed from new? Oh well, i forgot something.

You need to go to your database in phpmyadmin and execute this:
Code:
INSERT INTO `myaac_config` (`id`, `name`, `value`) VALUES (NULL, 'database_version', '1');
 
This is actually very simple. You can use pages from Gesior. Just copy pages/whatever its called.php to your MyAAC folder.
not work 100%, this page is on myaac
 
in gesior config.php
PHP:
 Sections Shop Gesior Premium
$config['site']['shop_categories'] = array(
   
    "Sorcerer e Druid" => array("id" => 1, "description" => "Itens vips para Sorcerer e Druid.", "new" => 0, "enabled" => true),
   
    "Knight" => array("id" => 2, "description" => "Itens vips para Knight.","new" => 0, "enabled" => true),
    
    "Paladin" => array("id" => 3, "description" => "Itens vips para Paladin.","new" => 0, "enabled" => true),
    
    "Addons e Mounts" => array("id" => 4, "description" => "Addons e Mountarias","new" => 0, "enabled" => true),
   
    "Upgrade Runes" => array("id" => 5, "description" => "Melhore seus itens com as runes de upgrades.","new" => 0, "enabled" => true),
   
    "Vip Days e Extras" => array("id" => 6, "description" => "Vips days e Extras.","new" => 0, "enabled" => true),
 
in gesior config.php
PHP:
 Sections Shop Gesior Premium
$config['site']['shop_categories'] = array(
  
    "Sorcerer e Druid" => array("id" => 1, "description" => "Itens vips para Sorcerer e Druid.", "new" => 0, "enabled" => true),
  
    "Knight" => array("id" => 2, "description" => "Itens vips para Knight.","new" => 0, "enabled" => true),
   
    "Paladin" => array("id" => 3, "description" => "Itens vips para Paladin.","new" => 0, "enabled" => true),
   
    "Addons e Mounts" => array("id" => 4, "description" => "Addons e Mountarias","new" => 0, "enabled" => true),
  
    "Upgrade Runes" => array("id" => 5, "description" => "Melhore seus itens com as runes de upgrades.","new" => 0, "enabled" => true),
  
    "Vip Days e Extras" => array("id" => 6, "description" => "Vips days e Extras.","new" => 0, "enabled" => true),

Can you post full archive (zip/rar) of this AAC? Cause more files are missing (images)
 
I almost got this.

You have changed this line:
Code:
        foreach ($config["gifts_system"] as $ServiceCategoryID => $data) {
can you show me original code?
 
Status
Not open for further replies.
Back
Top