Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Mastermind1996 on May 31, 2009, 01:29:36 AM

Title: Not responding
Post 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...
Title: Re: Not responding
Post by: gamerlv on May 31, 2009, 04:46:06 AM
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)
Title: Re: Not responding
Post by: Mastermind1996 on May 31, 2009, 01:01:10 PM
`Fixed
Title: Re: Not responding
Post by: JamminR on May 31, 2009, 08:11:04 PM
Syntax error?
Title: Re: Not responding
Post by: Mastermind1996 on May 31, 2009, 11:52:02 PM
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?
Title: Re: Not responding
Post by: Megiddo on June 01, 2009, 04:57:03 AM
You failed to earn your rank, and when did garry change that?
Title: Re: Not responding
Post by: Mastermind1996 on June 01, 2009, 11:13:00 PM
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?
Title: Re: Not responding
Post by: JamminR on June 02, 2009, 04:05:19 PM
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.
Title: Re: Not responding
Post by: Mastermind1996 on June 03, 2009, 07:33:02 AM
IsAdmin but I dont want to inherth it because a1 has much less commands then Admin
Title: Re: Not responding
Post by: JamminR on June 03, 2009, 09:43:23 AM
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.
Title: Re: Not responding
Post by: Mastermind1996 on June 04, 2009, 07:38:29 AM
Ouch, isn't there any solution in ULX?
Title: Re: Not responding
Post by: JamminR on June 04, 2009, 03:43:27 PM
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.
Title: Re: Not responding
Post by: Mastermind1996 on June 05, 2009, 05:28:51 AM
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?
Title: Re: Not responding
Post by: JamminR on June 05, 2009, 03:02:03 PM
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.
Title: Re: Not responding
Post by: Mastermind1996 on June 06, 2009, 12:35:50 AM
But I would have to change that in every file then or just a particular file that allows them to spawn sweps and sents?
Title: Re: Not responding
Post by: JamminR on June 06, 2009, 10:32:23 AM
Whichever functions, in whatever files, you wanted some group to have whatever access DarkRP gives them normally as admin would need to be changed.
Title: Re: Not responding
Post by: Mastermind1996 on June 07, 2009, 12:24:32 AM
What file? I just want them to use sweps, sents and commands.
Title: Re: Not responding
Post by: JamminR on June 07, 2009, 07:49:40 AM
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.
Title: Re: Not responding
Post by: Mastermind1996 on June 07, 2009, 09:25:00 AM
I don't have any brains....
Title: Re: Not responding
Post by: JamminR on June 07, 2009, 10:51:22 AM
Darn zombies
Title: Re: Not responding
Post by: Megiddo on June 07, 2009, 07:55:41 PM
Darn zombies

I nearly fell out of my chair laughing... :)
Title: Re: Not responding
Post by: Mastermind1996 on June 08, 2009, 08:28:14 AM
Zombies? I ment the Zombines!
Alex: Watch out, he got a grenade!