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

Help please

mattyboi88

New Member
Joined
Jun 12, 2009
Messages
86
Reaction score
0
Hey,

Im having a few problems.

1. I am wondering if there is anyway i can set a forever AOL? Because mines bugged and doesnt drop but your loot does, Im using mysql and cryingdamson v3.4.0.

2."Fatal error: Uncaught exception 'E_OTS_NotLoaded' in C:\xampp\htdocs\pot\OTS_Player.php:1866 Stack trace: #0 C:\xampp\htdocs\accountmanagement.php(806): OTS_Player->getSkill(0) #1 C:\xampp\htdocs\index.php(178): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pot\OTS_Player.php on line 1866."
I am getting this error message everytime i create a new character. The characters are being made but its just annoying anyway i can fix it please? Rep++ if you can help me
 
Im a newb at php but my dedicated host had the same problem when creating characters so in your ots_player.php from line 1841 to 1857 replace that with this

Code:
 * Returns player's skill.
 * 
 * @version 0.0.2
 * @since 0.0.2
 * @param int $skill Skill ID.
 * @return int Skill value.
 * @throws E_OTS_NotLoaded If player is not loaded.
 */
    public function getSkill($skill)
    {
        if( !isset($this->skills[$skill]) )
        {
          return $this->skills[$skill]['value'];
        }

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