Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ULX and FAdmin conflict ? #33

Closed
ghost opened this issue Feb 25, 2016 · 4 comments
Closed

ULX and FAdmin conflict ? #33

ghost opened this issue Feb 25, 2016 · 4 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Feb 25, 2016

So, i created Darkrp server, installed the lastest updates and when i join and set me as superadmin via console "rcon ulx adduserid..." i get in the superadmin group and can use the menu and execute commands but when i'm on the tab menu have none of the commands (ban, kick, freeze...) and when i try to go on server settings it says "no access!".

[Screenshots]
http://www.noelshack.com/2016-08-1456348942-tabmenu.png
http://www.noelshack.com/2016-08-1456348941-tabmenu.png
http://www.noelshack.com/2016-08-1456348941-ulxmenu.png

Version
ulx v3.70
ulib v2.60

FPtje said:

"_it's ULX':

] lua_run_cl print(Player(3):GetNWString("usergroup"))
user
] lua_run_cl print(Player(3):GetUserGroup())
superadmin
] lua_run_cl show(FindMetaTable("Player").GetUserGroup)
function: 0x2b9d5b10 -- [addons/ulib/lua/ulib/shared/sh_ucl.lua]: 263-272
] lua_run print(Player(3):GetUserGroup())

print(Player(3):GetUserGroup())...
user

ULib has overridden GetUserGroup and decided that clientside it should say "superadmin" while serverside it says "user". FAdmin uses GetUserGroup, so clientside, the player thinks they're superadmin."

@Nayruden
Copy link
Member

You definitely have some issues there. Add me on Steam and we will try to
debug -- MegTech is my username. I will be on in about two hours from now.
On Thu, Feb 25, 2016 at 16:07 Wiiz notifications@github.com wrote:

So, i created Darkrp server, installed the lastest updates and when i join
and set me as superadmin via console "rcon ulx adduserid..." i get in the
superadmin group and can use the menu and execute commands but when i'm on
the tab menu have none of the commands (ban, kick, freeze...) and when i
try to go on server settings it says "no access!".

[Screenshots]
http://www.noelshack.com/2016-08-1456348942-tabmenu.png
http://www.noelshack.com/2016-08-1456348941-tabmenu.png
http://www.noelshack.com/2016-08-1456348941-ulxmenu.png

Version
ulx v3.70
ulib v2.60

FPtje said:

"_it's ULX':

] lua_run_cl print(Player(3):GetNWString("usergroup"))
user
] lua_run_cl print(Player(3):GetUserGroup())
superadmin
] lua_run_cl show(FindMetaTable("Player").GetUserGroup)
function: 0x2b9d5b10 -- [addons/ulib/lua/ulib/shared/sh_ucl.lua]: 263-272
] lua_run print(Player(3):GetUserGroup())

print(Player(3):GetUserGroup())...
user

ULib has overridden GetUserGroup and decided that clientside it should say
"superadmin" while serverside it says "user". FAdmin uses GetUserGroup, so
clientside, the player thinks they're superadmin."


Reply to this email directly or view it on GitHub
#33.

@ghost
Copy link
Author

ghost commented Feb 25, 2016

I'm from Belgium and it's 00:03 am here ^^ aha let's try another day aha

@halfwire
Copy link

@tontonba I dont think its ULX.. I was looking at your issue on FTpje's github and its the exact same problem i have, but i deleted ULX and the problem persists.

@Nayruden Nayruden self-assigned this Feb 27, 2016
@Nayruden
Copy link
Member

Talking with the user, it's not an issue with ULX. Looks like FPtje may have pushed a fix for DarkRP a few days ago.

TotonBa's problem seems to be that DarkRP notifies ULX to make him a superadmin, but fails or later removes him from superadmin without notifying ULX of the removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants