• 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!

[GESIOR AAC] Bug in Create a Knight

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
First to all to not come to here to flame saying things like: "change to modern aac", "change to FUCK aac". I really don't care. So, when I try create a new character (knight). Getting this error:

Fatal error: Uncaught exception 'E_OTS_NotLoaded' in C:\xampp\htdocs\pot\OTS_Player.php:1796 Stack trace: #0 C:\xampp\htdocs\accountmanagement.php(1118): OTS_Player->getSkill(2) #1 C:\xampp\htdocs\index.php(258): include('C:\xampp\htdocs...') #2 C:\xampp\htdocs\account\index.php(5): include('C:\xampp\htdocs...') #3 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 1796

Line 1118:

PHP:
$player->setSkill(2,$char_to_copy->getSkill(2));

The Code in the OTS_Player:


PHP:
public function getSkill($skill)
    {
        if( !isset($this->skills[$skill]) )
        {
            throw new E_OTS_NotLoaded();
        }

        return $this->skills[$skill]['value'];
    }

The line 1796 is: throw new E_OTS_NotLoaded();

How I fix that? Thanks.
 
Back
Top