Author Topic: URS BETA - A Highly Customizeable Restriction System (or will be)  (Read 561167 times)

0 Members and 6 Guests are viewing this topic.

Offline ThatBum

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #90 on: July 14, 2011, 09:18:17 PM »
It doesn't work well with props with spaces in their model name.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #91 on: July 14, 2011, 09:35:11 PM »
Try using quotes around the name.

Offline Cyberuben

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #92 on: July 24, 2011, 04:08:29 AM »
How am I supposed to restrict ALL sweps and sents at ONCE for 1 group?
I'm not going to add like 200 guns 1 by 1.
Anyone an idea? '*' doesn't work.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #93 on: July 24, 2011, 08:59:22 AM »
ulx restrict all sent <groups>
ulx restrict all swep <groups>

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #94 on: July 24, 2011, 10:46:51 AM »
Aaron, perhaps consider adding '*'? It would be more consistent with other ULX commands. :)
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #95 on: July 24, 2011, 12:15:40 PM »
It's added for the groups portion of the command.  It restricts from all groups, of course, and any group mentioned after it will be excluded from the restriction.  I'm not really sure how else to include it.  Idea?

Although, I do need to work my first post some more.  Giving more detail as to how things work.
« Last Edit: July 24, 2011, 12:18:02 PM by Aaron113 »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #96 on: July 24, 2011, 01:45:45 PM »
The same parameter/if statement you use to search for the word 'all', you also add an 'OR' compare the string "*"
I've not looked at your code, but, shouldn't be that difficult.
If you really wanted to spend the time and polish it, you could also have it use the same checks as the group comparison,
Like, ulx restrict *,!<sent_name> sent <group> .. that of course would take more time. Quick addition should be the * and 'all' check.
« Last Edit: July 24, 2011, 01:48:24 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #97 on: July 24, 2011, 05:40:10 PM »
Added to my todo (even though it would only take a couple of minutes to do).

Offline blackfire88

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #98 on: July 26, 2011, 12:23:04 AM »
I have an idea for you!
Alot of problems is that my moderators spawn whatever they want with advanced duplicator.
Could you make it restrict things from advanced dupe, form being spawned? Like for example:

Advanced Duplicator List:
-- gmod_turret 'restricted' "user, mod, admin"

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #99 on: July 26, 2011, 09:01:47 AM »
make it restrict things from advanced dupe, form being spawned?

Perhaps I'm not understanding your idea, or Aaron's addition, but, hasn't he already done this?
http://forums.ulyssesmod.net/index.php/topic,5269.msg23839/topicseen.html#msg23839
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #100 on: July 26, 2011, 11:05:04 AM »
"ulx restrict advdupe gmod_turret user mod admin" should get the job done.  Sorry, I really do need to explain more in my first post.  I'll hopefully get that done later today.

Offline blackfire88

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #101 on: July 27, 2011, 02:11:58 AM »
lol, didnt notice it was there, sorry

Offline wesleydeman

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #102 on: July 27, 2011, 05:00:45 AM »
I did add the tool restriction duplicator but it doesent work, can someone explain me how this works ?, btw this is awesome addon!

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #103 on: July 27, 2011, 12:34:40 PM »
I did add the tool restriction duplicator but it doesent work
Not very clear, but I'm assuming you are trying to restrict the duplicator from some groups and it is not working.  May I ask what you are typing in your console or my GUI for the restriction?

btw this is awesome addon!
Thanks.

Offline wesleydeman

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #104 on: July 27, 2011, 02:48:51 PM »
Not very clear, but I'm assuming you are trying to restrict the duplicator from some groups and it is not working.  May I ask what you are typing in your console or my GUI for the restriction?
Thanks.

Restriction on a tool i type in:
Target = duplicator
Group = user