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

0 Members and 2 Guests are viewing this topic.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 804
  • Karma: 102
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #570 on: December 04, 2015, 09:17:21 AM »
I'm a little lost what do you mean?
Code: [Select]
if xgui.data.URSLimits["prop"] and xgui.data.URSLImits["prop"][ply:GetUserGroup() thenThat, just to make sure both exist. 

PS.  Sorry for late reply, don't believe I ever got notified.

Offline BlitherLlama

  • Newbie
  • *
  • Posts: 8
  • Karma: -4
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #571 on: February 24, 2016, 04:52:42 AM »
where do i put the file?

Offline Walter Jordan

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
URS Mass Restrict
« Reply #572 on: May 27, 2016, 04:47:33 PM »
I am currently using the URS restriction system and I am trying to make a group called minge that will have absolutely nothing. They should not be able to spawn any props or entities and the likes and they should also not be able to use any weapons or tools. I have tried using the wildcard "*" to mass restrict things and it is still not fully restricting the people. They are not able to spawn props but they can use weapons and tools. I was wondering if there is another way that I would be able to restrict all of the weapons for a group or if I am doing it wrong.

Offline The Asian Aimbot

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 2
  • Rise and shine, Mr. Freeman, rise... and shine...
    • View Profile
    • Asian Domain GMod Sandbox Server
Re: URS Mass Restrict
« Reply #573 on: May 27, 2016, 04:51:03 PM »
See the tab in URS that says "all?" Click that. Now, in that menu, set the "minge" group, and then type in swep, tools, props, etc. This will restrict all of that type of swep/sent/props. :3
The Asian Toaster man who escaped the Great Martian Coup of '69, hid in Beijing for 9 months, and was cast away by the FSM. Flew away w/ GoombasTasteGood and hid in Addis Ababa after fleeing to Botswana, then to Canada.

http://www.downloadmorewam.com

Offline Walter Jordan

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #574 on: May 27, 2016, 06:34:34 PM »
I am trying to restrict all weapons/tools/other from a certain group, and this far the wildcard character has not worked. How would I do this using URS?

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 804
  • Karma: 102
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #575 on: May 27, 2016, 09:34:50 PM »
Hi, I died for 6 months and came back to life.

I am trying to restrict all weapons/tools/other from a certain group, and this far the wildcard character has not worked. How would I do this using URS?

What The Asian Aimbot suggested should work.  There are cases where it won't, like the advance duplicator spawning stuff.  I haven't worked on this in months, so it could have broken. 

PS.  I really need to release my new version I was working on.  (Or at least a dev branch of it).

Offline The Asian Aimbot

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 2
  • Rise and shine, Mr. Freeman, rise... and shine...
    • View Profile
    • Asian Domain GMod Sandbox Server
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #576 on: May 28, 2016, 04:10:18 PM »
Can you teach me your resurrection trick? I keep having trouble.
The Asian Toaster man who escaped the Great Martian Coup of '69, hid in Beijing for 9 months, and was cast away by the FSM. Flew away w/ GoombasTasteGood and hid in Addis Ababa after fleeing to Botswana, then to Canada.

http://www.downloadmorewam.com

Offline Andriiucha

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #577 on: October 14, 2016, 12:30:34 PM »
I have one suggestion!

You should add one function like "Restrict Player Models for users or etc.."
[/i]

Offline LilPeep

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #578 on: December 04, 2017, 05:14:50 PM »
I was told to post here in the URS Release Thread by a Staff Member.

So currently Admins on my server are capable of spawning in Weapons, Entities, NPC's, Vehicles and etc just fine, but I would like another ULX Group to be able to do the same, but I cannot have the group inheriting from Administrator due to me wanting them to have the same perms. I originally managed to make it work for another ULX Group using URS, however, URS began to restrict tools and shit in other groups, since I had no idea how to fix it I had to remove it.

TL:DR
How can I make another ULX Group not inherit Admin perms, but still be able to spawn in Weapons, Entities, NPC's, Vehicles and etc just like Admins, but not have URS Restrict Tools, Weapons, Entities, NPC and Vehicles from spawning?

EDIT:
Here is an error I get:

[ERROR] addons/urs-master/lua/ulx/modules/urs_server.lua:153: attempt to call field 'logSpawn' (a nil value)
  1. fn - addons/urs-master/lua/ulx/modules/urs_server.lua:153
   2. Call - addons/ulib/lua/ulib/shared/hook.lua:109
    3. unknown - gamemodes/sandbox/gamemode/commands.lua:739
     4. unknown - lua/includes/modules/concommand.lua:54
« Last Edit: December 04, 2017, 05:50:25 PM by LilPeep »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7759
  • Karma: 353
  • Sertafide Ulysses Jenius
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #579 on: December 04, 2017, 06:49:26 PM »
LilPeep - that URS nil field error in line 153 uses a command (logSpawn) that relies on a ULX command.
(Not something we always recommend (that is, we intended ULib to be developed on, but not necessarily ULX))

When playing, when does that error occur?
Have you uninstalled ULX?
If ULX is installed, did you remove it's logs.lua module file?
If ULX is installed, do you have any other addon that might be modifying ULX logging?
Is there any reason why your server would return a nil steamid or playername when someone is online?

The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin

Offline LilPeep

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #580 on: December 05, 2017, 12:32:34 AM »
1. The error occurs whenever I try to spawn a Weapon for myself.
2. I have not uninstalled ULX.
3. It does have a log.lua.
4. I do not believe so.
5. I have no idea why.

I will reinstall ULX now and see if that straightens things up.
« Last Edit: December 05, 2017, 12:36:11 AM by LilPeep »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 7759
  • Karma: 353
  • Sertafide Ulysses Jenius
    • View Profile
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #581 on: December 05, 2017, 07:08:05 PM »
I really don't know then. I imagine if something (ply:Nick, steamid, or another few variables) is being called and returning nil that error occurring.
Or, the logSpawn function doesn't exist when URS is loaded, but I thought the original author of this release would check for that before load. (I didn't look)
The price one pays for pursuing any profession or calling is an intimate knowledge of its ugly side. - James Baldwin