ULX

Author Topic: Not responding  (Read 6648 times)

0 Members and 3 Guests are viewing this topic.

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Not responding
« 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...
« Last Edit: May 31, 2009, 01:32:03 AM by Mastermind1996 »

Offline gamerlv

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
  • VP of GAmers4Life
    • The awsome gamers4life clan site
Re: Not responding
« Reply #1 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)

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #2 on: May 31, 2009, 01:01:10 PM »
`Fixed

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Not responding
« Reply #3 on: May 31, 2009, 08:11:04 PM »
Syntax error?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #4 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?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Not responding
« Reply #5 on: June 01, 2009, 04:57:03 AM »
You failed to earn your rank, and when did garry change that?
Experiencing God's grace one day at a time.

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #6 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?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Not responding
« Reply #7 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #8 on: June 03, 2009, 07:33:02 AM »
IsAdmin but I dont want to inherth it because a1 has much less commands then Admin

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Not responding
« Reply #9 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #10 on: June 04, 2009, 07:38:29 AM »
Ouch, isn't there any solution in ULX?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Not responding
« Reply #11 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #12 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?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Not responding
« Reply #13 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.
« Last Edit: June 05, 2009, 03:06:34 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Mastermind1996

  • Newbie
  • *
  • Posts: 28
  • Karma: -2
    • Gamers4Life Forum! A forum for the ultimate gamers!
Re: Not responding
« Reply #14 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?