• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

TFS 1.X+ No privileges for GOD actions

hyz

Member
Joined
Oct 30, 2008
Messages
39
Reaction score
16
I have a noob problem and I can't solve it.
My GOD even being group 6 I can't do some god commands like:
/m - create monster
/i - create item

among others that need "GOD" access for its execution.
Does anyone have any idea how I can fix this?

vaii.png
 
Solution
You need to go to the Accounts table in the database, there you will find that you can change the account.type to 3. Forget about account_id that was a mistake the previous posters made. You're looking for account.type
OP
OP
hyz

hyz

Member
Joined
Oct 30, 2008
Messages
39
Reaction score
16
The Account_ID of my DB is referring to which account the character belongs to. If I change from 1 to 3 my character goes to account number 3. It is 1 because it was the first account created.

1647272968265.png


error3.png

and even if I put the character inside account_ID 3 he doesn't get the privileges.

error4.png
 
Last edited:

Rombadr

Premium User
Premium User
Joined
Jan 19, 2020
Messages
348
Solutions
37
Reaction score
218
You need to go to the Accounts table in the database, there you will find that you can change the account.type to 3. Forget about account_id that was a mistake the previous posters made. You're looking for account.type
 
Last edited:
Solution

Ramon Bernardo

Well-Known Member
TFS Developer
Joined
Oct 7, 2018
Messages
137
Solutions
4
Reaction score
90
See this
C++:
enum AccountType_t : uint8_t {
    ACCOUNT_TYPE_NORMAL = 1,
    ACCOUNT_TYPE_TUTOR = 2,
    ACCOUNT_TYPE_SENIORTUTOR = 3,
    ACCOUNT_TYPE_GAMEMASTER = 4,
    ACCOUNT_TYPE_COMMUNITYMANAGER = 5,
    ACCOUNT_TYPE_GOD = 6
};
 

River KA

Veteran OT User
Joined
Feb 1, 2010
Messages
515
Solutions
27
Reaction score
318
I have a noob problem and I can't solve it.
My GOD even being group 6 I can't do some god commands like:
/m - create monster
/i - create item

among others that need "GOD" access for its execution.
Does anyone have any idea how I can fix this?

View attachment 66192

On accounts table, set your account type column to 6 — that means ACCOUNT_TYPE_GOD, and you can find it the value possibilities if you search for AccountType_t within enums.h.
On players table, set your player group_id column to 6 — that means god of your TFS groups and you can find it within groups.xml.

These values are based on latest TFS.
You should double check on mentioned files to be sure.
 
Top