[DiscordArchive] why does the "acc onlinelist" command work on console and not in game?
[DiscordArchive] why does the "acc onlinelist" command work on console and not in game?
Archived author: jackpoz • Posted: 2023-03-31T15:16:19.381000+00:00
Original source
https://github.com/TrinityCore/TrinityCo....sql#L1195
[Embed: TrinityCore/auth_database.sql at 3.3.5 · TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 10.0.7.48838, 3.3.5 = 3.3.5a.12340) - TrinityCore/auth_database.sql at 3.3.5 · TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...tabase.sql
Archived author: jackpoz • Posted: 2023-03-31T15:16:23.906000+00:00
Original source
(224,'Command: account onlinelist'),
Archived author: jackpoz • Posted: 2023-03-31T15:16:35.232000+00:00
Original source
that's the rbac id to grant access to the command
Archived author: jackpoz • Posted: 2023-03-31T15:17:13.856000+00:00
Original source
check which security level has this command. if none has it, add it to the one you want
Archived author: jackpoz • Posted: 2023-03-31T15:17:23.748000+00:00
Original source
if you don't know how rbac works, learn it
Archived author: jackpoz • Posted: 2023-03-31T15:18:44.766000+00:00
Original source
<@328917335392124930> https://github.com/TrinityCore/TrinityCo...nt.cpp#L65 commands are defined in .cpp with a Console::Yes/No parameter that specify if it's possible to use it in the console. Permissions are granted through RBAC
[Embed: TrinityCore/cs_account.cpp at 3.3.5 · TrinityCore/TrinityCore]
TrinityCore Open Source MMO Framework (master = 10.0.7.48838, 3.3.5 = 3.3.5a.12340) - TrinityCore/cs_account.cpp at 3.3.5 · TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...ccount.cpp
Archived author: jackpoz • Posted: 2023-03-31T15:19:08.517000+00:00
Original source
the easiest way to find the RBAC id is in rbac_permissions table, or in the source code
![[Image: image.png?ex=690c16a7&is=690ac527&hm=1ed...51a9049a5&]](https://cdn.discordapp.com/attachments/376457042392514560/1091384371052826644/image.png?ex=690c16a7&is=690ac527&hm=1edebc47c5e74ddbd1421d9d321952ba842ae3dc36f24cfe2f3010b51a9049a5&)
Archived author: Naxgal • Posted: 2023-03-31T15:31:51.061000+00:00
Original source
there it says security 4 but when I put it through SQL I became a common player.
![[Image: image.png?ex=690c16a7&is=690ac527&hm=1ed...51a9049a5&]](https://cdn.discordapp.com/attachments/376457042392514560/1091384371052826644/image.png?ex=690c16a7&is=690ac527&hm=1edebc47c5e74ddbd1421d9d321952ba842ae3dc36f24cfe2f3010b51a9049a5&)
Archived author: Tea • Posted: 2023-03-31T15:36:04.674000+00:00
Original source
its outdated
Archived author: M'Dic • Posted: 2023-03-31T15:47:48.533000+00:00
Original source
I think console was lvl 4