• 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.X+ [TFS1.2] Question regarding permissions such as GOD, GM, etc.

Haskys

Member
Joined
Jul 19, 2019
Messages
97
Reaction score
8
Location
Poland
Hello,
Somewhere on the forum I found a solution to my problem, quotes below. However, I do not understand why you should set "5" in "Type". Does this apply to any files in the engine?
Can someone explain?

you need to change is on MySql, go and check on your ServerDataBase and in section 'accounts' find your account and change acctype from 1 to 5.

 
I've already found it.

File: enums.h

Phrase:
C++:
enum AccountType_t : uint8_t {
    ACCOUNT_TYPE_NORMAL = 1,
    ACCOUNT_TYPE_TUTOR = 2,
    ACCOUNT_TYPE_SENIORTUTOR = 3,
    ACCOUNT_TYPE_GAMEMASTER = 4,
    ACCOUNT_TYPE_GOD = 5
 
Back
Top