Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Mastermind1996 on May 31, 2009, 01:29:36 AM
-
Since I did upload my new groups.txt and uteam.txt ULX doesn't respond to any console commands anymore! I can't add myself as admin in the console or users.txt... I will upload a .zip with my old and new groups/uteam.txt
P.S. when I am ingame and try to use ulx noclip or !noclip for example it says I down't have acces to that command...
-
No ingame commands at all work. And ulx adduser doesn't respond not even if i rcon it.
(fyi i'm admin on mastermind's server)
-
`Fixed
-
Syntax error?
-
No, I dont know how I did it but I managed to remove the group 'admin' stupid meh...
P.S. Wheres my Gold Name? Megiddo gave it to me in person
P.P.S. Garry the ulx motd by editing the .read file -> server can't read the motd anymore because its not in data folde-> When fix?
-
You failed to earn your rank, and when did garry change that?
-
Lol I know xD, and about a few weeks or days ago. Ok Ive fixed my groups.txt but how can I make it so DarkRP sees certain groups as admin?
-
DarkRp => Admin
No idea. Does DarkRP use standard Gmod Lua "IsUserGroup" or "IsAdmin"?
If so, then any group you want seen as "admin" would have to inherit admin in ULX groups.
If not, then this just goes to show me one more little piece of bad code that DarkRP really is.
-
IsAdmin but I dont want to inherth it because a1 has much less commands then Admin
-
So you're wanting to give people access to DarkRP commands the author designed for admins, but not wanting to give admin commands from ULX to those people?
Sounds a bit off if you ask me.
If there's no easy configuration of DarkRP access, then you'd probably have to change the hardcode in darkrp to use IsUserGroup("groupyouwant") instead of IsAdmin.
-
Ouch, isn't there any solution in ULX?
-
Sure, edit your data/ULib/groups.txt admin allow table to remove all the access that is there, then place it in another custom group you consider higher than admin or place it in default superadmin.
That has a HUGE disadvantage though.
Editing ULX's "admin" group, and giving players admin group access just for DarkRP... you've given every other STool or script made that uses "IsAdmin" to test for access the right to use the tool/script.
IsAdmin is a default Gmod player access test. Admin is admin, no matter what ULX rights are given to "admin" group... many other scripts use the same test just like DarkRP does.
Imagine the horror of every admin player having access to prop protect settings, manhack guns, to name but a very view.
-
That sounds bad. Isn't there any way to make the usergroup readable as IsAdmin in DarkRP? While Superadmin and Admin are still seen as it tho? Without giving the group more rights then it is aloowed to have. BTW, I dont use the Admin group so maybe I can put all the commands from it in Superadmin? so Admin doesn't have any command acces? Or will this ruin every group and/or ULX?
-
That sounds bad. Isn't there any way to make the usergroup readable as IsAdmin in DarkRP?
No.
I just explained in previous post...no matter what you do to ULib's "admin" group (removing ULX commands,etc), Gmod "IsAdmin" will still see it in all other scripts/stools as admin.
Changing DarkRP to IsUserGroup("groupyouwant") would still be best method.
-
But I would have to change that in every file then or just a particular file that allows them to spawn sweps and sents?
-
Whichever functions, in whatever files, you wanted some group to have whatever access DarkRP gives them normally as admin would need to be changed.
-
What file? I just want them to use sweps, sents and commands.
-
No idea. I don't use DarkRP, not going to download it if I can ever help it.
Search for text within the files using Windows search of some of the commands.
Seems like you're wanting to be spoon fed.
Use your brain.
-
I don't have any brains....
-
Darn zombies
-
Darn zombies
I nearly fell out of my chair laughing... :)
-
Zombies? I ment the Zombines!
Alex: Watch out, he got a grenade!