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

[TFS 1.2] Bug Report

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Hi everyone, when I try report a bug by using ctrl+z it keep saying "You are not authorised to report bugs" and I think does not exist flags for CanReport.

Someone know how to fix it? Tryed search for it on sources and didn't found nothing.

Thanks.
 
You need account type 2 or higher to use this command, account type is set to 1 by default for normal accounts. Change it in database or open game.cpp, find:
Code:
void Game::playerReportBug(uint32_t playerId, const std::string& bug)
and remove this part:
Code:
if (player->getAccountType() == ACCOUNT_TYPE_NORMAL) {
        return;
    }
This change will allow every account type to use this command.
 
You need account type 2 or higher to use this command, account type is set to 1 by default for normal accounts. Change it in database or open game.cpp, find:
Code:
void Game::playerReportBug(uint32_t playerId, const std::string& bug)
and remove this part:
Code:
if (player->getAccountType() == ACCOUNT_TYPE_NORMAL) {
        return;
    }
This change will allow every account type to use this command.
i tried, but not work...

i removed this lines, but still does'nt work :(

someone can help ?
 
Last edited:
Back
Top Bottom