• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore 5.x.x Rbac problem

Teleslet

New member
Hello all,

I have a problem with my rbac system.

All players in the game remain to have commands.

I made a custom linked_permission 191
i added few permissions, like join bg, arena, random bg.
i dident add any commands to it. but still the player can use gm commands.

in account_acces the gmlevel is set to 0
when i remove the permissionid from the account id, the player can't use commands.

the problem with this is, rbac is almost always needed cause its linked to join bg etc, but when i enable it, they can use commands...

anyone has an solution here?
 

Tommy

Founder
Hello all,

I have a problem with my rbac system.

All players in the game remain to have commands.

I made a custom linked_permission 191
i added few permissions, like join bg, arena, random bg.
i dident add any commands to it. but still the player can use gm commands.

in account_acces the gmlevel is set to 0
when i remove the permissionid from the account id, the player can't use commands.

the problem with this is, rbac is almost always needed cause its linked to join bg etc, but when i enable it, they can use commands...

anyone has an solution here?

By default you shouldn't need to create custom rbac_linked_permission entry as Player already has its own permission Id (195), unless you are using 191 for some other custom security level. Only way players can have GM commands from your custom rbac_linked_permission data is if you linked that permission id with gm commands.
 

Teleslet

New member
thanks for your reply,

so i tested the 195 permission id and linked them to the account.
in the account_acces it has gmlevel 0.
I even removed the players command from rbac role 195.

but still the player has gm commands.

- - - Updated - - -

By default you shouldn't need to create custom rbac_linked_permission entry as Player already has its own permission Id (195), unless you are using 191 for some other custom security level. Only way players can have GM commands from your custom rbac_linked_permission data is if you linked that permission id with gm commands.



thanks for your reply,

so i tested the 195 permission id and linked them to the account.
in the account_acces it has gmlevel 0.
I even removed the players command from rbac role 195.

but still the player has gm commands.
 

Tommy

Founder
What commands do they have? Do they have certain commands and you think they are actual GM Commands or do they have real GM Commands like (.gm on, etc..)? And I don't think account_access matters much (it might in some cases, but rbac is mostly used for security level checks).
 

Teleslet

New member
What commands do they have? Do they have certain commands and you think they are actual GM Commands or do they have real GM Commands like (.gm on, etc..)? And I don't think account_access matters much (it might in some cases, but rbac is mostly used for security level checks).

they dont have the .gm on command, but like the basic commands. add item, scale, speed , npc ,etc seems they cant use the rbac commands but the'old'? commands?




What i notice is when i use the .account command:
they say: your account level is 0
security level: highest level...


WoWScrnShot_070416_162009.jpg



eddited info:

i tryd to put just 1 permission to an account eg: accound id 54 permissionid 4
when i do that it should only give acces to join random bg.
when i enable it, the player has gm commands.

when i delete it, player doesent have gm commands.

so even 1 permission gives the player suddenly acces to gm commands...
 
Last edited:

Tommy

Founder
What source are you using? Because TrinityCore doesn't have a 5.x.x branch (only 3.3.5 and 6.x.x). Only thing I can think of is something is wrong within the source or the rbac data is messed up to hell.
 

Sylica

Exalted Member
skyfire core 5.4.8

Yea Skyfire kind of what I was figuring, and is known for crappy support. If the structure for RBAC wasn't modified, you can just replace all the original data with, TrinityCore data in the RBAC tables and reload them. Should fix the issue. What I had to do, when I played with that core few months ago.
 

Teleslet

New member
Yea Skyfire kind of what I was figuring, and is known for crappy support. If the structure for RBAC wasn't modified, you can just replace all the original data with, TrinityCore data in the RBAC tables and reload them. Should fix the issue. What I had to do, when I played with that core few months ago.

yeh i was thinking of just rplacing all the data with trinity rbac system, the thing is cant the rbac scripts.

Do you thing the rbac system of a 3.3.5 trinity core would work on this core?
 

Sylica

Exalted Member
yeh i was thinking of just rplacing all the data with trinity rbac system, the thing is cant the rbac scripts.

Do you thing the rbac system of a 3.3.5 trinity core would work on this core?

It should if it wasn't modified. 5.x.x Skyfire came from TrinityCore when they supported 4.3.4a 2 years ago.
 
Top