ULX

Poll

Do You Like The New GUI Better?

Yes, Much Better!
71 (59.7%)
Yeah
22 (18.5%)
I Don't Care, I Use The Console
14 (11.8%)
No
4 (3.4%)
I Prefer The Old GUI
8 (6.7%)

Total Members Voted: 116

Author Topic: URestrict [Depreciated-author no longer supports]  (Read 483800 times)

0 Members and 1 Guest are viewing this topic.

Offline Hardy

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: URestrict
« Reply #30 on: November 30, 2008, 03:50:16 PM »
Not sure about ents, pretty sure it could be added if he finds time.
As for SWEPS, wouldn't the Loadout tab, which controls WEaPonS, work for Scripted WEaPonS (SWEPS) too?
I check it out, ty

Offline Hardy

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: URestrict
« Reply #31 on: December 05, 2008, 08:55:10 PM »
How i can change this groups?

Those groups differs from loadout groups...
I have few custom groups on server, and cannot allow them to use restricted tools...

Offline locololo2

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: URestrict
« Reply #32 on: December 06, 2008, 09:28:20 AM »
This doesn't work with DarkRP 2.2.19. It does not allow normal players to spawn with Keys. Admins do spawn with it though so it's some restriction.

Took it off and the problem was solved.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #33 on: December 06, 2008, 07:36:45 PM »
How i can change this groups?

Those groups differs from loadout groups...
I have few custom groups on server, and cannot allow them to use restricted tools...

     - Under the loadouts tab, just type the name of the group you want to add in the white box at the bottom, and click add group.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline socomsniper33

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URestrict
« Reply #34 on: December 11, 2008, 07:39:31 AM »
how would i go about restricting gcx and wire tools ?

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #35 on: December 11, 2008, 08:28:55 AM »
To restrict any tool, the easiest way is to select the tool you want to restrict, then goto console and type gmod_tool, and it'll auto complete the name, then you type the tools full name into urestrict, and click add tool.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline PowerHouse

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: URestrict
« Reply #36 on: December 12, 2008, 08:00:23 AM »
Great work. I have been looking for this for a while. I installed it on  my server and it works, to an extent.  The console is continuously spammed with errors, and i cant access the in game menu. I do have the most up to date svn version, and yes it was installed correctly. Any ideas? ???

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #37 on: December 12, 2008, 09:41:17 AM »
Need to see these errors that you're spammed with, and are you atleast an admin or superadmin?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline PowerHouse

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: URestrict
« Reply #38 on: December 12, 2008, 02:17:16 PM »
Thanks for the quick response. As far as the rank goes, if i have my group set as owner, does that mean i wont be able to have access to the in game menu? If so, where should i edit the code to acknowledge my group? Here is the error that repeats endlessly in the console:

Warning: Unhandled usermessage 'URestrict_Loadouts'
Warning: Unhandled usermessage 'URestrict_Loadouts'
Warning: Unhandled usermessage 'URestrict_Loadouts'
Warning: Unhandled usermessage 'URestrict_Loadout_Groups'
Warning: Unhandled usermessage 'URestrict_Loadout_Groups'
Warning: Unhandled usermessage 'URestrict_Loadout_Exclusions'
Warning: Unhandled usermessage 'URestrict_Loadout_Exclusions'
Warning: Unhandled usermessage 'URestrict_Loadout_Exclusions'
Warning: Unhandled usermessage 'URestrict_Loadout_Exclusions'
Warning: Unhandled usermessage 'URestrict_Loadout_Loadout'
Warning: Unhandled usermessage 'URestrict_Loadout_Loadout'
Warning: Unhandled usermessage 'URestrict_Tools'
Warning: Unhandled usermessage 'URestrict_Tools'
 :-\

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #39 on: December 13, 2008, 07:23:16 PM »
Is the actualy group name owner, or is it actually superadmin or admin just displayed as owner with UTeam?
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline locololo2

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: URestrict
« Reply #40 on: December 19, 2008, 03:10:03 PM »
This doesn't work with DarkRP 2.2.19. It does not allow normal players to spawn with Keys. Admins do spawn with it though so it's some restriction.

Took it off and the problem was solved.

I really want this to work on my server I just need to fix this 1 simple problem that's it....

PLEASE help me.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #41 on: December 19, 2008, 04:58:52 PM »
Quote
This doesn't work with DarkRP 2.2.19. It does not allow normal players to spawn with Keys. Admins do spawn with it though so it's some restriction.

Took it off and the problem was solved.

I really want this to work on my server I just need to fix this 1 simple problem that's it....

PLEASE help me.
     -Simple, open <server>/garrysmod/data/URestrict/Loadouts/default.txt and add the key to their list.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: URestrict
« Reply #42 on: December 26, 2008, 04:57:54 PM »
     - Under the loadouts tab, just type the name of the group you want to add in the white box at the bottom, and click add group.

I think what he means is when you add the group in the loadout tab, it isn't in the pop-up menu on the tools tab, making it impossible to restrict custom groups. At least for me anyway...

Offline Flinta

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Re: URestrict
« Reply #43 on: December 30, 2008, 04:24:48 AM »

(Admin)Name, revoked operator use of door
This tools use has been revoked
] URestrict
(Admin)Name, allowed operator to use door
This tool is restricted to certain groups   <----  ???


Help plz,   im superadmin on user.txt. also allowed superadmins to tool but still same problem. "This tool is restricted to certain groups"

Offline Hardy

  • Newbie
  • *
  • Posts: 42
  • Karma: 0
Re: URestrict
« Reply #44 on: December 30, 2008, 10:54:00 AM »
Hey, take a look on this:
This is netgraph with this addon installed:


This is without addon:



Look at that usermessage jumps. This cause freezes and lags.