Dankoo
Active Member
- Joined
- Sep 4, 2010
- Messages
- 1,007
- Reaction score
- 27
When I namelock someone and player changes his name, it gives error when searching for him:
When I remove this from characters.php:
It works, but does not shows the player's guild
Any ideas? :x
Also, http://otland.net/f16/problem-namelock-121655/
Code:

Fatal error: Uncaught exception 'E_OTS_NotLoaded' in /home/tibiabro/public_html/pot/OTS_Guild.php:194 Stack trace: #0 /home/tibiabro/public_html/characters.php(80): OTS_Guild->getId() #1 /home/tibiabro/public_html/index.php(106): include('/home/tibiabro/...') #2 {main} thrown in /home/tibiabro/public_html/pot/OTS_Guild.php on line 194
When I remove this from characters.php:
PHP:
$guild_id = $rank_of_player->getGuild()->getId();
$guild_name = $rank_of_player->getGuild()->getName();
It works, but does not shows the player's guild
Any ideas? :x
Also, http://otland.net/f16/problem-namelock-121655/