TheXYZNetwork / xAdmin

A free and basic administration system for Garry's Mod.
The Unlicense
27 stars 6 forks source link

Rank in DB resets to user after connecting to the server #23

Closed Stranger2-0 closed 4 years ago

Stranger2-0 commented 4 years ago

For some reason when connecting to the server the usergroup rank will reset back to user in the database(mysql), but would't take affect till you reconnected once more. I couldn't figure out why this was happening. At first I thought it was some type of addon conflict so I removed every addon except xadmin, but the issue still persisted. I then enabled Fadmin within the darkrp disable_defaults config and the problem just went away and it stopped resetting the group.

I assume this isn't supposed to happen?

Thanks <3

0wain commented 4 years ago

Oh, so FAdmin is overriding my groups? That's not intentional if so...

Stranger2-0 commented 4 years ago

Seems to be, unless I'm missing something on my side. Let me know if you need me to do anything.

Thanks for that quick response :)

0wain commented 4 years ago

Hey, just to let you know I've not forgotten about this.

I actually started having the issue myself on my local game (using SQLite, the built-in SQL for gmod). I've yet to come up with the best solution, but I'm working on it!

0wain commented 4 years ago

Hey, sorry to leave this for so long. I was away pretty much all month. I just pushed an update that I think might fix the issue. Turns out there was actually an error with a prefix in setting groups, oops :/

0wain commented 4 years ago

Ah, seems I jumped the gun. The issue persists...

0wain commented 4 years ago

Hey, so I just added very basic CAMI support. Are you able to update and test this for me? I tested myself and it seems my fAdmin issues are resolved.