Ulysses

Ulysses Stuff => Releases => Topic started by: Aaron113 on May 09, 2011, 01:46:25 PM

Title: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 09, 2011, 01:46:25 PM
(https://dl.dropboxusercontent.com/u/50945661/urs_header.png)


I've been working on this project slowly and decided just to release a Beta that I would build off of.  URS is an acronym and stands for Ultimate Restriction Suite.  This project is a replacement of URestrict, which development was sadly stopped on (http://forums.ulyssesmod.net/index.php/topic,3680.msg22694.html#msg22694).  I decided to develop this after URestrict just suddenly stopped working one day on my server and I had absolutely no restrictions.  Then Jay announced that he would not be able to continue development on it, and so I decided I'd take up a project of my own.  I'm not the most experienced in the field of Lua, but I certainly can get the job done (hopefully I do a decent job).

(https://dl.dropbox.com/u/50945661/images/119_482013140186971376521248.png)(https://dl.dropbox.com/u/50945661/images/120_402013149184471376521360.png)

Features:


=============================
Please see our Wiki page for additional help!
https://github.com/Aaron113/URS/wiki (https://github.com/Aaron113/URS/wiki)
=============================

=============================
NOTE: Requires version 3.50+ of ULX
(https://dl.dropboxusercontent.com/u/50945661/urs_download.png) (https://github.com/Aaron113/URS)
(https://dl.dropboxusercontent.com/u/50945661/urs_workshop.png) (http://steamcommunity.com/sharedfiles/filedetails/?id=112423325)
(Workshop is most likely to be out of date)
=============================
Need Help?  SVN Guide (http://www.facepunch.com/showthread.php?t=688324)
=============================
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on May 09, 2011, 09:18:07 PM
I think you have a great idea going there, but I hope you have a menu soon because 70% of my admins cant use stuff like this without a menu (no offence any admins that are reading this). I also would like to offer some help, because I am just starting to code LUA and this is a great opportunity to learn. In addition if its not too much of a struggle I was wondering if you could integrate the restrictions with SQL.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on May 09, 2011, 09:27:15 PM
Looking good!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 10, 2011, 05:14:37 AM
I think you have a great idea going there, but I hope you have a menu soon because 70% of my admins cant use stuff like this without a menu (no offence any admins that are reading this). I also would like to offer some help, because I am just starting to code LUA and this is a great opportunity to learn. In addition if its not too much of a struggle I was wondering if you could integrate the restrictions with SQL.
I could probably get something in for SQL, but the menu and some other additions I have planned come first.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: jay209015 on May 10, 2011, 08:17:42 AM
Very nice.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on May 10, 2011, 09:22:22 AM
Awesome! Glad you've found some time to work on this.
I'll be installing it as soon as I find a little time myself  ;D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 10, 2011, 01:52:20 PM
I'd just like to note, I haven't tested this much at all in a dedicated server.  I shut mine down, so I'll have to get one up to test.  Otherwise, any feedback on how it's working in dedicated servers is welcome.

EDIT:  I also added a little Features list.

EDIT2:  I just organized and decorated the OP even more.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on May 10, 2011, 02:09:45 PM
Not URS!
Oh, wait, it IS URS.

Nice!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 10, 2011, 05:30:35 PM
Added the command ulx print [limits/restrictions/loadouts] to make up for not having a menu yet.  This prints the tables for loadouts, limits, or restrictions into your console.  See better description in OP.

Also, thanks for the compliments.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on May 10, 2011, 08:21:10 PM
Aaron, I was looking over your code and just wanted to point out that ULX function call backs are only called server-side, so putting "if SERVER then ... end" is unnecessary.  And calling GetConVarNumber() is pretty inefficient because the engine has to lookup the cvar object in a linked list each time, it'd be better to store the cvar object and get the number directly from it.

Hope you find these suggestions helpful. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 11, 2011, 04:29:44 AM
Thanks, both will be changed.

EDIT:  Done as of 5/11/11.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on May 12, 2011, 01:30:06 PM
You can still make convar changes have instant effect, I was just recommending using ConVar:GetBool() (http://wiki.garrysmod.com/?title=ConVar.GetBool) instead of using the global function (which incurs a lookup). :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 13, 2011, 11:37:26 AM
You can still make convar changes have instant effect, I was just recommending using ConVar:GetBool() (http://wiki.garrysmod.com/?title=ConVar.GetBool) instead of using the global function (which incurs a lookup). :P
Hehe, I'll be changing it in rv5.  :-[

Also, is there a way to have the completes for a command updated?  I know XGUI uses something for ban and kick reasons, but rather then looking through several files I thought I'd just ask.  Stickly is going to help later, but feel free to explain if you want.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on May 13, 2011, 12:44:03 PM
Also, is there a way to have the completes for a command updated?  I know XGUI uses something for ban and kick reasons, but rather then looking through several files I thought I'd just ask.  Stickly is going to help later, but feel free to explain if you want.

You just update the table that has the completes you want. Make sure you don't try to "clear" the table first by doing "my_var = {}" because that creates a new table that is no longer tracked by ULX. (This is a Lua language thing, if you want me to go more in depth I can)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 13, 2011, 01:59:22 PM
I swear I've tried that before and it didn't update.  Anyway, I'll try it out later and get back to you.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on May 13, 2011, 04:55:31 PM
I swear I've tried that before and it didn't update.  Anyway, I'll try it out later and get back to you.

Just remember that you have to work with the table that already exists, not a new one or one coming from some other place.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 13, 2011, 07:27:29 PM
Revision 5 Changes:
Code: [Select]
- ulx_echours updates every command again
- Added an exclude list after specifying everyone(*) as a target - for restrictions ONLY (Ex. "ulx restrict tool duplicator *,superadmin,admin" [Everyone except superadmins and admins are restricted from the duplicator])
- Added an all option to ulx print
- Some Optimization with commands and un-needed things
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 21, 2011, 04:10:49 PM
Although it is not finished, here is a sneak peak at the menu...
(http://www.aaron113.com/screenshots/GUI.png)

EDIT:  I will update this post with updated screenshots of the menu.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Stickly Man! on May 21, 2011, 04:23:49 PM
:D It's looking good! Nice to see it in XGUI too  ;)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 22, 2011, 08:58:16 AM
Revision 6:
Code: [Select]
- Fixed a small mistake in ulx print for limits
- Commands now use repeat_min, no more commas!
- Added a complete list for loadoutadd (weapons)
- Fixed unrestrict from skipping groups, previously missed
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on May 23, 2011, 06:41:12 PM
Finally installed, works great, its AWESOME you can restrict entities, that was like unheard of before!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 25, 2011, 04:21:42 PM
I now have a completely functional Remove button, which took longer then I thought it would.  ;D

PS:  This is not currently in the SVN.  Unless you guys really want to test it, it won't be until finished.

Todo:


(http://www.aaron113.com/screenshots/GUI2.png)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: jay209015 on May 26, 2011, 06:29:43 AM
Very nice Aaron!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on May 26, 2011, 09:53:50 AM
looking goooood!  8)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on May 26, 2011, 09:50:25 PM
I just came up with a request / idea  ;D
Would it be possible to add the wildcard '*'?

So that we can have "minge" groups that arn't able to spawn *any* vehicles/props/whatever you chose, just by selecting the category, then using '*'.

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 27, 2011, 05:14:01 AM
I think I could whip something up like that.  I'll try to get it out in the next revision as I found a couple more bugs that were discovered but never fixed (forgotten).

EDIT:  I'm going to make a todo list.

EDIT2:  Here (http://www.gqueues.com/public/queues/agdncXVldWVzchwLEgdBY2NvdW50GIjTlgQMCxIFUXVldWUY0Q8M) it is!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on May 27, 2011, 10:19:10 AM
Sweee it made the todo  ;D
You're seriously filling a long needed need with this, can't thank you enough lol
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 28, 2011, 11:25:52 AM
Revision 7:
Code: [Select]
- Removed some debug
- Fixed loadoutremove and unrestrict skipping
- Added some stuff for future update (wildcard "*")

Lets hope all went well and I didn't screw up anything.  :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 29, 2011, 10:12:42 PM
Revision 8:
Code: [Select]
= Added Wildcard "*" -- You can restrict groups from everything!
 = Fixed an issue that may cause other things such as Prop Protectors to fail
 = Removed xgui.sendDataTable() from commands -- This is for the GUI
 = Removed DebugPrint() -- No longer needed

You use the wildcard by typing something like:  ulx restrict all tool superadmin admin.  It seems a little messy to me, but that is why rewriting all commands is on my Todo. :D

EDIT:  Crap... It's midnight and I forgot I have to get up semi-early tomorrow.  :(
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on May 29, 2011, 10:58:43 PM
Awesome!
& I hope your not late  ;D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 30, 2011, 12:46:30 PM
I forgot to mention that excluded groups are allowed if restrict from all.  So if you restrict the duplicator from everyone except superadmins (ulx restrict tool duplicator * superadmin), then they will be excluded for that tool from the wildcard as well.
(Hopefully this makes sense... I don't really know how to explain it any better.)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 07, 2011, 07:56:23 PM
I've made some more progress and got in a working Add button along with the disabling of buttons/text boxes when they are not meant to be wrote in or used.  I've decided that the remove all button would be pretty useless and decided just not to add it.  I still need to mix some stuff out in the layout and finish data sending, but I think this puts me close to finishing this GUI (until I add something new).

Little more detail on restrict all:  You can restrict everything of a given type (listed in the features menu for restrictions).  When you do this, they cannot spawn or use anything from the specified group.  If a group is excluded from restrictions on say the duplicator and restricted from all tools and the same time, that group will be able to use the excluded tool, the duplicator.

Example of restricting all:  "ulx restrict all tool user operator"
Example of excluding from duplicator restrictions:  "ulx restrict tool duplicator * operator"

I may have to come up with a new excluding system, but this works fine for now.

(http://aaron113.com/screenshots/urs_gui1b.png)
Full Size Image (http://aaron113.com/screenshots/urs_gui1.png)

Do take note that this isn't in the SVN yet.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on June 07, 2011, 10:16:40 PM
looking gooood cant wait.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 13, 2011, 09:35:13 AM
Here is the final layout:

(http://aaron113.com/screenshots/urs_gui2final2.png)

Now I'm just awaiting for Stickly to assist me with XGUI's data sending/retrieving.  Any suggestions?

EDIT:  Also, some of the previous pictures may not work at the moment.  I'm having some difficulties with my website.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: macman on June 18, 2011, 10:25:36 AM
Hi, I think i have done it all right but my guests still spawn with weapons, any help or ideas?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 18, 2011, 11:46:57 AM
Do you happen to get any errors?  It's hard to tell with so little info.

EDIT:  There may be a problem with the latest revision.  I'll check it out quick.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: macman on June 18, 2011, 11:52:32 AM
Do you happen to get any errors?  It's hard to tell with so little info.

EDIT:  There may be a problem with the latest revision.  I'll check it out quick.

no errors, it just dose not restrict anything.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 18, 2011, 12:07:22 PM
Odd.  It's working fine for me.  Can you tell me the commands you are entering?

EDIT:  Also, if you could, type "ulx print loadouts" into your console.  Copy and paste what it echos.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: macman on June 18, 2011, 01:28:29 PM
Odd.  It's working fine for me.  Can you tell me the commands you are entering?

EDIT:  Also, if you could, type "ulx print loadouts" into your console.  Copy and paste what it echos.

here is the console output and im using the XGUI to input the restrictions, the command i used was "ulx print all" to get the console out put.

Code: [Select]
=============================================================
URS - Limits:
ragdoll:
effect:
sent:
vehicle:
npc:
prop:
=============================================================
URS - Restrictions:
ragdoll:
effect:
sent:
npc:
prop:
swep:
weapon_ar2:
vehicle:
tool:
all:
weapon_smg1:
1 = user
weapon_fiveseven:
1 = user
weapon_rpg:
1 = user
weapon_pump:
1 = user
weapon_mp5:
1 = user
weapon_ak47:
1 = user
weapon_frag:
1 = user
weapon_mac10:
1 = user
weapon_hmg1:
1 = user
weapon_pistol:
1 = user
weapon_ar2:
1 = user
weapon_tmp:
1 = user
weapon_crossbow:
1 = user
weapon_m16:
1 = user
weapon_smg2:
1 = user
weapon_glock:
1 = user
weapon_para:
1 = user
weapon_shotgun:
1 = user
weapon_deagle:
1 = user
weapon_357:
1 = user
=============================================================
URS - Loadouts:
=============================================================
* Check console for a list of your Limits, Restrictions, and Loadouts *
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 18, 2011, 08:39:48 PM
Well, you've been using my commands wrong.  "ulx restrict all" is used to restrict all of a given type of entities ( sents, sweps, props, tools, etc. ).  To have a user spawn with said weapons you must use the command shown below.  Do keep in mind that the first weapon listed is the weapon they will have out upon spawning.

Basic Example:  ulx loadoutadd user weapon_crowbar weapon_physgun weapon_physcannon gmod_camera gmod_tool

Use spaces to separate as mentioned in the OP.  You can use the command more then once, it will not overwrite.  To remove a swep use "ulx loadoutremove".  It has a similar usage.

I do apologize.  I need to make certain restrictions on restrict all as it has a limited usage.  I also need to work on the OP.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: macman on June 19, 2011, 04:02:00 AM
Well, you've been using my commands wrong.  "ulx restrict all" is used to restrict all of a given type of entities ( sents, sweps, props, tools, etc. ).  To have a user spawn with said weapons you must use the command shown below.  Do keep in mind that the first weapon listed is the weapon they will have out upon spawning.

Basic Example:  ulx loadoutadd user weapon_crowbar weapon_physgun weapon_physcannon gmod_camera gmod_tool

Use spaces to separate as mentioned in the OP.  You can use the command more then once, it will not overwrite.  To remove a swep use "ulx loadoutremove".  It has a similar usage.

I do apologize.  I need to make certain restrictions on restrict all as it has a limited usage.  I also need to work on the OP.

Ok i deleted the restriction files and ill try again unseeing the above command, Thanks.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Blasphemy on June 23, 2011, 09:48:59 AM
I love this plugin, there is one problem however. If you use stacker, you can still go over the prop limit set by URS and hit the default sandbox gamemode.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 23, 2011, 11:35:46 AM
I'll look into that when I can.  I may try to include it in the next revision if it can be fixed.  It may require editing of the tool.

I plan on releasing what I have done of the GUI as soon as I get the data sending semi-done.  Stickly seems to have just up an vanished, so I cannot get it working the best yet.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on June 23, 2011, 04:59:19 PM
Stickly seems to have just up an vanished, so I cannot get it working the best yet.

He's back today
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 23, 2011, 09:06:47 PM
I'm aware.  We had a short chat today.  I hope to release the GUI soon.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on June 24, 2011, 05:57:50 PM
I hope to release the GUI soon.

wooo  ;D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 26, 2011, 11:50:54 AM
Code: [Select]
Revision 9 Changelog:
 = Added GUI
 = Fixed (hopefully) all errors in all commands

Pictures of the GUI are shown in the previous page.  I will edit the OP when I have time.  Please do report any errors or bugs you may find.  I do plan on going over most of my code, for both the GUI and the commands, again soon.  I just wanted to get the GUI out and functioning.  There's bound to be errors I missed.

EDIT:  Also, if you want access to the menu you must give yourself access to the command xgui_urs.  Defaulted to Superadmins.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on June 28, 2011, 03:47:24 AM
Um lol? I can add loadouts, but the "tools" button and all the other ones are grey, and none of the groups appear in loadouts. -.?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 28, 2011, 10:44:42 AM
In order to use the add button, you must selected a type (for restrictions and limits only).  This is required because it takes what you selected and runs it with the command.  For Loadouts you must add loadouts before groups will appear.  Is that some type of answer you were looking for?

As far as I can tell everything is working fine.  If you're having actual problems and it isn't just a misunderstanding, then supply the echo in your console when you type the command "ulx print all" and  give me any errors you have on your server or client.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: rintin on June 28, 2011, 10:57:31 AM
would it be possible to stop Restricted weapons from being picked up from the floor? people can spawn npc's holding the weapon and then kill them to get the weapon.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 28, 2011, 11:14:51 AM
would it be possible to stop Restricted weapons from being picked up from the floor? people can spawn npc's holding the weapon and then kill them to get the weapon.
As far as I'm aware, URS has nothing to do with that.  I'll take a look into it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 28, 2011, 11:23:32 AM
I just went in-game and tried it out.  I wasn't able to find any way.  Do you perhaps have another addon installed that would be restricting this?  If not, tell me how you restricted the swep or set the loadout.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on June 28, 2011, 11:41:46 PM
Sorry, but it didnt work. I mean the commands ( ulx restrict ) don't work, and the add loadout button is there, but once i change type to tools or props, ect. it fails
loadouts are only things that work. Could it be FPP doing it? or DarkRP?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 29, 2011, 12:20:19 PM
Mind supplying a link to where you got your DarkRP?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Kabooms on June 30, 2011, 08:25:20 PM
Sorry, but it didnt work. I mean the commands ( ulx restrict ) don't work, and the add loadout button is there, but once i change type to tools or props, ect. it fails
loadouts are only things that work. Could it be FPP doing it? or DarkRP?

I have the same problem and its for our server aaron. If you join you can see the problem.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 01, 2011, 12:51:25 PM
Found the problem.  I am working on a fix and should be out either tonight or tomorrow.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 01, 2011, 01:25:20 PM
Code: [Select]
Revision 10 Change Log:
 = Fixed a problem with creating subtables

It was a problem caused by me when I started something, forgot about it, and didn't finish it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 01, 2011, 07:45:50 PM
started something, forgot about it, and didn't finish it.

"Up!" movie reference in 3..2..
SQUIRREL!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 01, 2011, 11:35:46 PM
"Up!" movie reference in 3..2..
SQUIRREL!
Haha, exactly!  Even made me laugh.  ;)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on July 02, 2011, 02:49:51 PM
Thanks man.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 04, 2011, 08:28:36 AM
I have found an error.

The image is attached.

I did not add restrictions multiple times.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 04, 2011, 09:33:01 AM
Just upload it to another site such as Imageshack?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on July 04, 2011, 09:33:40 AM
You can even upload it to the forum!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 04, 2011, 11:48:20 AM
Could you add a little bit more detail as to how it happened?  I have not been able to replicate it.

EDIT:  I did find a problem with Loadout's data sending, but that doesn't relate to this.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 04, 2011, 05:59:16 PM
Could you add a little bit more detail as to how it happened?  I have not been able to replicate it.

EDIT:  I did find a problem with Loadout's data sending, but that doesn't relate to this.

I will add more detail as soon as I can, that would probably be tomorrow sense there are players on it all evening.

Also a problem is that people can pick weapons up if they are dropped by an NPC, also people can get weapons that the limits do not allow using the give command. I suggest looking at the URestrict lua files because URestrict handles weapons just fine.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 04, 2011, 09:11:36 PM
I didn't put any restriction on weapon pickup because I didn't see any reason to.  I guess you just gave me a reason.

What would you prefer, Restrict weapon pickups along with sweps or give it its own restrictions?  I suppose I could make a convar to switch between.  It would help support the little description, "A Highly Customizeable Restriction System (or will be)."
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 05, 2011, 03:41:45 PM
Personally, I don't see much reason to separate the lists.
Allow pickups to be disabled/enabled perhaps, matching the list, but not totally separate.
(Disable cvar for, say, fun gamemode, where i can't spawn a weapon, but I sure as fun can beat the heck out of someone, then steal the weapon.)

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 06, 2011, 05:38:21 AM
I didn't put any restriction on weapon pickup because I didn't see any reason to.  I guess you just gave me a reason.

What would you prefer, Restrict weapon pickups along with sweps or give it its own restrictions?  I suppose I could make a convar to switch between.  It would help support the little description, "A Highly Customizeable Restriction System (or will be)."

The con-var to switch between these would be awesome... Restrict weapon pickups along with SWEPS (1),  give it its own restrictions (2), and off (0)

Some thing like that.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 06, 2011, 02:10:33 PM
I was referring a bit more as to how you got this to happen.  Did you just come in game and the menu was like this?  Did you add the loadout and when it updated it happened?  Did you have the group selected when you added it?  Did this happen when you removed something?

I could mess around with it a bit more and see if I can come up with anything.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: krooks on July 06, 2011, 02:13:40 PM
Is there some way to edit these settings by hand?
Some of my admins have had problems with URS, and we have entries that cant be deleted through the pannel or otherwise.
Preferably I'd like to reset everything and start over.

I found the files in data>ulx, and removed them from the folder, but on map change they came back with the old settings, and not completely wiped, which is what I thought would happen.

Any advice?
Thanks
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 06, 2011, 03:00:57 PM
You have to completely stop your server, delete the files, and start the server back up.  I suppose I need to do some tweaking and a lot more testing.

EDIT:  You could reset each table manually, but I don't recommend it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 06, 2011, 03:56:49 PM
Ok, I'm going through everything and I will fix any errors or bugs I can find.  If a solution to your error is not in the next revision, then bring it back up.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 07, 2011, 09:09:29 AM
My SVN appears to be down at the moment, so I cannot commit the update; but here is the change log anyway:
Code: [Select]
Revision 11 Change Log:
 = [GUI] Added: Custom URS icon
 = [GUI] Fixed: Loadouts from merging all loadouts into one
 = [GUI] Fixed: Loadout's data sending made everything numbers
 = Fixed: Echoing a blank table in ulx restrict
 = Fixed: A small mistake with SENT restrictions

I'll edit this post when it has been committed.
Has been committed.

A little more info about the update:
The Loadouts section of the GUI would merge all the loadouts and add them to the list when any group was selected.
When you made a change the Loadouts of a group would change to numbers in the GUI.  This was because I messed something up on a for loop.
"ulx restrict" would not check to see if any groups remained after removing duplicates echoing blank tables in some cases.
Sent restrictions did not work at all due to me messing something up accidentally with the hook.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 07, 2011, 09:14:30 AM
I was referring a bit more as to how you got this to happen.  Did you just come in game and the menu was like this?  Did you add the loadout and when it updated it happened?  Did you have the group selected when you added it?  Did this happen when you removed something?

I could mess around with it a bit more and see if I can come up with anything.

Oh, I installed it by putting the add-on in the add-on's folder using SVN. Then when I went in game and checked the menu it had a globe not a URS icon. The restrictions for users I added through the menu, and then I added every other group using the commands that you specified in your first post. After I added them I looked into the menu and it was repeating over and over.

PS: Do I have to refresh after every change?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 07, 2011, 09:18:20 AM
Oh, I installed it by putting the add-on in the add-on's folder using SVN. Then when I went in game and checked the menu it had a globe not a URS icon. The restrictions for users I added through the menu, and then I added every other group using the commands that you specified in your first post. After I added them I looked into the menu and it was repeating over and over.
I fixed your problem.  Update your URS.

PS: Do I have to refresh after every change?
No.

EDIT:  I forgot to mention that I fixed the Loadout's data sending in this update as well. (View previous post for details.)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 07, 2011, 09:25:01 AM
I fixed your problem.  Update your URS.
No.

EDIT:  I forgot to mention that I fixed the Loadout's data sending in this update as well.

Thank you. Also I know it may be stupid to ask but did you add the SWEPS function I was talking about earlier?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 07, 2011, 09:26:34 AM
Thank you. Also I know it may be stupid to ask but did you add the SWEPS function I was talking about earlier?
No, unless more bugs are found that need to be fixed, I plan to add it in the next revision.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 07, 2011, 12:39:42 PM
No, unless more bugs are found that need to be fixed, I plan to add it in the next revision.

When can we all be expecting the next reversion? Sorry for the short reply.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 07, 2011, 01:09:29 PM
I prefer not to say.  I don't want to have to stress over having a time limit.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: ThatBum on July 07, 2011, 05:50:59 PM
Yeah, I understand the "when it's done" approach, as long as it doesn't end up being vaporware. Anyway, it would be absolutely perfect if it was dupe-proof. It's easy to get around because it only blocks direct spawns and not people duping it or spawning it indirectly, like a SENT that spawns other SENTs. Thanks for the dedication.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 07, 2011, 06:19:34 PM
Yeah, I understand the "when it's done" approach, as long as it doesn't end up being vaporware. Anyway, it would be absolutely perfect if it was dupe-proof. It's easy to get around because it only blocks direct spawns and not people duping it or spawning it indirectly, like a SENT that spawns other SENTs. Thanks for the dedication.

If he makes people unable to pick up restricted weapons, they wont be able to use the duped ones, But about the SENTs I don't think people can use SENTs that are not on your server, how ever if you have used a duplicate of a restricted SENT/Prop and the SENT/Prop has spawned then this would be an issue that Aaron113 would need to look into.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on July 08, 2011, 06:57:20 PM
Here is a suggestion. Have it so you can restrict per-player as well. For example, give a certain player a toolgun without ranking them up.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 10, 2011, 04:36:09 PM
Here is a suggestion. Have it so you can restrict per-player as well. For example, give a certain player a toolgun without ranking them up.
I'll add it to my todo.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 11, 2011, 04:16:22 PM
Ok, I have Advance Duplicator restrictions pretty much worked out and hope to push it out in the next revision.  There's going to be a new class of restrictions.  This will be used to block certain things spawned by the Advanced Duplicator that otherwise cannot be hooked into.  Such as a buttons, hoverballs, and even nukes.  I also plan to include weapon pickup restrictions and completed auto-completes for the GUI in the next revision (I forgot to remove what I had done of the auto-completes before my previous update).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bambo on July 12, 2011, 11:55:56 AM
Hey nice mod you've made however how would i go about restricting say... Expression 2?

When i try to restrict Expression 2 it separates them into the tool being Expression and the group being 2.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 12, 2011, 12:43:36 PM
ulx restrict tool wire_expression2 <groups> would be the correct command to use.  I'm not really sure how to explain it, but the actual name of the tools differ from the ones shown in the menus.

Also, thank you.  While double checking the name in-game I discovered the my tool usage logging was no longer working (or never was).  After I release the fix in the next revision, you can use it to get the name's of the tools.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bambo on July 12, 2011, 12:44:22 PM
Awesome!

By nagging you I actually helped! its a win win situation :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 12, 2011, 02:36:44 PM
While double checking the name in-game I discovered
What? Did another... SQUIRREL ... come along?
Sorry, couldn't resist. It applied.
Keep up the great work.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 12, 2011, 02:41:30 PM
I believe so.  This one being a lot earlier then the other.  Such fascinating animals.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 14, 2011, 03:48:53 PM
Code: [Select]
Revision 12 Change Log:
 = [GUI] Added: Auto Completes
 = Added: AdvDupe restrictions
 = Added: Weapon Pickup Restrictions
 = Changed: Strings in restrictions are lowercased
 = Fixed: Materials for icon should now be forced to download for the clients
 = Fixed: Tool Usage Logging
 = Removed: Save upon shutdown

Revision 12 Explanation:

I kind of like this layout.  I think I'll use it for future updates.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: ThatBum on July 14, 2011, 09:18:17 PM
It doesn't work well with props with spaces in their model name.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 14, 2011, 09:35:11 PM
Try using quotes around the name.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Cyberuben 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 24, 2011, 08:59:22 AM
ulx restrict all sent <groups>
ulx restrict all swep <groups>
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on July 24, 2011, 10:46:51 AM
Aaron, perhaps consider adding '*'? It would be more consistent with other ULX commands. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 24, 2011, 05:40:10 PM
Added to my todo (even though it would only take a couple of minutes to do).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 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"
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR 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
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on July 27, 2011, 02:11:58 AM
lol, didnt notice it was there, sorry
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: wesleydeman 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!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: wesleydeman 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
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 27, 2011, 03:15:00 PM
Do you get any errors?  What happens when you type this in and hit Add?  Could you copy and past the echo in your console when you type "ulx print all" into your console.

I'm not able to get on gmod right now and won't be for a couple days.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on July 28, 2011, 12:02:33 AM
wesley, to restrict something you need the enitity name, not the toolgun. For example, if you wanted to restrict spawning a turret with advanced duplicater, you would need to restrict gmod_turret instead of tool_turret
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Setup1337 on July 30, 2011, 08:26:40 AM
There seems to be a problem with restriction for me.  I just can't seem to restrict any tools at all.

 For example, I restricted the duplicator tool with command "ulx restrict tool duplicator superadmin" but I still was able to use the duplicator.

All the other restrictions seem to be working (like SWEP restriction), so why can't I restrict tools? I've tried multiple different ways and commands.


ulx print all     result:
Code: [Select]
=============================================================
URS - Limits:
ragdoll:
effect:
vehicle:
sent:
npc:
superadmin = 99999
prop:
=============================================================
URS - Restrictions:
ragdoll:
effect:
sent:
npc:
prop:
advdupe:
all:
swep:
duplicator:
tool:
tool_duplicator:
pickup:
tool_duplicator:
vehicle:
tool:
duplicator:
1 = *
2 = superadmin
tool_duplicator:
1 = superadmin
gmod_duplicator:
1 = superadmin
_duplicator:
stacker:
weld:
wire_forcer:
1 = *
2 = superadmin
target:
tool_weld:
target name/model path:
1 = Groups
superadmin:
swep:
weapon_staff:
tool_duplicator:
=============================================================
URS - Loadouts:
=============================================================
* Check console for a list of your Limits, Restrictions, and Loadouts *
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 30, 2011, 11:19:09 AM
Code: [Select]
tool:
duplicator:
1 = *
2 = superadmin
This is causing it to be restricted from every group except superadmin.  At this point it may just be better if you completely reset your data files and start fresh.

EDIT:  Sorry again, I'm slowly working on rewriting the original post.  I'll get it up soon, hopefully..
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Setup1337 on July 30, 2011, 02:23:33 PM
Yeah... That does not actually work either - other people can use the duplicator as well.

It didn't work from the start, the very first command I issued was that ulx restrict tool duplicator user and then I tested it with other player who is not an admin. Nothing. Did not restrict.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 30, 2011, 03:17:19 PM
Could I come on your server and try for myself?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Setup1337 on July 30, 2011, 05:51:26 PM
Sure. My Steam is Setup1337 .
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on July 30, 2011, 07:51:03 PM
Sure. My Steam is Setup1337 .

Would it not be easier to just give him your server IP?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 30, 2011, 10:04:31 PM
If you would, add me to a group with the correct permissions and I'll see what I can find out.  (STEAM_0:0:25464234)  Otherwise, you can invite me sometime when I'm online.

PS:  Don't forget to supply the IP for the first.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Maor360 on July 31, 2011, 09:54:02 AM
If I have some props like "models/props_c17/oildrum001_explosive.mdl"
How to disable use them?
Thanks :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 31, 2011, 11:23:42 AM
ulx restrict prop models/props_c17/oildrum001_explosive.mdl superadmin admin user
ulx restrict [type] [item] [groups separated by spaces]

This is all in the original post.  May not be explained the best and I'm working on that.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Setup1337 on July 31, 2011, 08:26:51 PM
The problem has been fixed and URS is working nicely, thanks to Aaron113 personally helping me out. Many thanks!

He will release this version soon as well, as he told me, because it seemed to conflict with FPP.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 31, 2011, 08:28:39 PM
I just got ninja'd.  Here's what I was going to post...

We found a solution to Setup's problem.  I believe FPP (Falco's Prop Protection) was returning true in a CanTool hook causing every other CanTool hook to be forgotten about.  I just set the priority of URS's hook a little higher.  I'll do this for every hook, and I will release this in the next revision.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on July 31, 2011, 08:49:57 PM
I just set the priority of URS's hook a little higher.  I'll do this for every hook, and I will release this in the next revision.

Ah, this is why I love ULib. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 31, 2011, 09:41:14 PM
FPP (Falco's Prop Protection) was returning true in a CanTool hook causing every other CanTool hook to be forgotten about.
Falco's been around a long time.
Returning true is a rookie mistake.

Make sure the version of FPP you are using is up to date, whether that be using the latest, or if latest is years old, contact Falco to see if he plans on updating.

Oh, and, garrysmod.org is NOT a good place to get releases unless they are put there by the actual author.
Too many times we've seen crap ulib/ulx stuff put there.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 31, 2011, 09:58:31 PM
I'm not entirely sure it is FPP as I didn't bother to look for it.  Any ideas Setup?  Do you have something else installed that messes with tools?  (Assuming you'll come back and check this topic.)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Maor360 on August 01, 2011, 02:42:18 AM
And I have the css guns and i want to disable them too .
how to do it?

Thanks ;)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 01, 2011, 11:53:34 AM
Either I really need to finish rewriting the original post or you're not trying.  I'll try to finish rewriting it today.

ulx restrict swep [swep name] [groups]

Try using the GUI.  It's easier then using the commands.

EDIT:  Actually, I think I'm going to whip something up on my site.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 01, 2011, 02:30:58 PM
http://aaron113.com/urs.php (http://aaron113.com/urs.php)

Well here is what I have done.  I'm still learning about HTML and what not so sorry for the site looking a big crappy.  I might move this to a wiki page in the future.  Suggestions are welcomed.

Hope it helps.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on August 01, 2011, 03:23:34 PM
Either I really need to finish rewriting the original post or you're not trying.
He's not trying/researching on his own. Lots of spoon fed around here.
Give 'em squirrel.
But the write-ups you do/did will help those who like to help themselves.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Maor360 on August 01, 2011, 10:49:41 PM
Either I really need to finish rewriting the original post or you're not trying.  I'll try to finish rewriting it today.

ulx restrict swep [swep name] [groups]

Try using the GUI.  It's easier then using the commands.

EDIT:  Actually, I think I'm going to whip something up on my site.
Thanks!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 04, 2011, 11:14:57 AM
Added http://aaron113.com/urs.php (http://aaron113.com/urs.php) to the main post.  It is pretty much finished.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Willdy on August 04, 2011, 01:50:32 PM
How do you set immunitys?

I did

Code: [Select]
ulx restrict swep weapon_ak47 * donator
to restrict the ak47, for everyone except people in the donator group.

It returned..

Code: [Select]
You restricted swep weapon_ak47 from *, donator
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 04, 2011, 02:04:27 PM
Yes, that's how it should return.  I suppose I could put in a "everyone except blah".  Is that what you were looking for?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on August 04, 2011, 02:39:43 PM
The explanation on your site looks nice, Aaron! You would be able to replicate that same look here on the forums here using lists and divs. The forums also support basic HTML codes, lists and hr's are probably among them.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Willdy on August 04, 2011, 02:52:50 PM
Yes, that's how it should return.  I suppose I could put in a "everyone except blah".  Is that what you were looking for?

Yea it was, im sure I read somewhere that you posted that's how to do it, but maybe I didn't. I can't find it written anywhere.

Also, when I was trying to restrict tools, I wanted to make it so only a certain group could use the 'Balloon' tool, but despite my efforts to restrict it, it wouldn't go restricted.

What should I have put for the name? I tried "Balloons" and "Balloon".
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 04, 2011, 03:55:08 PM
Yea it was, im sure I read somewhere that you posted that's how to do it, but maybe I didn't. I can't find it written anywhere.

Also, when I was trying to restrict tools, I wanted to make it so only a certain group could use the 'Balloon' tool, but despite my efforts to restrict it, it wouldn't go restricted.

What should I have put for the name? I tried "Balloons" and "Balloon".
When you use a tool on anything it should echo into your console, "[Name]<[SteamID]> used the tool [tool name] on [what ever the tool was used on]."  Just take the [tool name] part and use what that echos.

The explanation on your site looks nice, Aaron! You would be able to replicate that same look here on the forums here using lists and divs. The forums also support basic HTML codes, lists and hr's are probably among them.
I didn't realize that, but I didn't want to make my main post too long.  And Thanks!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Willdy on August 04, 2011, 03:58:39 PM
When you use a tool on anything it should echo into your console, "[Name]<[SteamID]> used the tool [tool name] on [what ever the tool was used on]."  Just take the [tool name] part and use what that echos.

It doesn't say that O.o
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 04, 2011, 04:11:18 PM
Make sure you have access to "ulx spawnecho".  It should work fine.

Aaron113<STEAM_0:0:25464234> used the tool balloon on maps/gm_construct.bsp
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Willdy on August 04, 2011, 04:16:05 PM
I get messages like..

«[N-G]» Willdy :3<STEAM_0:0:22970989> spawned model models/props_c17/streetsign004e.mdl

But I still don't see tool echos :/
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 04, 2011, 09:36:36 PM
Ahh, I think I know where this is going.  Can you give me a complete list of your server's addons?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Willdy on August 05, 2011, 01:55:33 AM
Might be more the fact its a Sledbuild server. (A very buggy, discontinued gamemode)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 05, 2011, 12:30:54 PM
Possibly.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on August 06, 2011, 12:44:56 AM
Have you got per-player done yet?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 06, 2011, 07:22:43 AM
It's 4th on my todo.  I plan to start working no my Todo again soon.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: killforfun on August 06, 2011, 11:09:00 AM
Ahhh i found a way to get past the prop limit If the player has past the prop limit he can still use the stacker tool to and stack them and go over limit could you fix that
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 06, 2011, 11:35:13 AM
Yeah, it's on my todo.  It just kept on getting bumped down because of more important things.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on August 06, 2011, 03:07:06 PM
Aaron, you should put a urs_readme.txt in your main svn addon/urs folder with links pointing to your 'how to', and, because I get frustrated with people asking/mentioning items you've already discussed in past posts, to do's,  and changelogs, add your ToDo and Changelogs to it.
This way, if someone asks a question thats already been included in URS, or a 'has this been done yet?', we can assist you by pointing them to the urs_readme.txt link.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 06, 2011, 04:00:00 PM
Will do.  Can tell you've got some experience with this. :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on August 06, 2011, 05:33:23 PM
A little. :)
You'll find it helps you directly too.
Even if you have a local file or place that you put smaller 'to do' items, it can help you prioritize the bigger ones.
That, and if you update the file every time you update/fix/add some code, helps you avoid squirrels.
I mean, sure, they're great to have fun with once in a while, but, they're distracting during the middle of a coding session.
Lose sense of direction at times.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 08, 2011, 07:40:13 PM
Everything is working fine on my side.  Do you get any errors?  Copy and paste what the command "ulx print all" echos into your console.  Did it work before or break recently?  If so, have you added any new addons since it broke?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: logan on August 11, 2011, 07:48:44 PM
Alright... I have this on my server, yet I cannot restrict anything. I go to the tab and all, yet when I click 'tools' no tools are available in the list. The only things available are the guns. :(
I need this, even willing to pay.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 11, 2011, 08:55:24 PM
@logan
Type "ulx print all" and copy and paste the echo that it puts into your console.  Also, do you happen to get any errors?  What exactly is the problem?  What do you mean by no tools are available on this list?  If you're talking about a list of tools, I do not believe there is a way to retrieve a list.  I can do some further looking into it but no promises.

If you would, give me an example of what you're typing in to restrict.

EDIT:  Also check out http://aaron113.com/urs.php (http://aaron113.com/urs.php)


@HeLLFox_15
I cannot do much if I do not know the cause of the problem.  If at all possible, I'll need to come on your server and find the issue.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: logan on August 14, 2011, 05:22:20 PM
I cannot restrict ANYTHING besides weapons, as I said. I want to restrict certain Wire tools and adv duplicator, things like that. If we could talk via steam it would be greatly appreciated.

My username is:
logan1010
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 14, 2011, 06:14:22 PM
logan's problem is resolved...  Still having issues with yours Fox?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 15, 2011, 03:32:30 PM
After a month of being an LoL addict (I still am  :-[)...  I give you revision 13.  There isn't much in this update, but I thought I'd better get these few fixes out.

Code: [Select]
8/15/2011 Revision 13:
 = [GUI] Fixed: Remove/Add buttons would not handle spaces well
 = Added: urs_changelog_and_todo.txt
 = Changed: Priority of URS hooks are now higher.
 = Fixed: Removing a global restriction would remove everything
 = Fixed: "ulx restrict all" limiting

Revision 13 Explanation:

Sorry for the long delay on updates.  On the bright side, I think I'm nearing release.

PS:  I'll add the readme.txt in the next update.


Status On Update:  Committed
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on August 15, 2011, 06:21:30 PM
Added: urs_changelog_and_todo.txt[/i]
Requested my JamminR.

You may have me, but you'll never have my soul!
Well, ok, my wife might argue that.
:P
Request? Ha. It was a suggestion to make your own life easier. Pesky squirrels and all.

Hmm. LoL. Darn these kids. Now I have yet a new popular culture abbreviation to research.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on August 15, 2011, 07:28:24 PM
Hmm. LoL. Darn these kids. Now I have yet a new popular culture abbreviation to research.

League of Legends, the DotA wannabe. With DotA 2 so close on the horizon, I don't know why anyone would bother with a second-rate clone anymore. :P

Glad to see good progress on this even with your dubious choice of games though. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 15, 2011, 09:20:40 PM
 :o  DotA... Sounds like something I might want to check out.  LoL is pretty fun though.

Anyway, my internet may be going out in the next few days.  It could be anywhere to a few days to a couple weeks before it's back on.  If anything needs to be resolved, it needs to happen now.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on August 21, 2011, 02:38:49 PM
I know this may seem like a silly question but where does URS save its settings to, I can not find it anywhere.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on August 21, 2011, 04:22:02 PM
where does URS save its settings to, I can not find it anywhere.
gmod/data/ulx I believe
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 21, 2011, 07:31:56 PM
gmod/data/ulx I believe
Correct.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on August 28, 2011, 01:14:17 PM
I was wondering if you can make sort of a copy and paste feature that would be great, because of when I want to restrict the same thing for multiple groups its a hassle to have to specify the weapon name every time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 28, 2011, 04:57:02 PM
Yeah, I was actually planning on doing something like that.  I just need to get back into updating URS.  ::)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 12, 2011, 01:53:36 PM
Would someone be so kind as to point out a good modern MySQL module out there?  I'll try to get started on MySQL support after a few more changes.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on September 13, 2011, 01:03:10 PM
Would someone be so kind as to point out a good modern MySQL module out there?  I'll try to get started on MySQL support after a few more changes.

The latest one I could find is... http://www.facepunch.com/showthread.php?t=241247 (http://www.facepunch.com/showthread.php?t=241247)

I hope it helps.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: MrPresident on September 13, 2011, 03:53:20 PM
This is the one that I use as well. The other one is the MySQLoo or something like that; It's supposed to be more multi-threaded but I had issues getting it to run on my Server 2003 OS so I had to run the other one.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 13, 2011, 04:50:00 PM
Sounds good.  Thanks.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: strategos on October 12, 2011, 05:53:06 PM
I love you for making this. (No homo)  :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 12, 2011, 07:14:48 PM
No problem.  Now I just need to motivate myself into finishing it.  Ughhh lol

I've been having problems trying to find a decent way to add auto-completes into my current GUI.  I may just remake it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 16, 2011, 03:18:50 PM
Status on this Update:  Committed

Changelog:
Code: [Select]
10/16/2011 Revision 14:
 + Added: Player Specific Restrictions
 = Fixed: Weapon list is now more extensive
 * Changed: URS Commands have been put in their own Lua file
 * Changed: URS Server Side functions have been put in their own Lua file
 * Changed: Several Lua files were renamed to seem more professional
 + [GUI] Added: A "*" will now appear in groups for auto-completes that use it
 * [GUI] Changed: Weapons are now saved to a variable rather then being called each time
 * [GUI] Changed: Clicking on a group/steamid in loadouts will change the textbox
 * [GUI] Changed: Clicking on a target/group in restrictions/limits will change the textbox

+ Added: Player Specific Restrictions
To briefly describe this new change.  You enter the SteamID of any user into any area of which you can enter a group name.  If you restrict something from everyone (*) and add the SteamID of the user to the exclude list, they will be excluded; however, if their group is excluded as well, they will not be excluded.  Works for everything (Loadouts, Restrictions, and Limits).  Have fun with it.  :P

In other news, after one more update (assuming there are no bugs to be fixed still) I think we can make this a release rather then a beta.  Then, I will add MySQL support.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 16, 2011, 03:49:52 PM
Changelog:
Code: [Select]
10/16/2011 Revision 15:
 - Removed some files I forgot to remove (I hope)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on October 17, 2011, 03:43:39 PM
I am getting the following error.

Code: [Select]
ulx\xgui\settings\cl_urs_gui.lua:33] attempt to index field 'arg1' (a nil value)
Any ideas?

Edit: [Fixed] Apparently if you have UPS on your client as well, you need to have both versions up to date, or it will give you an error.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: strategos on October 17, 2011, 05:36:33 PM
If Garry's update broke this as it did ULX in general, PLEASE FIX IT!! This is absolutely essential for my server and honestly I don't know what I would so without it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 17, 2011, 06:21:08 PM
I need to come into one of your servers and test it out for myself.  It appears to be working fine on my side.  I'll need complete access to your server for a while.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: strategos on October 17, 2011, 07:57:47 PM
Im waiting for the next build of ULX. I'll be sure to let you know then.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: adi123 on October 18, 2011, 01:27:26 PM
Well, this may sound stupid, but how do i install it? I tried everything and it appears to be not there.

kthxbye.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on October 18, 2011, 02:35:59 PM
how do i install it?
Have ULib and ULX running?
Know how to use SVN?
If not, you should probably learn. Many cutting edge projects here and other release sites (Wiremod to name but one) use SVN to distribute code.
Though we make zip "releases" for ULX/ULib, our latest code will always be in SVN.
See our SVN guide in the SVN section of the forum. Once you've read that, plug the URL from the first post into your SVN 'checkout' app.
Place the checkout folder in your gmod server /addons/ folder, recommend a folder called URS.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: strategos on October 18, 2011, 03:18:11 PM
I need to come into one of your servers and test it out for myself.  It appears to be working fine on my side.  I'll need complete access to your server for a while.

Ok URS works fine. Yay. However, I don't know how this will hamper SQL support as the new update seems to have broken alot of exterior connectivity. I can't even get sorcebans to ban from the webpanel now :(
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 18, 2011, 05:49:50 PM
Mmm, we'll see when ever that time comes.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 30, 2011, 06:07:31 PM
I'm trying out a new todo list.  Let me know if you like it or the old one.

New:  http://aaron113.com/mytinytodo/

Old:  http://www.gqueues.com/public/queues/agdncXVldWVzchwLEgdBY2NvdW50GIjTlgQMCxIFUXVldWUY0Q8M
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on October 30, 2011, 07:30:37 PM
Ok, this is coming from an end user with 'some' vision impairment, who uses a Windows 7 "High Contrast" theme (yellow on black), and browser (Firefox 6) set to ignore background images and use system theme;
Though the border around the old is more defined, I like the text and (seemingly more) straightforward-ness of the new.

As for the whole project, Aaron, keep on rockin!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on October 31, 2011, 08:57:14 PM
For some reason I can not restrict tools, props and so on...

Here is my client side log.

Code: [Select]
CLIENT: 48 active EHandles!
Unknown command "E2_FinishChat"
Connecting to 75.140.251.204:27015...
Connected to 75.140.251.204:27015

Sandbox
Map: gm_flatgrass
Players: 2 / 17
Build: 4735
Server Number: 1

Browser Message: Uncaught TypeError: Cannot set property 'innerHTML' of null - http://hff0rge.zzl.org/CustomLoading2.html:221No pure server whitelist. sv_pure = 0
Decompressing data pack into virtual file system..
Data pack loaded: 1132 files. (2.884s)
Lua initialized (Lua 5.1)
[autorun\extragates.lua:31] attempt to index global 'GateActions' (a nil value)
You are running ULib version 2.42.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: cl_urs.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: uteam.lua
[ULX] Loading CLIENT module: xgui_client.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading CLIENT module: xlib.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: cleardecals_svn.lua
[ULX] Loading SHARED module: clnup_svn.lua
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: rocket_svn.lua
[ULX] Loading SHARED module: sh_arm.lua
[ULX] Loading SHARED module: sh_drop.lua
[ULX] Loading SHARED module: sh_give.lua
[ULX] Loading SHARED module: sh_nolag.lua
[ULX] Loading SHARED module: sh_spawn.lua
[ULX] Loading SHARED module: sh_trainfuck.lua
[ULX] Loading SHARED module: sh_zombify.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: urs_cmds.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
[ULX] Loading SHARED module: sh_breakpl.lua
[ULX] Loading SHARED module: sh_uplayweaps.lua
[ULX] Loading SHARED module: sh_uplayweaps2.lua
[addons\ulx_svn-hellfox_15\lua\ulx\modules\sh\sh_uplayweaps2.lua:4] attempt to index global 'GM' (a nil value)
[ULX] Loading SHARED module: ups_menu.lua
[addons\ulx_svn-hellfox_15\lua\ulx\modules\sh\ups_menu.lua:8] 'do' expected near 'then'
[ULX] Loading SHARED module: ups_menu_control.lua
[ULIB] Loading SHARED module: ups_init.lua
WireMod Installed. Version: 2490

Loaded WolfDJ!
[lua\autorun\sh_damageeffect.lua:1] attempt to index global 'GAMEMODE' (a nil value)
No instance of the Planetfall Data Record System has been detected, initializing.
No instance of the Planetfall Trace Bullet Library has been detected, initializing.
No instance of the Planetfall Usermessage Extensions Module has been detected, initializing.
Couldn't include file 'ups_menu\lua\ulx\modules\sh\ups_menu_control.lua' (File not found) (@addons\ups_menu\lua\autorun\init.lua (line 9))
ERROR! Module 'zlib_b64' not found!
Trooper Mini-Hack v1.0 Public loaded!

[ Mounting DepthHUD Inline ... ]
DepthHUD Inline >> Unmounting Theme [DepthHUD Classic].
DepthHUD Inline >> Mounting Theme "DepthHUD Classic" :
[ DepthHUD Inline is now mounted. ]

--- Missing Vgui material depthhudX_RadarRT
Beacon registered :
[all_npc] [autoffset] [expression2] [player_lof] [projectiles] [props] [reveal] [vehicle] [znorth]

=====================================================
 Evolve 1.0 by Overv succesfully started clientside.
=====================================================

====== Loading SaitoHUD ======
Loading Sandbox Menu
Creating Menu: menu.txt
==============================
[addons\sbmp\lua\autorun\client\joystickreorder.lua:5] attempt to index local 'a' (a nil value)
 > SharpeYe is in normal mode. Now querying Version.
Registering gamemode 'sandbox' derived from 'base'
--- Missing Vgui material texturemissing
Couldn't include file 'deserialise.lua' (File not found) (@entities\gmod_wire_pong\cl_init.lua (line 2))
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]cockpits, medium.txt
SpawnMenu, (*Entries*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]engines, medium.txt
SpawnMenu, (*Entries*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]external corridors, medium.txt
SpawnMenu, (*Entries*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file settings/spawnlist/[organicbridge]extras.txt
SpawnMenu, (*Entries*),
ERROR: Trying to derive entity airlock from non existant entity base_rd3_entity!
ERROR: Trying to derive entity base_default_res_module from non existant entity base_rd3_entity!
ERROR: Trying to derive entity base_livable_module from non existant entity base_sb_environment!
ERROR: Trying to derive entity railgun from non existant entity base_rd_entity!
ERROR: Trying to derive entity base_weapons_module from non existant entity base_rd_entity!
Sending 1467 'User Info' ConVars to server (cl_spewuserinfoconvars to see)
Scanning for downloaded fonts..
Reloading Particles..
Client "[ULX]HeLLFox" spawned in server (173.35.179.36:27005)<STEAM_0:1:20305110>.
Welcome to Crystal Storm Build! We're playing gm_flatgrass.
[UTime]Welcome back [ULX]HeLLFox, you last played on this server 10/31/11 20:26:13
Physgun build mode is available on this server
PlayX DEBUG: JW URL set
PlayX DEBUG: Host URL set
PlayX DEBUG: Providers list received
ULX version <SVN> revision 25 loaded.

///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   bans.lua                        //
//   commands.lua                    //
//   groups.lua                      //
//   maps.lua                        //
//   settings.lua                    //
// Loading Setting Modules...        //
//   client.lua                      //
//   cl_urs_gui.lua                  //
//   server.lua                      //
// Loading Gamemode Module(s)...     //
//   sandbox.lua                     //
// Modules Loaded!                   //
///////////////////////////////////////

Redownloading all lightmaps
ERROR: Hook 'RenderEFunc' Failed: [lua\autorun\client\cl_damageeffect.lua:10] attempt to perform arithmetic on local 'Hp' (a nil value)
Removing Hook 'RenderEFunc'
 > SharpeYe did not get a response from Cloud Version query. Now loading Locale.

[ SharpeYe :: Mounting ... ]
[ SharpeYe :: Mount complete : Locale ]

 > SharpeYe Locale seems as up to date as the Cloud. Loading Locale.

] SharpeYe :: Unmounting ... [

] SharpeYe :: Unmounting ... [
] SharpeYe :: Unmount complete. [


[ SharpeYe :: Mounting ... ]
[ SharpeYe :: Mount complete : Locale ]

ERROR: Hook 'antipickweapon' Failed: [addons\ulx_svn-hellfox_15\lua\ulx\modules\sh\sh_uplayweaps.lua:19] attempt to call method 'GetWeapon' (a nil value)
Removing Hook 'antipickweapon'
Want more benefits donate and get VIP!
] wire_field_device
Unknown command: wire_field_device
] toolwire_field_device
Unknown command: toolwire_field_device
] tool wire_field_device
Unknown command: tool
] tool_wire_field_device
] tool_wire_field_device
???? ????  ? ?: Hellfox
???? ????  ? ?: Did you build that PAC
[ULX]HeLLFox: only the head, and then I recolored the body to red
???? ????  ? ?: oh
You restricted tool tool_wire_field_device from *
You restricted tool wire_field_device from *
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
[URS DEBUG] Tool was not restricted.
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
Console: lol
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[URS DEBUG] Checking if tool used by [ULX]HeLLFox is restricted.
[URS DEBUG] Tool was not restricted.
[ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
You have hit the wire_field_device limit!
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
[URS DEBUG] Tool was not restricted.
] ulx print all
=============================================================
URS - Limits:
ragdoll:
officer = 1
owner = 999999
effect:
owner = 999999
sent:
owner = 999999
vehicle:
owner = 999999
npc:
officer = 3
owner = 999999
prop:
officer = 5000
owner = 999999
=============================================================
URS - Restrictions:
ragdoll:
effect:
sent:
npc:
prop:
advdupe:
all:
pickup:
vehicle:
tool:
tool_wire_field_device:
1 = *
wire_field_device:
1 = *
swep:
=============================================================
URS - Loadouts:
officer:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
superadmin:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
admin:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
user:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
respected:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
moderator:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
most hated players:
1 = weapon_physgun
2 = gmod_tool
vip:
1 = weapon_physgun
2 = weapon_physcannon
3 = weapon_crowbar
4 = gmod_tool
5 = gmod_camera
=============================================================
* Check console for a list of your Limits, Restrictions, and Loadouts *
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
[URS DEBUG] Tool was not restricted.
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
[URS DEBUG] Tool was not restricted.
[URS DEBUG] Checking if tool used by ???? ????  ? ? is restricted.
???? ????  ? ?<STEAM_0:1:33494855> used the tool wire_expression2 on models/beer/wiremod/gate_e2.mdl
???? ????  ? ?: today

And here is a server side log of me testing later on.

Code: [Select]
[21:45:00] ???? ????  ? ?: hellfox
[21:45:04] ???? ????  ? ?: how do i get this to be smooth
[21:45:05] [ULX]HeLLFox removed all restrictions from wire_field_device
[21:45:12] [ULX]HeLLFox removed all restrictions from tool_wire_field_device
[21:45:21] [ULX]HeLLFox restricted tool tool_wire_field_device from *
[21:45:26] [ULX]HeLLFox restricted tool wire_field_device from *
[21:46:05] [ULX]HeLLFox restricted tool wire_field_device from owner
[21:46:12] [ULX]HeLLFox restricted tool tool_wire_field_device from owner
[21:46:35] ???? ????  ? ?: Hellfox
[21:46:45] ???? ????  ? ?: how do i get this Pedel to be smooth
[21:47:49] [ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp
[21:47:49] [ULX]HeLLFox<STEAM_0:1:20305110> used the tool wire_field_device on maps/gm_flatgrass.bsp

I have tried using even a clean install of URS, but I am still getting this problem. Any ideas?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 01, 2011, 05:16:36 AM
I have no idea's yet.  I'll come on sometime today, invite me whenever you have some time.  I'd prefer if the server was empty and password protected so we don't have to drag this out.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on November 01, 2011, 06:54:20 PM
I have no idea's yet.  I'll come on sometime today, invite me whenever you have some time.  I'd prefer if the server was empty and password protected so we don't have to drag this out.

OK, try to contact you when I see you online, though I do think it will be better if you contact me because, you are usually busy quite allot.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Makish on November 06, 2011, 06:47:38 PM
Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on November 06, 2011, 09:26:17 PM
Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

Evolve uses a different "coding style" then ULX does, but if you have noticed the weapon restrictions already let you select from a list of weapons.

But yes it would be possible to do it, but you would not be able to do it the exact same way as evolve does it.

I think its easier just to spawn the certain weapon look at the weapon name, and restrict it like that.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 07, 2011, 04:13:47 AM
Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

I can take a look at how Evolve does it and get back to you.  Wish my site was up so I could add it to my todo.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 09, 2011, 02:41:54 PM
Since I'm absolutely clueless when it comes to coding, I'm going to ask a dumb question (or maybe not) Could you possibly use the same code as Evolve when it comes to weapon restriction? Evolve apparently can auto detect all the weapons and filter them accordingly. Would this be possible in ULX?

Ok, I've added it to my todo list (http://aaron113.com/mytinytodo/), but it isn't a priority so you'll have to wait.

Also, if I'm missing anything on my todo, let me know.  Some *** from my current host did something and I lost some of my site.  Host doesn't have backups for free to host people (which I am), so yeah.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JackYack13 on December 18, 2011, 02:20:07 PM
One useful thing you might add is an inherit feature. So for example instead of putting "weapon_physgun", "weapon_physcannon", "gmod_tool", and "gmod_camera" in the loadouts of 10 groups (since it's quite a pain in the a*s), I could simply make all groups inherit from one group with these weapons in the loadout. Same with restrictions: instead of restricting the same weapons from all groups, I could simply restrict them from one and make the other groups inherit that group. I know this might be quite challenging to implement but it would make your addon close to perfect :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 18, 2011, 10:29:25 PM
Inheriting isn't a bad idea. (Kinda like copying previously mentioned)  I've been busy coding for a different community lately and just haven't had time to work on it.  I'll try and get some more done over Christmas break.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on December 26, 2011, 04:55:46 PM
You removed per-player restriction and unrestriction from the TODO without doing it :(
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 26, 2011, 05:13:26 PM
unrestriction
Wut?

You removed per-player restriction and unrestriction from the TODO without doing it :(
I added it.  Just place the SteamID in the groups argument rather then the group.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: blackfire88 on December 26, 2011, 05:21:30 PM
unrestriction. So if they are in a group that is restricted from gmod_tool, weapon_physgun, weapon_deagle, weapon_physcannon you can then unrestrict weapon_physcannon from them without unrestricting it from the whole group.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 26, 2011, 08:15:44 PM
I swear I did... I'll have to look into it when ever I find time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Oblivi0us on January 03, 2012, 01:18:17 PM
Thanks for this necessary ULX plugin. I'm dealing with some annoying problems at the moment. Weapon restriction and loadout works but I cannot seem to restrict entities, npcs, props, etc because the target field is empty, and I don't want to manually input all restrictions. I selected the group I want to restrict but URS simply isn't detecting what entities are on the server, forgive me if this is a ridiculous question but I tried everything.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 03, 2012, 02:39:06 PM
URS does not retrieve a list of entities on the server.  I have not bothered to find a way yet.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 03, 2012, 02:52:25 PM
By the way... I'll probably rewrite this completely and not make it dependent on ULX/ULib for Gmod 13.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Oblivi0us on January 03, 2012, 05:22:44 PM
URS does not retrieve a list of entities on the server.  I have not bothered to find a way yet.
Perhaps you are familiar with assmod (A Simple Server Modification), which was able to do this. It's something you should consider adding and I don't expect that it would be difficult to implement.

 ;)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 03, 2012, 05:41:25 PM
You don't happen to have a link to the download or the lua file that does it, do you?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on January 03, 2012, 07:06:32 PM
By the way... I'll probably rewrite this completely and not make it dependent on ULX/ULib for Gmod 13.

Awww... ULib's there to make your life easier, though. :(
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Oblivi0us on January 04, 2012, 08:05:09 AM
You don't happen to have a link to the download or the lua file that does it, do you?
http://www.garrysmod.org/downloads/?a=view&id=58183
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 16, 2012, 03:35:49 PM
I have started rewriting URS.  I plan to be completely independent with this update, no longer depending on ULib or ULX (:().  I intend to make it compatible with most popular mods and even work without one.  So far I haven't got much done past loading URS.  I am going to make a new, easier to use gui.  I don't like the way I have the current one set up.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on January 16, 2012, 07:37:18 PM
no longer depending on ULib
Ah, dependency removal perhaps, but, let it still detect, and use extra functionality if the end user does have ULib, right?
Autocomplete, access restrictions, etc, all can be done without yes, but so much easier with :).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 17, 2012, 08:19:33 AM
Ah, dependency removal perhaps, but, let it still detect, and use extra functionality if the end user does have ULib, right?
Yeah, it will use it if the server has it installed.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: powerdpower on February 28, 2012, 07:34:42 PM
Ummmmm, I cannot restrict some tools for some reason.

I was trying it with Weld tool, worked. I tryed it with Explosive Entities, worked. Tryed it with Laser 2.0, did not work, tryed it with No Collide world, did not work

And for Explosive Entities I had to put in explosive_entities.....

HELP PLEASE!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: wishbone on February 29, 2012, 02:52:07 PM
Ummmmm, I cannot restrict some tools for some reason.

I was trying it with Weld tool, worked. I tryed it with Explosive Entities, worked. Tryed it with Laser 2.0, did not work, tryed it with No Collide world, did not work

And for Explosive Entities I had to put in explosive_entities.....

HELP PLEASE!
If there;s any lua errors when you try to restrict a tool post them. Also, more info could be good.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: powerdpower on February 29, 2012, 08:08:01 PM
Wait, I fixed my problem nevermind............
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Digital Spit on March 15, 2012, 12:44:19 PM
I use this on my server, I have to say, quite the excellent restriction tool, only problem is I don't know how to restrict tools, so I just use FPP
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Mathew75 on March 21, 2012, 07:55:25 PM
How do I like restrict a certain tool ? I can't figure it out.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 22, 2012, 02:39:04 PM
How do I like restrict a certain tool ? I can't figure it out.
See http://aaron113.com/urs.php
It gives some examples all around.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Mathew75 on March 22, 2012, 06:36:10 PM
Just so I got the idea I got it down, for example I wanna restrict stacker.

would I do
ulx restrict tool stacker admin
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 22, 2012, 07:33:10 PM
I believe the actual name is "ol_stacker".  But yes, you have it correct.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Mathew75 on March 23, 2012, 11:18:28 AM
is there anyway I can find the full tool name?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: ThatBum on March 23, 2012, 12:35:11 PM
Look at where the tool in installed in /addons. It should be in /lua/weapons/gmod_tool/stools.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Wully616 on May 09, 2012, 01:03:50 PM
Is this broken with the latest update? Its no longer working on my server, can anyone else confirm?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on May 09, 2012, 04:08:36 PM
Wully, please, you and everyone should know better;
Please provide errors, what it does, doesn't do, whats not working.

I'd be extremely surprised if theres not some error in server console at startup, or game console at connection to server, or errors on server or client when attempting to restrict/perform any command.

Will that mean any of us can fix it immediately?
No.
Will it help in case someone is lua skilled and has time enough to?
Absolutely.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Wully616 on May 10, 2012, 01:22:28 PM
Sorry, after investigating it more myself, I had removed and added some of my groups to test something and it removed their configuration from URS. All fixed now :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Digital Spit on June 01, 2012, 11:42:56 AM
Gotta say that the FPP system broke on my server and I can always trust URS over FPP anyday! XD Good work!!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 05, 2012, 10:03:21 AM
 ;D  I was planning to rewrite it and improve it majorly, but I've became a developer on a fairly large gmod community and that takes up a majority of my time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Digital Spit on June 27, 2012, 12:26:34 AM
I LOVE THIS SYSTEM!

The only bug I've found is the fact that if you adv dupe something in single player then go to a server where e2 is blocked you can still use e2 by adv duping it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JackYack13 on October 07, 2012, 07:06:38 AM
Will there be URS for GMod 13?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: General Wrex on October 27, 2012, 01:54:23 PM
I repaired URS to work with the update.

The GUI still has some issues but the console commands work fine. So use those :)

https://dl.dropbox.com/u/45247280/URS.rar


** If you had URS before, you need to delete the files for it in the data directory /ulx**
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: saintwubbles on October 27, 2012, 07:11:07 PM
I repaired URS to work with the update.

The GUI still has some issues but the console commands work fine. So use those :)

https://dl.dropbox.com/u/45247280/URS.rar


** If you had URS before, you need to delete the files for it in the data directory /ulx**

Thanks, needed this.

I had errors with the print commands which pointed me to: http://wiki.garrysmod.com/page/Calling_net.Start_with_unpooled_message_name

So I added the following to urs_server.lua:

Code: [Select]
util.AddNetworkString("URS-Loadouts");
util.AddNetworkString("URS-Restrictions");
util.AddNetworkString("URS-Limits");
util.AddNetworkString("URS-All");
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: darkmessenger84 on October 28, 2012, 10:35:15 AM
There's still lua bugs.

Code: [Select]
[ERROR] addons/urs/lua/ulx/modules/sh/urs_cmds.lua:14: attempt to index global 'restrictions' (a nil value)
           1. call - addons/urs/lua/ulx/modules/sh/urs_cmds.lua:14
            2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
             3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
              4. Run - lua/includes/modules/concommand.lua:69
               5. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
                6. unknown - lua/includes/modules/concommand.lua:69

Code: [Select]
[ERROR] lua/includes/modules/net.lua:66: bad argument #1 to 'pairs' (table expected, got nil)
           1. pairs - [C]:-1
            2. WriteTable - lua/includes/modules/net.lua:66
             3. call - addons/urs/lua/ulx/modules/sh/urs_cmds.lua:191
              4. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
               5. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
                6. Run - lua/includes/modules/concommand.lua:69
                 7. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
                  8. unknown - lua/includes/modules/concommand.lua:69
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: General Wrex on October 28, 2012, 11:09:07 AM
did you make sure to delete the urs files in the ulx directory? i had that issue before i removed them
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: darkmessenger84 on October 28, 2012, 07:54:35 PM
Yeah it works now, thanks.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: bungletrpg on October 29, 2012, 03:43:53 PM
did you make sure to delete the urs files in the ulx directory? i had that issue before i removed them

I'm having the same errors. I'm not sure what files you're saying to delete. There's no URS files in data/ulx. There's no URS files in addons/ulx.
Am I missing something?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 03, 2012, 11:40:49 PM
Needs to be updated again, I take it that General Wrex is continuing the work on URS?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 04, 2012, 07:49:59 AM
When I have some free time, I'll just recode the entire thing.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 04, 2012, 08:49:56 PM
When I have some free time, I'll just recode the entire thing.
Awesome I take it you got my PM :)
When do you think that you'll have some free time?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 06, 2012, 06:07:39 AM
uhh, I'm pretty busy right now, but I'll see if I can squeeze some time in for it soon.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 06, 2012, 07:44:01 PM
uhh, I'm pretty busy right now, but I'll see if I can squeeze some time in for it soon.
Awesome cause this addon kicks ass (also x100 better then Falcos)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 10, 2012, 07:51:56 PM
I'll see if I can get it done tomorrow.  it shouldn't take more than a couple of hours to recode it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 10, 2012, 09:12:28 PM
I decided to start recoding it tonight, very good progress so far.  The code is ten times cleaner as well.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 10, 2012, 09:53:42 PM
Need an opinion... Should I keep all the groups separate?  As in sweps, weapons, effects, prop's etc all have their own category or should I put them in a single category since they're similar.  The only problem I see with this is less customization and I'd have to change a few things to get custom limits to work well as I want limits to have that customization available.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on November 10, 2012, 10:17:47 PM
Separate.
Though perhaps more a pain in the neck for coding...much better for feature-set and customization.
Since you're pretty much rewriting, cleaning...check out Stick's base XGUI set to see if it would be difficult to add a XGUI options page (or pages) for them.
Or, were you trying to keep it separate of Ulysses code...I forget.

As always, should try to keep it simple/console or text file driven too, for when Garry breaks XGUI. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 11, 2012, 06:48:05 AM
I was going to separate it from your code, but I am deciding not to anymore.

I already have a page setup on xgui, I just have to fix it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Deathbyrussian on November 11, 2012, 11:09:30 AM
I love this mod, but I think that if you added entities to the list of things I could restrict it would be amazing. An example would be PlayX. Love the mod, but my admins abuse it like crazy. It's an entity and before the GMOD13 update, when I had URS installed into my server, I couldn't control who uses what entities.. So yea, just a suggestion
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Glider on November 13, 2012, 07:37:03 AM
This comes up when I try to use ulx loadoutadd superadmin weapon_crowbar

[ERROR] addons/u-r-s/lua/ulx/modules/sh/urs_cmds.lua:126: attempt to call global 'URSSave' (a nil value)
  1. call - addons/u-r-s/lua/ulx/modules/sh/urs_cmds.lua:126
   2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
    3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
     4. Run - lua/includes/modules/concommand.lua:69
      5. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
       6. unknown - lua/includes/modules/concommand.lua:69
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on November 13, 2012, 02:00:54 PM
Glider, just in case you weren't aware, this mod doesn't work in GMod13 atm, and the last page and a half discuss that point, and that someone is planning to work on it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 14, 2012, 01:26:09 AM
Yeah, Aaron is working on it, so be patient and give him time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 15, 2012, 12:07:19 AM
Will it at all be possible to have this finished within 24 hrs?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 15, 2012, 03:13:16 PM
Probably not, I am very busy atm.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 15, 2012, 04:05:55 PM
Probably not, I am very busy atm.
, I was hoping I could bring up my server tonight, but I dont like FFP cause its , so I have to wait.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 16, 2012, 06:09:52 AM
I'll try to get a couple of hours in on it tonight, but idk.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 19, 2012, 11:09:14 PM
How far were you able to get? (Having to open with FPP, kill me now please)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: bungletrpg on November 20, 2012, 05:10:55 PM
Will it at all be possible to have this finished within 24 hrs?
How far were you able to get? (Having to open with FPP, kill me now please)

Yeah, Aaron is working on it, so be patient and give him time.
wat.
Being annoying won't make him go any faster. Just sayin'.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 20, 2012, 06:17:01 PM
wat.
Being annoying won't make him go any faster. Just sayin'.
Im, just trying to keep up to date with his progress. Because I loved this addon in Gmod 12 and I would love to use it again in Gmod 13

Quote
http://forums.ulyssesmod.net/index.php/topic,5269.msg27002.html#msg27002
This is because I had a lot of players complaining to me about when the server was opening. Opening with FPP, just was not what I wanted todo, ULX is 10x better (clearly).
Quote
http://forums.ulyssesmod.net/index.php/topic,5269.msg27043.html#msg27043
Now this was just an update check.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 20, 2012, 06:45:37 PM
Thanksgiving is coming soon, which means Thanksgiving vacation.  I'll see if I can get some time in on it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 23, 2012, 08:34:29 PM
Thanksgiving is coming soon, which means Thanksgiving vacation.  I'll see if I can get some time in on it.
Awesome, when is thanksgiving? (I live in Australia)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on November 23, 2012, 10:45:37 PM
US Holiday in memory of the original pilgrims making the trip across the ocean, surviving harsh living conditions, and being thankful of God's good grace at the end of a harvest.
Native american's were involved too I think. Check out google. :)
I'd bet it's one of the true original American holidays that didn't exist already. (Well, perhaps we converted it from some native american after harvest celebration before winter, but, yeah)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 25, 2012, 12:55:56 AM
Thanks for the information :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on November 25, 2012, 08:56:44 PM
Oh, you asked when it was. Thought you said 'what'.
It's the 2nd to last Thursday of every November. (ie, Nov 22nd)
Which, I know why you're asking, you're wanting to know when Aaron might have had chance to work on it.

So, Aaron, me personally, I'm not pushing, cause I know time is scarce.
Especially during a holiday usually spent with family/friends you may have not seen in a while.
Did you get a chance to work on it? :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on November 26, 2012, 08:24:47 AM
I fixed but there is a bug with XGUI that editable combobox are not working.

Soon fixed this xgui bug it will be working.

You need delete data/ulx/restrictions.txt data/ulx/loadouts.txt data/ulx/limits.txt because there is not glon anymore, using von.

https://dl.dropbox.com/u/18850333/urs.zip
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 26, 2012, 05:49:55 PM
I tried to test it but it didnt mount.
Code: [Select]
Changing gamemode to DarkRP (darkrp)
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Adv Dupe 2'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\CSS Realistic Weapons'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Easy Precision 0.95'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Edible Food Mod v2 Reupload'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Fading Door Tool'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Firearms Source Weapons For Gmod 13'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\KeypadAndCracker'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\mafiaplayermodels'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\More Materials!'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\NYPD Players'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Realistic Fall Damage'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\RiotShield'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\SmartSnap'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Stacker STool'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\ulib'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\ulx'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Weight STool'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\WireMod'
See no urs.


EDIT: combined it with my ulx folder, and it seems to work now.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on November 27, 2012, 04:37:50 AM
I tried to test it but it didnt mount.
Code: [Select]
Changing gamemode to DarkRP (darkrp)
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Adv Dupe 2'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\CSS Realistic Weapons'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Easy Precision 0.95'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Edible Food Mod v2 Reupload'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Fading Door Tool'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Firearms Source Weapons For Gmod 13'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\KeypadAndCracker'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\mafiaplayermodels'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\More Materials!'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\NYPD Players'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Realistic Fall Damage'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\RiotShield'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\SmartSnap'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Stacker STool'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\ulib'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\ulx'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\Weight STool'
Adding Legacy Addon 'c:\tcafiles\users\adam\6\orangebox\garrysmod\addons\WireMod'
See no urs.


EDIT: combined it with my ulx folder, and it seems to work now.

Strange it should load ok, to me loads ok:

Code: [Select]
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\Super Parent multi'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\uclip'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\ulib'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\ulx'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\ulxRespawn'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\unolimited_v2'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\uppl'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\ups'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\urs'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\wire'
Adding Legacy Addon 'g:\srcds - garry's mod 13 server\orangebox\garrysmod\addons
\wire-extras'
Protocol version 22
Exe version 1.4.49.0 (garrysmod)
Exe build: 16:10:30 Nov 13 2012 (5122) (215)

Anyway you tried the URS tested the Combobox (Select) Editable? Because are not working for me seams a xgui bug, i already added a issue but not answers yet : https://github.com/Nayruden/Ulysses/issues/84
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 27, 2012, 03:04:38 PM
I seriously have not had time.  I had a horrible toothache plus a sore throat Tuesday and Wednesday.  Thrusday was Thanksgiving, plus my cousin spent the night.  Friday-Sunday, I don't even know.  I think I was addicted to The Walking Dead (TV Show) and did some work for another Community I'm involved in.  Yesterday I went to the dentist and had a filling put in.  I was in extreme pain when that Novocaine wore off.  Today I had to stay after school to finish a test which I missed yesterday, plus I have a caffeine headache from all the pop(soda) I drank over the weekend.  On top of that, I have 3 science worksheets, an essay, and some math homework due tomorrow.  Ohhh, I also have a test tomorrow.

Excuses, Excuses, Excuses....  I'll seriously make it a priority of mine.  Try to use one of the fixed versions above I guess.  I haven't tested them, but I assume they work.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: thegtz on November 28, 2012, 02:43:01 AM
A couple errors:

[ERROR] addons/urs/lua/ulx/modules/urs_server.lua:66: attempt to index global 'AdvDupe' (a nil value)
  1. unknown - addons/urs/lua/ulx/modules/urs_server.lua:66

Timer Failed! [Simple][@addons/urs/lua/ulx/modules/urs_server.lua (line 66)]
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on November 28, 2012, 05:47:12 AM
A couple errors:

[ERROR] addons/urs/lua/ulx/modules/urs_server.lua:66: attempt to index global 'AdvDupe' (a nil value)
  1. unknown - addons/urs/lua/ulx/modules/urs_server.lua:66

Timer Failed! [Simple][@addons/urs/lua/ulx/modules/urs_server.lua (line 66)]

Well i don't know if is right thing to do but i included the AdvDup.lua "AdvancedDuplicator" on the urs, are not giving any errors, and advdup are working.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on November 28, 2012, 04:16:47 PM
I fixed the checkbox problem by replacing with a textbox when are not on loadout part, but now seems the weapon restrictions are not working, i restrict a weapon, then changed to User and retry but yet i was able to spawn the weapon i don't know how fix this, The Addon Creator need fix this because i don't know what is wrong are not showing any errors log.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on November 29, 2012, 09:40:45 PM
Aaron, are you going to put the Official Version on SVN? Also you should work together with nexbr, he has done some nice work with his patch.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: bungletrpg on December 01, 2012, 08:30:14 PM
I get this when I try to set a prop limit:
Code: [Select]
Lua Error: [ERROR] addons/urs/lua/ulx/modules/sh/urs_cmds.lua:103: attempt to index a nil value
1. call - addons/urs/lua/ulx/modules/sh/urs_cmds.lua:103
2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
4. Run - lua/includes/modules/concommand.lua:69
5. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
6. unknown - lua/includes/modules/concommand.lua:69
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 03, 2012, 06:08:29 PM
I'll check out his version and possibly upload it.  I don't think I'm going to have time to work on it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 06, 2012, 01:45:01 PM
I should be able to work some time in to test it this weekend and upload one of the fixes given.  I might even be able to get it in tonight, but unsure.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on December 06, 2012, 08:26:09 PM
I should be able to work some time in to test it this weekend and upload one of the fixes given.  I might even be able to get it in tonight, but unsure.
That is great news :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: jay209015 on December 07, 2012, 08:24:48 PM
I'm so beyond thrilled to see you continuing with this project!

I really enjoyed building URestrict as I'm sure you are enjoying URS. ( No pun intended )
Maybe one day I'll be able to contribute to the community again.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 09, 2012, 09:24:44 AM
http://steamcommunity.com/sharedfiles/filedetails/?id=112423325

That is a mostly working version.  As far as I can tell, everything works except the gui.  The gui needs to be recoded.  You can still use the gui, but it will be limited on what you can do with it.

NOTE:  You may have to delete your data files if you used someone else's fixed version or haven't used it since GM12.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: pandaman09 on December 13, 2012, 01:07:29 PM
I am not sure if i am just an idiot or what, but it seems to not be loading at all. This is supposed to go into the "addons" folder of gmod correct?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 13, 2012, 07:43:30 PM
You're downloading the workshop addon, right?  Not the SVN.  The SVN is outdated.  I should update the OP.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Milk_ on December 16, 2012, 07:20:45 AM
Do you still have a copy of the command list?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 16, 2012, 08:16:54 AM
Read the OP.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Milk_ on December 17, 2012, 04:04:07 AM
I did,

Quote
Want additional command help?  Visit this:  http://aaron113.com/index.php?a=urs

url is dead.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on December 18, 2012, 07:53:36 PM
Look just a couple lines farther down!  :-\
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: mikey on December 29, 2012, 10:23:15 PM
I can't seem to get setlimit to work.
ulx setlimit prop superadmin 500, admins are still restricted to the normal sbox_maxprops 30
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 03, 2013, 07:59:12 PM
Is that because you're setting it for superadmins and not admins?  or did you mean superadmins?  If not then it's most likely broken.  I honestly don't really have the time/motivation for this anymore.  If anyone wants to work on it, I'll give you access.  Obviously I'll do a background check and keep an eye on the repo if I do.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: mikey on January 04, 2013, 01:05:24 AM
Is that because you're setting it for superadmins and not admins?  or did you mean superadmins?  If not then it's most likely broken.  I honestly don't really have the time/motivation for this anymore.  If anyone wants to work on it, I'll give you access.  Obviously I'll do a background check and keep an eye on the repo if I do.
I found the problem, FPP interferes with the restriction system which somehow screwed the prop limit & blacklisted models.

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 05, 2013, 02:00:55 PM
Yeah, certain addons seem to conflict with this.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on January 07, 2013, 03:51:03 AM
FPP is a horrible system, 90% of the time it corrupts your database. Best of removing it and sticking with Aaron's magnificent design, URS.
Aaron do you recon that you could create a system where you right click on the prop (in the q menu) and have the option to blacklist it? Would be very handy.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: thegtz on January 07, 2013, 08:57:31 PM
If you don't use FPP then what do you use to restrict/block tools? As that why I currently use it for, block physgun use on certain things, block things from being duped and block tools i don't want people to use.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on January 11, 2013, 04:30:17 PM
This one should be working, everything that I tested seemed fine https://dl.dropbox.com/u/7934790/gmod/urs.zip

edit: I should mention that you will have to delete your old limits/loadouts/restrictions data files
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: mrt638 on January 15, 2013, 08:21:49 PM
This one should be working, everything that I tested seemed fine https://dl.dropbox.com/u/7934790/gmod/urs.zip

edit: I should mention that you will have to delete your old limits/loadouts/restrictions data files
It seems when I restart my server it won't allow anyone to spawn props. In order to allow them to I have to reset the prop limits. The funny thing is, it shows all the previous prop limits I've made from the data folder but it still makes me reset them. If I don't it just won't allow anyone to spawn props!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on January 15, 2013, 10:17:37 PM
It seems when I restart my server it won't allow anyone to spawn props. In order to allow them to I have to reset the prop limits. The funny thing is, it shows all the previous prop limits I've made from the data folder but it still makes me reset them. If I don't it just won't allow anyone to spawn props!

Hmm. And you deleted the data files before installing my version?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: mrt638 on January 16, 2013, 10:31:26 AM
Yes I did. I am using Dark RP and they have the FAdmin installed automatically with Dark RP but I truly don't think they would conflict. I'm guessing it does thing for everyone else as well?

EDIT: Just to ass, I tryed deleting the data file that this creates and seeing if redoing limits work but it still had the problem. If it's working for everyone else just fine then something must be conflicting or I'm just hated by lua.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on January 16, 2013, 02:22:26 PM
I believe Fadmin is known to conflict with the same prop limit hooks that URS Beta uses.
(Sorry, I don't have time to search the forums here right now to find the confirmation)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on January 16, 2013, 02:23:37 PM
Hmm yeah you might have some sort of conflict having two admin mods installed... maybe try it without FAdmin?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: mrt638 on January 16, 2013, 11:30:36 PM
Hmm yeah you might have some sort of conflict having two admin mods installed... maybe try it without FAdmin?
I went ahead and removed FAdmin. It's fully removed yet still facing the same issue. I really have no idea what could be causing this. Do I need my .cfg files configured a certain way?

Edit by Megiddo: Remember that many kids play gmod, and by extension read this forum. Please talk in the same manner that you would in the real world around children.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: bungletrpg on January 23, 2013, 10:50:56 AM
It does this to me but only with the default "user" group. For some reason, it's not saving the limit for that group correctly:
Code: [Select]
"prop"
{
"user" 20
"respected" "20"
"moderator" "20"
"trainee" "20"
}

The prop limit for all the other groups goes in quotes, except "user."
mrt might be having that same problem. It's not a big deal but I have to set the limit for that group every time I restart the server or reload the map.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: naBs on January 25, 2013, 10:07:05 AM
Can't get this to show up in my XGUI, I can see it in the modules settings though just can't enable it so that I can begin using it ;( any ideas anyone?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on January 25, 2013, 06:07:17 PM
Can't get this to show up in my XGUI, I can see it in the modules settings though just can't enable it so that I can begin using it ;( any ideas anyone?
Are you a superadmin? That's what URS access defaults to, may be why you can't see it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: naBs on January 26, 2013, 07:16:30 AM
Are you a superadmin? That's what URS access defaults to, may be why you can't see it.

I've got my own custom groups set etc. so I've set myself as Owner instead maybe that's what the issue is...is there anyway I can change this? Thanks

Edit: Nevermind, played around with the XGUI settings and managed to add access to the URS Module so now it's available thanks for the help anyway :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on January 26, 2013, 02:55:45 PM
Anything that inherits from superadmin should get it (by default) unless you add the permission to another group
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Zevoxa on February 04, 2013, 09:52:04 PM
I'm having the same problem as the guy before. I can't find it in XGUI. I'm superadmin and everything. I've refreshed models and everything. I placed the u-r-s folder in C:\Gmod Server\orangebox\garrysmod\addons\ulx\lua\ulx\modules, isn't that correct?

EDIT: From my understanding you just put it in garrysmod\addons, but it's still not working. :|
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Zevoxa on February 06, 2013, 09:59:28 PM
URS doesn't really work for me. Every time I want to block something of a group, I go to restrict, select the group right click the thing I want to block (right click inside spawn menu) so it gets the path, I put the path in "model/path" and then apply it, but still people can spawn it and use them! Plus, I don't think you can block stuff like noclip and player models for certain groups in URS can you? So how do I do this? :| Please help, it would be greatly appreciated.  :-\
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: bungletrpg on February 07, 2013, 04:46:50 PM
It does this to me but only with the default "user" group. For some reason, it's not saving the limit for that group correctly:
Code: [Select]
"prop"
{
"user" 20
"respected" "20"
"moderator" "20"
"trainee" "20"
}

The prop limit for all the other groups goes in quotes, except "user."
mrt might be having that same problem. It's not a big deal but I have to set the limit for that group every time I restart the server or reload the map.

I'm still having this issue. Anyone have any ideas?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on February 07, 2013, 07:34:10 PM
Clicking on Aaron's name in the forum shows this...
Last Active:
    January 15, 2013, 10:46:22 AM
Perhaps if someone were to either 1) wait for him to check by, he did say in the 2nd or 3rd to last page here that he would be busy or.
2) WOW, what an IDEA... PM Aaron, which, by default, emails the user at thier registered address to let them know they got a PM.
No need to PM him asking the question..simply PM him saying Hi, know you're busy, but, could you possibly find time to help us with <link to the error/this page>
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on March 13, 2013, 12:36:37 AM
Is this addon still supported? I tried installing it, but it just crashed me when I attempted to connect to the server (Too many LUA errors). If not, are there any other functioning alternatives?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on March 13, 2013, 06:34:08 AM
No not working.
He just uploaded my last Fixed version at Workshop, that was not giving errors, just was not working, and he didn't did any fixes, he just uploaded a non-working version to workshop, and he probably will not fix it.

I have fixed a lot of things, and i don't think I'll upload it for public because people are uploading to other places without giving the credit for people who worked on the project.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nathan736 on March 13, 2013, 07:27:52 AM
thats sad that people would do that e.e. "hey guys i wrote a restriction system that has almost 100% same code as a poster on ulx but i coded it!"
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on March 13, 2013, 07:33:51 AM
thats sad that people would do that e.e. "hey guys i wrote a restriction system that has almost 100% same code as a poster on ulx but i coded it!"

Hey I'm NOT Saying that Is MINE, or I CODED ALL, or nothing like that.

What i'm saying is some credit for Fixing or Improving is great.

If somebody helped me to fix my mods or improve it, i'll be happy to give the credit.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nathan736 on March 13, 2013, 08:34:31 AM
sorry it was a joke #"worst post ever" for me xD kinda forgot who the OP was D:
anyways on topic workshop would probably be a bad idea for this assuming it requires ulx because people will install it and think its a standalone
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on March 13, 2013, 06:47:57 PM
In that case, are there any alternatives to using this?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on March 13, 2013, 06:54:03 PM
In that case, are there any alternatives to using this?

That i know this is the only one, Since last update Aaron gave up from updating (GMOD 13).

I could post my fixes but is not totally working, the loadout, restriction of weapons and tools are working, i didn't test all features.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nexbr on March 13, 2013, 11:25:39 PM
Last Official version: 10/16/2011 Revision 15  :(
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nathan736 on March 14, 2013, 07:27:54 AM
falcos prop protection can be used for but that set up and the gui ( in my opinion is ugly)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: bobcat4848 on March 15, 2013, 09:41:30 PM
Is this for non-dedicated servers how do i get it for non dedicated?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: sme4gle on March 18, 2013, 04:02:05 PM
Any chance that this project is going to be continued? since I know many people loved/ used this VERY useful plugin for ulx. :(
R.I.P. URS
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 18, 2013, 04:31:52 PM
Little chance, no.
Others have tinkered with it after the GM13 update tho.
You just have to look harder than the first post page.
Tweak = http://forums.ulyssesmod.net/index.php/topic,5269.msg27778.html#msg27778

Nexbr also mentions it, but provides no links

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on March 19, 2013, 03:37:05 PM
I think this should fix the issue with limits that some people were having. https://dl.dropbox.com/u/7934790/gmod/urs.zip
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Samg381 on March 21, 2013, 12:48:16 PM
Would love to see this back up.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 21, 2013, 02:39:50 PM
Would love to see this back up.

???

https://dl.dropbox.com/u/7934790/gmod/urs.zip
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on March 30, 2013, 02:52:40 AM
URS was working fine for me for quite some time, but last week something happened where urs wont load the data files. Can someone please help me with this.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on March 30, 2013, 08:30:06 AM
URS was working fine for me for quite some time, but last week something happened where urs wont load the data files. Can someone please help me with this.

Last week we removed our patch that was globally modifying the way Garry's file I/O worked. His I/O is broken right now, but we never intended our global workaround to be permanent, and it's looking like Garry has no plans to fix this. We're going to make an I/O wrapper in ULib soon (because we're sick of Garry's constant breaking changes in the file library), but it will be up to individual developers to either use the ULib system or workaround the brokenness themselves.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on March 30, 2013, 08:49:56 AM
You can read more about Garry's file bugs here (https://github.com/Nayruden/Ulysses/issues/185) if you're interested.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on March 30, 2013, 11:36:36 AM
That sucks so much, so we'll need to wait for Aaron to make a patch for urs? Megiddo, do you code for ulx? If so do you believe that you could fix this addon, cause its an extremely helpful addon and a lot of people would kill for this to be integrated with ulib.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on March 30, 2013, 01:13:47 PM
Does that bug even affect this if there are no data files inside the addon? They are either stored in garrysmod/data or they don't exist yet and are created... and as far as I can tell it's working just fine. But see if this fixes your problem: https://dl.dropbox.com/u/7934790/gmod/urs.zip
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 30, 2013, 02:08:27 PM
Megiddo, do you code for ulx?
*chuckle*
You're new around here, aren't you.
Tristan, Megiddo is the lead project programmer of Team Ulysses.
If it weren't for him, there wouldn't have been ulib/ulx as you know it today.

As for would he fix URS, unlikely. He's light on time to keep ULX up to date and keep us other team members in line, let alone a 3rd party mod.
Several other community members have been contributing over the past few pages of this release, like Tweak in post above.
Keep an eye out for them.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on March 30, 2013, 02:25:50 PM
Megiddo, do you code for ulx?

Hah. This made me smile. :)

If so do you believe that you could fix this addon, cause its an extremely helpful addon and a lot of people would kill for this to be integrated with ulib.

We have discussed taking this on as a first-party mod sometime in the future, since it is indeed far and away the most popular thing on the forums (http://forums.ulyssesmod.net/index.php?action=stats), but that possibility is a ways off.

Does that bug even affect this if there are no data files inside the addon?

I don't know the details of URS, I was just going off and educated guess from the problem description and timeline. Thanks for your contributions to the community, TweaK, we really appreciate them!

He's light on time to keep ULX up to date and keep us other team members in line, let alone a 3rd party mod.

JamminR is ever the man of wisdom around here.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on March 31, 2013, 02:21:25 AM
Does that bug even affect this if there are no data files inside the addon? They are either stored in garrysmod/data or they don't exist yet and are created... and as far as I can tell it's working just fine. But see if this fixes your problem: https://dl.dropbox.com/u/7934790/gmod/urs.zip
Nope didnt work, but thanks for trying. If you have any new ideas please hit me up. Also if I upload my current data files for URS/ULX/ULIB will that help solving my problem?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on March 31, 2013, 06:36:10 AM
Worth a shot. Or, try this: backup and delete (or just rename) your restrictions.txt limits.txt loadouts.txt files in data/ulx, startup server, add some test values using the menu, run "ulx print all" in your console as an admin and it should print all the values you added, then restart your server and run the command again, it should print the same thing if it is actually loading the files.

Also, are you getting any lua errors?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Mors Quaedam on April 05, 2013, 10:41:51 AM
Presumably this isn't working with the latest version of GMod then, just by reading up the thread?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on April 05, 2013, 01:37:54 PM
Presumably this isn't working with the latest version of GMod then, just by reading up the thread?

I assume it would work if you follow this ( https://docs.google.com/document/d/1khSuIYrAMkqXu7wlH5YRJNwz6hOH6Xqi5lqBhE3x6gA/edit )
And check to make sure that every thing fits the new format.


How ever there is probably no longer any support from the OP because I have not seen him online in ages.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on April 05, 2013, 04:59:45 PM
The one I linked a few posts back on the previous page should be working fine. https://dl.dropbox.com/u/7934790/gmod/urs.zip
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Megiddo on April 05, 2013, 05:40:36 PM
It's not just a matter of a changed API, HeLLFoX, it's that the API is glitched.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Mors Quaedam on April 07, 2013, 04:01:41 PM
The one I linked a few posts back on the previous page should be working fine. https://dl.dropbox.com/u/7934790/gmod/urs.zip
Thanks.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Mors Quaedam on April 08, 2013, 06:51:47 AM
I have a terrible feeling this is affecting the performance of my server. When it's installed, my server lags to after a while. Now it's removed, my server is fine.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: attacker1983 on April 08, 2013, 10:18:40 AM
<user quoted entire first post>
question WHERE THE <censor> DO I DOWNLOAD

EDIT-JamminR-Removed entire quote of first post. Read just a little bit. Old tpoics usually have the best info in the last 2-3 pages. This is true on any forum, not just Ulysses.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on April 08, 2013, 08:50:47 PM
question WHERE THE <censor> DO I DOWNLOAD

Why doesn't anyone here read? It's four posts above you...
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on April 08, 2013, 09:17:23 PM
Why doesn't anyone here read?

Good question. (http://forums.ulyssesmod.net/index.php/topic,5269.msg29136.html#msg29136)
Don't think it will ever truly be answered.
Most Gmod players lazy perhaps?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on April 10, 2013, 11:02:08 PM
Worth a shot. Or, try this: backup and delete (or just rename) your restrictions.txt limits.txt loadouts.txt files in data/ulx, startup server, add some test values using the menu, run "ulx print all" in your console as an admin and it should print all the values you added, then restart your server and run the command again, it should print the same thing if it is actually loading the files.

Also, are you getting any lua errors?
I tried that way but it didnt work and no i didnt have any lua errors. I shall try the one you just gave out a few posts ago.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on April 11, 2013, 01:41:39 AM
That one was just a repost of the same one for the new page. If it's still broken after trying that I'd start looking into addon conflicts... try with the bare minimum ulx ulib urs and see if it still happens.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on April 14, 2013, 05:44:06 AM
That one was just a repost of the same one for the new page. If it's still broken after trying that I'd start looking into addon conflicts... try with the bare minimum ulx ulib urs and see if it still happens.
I unpacked the one on  the steam workshop and used that, seems to work now. Just had to play around with the data files to convert them to that version.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 14, 2013, 07:15:12 AM
Hi.  Wow there's been a lot of activity in this topic since I've last been here.  Once again though, if anyone wants access to the repo to work on it, ask.  I'm far too busy right now to work on this.

EDIT:  Perhaps I can find some time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on April 14, 2013, 08:55:41 AM
I unpacked the one on  the steam workshop and used that, seems to work now. Just had to play around with the data files to convert them to that version.
Hmm. Well I know the ui is screwy on the workshop version... in my version I changed the data files to table-to-keyvalues instead of table-to-json just to be consistent with the rest of ulx/ulib, I'm starting to wonder if maybe I shouldn't have done that... or if there is another reason that it wasn't working for you.

Hi.  Wow there's been a lot of activity in this topic since I've last been here.  Once again though, if anyone wants access to the repo to work on it, ask.  I'm far too busy right now to work on this.

EDIT:  Perhaps I can find some time.
I could upload my version, as far as I know it is completely working aside from whatever Tristian's issue was... is the SVN still the gm12 version? Or are you talking about the Workshop?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 14, 2013, 09:45:23 AM
I've actually fixed everything (that I could find).  I just don't know where the url to commit my changes is... heh.  It's been a few months since I've used this, and it doesn't help that I've gotten a new computer and reinstalled it twice since then.

EDIT: Found it and uploaded the changes.

EDIT2:  So if it doesn't work, delete the data files URS makes and it should work after you restart.  You'll just have to redo all your settings.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on April 14, 2013, 10:44:57 AM
Hmm. Well I know the ui is screwy on the workshop version... in my version I changed the data files to table-to-keyvalues instead of table-to-json just to be consistent with the rest of ulx/ulib, I'm starting to wonder if maybe I shouldn't have done that... or if there is another reason that it wasn't working for you.
I could upload my version, as far as I know it is completely working aside from whatever Tristian's issue was... is the SVN still the gm12 version? Or are you talking about the Workshop?
workshop, but it seems to be the gmod 12 version which is strange.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Dr. Sloth on April 14, 2013, 05:07:00 PM
This might sound stupid but where do I do the SVN checkout to?
Just to addons, or in a subfolder of the ULX checkout?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 14, 2013, 08:47:32 PM
You need to create a folder in your addons and checkout it there.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Ch1lly on April 15, 2013, 08:45:25 AM
Hi guys,

Just found this and installed as it seems nice :). A few questions:

When adding restrictions, what format does target/model need to be in? Is there a way to block ALL things of that type? eg- SWEP

The limits menu doesn't seem to have all the things in there, I take it these are the sbox_maxnpc etc etc?

Will this and FAdmin get along?

Thanks.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: jordanlang2 on April 15, 2013, 12:02:09 PM
I'm a bit confused on format of restricting tools.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Dr. Sloth on April 15, 2013, 12:14:24 PM
thanks aaron
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 15, 2013, 07:03:39 PM
Hi guys,

Just found this and installed as it seems nice :). A few questions:

When adding restrictions, what format does target/model need to be in? Is there a way to block ALL things of that type? eg- SWEP

The limits menu doesn't seem to have all the things in there, I take it these are the sbox_maxnpc etc etc?

Will this and FAdmin get along?

Thanks.
I had a nice post for you and then the website farted and lost it.  Use things such as tool names and model paths.  Use the all feature in restrictions.  Limits overwrites cvars, they customize each group independently.  I don't know if it gets along with FAdmin.

I'm a bit confused on format of restricting tools.
Ask away!

thanks aaron
You're welcome!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on April 15, 2013, 11:25:00 PM
I'm a bit confused on format of restricting tools.
Tool restriction is quite simple. Simply grab the tool that you wish to restrict, use it and then check console to see what the tool is called. Then type the following in console
Code: [Select]
ulx restrict tool "Target name/model path" "groups"Below is an example of restricting Advanced Duplicator from groups user and trusted.
Code: [Select]
ulx restrict tool adv_duplicator user trusted
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: jordanlang2 on April 16, 2013, 08:58:32 PM
Tool restriction is quite simple. Simply grab the tool that you wish to restrict, use it and then check console to see what the tool is called. Then type the following in console
Code: [Select]
ulx restrict tool "Target name/model path" "groups"Below is an example of restricting Advanced Duplicator from groups user and trusted.
Code: [Select]
ulx restrict tool adv_duplicator user trusted

That did it! Thank you! :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Ch1lly on April 17, 2013, 12:42:17 PM
I'm not sure if URS is interfering here, but I can't make weapons spawnable :(.

When trying to spawn a weapon from the Q menu, I get the 'You can't spawn weapons'. I've changed GM.Config.adminweapons= 0 in config.lua which hasn't helped.

Is URS stopping this? Any ideas?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 20, 2013, 10:15:49 AM
The phrase "You can't spawn weapons" has nothing to do with URS.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: silence on April 20, 2013, 12:31:47 PM
Hey, I blocked a prop using * but anyone can still spawn it D:

Code: [Select]
"models/airboat.mdl": {
"1": "*"
},
"models/ambulance.mdl": {
"1": "*"
},
"models/buggy.mdl": {
"1": "*"
},
"models/combine_apc.mdl": {
"1": "*"
},
}
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 20, 2013, 09:57:48 PM
Code: [Select]
{"superadmin":{"1":"models/Cranes/crane_frame.mdl","2":"models/cranes/crane_frame.mdl"}
It should look something like that (only with "*" instead).  It seems like you might not be using my version or you are using the wrong syntax.  Try using the console commands if you have to.  Perhaps I did mixed something up yet.  I'll check into it tomorrow.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on April 27, 2013, 10:04:57 PM
Do you plan to update the main post or SVN with the fix? (If you have not already.)

Right now when I try to block a tool it says its blocked when a person tries to use it how ever they can still use the tool.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on May 04, 2013, 06:42:02 PM
(http://i.imgur.com/7sZqUhO.jpg)

It works fine for me.  Did you update?  I updated the SVN not the workshop.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Spider on May 31, 2013, 02:42:34 PM
I'm kinda confused as what it means by type. Ulx restirct type
What is the type?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Spider on May 31, 2013, 04:10:55 PM
Hello

Can you give an example of one of the ulx restrict commands? Like instead of saying what to put actually put an examble
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on May 31, 2013, 10:04:10 PM
Review the 20+ pages.
Don't have to read every post, but, really...just look a little bit (http://forums.ulyssesmod.net/index.php/topic,5269.30.html)...surely others have asked similar questions, and we prefer not to repeat what's already been answered.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eagle9er9er on June 05, 2013, 05:28:31 PM
URS does not show up in my GUI? But when I go to superadmin permissions Ulx Restrict is under "_UnCategorized_".
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on June 07, 2013, 05:01:37 PM
Eagle, you and one other are reporting this (http://forums.ulyssesmod.net/index.php/topic,6336.msg30297).
Gmod just updated...it's possible something went awry there.
Aaron may have made an update (less sure of that)
Stickly may have tinkered in XGUI (always possible)

Let's let the auhors see this latest commentary.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Stickly Man! on June 08, 2013, 08:26:24 AM
I just installed and tested URS on my local dev server and it was working fine :-\
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on June 08, 2013, 05:20:54 PM
So it's likely a addon or gamemode breaking the 'categorization' within URS and ULib.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eagle9er9er on June 09, 2013, 03:55:45 PM
So it's likely a addon or gamemode breaking the 'categorization' within URS and ULib.

Any possible way to figure this out? It's frustrating having noobs come on and use duplicator to crash my server.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on June 09, 2013, 08:11:18 PM
Yes, take off every addon you've ever added, and run server in sandbox.
Test if it works.
Yes?
Load server in whatever game mode you're running in to see if it works.
Yes?
Start adding back addons 2-3 at a time.
Stop working?
Remove the last 2-3 you added...add one back at a time until you find the one that breaks.

Also, You never stated that URS wasn't working for you.
You simply stated the categorization was off.
Look for URS errors in console during startup and use of the commands, both in server console and client console.
Report them here.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eagle9er9er on June 09, 2013, 10:22:13 PM
I can't even use the console commands. It says the commands doesn't exist.

Edit: So I uninstalled all my addons and tried to see if anything was breaking URS, and even with everything uninstalled it still doesn't work.

I really don't know what to do at this point. Console commands don't work (ulx restrict), and its still "_Uncategorized".
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on June 10, 2013, 06:40:38 PM
1) I've seen postings that Gmod server needs to be updated now using 'SteamPipe' and not "HLDS" ... done that?
2) Did you try running server in Sandbox (it could be another gamemode breaking it)
3) Define "not work" - did you get a console error when running the command? Does URS error at startup (look both server log at startup, and in player console at connect (on server and client)?
The fact it says 'uncategorized' shows something is being seen.

Are you running latest ULX/Ulib from our github repo/SVN?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eagle9er9er on June 10, 2013, 08:20:43 PM
1) I've seen postings that Gmod server needs to be updated now using 'SteamPipe' and not "HLDS" ... done that?
2) Did you try running server in Sandbox (it could be another gamemode breaking it)
3) Define "not work" - did you get a console error when running the command? Does URS error at startup (look both server log at startup, and in player console at connect (on server and client)?
The fact it says 'uncategorized' shows something is being seen.

Are you running latest ULX/Ulib from our github repo/SVN?

1. My server is updated to Steampipe.
2. My server is in sandbox.
3. Not work. As in, the console commands don't work at all, they apparently don't exist as a command, nor can I do anything to do with URS.
4. I do not see anything, error or just in general related to URS appearing in the console on startup.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on July 05, 2013, 05:39:33 AM
This addon is awesome, but I can't block some items, which is frustrating me. For example the bouncy ball- it allows people to cheat by adding more health, or all insurgency weapons are unblockable, like if things with a sent_ prefix in their name (or sim_) were not working with the URS. Also, is it possible to block some SCars? Tried copying their names to vehicles and sents, or blocking the models, but didn't help
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 05, 2013, 02:35:28 PM
I'm also having trouble banning dynamite. I can ban the tool just fine, but can't seem to prevent people from simply using dupes with dynamite attached (Even banning the model doesn't work).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eagle9er9er on July 06, 2013, 12:14:18 PM
I need help really badly, how to I restrict wire tools? I want to restrict E2 from Guests but no matter how I type "Expressions 2, Expressions tool" or whatever it doesnt work.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: TweaK on July 06, 2013, 12:19:59 PM
I'm also having trouble banning dynamite. I can ban the tool just fine, but can't seem to prevent people from simply using dupes with dynamite attached (Even banning the model doesn't work).
sbox_maxdynamite 0

I need help really badly, how to I restrict wire tools? I want to restrict E2 from Guests but no matter how I type "Expressions 2, Expressions tool" or whatever it doesnt work.
wire_expression2
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 07, 2013, 06:13:41 PM
Wouldn't that ban dynamite for everyone though? That's not what I want to do here.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 07, 2013, 07:15:31 PM
Wouldn't that ban dynamite for everyone though? That's not what I want to do here.
If the limiting system still works like I think, admins/superadmins, and other groups you specify, would be able to overcome that.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 07, 2013, 08:23:46 PM
Also, is there any way to use this to limit the number of, say, ropes or thrusters that a specific group can spawn?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 07, 2013, 09:03:50 PM
This will let you conrol just about any sbox_ item, and more.
Please review the first post.
And since the guide link no longer works, review the 25 pages of posts where I believe your question of how is answered.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 12, 2013, 05:42:48 PM
I don't know, I just can't seem to get it to work. As far as I can tell, the command would be something along the lines of, "ulx setlimit sbox_maxdynamite user 0", however this just returns "Command "ulx setlimit", argument #1: invalid string", indicating that sbox_maxdynamite isn't something that can be limited. I've searched this whole thread and haven't found anything useful. Am I just blind or something?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 12, 2013, 10:14:48 PM
I'm guessing you're using setlimit incorrectly. I don't know how to use it though to tell you what "type" is.
As far as I know, URS limiting of items like dynamite was based on my old unolimited.
Within that, if you set the server var to 0, it would still allow <groups you specify> to go past <server limit> by <some number set in a cfg>.
Now, I've not looked at this code in a long time to know.
I've no idea if sbox_maxdynamite is still a valid server cvar.
But if you configure this addon correctly, and the sbox cvar still exists on the server, and this addon sitill works, I'm guessing it should allow some groups to set dynamite.
I'm sorry, but I don't know more than that.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 13, 2013, 12:15:13 AM
Is there any way that I might get in touch with Aaron? I'd imagine that he might know how this is done.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on July 13, 2013, 09:36:37 AM
Still no solution about the SCars and bouncy ball? I hate that people can refill their health even at deathmatches, and I can't do anything against that...
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 16, 2013, 04:46:02 PM
Hyperion, I've had this issue too when trying to ban entities through the XGUI interface. The solution is to simply add the SENTs to the blacklist manually. To do so, navigate to garrysmod/data/ulx/ on your server and open the file "restrictions.txt". You might want to open this in Notepad++, else the formatting will appear wonky. Find the "sent" section in the file, and add in the things you want to blacklist. Obviously, you should use the same formatting as the other blocked entities.

Unfortunately, this will NOT prevent people from spawning the blacklisted items through a dupe. In fact, it seems that most anything that has been blacklisted through URS can be spawned by anyone with a simple dupe. waThis is something that I feel needs to be addressed as soon as possible for fairly obvious reasons.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Agentmass on July 19, 2013, 06:56:06 PM
Can't seem to restrict vehicles. Anyone else having this problem?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 21, 2013, 09:04:23 AM
I'm going to try to pick this back up a bit.  I created a git repo so you guys can submit pull requests and issues.

https://github.com/Aaron113/URS

EDIT:  I could write something up on its wiki feature as well for more detail.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 21, 2013, 10:35:46 PM
Sounds good, thank you.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on July 22, 2013, 03:59:57 PM
Stronly recommend the wiki...seems a majority of our posts both in this thread, and across our forum, are people 1) saying it doesn't work (because they're not doing it right) or 2) asking how to do something they're trying to do.
I've personally never used it, and since the link on the front page that used to point to 'advanced commands' no longer works, really have trouble helping.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 28, 2013, 12:12:48 PM
I'm going to see if I can find that file so I don't have to completely rewrite it for now.  I'm going to try to recode this (again).  I honestly think my work is a bit sloppy in it.  It'll give me some more experience designing and creating GUIs.  I can't give any ETA on when I'll get it done.

EDIT:  I just looked over and tested the current version of URS and it appears to be working fine.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Wully616 on July 29, 2013, 10:16:17 AM
Would there be any way to edit this to include custom sbox_limits, for example I'm trying to limit sbox_max_acf_ammo so that new players can't spawn ammo, for fear of minges but later ranks can.
The only line I could find which might be the one to edit is in urs_server.lua:

Code: [Select]
local limittypes = { "vehicle","effect", "npc","ragdoll","prop","sent" }
Would I simply add in "acf_ammo" to that list?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 29, 2013, 12:10:53 PM
I was wondering the same thing with regards to all the default sbox limits as well.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 30, 2013, 01:32:09 PM
You can limit the weapons that are spawned?  You can do the same with picking up the weapons.

ulx restrict swep weapon_ar2 superadmin

I do not do much with sbox limits.  It's all done with lua and any custom limits you set.  I merely hook into the spawning and check how many you have.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 30, 2013, 03:44:27 PM
I just fixed an Advanced Duplicator 2 issue someone was having.  That took forever but I pushed it out already.  I also updated the main page with updated links and what not.  The wiki is just starting out but I'll update it more.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Epsilon on July 31, 2013, 03:15:36 AM
I do not do much with sbox limits.  It's all done with lua and any custom limits you set.  I merely hook into the spawning and check how many you have.

So, can you explain how one might add more custom limits, such as a limit for sbox_dynamite?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 31, 2013, 11:40:15 AM
You want to limit the amount of dynamite able to be spawned for each group?  There is currently no real easy way to add that.  You/I would have to do a bit of coding for that.  I created a issue (which is also sort of like a todo) on github. 
https://github.com/Aaron113/URS/issues/3


Also, any feedback on the new wiki would be appreciated.  You can even edit it yourself if you wish.
https://github.com/Aaron113/URS/wiki
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on August 11, 2013, 08:30:39 PM
Today I fresh installed URS and ULX and I got this error after typing in ulx print all
Code: [Select]
[ERROR] lua/includes/modules/net.lua:66: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. WriteTable - lua/includes/modules/net.lua:66
3. call - addons/urs/lua/ulx/modules/sh/urs_cmds.lua:194
4. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
5. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
6. Run - lua/includes/modules/concommand.lua:69
7. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
8. unknown - lua/includes/modules/concommand.lua:69
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 11, 2013, 09:45:29 PM
I posted on github as well, but can you post your data files for me?  Perhaps they're in the old format?  That would likely cause this.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on August 11, 2013, 10:41:58 PM
They're really old. But I deleted them and it didnt work.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 12, 2013, 08:18:06 PM
(http://i.imgur.com/qxzcBB8.png)

Mine works just fine.  Are you updating with the correct SVN (it was changed)?

EDIT:  I also updated the workshop addon.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on August 12, 2013, 11:40:00 PM
I'm using https://github.com/Aaron113/URS
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 13, 2013, 09:29:45 AM
Can you do me a favor and type "lua_run PrintTable(restrictions)" in your SERVER'S console and post it here for me?  It's saying that there is no table in the error.  If that errors, then something is likely overriding the variable.  Or it isn't loading the data files properly.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on August 14, 2013, 05:20:12 AM
I got
Code: [Select]
[ERROR] lua/includes/util.lua:54: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. PrintTable - lua/includes/util.lua:54
3. unknown - lua_run:1
When doing it.

I fixed it, I had to delete my old restrictions/limits/loadout files. Is there an easy way to convert the following into the new format?
http://pastebin.com/7qUB491j (http://pastebin.com/7qUB491j)

Can you add me on steam please: Darkolking -S?-
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 14, 2013, 12:24:16 PM
So it is your data files.  I honestly am not sure what format it is using.  I'll tinker with it a bit.

EDIT:  If you know what version you were previously using, I could probably help.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on August 14, 2013, 11:10:50 PM
I'm pretty using the following version (http://fastdl.soul-gaming.net/Beta/URS.rar)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 15, 2013, 07:50:19 PM
That version should match this version just fine.  Weird.  Perhaps it can be done manually.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 15, 2013, 10:40:35 PM
Just realized I can add more to the wiki about commands.  I'll update it tomorrow.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LuaTenshi on August 18, 2013, 08:01:08 PM
Have you considered adding the option to restrict for every thing below a certain rank. Its really annoying and kind of spammy to have to restrict user, respected, moderator, and admin all separately...

Also please add the option to disable the tools printing in the console of admins and make it so they only get printed to the server console.
Also add the option to toggle if the use of a restricted tool is printed or not.

Sorry that the above sounds so demanding.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 18, 2013, 09:10:32 PM
ulx restrict sent sent_ball * superadmin

Fairly certain that will restrict it from everyone but superadmin.

The rest will have to wait, I'm going on vacation and will be gone for the week.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: theGoldTrigger on October 05, 2013, 09:40:46 PM
With the most current update of ULX I don't seem to have any options in the restrictions section of the menu D: any ideas?

Getting this error when trying to use in Rcon

[ERROR] addons/urs/lua/ulx/modules/sh/urs_cmds.lua:19: attempt to index global 'restrictions' (a nil value)
  1. call - addons/urs/lua/ulx/modules/sh/urs_cmds.lua:19
   2. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
    3. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
     4. unknown - lua/includes/modules/concommand.lua:69
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 07, 2013, 10:51:03 AM
I'll look into it when I have time.

EDIT:  It appears to be working fine for me.  Perhaps your data files are corrupt?  I should add some kind of check for it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Semajnad on December 10, 2013, 01:49:57 PM
How could I limit a ULX usergroup to say 10 buttons, instead of restricting buttons all together? If this is not a feature, can we add the tools into limits as well please?

This way I can limit guests to only 5 buttons, or 3 cameras etc.

Thank you.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on December 10, 2013, 02:00:21 PM
I wanted to ask the exact thing few days ago but forgot to, thank you! I also want to be able to restrict tool limits for ranks, please
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Semajnad on December 10, 2013, 02:31:52 PM
Yes, thanks for pointing that out. That's what I want, to be able to limit tool placement per rank. So for example admin can place 10 cameras, guest can only place 3.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on December 10, 2013, 10:46:13 PM
Basically being able to set sbox_max... for different ranks, so same like setting weapon restrictions except that there will be an additional box for the limit number. But I think it's also important to fix the bouncy ball being unrestrictable, so people won't be able to heal no matter how may medkits I block
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on December 11, 2013, 11:35:43 AM
UNoLimited, another release, can allow for setting custom limits per group BUT, it's NOT per item. It's per group only.
BEWARE however, as I've not looked into how URS does it's limit watching, both may conflict with each other.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Suicidal.Banana on January 15, 2014, 10:46:16 AM
Heya, sorry for the bump, but i was thinking, can we get a little update on the tool restrictions?
(if this plugin is still beeing kept up to date, but steam workshop download makes me think it is)

What i want to do is to disallow people (well, the default group) to SPAWN with the Duplicator, but i do want to allow them to COPY/SAVE, the reason is that the server im sort-of-hosting-atm just doesnt cope well with dupes, loading/pasting anything can cause the connected clients to stall for over 30 seconds, in effect booting everybody from the server, now obviously the better solution here would be a better server, but untill that happens, i need to be able to tone down the amount of disconnects.

(Also, super unrelated, hi again all, back, to stay this time)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on January 15, 2014, 10:57:54 AM
Heya, sorry for the bump, but i was thinking, can we get a little update on the tool restrictions?
(if this plugin is still beeing kept up to date, but steam workshop download makes me think it is)
I only really work on it in my free time when I don't have much else to do, which isn't often.  It's sort of a side project.  I have big plans for it, but if it will ever actually come out, I'm not sure.


What i want to do is to disallow people (well, the default group) to SPAWN with the Duplicator, but i do want to allow them to COPY/SAVE, the reason is that the server im sort-of-hosting-atm just doesnt cope well with dupes, loading/pasting anything can cause the connected clients to stall for over 30 seconds, in effect booting everybody from the server, now obviously the better solution here would be a better server, but untill that happens, i need to be able to tone down the amount of disconnects.
I agree with this to a certain point.  I believe the ability to limit which functions of a tool you can use (primary, secondary, and reload) would be useful.  This would allow you to disable the use of primary fire, therefore disabling pasting.  When/if I get around to working on this more, I'll definitely consider this.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Suicidal.Banana on January 15, 2014, 11:01:07 AM
Cool thanks man, no rush, just something i'd love to see, keep up the great work! ;D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on January 15, 2014, 11:59:23 PM
Cool thanks man, no rush, just something i'd love to see, keep up the great work! ;D

oh my god, i haven't seen that name post here in many years now.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: mogey on January 24, 2014, 04:36:37 PM
Anyone know how to stop someone from using any and all scars using this addon?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on January 31, 2014, 02:34:15 AM
Anyone know how to stop someone from using any and all scars using this addon?
I agree. I already asked this earlier with no replies. I just cannot limit SCar spawning at all, along with some other entites, such as the bouncy ball
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on January 31, 2014, 02:28:27 PM
such as the bouncy ball
Searched the thread, found this... http://forums.ulyssesmod.net/index.php/topic,5269.msg31723/topicseen.html#msg31723 (http://forums.ulyssesmod.net/index.php/topic,5269.msg31723/topicseen.html#msg31723)
Does that command not work anymore? It's possible sent_ball was renamed something else since the GMod13 update.
Seems you would have to know the sent's name to ban Scars, but, it's possible they're different, and haven't been added in such a way URS recognizes?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on January 31, 2014, 02:43:06 PM
Searched the thread, found this... http://forums.ulyssesmod.net/index.php/topic,5269.msg31723/topicseen.html#msg31723 (http://forums.ulyssesmod.net/index.php/topic,5269.msg31723/topicseen.html#msg31723)
Does that command not work anymore? It's possible sent_ball was renamed something else since the GMod13 update.
Seems you would have to know the sent's name to ban Scars, but, it's possible they're different, and haven't been added in such a way URS recognizes?

I remember I got the exact sent names. I right clicked on it and copied I think, or just tracked it down through the console.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Sgt.Blue on March 08, 2014, 04:18:54 AM
Could you add the ability to select items from the spawn list or something similar? Because it's quite tiring to have to type in the name of everything.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Sgt.Blue on March 12, 2014, 10:37:50 AM
For some reason URS fails to restrict some things. For example, when I tried to restrict the bouncy ball I got this: ConCommand blocked! (ulx restrict "sent" "sent_ball" user)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 12, 2014, 11:37:00 AM
For some reason URS fails to restrict some things. For example, when I tried to restrict the bouncy ball I got this: ConCommand blocked! (ulx restrict "sent" "sent_ball" user)
I believe this is a bug with Gmod.  Try restarting gmod or using the console directly.  I ran into this a few times with other projects.  A game restart usually solved it.  I'm not sure why it happens.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: crokdile on March 22, 2014, 04:25:07 PM
I restricted the davy crockett swep from a group but they can still spawn it, any help?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on March 25, 2014, 10:19:09 AM
Would it be possible to make Expression 2 functions/commands restrictable? So certain ranks won't be able to use applyForce and other dangerous commands? There is quite a new thread about it on the Wiremod forums currently, but it looks like the wire team doesn't want it there
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Sgt.Blue on April 02, 2014, 02:17:01 AM
I've been trying repeatedly to restrict sent_ball, still throws out an error.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Chironex on April 18, 2014, 02:40:53 PM
Hi,

First thanks for URS, it's really useful ;)

- We have a small problem. I've installed this addon on our server: http://facepunch.com/showthread.php?t=1383796 (http://facepunch.com/showthread.php?t=1383796)

And restricted it to some groups, by adding "sent_streamradio" in the sent restriction menu. They aren't able to spawn it from the spawn menu, but, they can spawn it from a dupe from Advanced Duplicator 1 and 2.

Now I don't know if that's the only Sent having this problem, we don't have a lot of those in our server... I tried restricting the sent "npc_grenade_frags", and as expected, they could not spawn it with either the spawn menu or duplicators. Could you please look into this bug ?


- Another bug in the restriction menu, is that the Group listbox show the previously restricted item instead of group name, when it should be in the Target textbox instead. Just opening the listbox will fix it, but it's annoying when you want to restrict something to more than one group, you have to rewrite each time the name of what you want to restrict.


- And a feature request: could you also add restrictions on the amount of entity of a certain type that a player can create. For example, I would like to restrict basic users to be able to spawn only 10 thrusters, regulars to 20 thrusters, donators to 40 thrusters. That's the idea. It would be awesome if added ;)


I just hope you're still working on this! Else I may take over and make URS v2, when I have some time...
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tristian Wood on April 21, 2014, 09:59:34 AM
Hey there,
I'm getting this weird error when using ulx print limits. I get similar ones when I use the other ulx print commands.
Code: [Select]
[ERROR] addons/urs/lua/ulx/modules/sh/urs_cmds.lua:197: Calling net.Start with unpooled message name [http://goo.gl/qcx0y]
1. Start - [C]:-1
2. call - addons/urs/lua/ulx/modules/sh/urs_cmds.lua:197
3. __fn - addons/ulib/lua/ulib/shared/commands.lua:943
4. unknown - addons/ulib/lua/ulib/shared/commands.lua:1296
5. Run - lua/includes/modules/concommand.lua:69
6. unknown - addons/ulib/lua/ulib/shared/commands.lua:1310
7. unknown - lua/includes/modules/concommand.lua:69
please help <3
thanks,
Tristian Wood
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nzkfc on June 18, 2014, 03:34:45 AM
After some help, it's been fun wrapping my head around this and I think people struggle a wee bit because this is looking at it from a "If group = XYZ then don't let them" rather then "If group = XYZ, ABC and 123 then let them have it"

Anyways I have an issue, my FPP is set to Superadmin only and I have restricted URS group "user" to not use balloon. Soon as I make balloons for "everyone" in FPP (I assume URS will override true 'everyone' for FPP) it still allows users to spawn them.

(http://iforce.co.nz/i/eolri3gv.a4u.jpg)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on June 18, 2014, 08:57:09 AM
That's why I never touched FPP restrictions, as long as I use the URS and without almost any problems (except the bouncy balls and SCars)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nzkfc on June 18, 2014, 08:16:13 PM
Sweet I will look into wiping FPP settings for the specific tools i'm wanting to restrict and see how that goes.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: DarKevin on August 02, 2014, 03:24:14 PM
This addon really needs a patch to prevent people from duping restricted stuff in by using Creator, Duplicator or Advanced Duplicator 2!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Tim Green on October 07, 2014, 10:26:43 PM
Is it possible to change a limit of a prop meaning you can only spawn 1 of the prop need it for flood, I wanna set a prop so u can only spawn 1 lemme know
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: happyman0073 on October 07, 2014, 11:09:39 PM
Hey guys! I wanted to ask how the Advanced Duplicator restrictions work and what variables are possible to use there. Thanks :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: DarKevin on October 17, 2014, 06:22:08 AM
Is it possible to change a limit of a prop meaning you can only spawn 1 of the prop need it for flood, I wanna set a prop so u can only spawn 1 lemme know
You can set a limit for props in general, for example: Users can spawn 1 prop, respected can spawn 5 or whatever.
But I THINK you can't limit specific props like 1 barrel, 3 wooden boxes, etc.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: DarKevin on October 17, 2014, 06:32:38 AM
Hey guys! I wanted to ask how the Advanced Duplicator restrictions work and what variables are possible to use there. Thanks :)
I'm using Advanced Duplicator 2 on my server, so I don't know how it is with Advanced Duplicator (1)
(Like if it works at all, because with Adv Dupe 2 it doesn't).

But I finally somehow managed to keep people from spawning dupes of any props, entities, weapons or whatever.
For that I used URS and FPP (Falcos Prop Protection) and for example restricted a weapon in URS and then additionally the model of that weapon in FPP.
It didn't work when I tried that before and im kind of confused how I did it, so I got to check on that.
I think it worked by restricting the models of stuff in URS AND FPP.

FPP has been quite buggy recently, though. (Issues with WAC which aren't really FPP's fault, lua errors, Idk.)
But a non workshop svn/git version might fix it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eliman on October 22, 2014, 04:16:16 PM
Having a problem with restricting tools for groups, i'm trying to restrict materials to vips only this is the command i'm putting in:

ulx restrict tool materials * vip

also tried:

ulx restrict tool gmod_materials * vip
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: pegasus on October 29, 2014, 10:34:30 PM
First Off, I Would Like To Say, What an Awesome Job On This Addon, Love it so far

only issue i am having is when i add loadouts when a user connects they still get the Gmod default loadout instead of the one i assigned in URS.

Can You Shed Some Light on what i am doing wrong?


Thanks

Mike
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on November 12, 2014, 08:10:47 AM
I've been using urs for about 2 years, there's no white list settings):

Side note, is the github still monitored at all by the creator? I posted a big about a week ago and haven't seen any activity
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on November 12, 2014, 06:09:17 PM
Likely not - His last forum visit, at least logged in, has been quite some time.
Last Active:     March 30, 2014, 01:16:46 AM
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Curley900 on December 04, 2014, 02:12:03 AM
how do i use this to restricte weapons from certain groups
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on December 04, 2014, 04:55:41 AM

how do i use this to restricte weapons from certain groups

Go to the urs tab>restrictions> type of restriction> entity name> group name from dropdown list> click the button
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on December 04, 2014, 04:57:01 AM

Likely not - His last forum visit, at least logged in, has been quite some time.
Last Active:     March 30, 2014, 01:16:46 AM

Sad to see something so great be let go. Imo team ulysses should take it over :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: AbwortMC on December 04, 2014, 10:47:46 AM
How do you restrict player models?

If you're going to say "You need ply:IsAdmin or ply:IsSuperAdmin", I want to use my own custom usergroup for this.

For example, only the owner gets to have a playermodel.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on December 05, 2014, 07:56:45 AM
plyIsOwner

For that type of stuff you want superadmin usually to be the highest group and make a lower rank like s-admin for super. Theres a big article wrote up why superadmin should be the highest.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on February 08, 2015, 04:10:02 PM
I'm having a problem,
I set up my new server got the newest version of ULX which is working fine, I installed URS the same way I installed ULX, into the addon folder but for some reason it won't show up in the settings tab of ULX.
When I type "rcon xgui_urs" it tells me:
Invalid command entered. If you need help, please type "ulx help" in your console.

The server log shows that URS has be successfully mounted:

Adding Filesystem Addon '/garrysmod/addons/urs-master'

So I don't understand why it is not working,
I've already set up a few servers where it worked perfectly fine.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: uacnix on February 09, 2015, 06:21:50 AM
Hello, I'm trying to figure something out with the loadouts- how can I set up a loadout to give e.g. 5 grenades?
I tried some combinations, like 5,"weapon_frag" but it didn't increase the amount of nades I get.
Is there any option to change the amount of "stuff" given?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: xLiaMz on February 10, 2015, 02:44:48 PM
Because people like to use tools on gamemodes I get this mad spam, that goes on for thousands of lines:

Quote
[TWK] ZeroX_Pro<STEAM_0:0:36245207> spawned model models/items/car_battery01.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on models/props_lab/keypad.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on maps/rp_downtown_v4c_v2.bsp
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on models/props_lab/keypad.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on models/props_lab/keypad.mdl
[TWK] ZeroX_Pro<STEAM_0:0:36245207> spawned model models/items/grenadeammo.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on maps/rp_downtown_v4c_v2.bsp
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on models/props_lab/keypad.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on models/props_lab/keypad.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on maps/rp_downtown_v4c_v2.bsp
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on maps/rp_downtown_v4c_v2.bsp
[TWK] ZeroX_Pro<STEAM_0:0:36245207> spawned model models/items/crossbowrounds.mdl
theprestigingace<STEAM_0:0:120908102> used the tool keypad_willox on maps/rp_downtown_v4c_v2.bsp
[TWK] ZeroX_Pro<STEAM_0:0:36245207> spawned model models/items/ammocrate_rockets.mdl
[TWK] ZeroX_Pro<STEAM_0:0:36245207> spawned model models/items/ammocrate_ar2.mdl

How do i disable it? Please help :S
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: uacnix on February 12, 2015, 10:56:45 AM
Because people like to use tools on gamemodes I get this mad spam, that goes on for thousands of lines:

How do i disable it? Please help :S
I guess you'll want to restrict keypad_willox for some groups:
(http://i.imgur.com/yGVOx7a.jpg)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: xLiaMz on February 12, 2015, 03:32:06 PM
I don't want to just restrict that, It tells me every tool that is being used in the console... is there anyway to disable that?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on February 20, 2015, 05:37:23 AM

Because people like to use tools on gamemodes I get this mad spam, that goes on for thousands of lines:

How do i disable it? Please help :S
that is a ulx setting. Not Urs
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on February 20, 2015, 05:39:33 AM

I'm having a problem,
I set up my new server got the newest version of ULX which is working fine, I installed URS the same way I installed ULX, into the addon folder but for some reason it won't show up in the settings tab of ULX.
When I type "rcon xgui_urs" it tells me:
Invalid command entered. If you need help, please type "ulx help" in your console.

The server log shows that URS has be successfully mounted:

Adding Filesystem Addon '/garrysmod/addons/urs-master'

So I don't understand why it is not working,
I've already set up a few servers where it worked perfectly fine.
inside the folder urs-master there should be an add on folder. That is all you need
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Flinta on February 23, 2015, 08:19:07 AM
Lovely addon! but is there a way to set time limit on prop spawning and time limit on adv dupe so people cant spam it?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: uacnix on February 27, 2015, 08:44:38 AM
Hello, I have an issue I cannot figure out by myself- I want to give some groups more items of the same type.
For example, i want to give the Superadmin group 30 combine balls (item_ammo_ar2_altfire).
What should I type in the ulx loadoutadd?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Lnicholls2000|NewGmodServer! on February 27, 2015, 08:56:25 AM
Great plugin, but people can still spawn restricted items with advanced duplicator. Anyone know how to solve the problem?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on February 27, 2015, 12:03:50 PM
According to http://forums.ulyssesmod.net/index.php/topic,5269.0.html (http://forums.ulyssesmod.net/index.php/topic,5269.0.html) that is not possible, because I'm going to assume URS just does ply:StripWeapons(), then some for loop that does ply:Give("WERAPONNAMES"), then it selects the first weapon in the table.

You'd have to make another script that spawns the selected usergroup with that amount of ammo for the ar2, I'm not familiar with the ar2 weapon, so I can not assist, as I do not like engine based weapons.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on March 08, 2015, 12:52:39 PM
How do I restrict tools that have a space in the name?
like "eye poser" or "face poser" ?

everything else like remover or dynamite work fine.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on March 09, 2015, 05:35:13 PM
is there an easier way to edit the restrictions.txt and limits.txt file manually?
the format being everything in one line makes it almost impossible to edit it.
and converting it to Windows/unix format with notepad++ doesn't change anything.

Our server is running on Linux btw.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 09, 2015, 06:29:26 PM
is there an easier way to edit the restrictions.txt and limits.txt file manually?
the format being everything in one line makes it almost impossible to edit it.
and converting it to Windows/unix format with notepad++ doesn't change anything.

Our server is running on Linux btw.
What do you need to do to it?  If it doesn't work with linux now, changing the format manually will only be a temporary solution.

I was planning on fixing a few things up over the week, but I have been having computer problems.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 09, 2015, 06:54:48 PM
How do I restrict tools that have a space in the name?
like "eye poser" or "face poser" ?

everything else like remover or dynamite work fine.

Those are not the actual names of the tools.  If you use the tool, it should print in your console the actual name.  It shouldn't have a space, but if it does, quotes should work.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 09, 2015, 07:55:42 PM
*blink*
Wow. Hi Aaron.
Guess it takes Facepunch breaking our stuff for you to come visit, eh?
:P
Good to see you, no matter the reason. :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 09, 2015, 09:02:18 PM
Haha...  Hello!  It's been a while.  Falco actually added me on Steam and posted on github about some issues. I happen to be on spring break, so I was like... meh, why not.  I honestly kinda just lost interest in Garry's Mod.  Perhaps my interest will spark once again with me putting some effort in URS.

PS.  I'm working on rewriting URS.  Right now I'm just recoding some small background things that will have no noticeable change.  Just cleaning code and fixing what I can.  This will be a long process to say the least haha... I was not a very experienced programmer back 2 or 3 years ago (not that I'm a pro now).


EDIT:  WOW!  I cannot believe this is 4 years old already!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Stickly Man! on March 09, 2015, 10:06:45 PM
Welcome back! :)

EDIT:  WOW!  I cannot believe this is 4 years old already!

It's amazing how time flies.. I can't believe how old XGUI is either, let alone ULX itself :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 11, 2015, 09:17:56 AM
I suppose in tradition I might as well post a changelog.

Code: [Select]
Changelog 3/11/2015:
 + Added ulx_urs_echo_spawns [0/1] (See Wiki)
 + Added ulx_urs_overwrite_sbox [0/1] (see wiki)
 - Removed ulx_ursecho
 * ulx_urs_weaponpickups defaulted to 2
 * Fixed restriction echos
 * Fixed two return true lines that broke other scripts (Thanks Falco)
 * Saves one table at a time (no need to save all at once)
 * LOTS of recoding to clean code and fixing errors in my recode

We are down about 60 lines and I've only just started.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: williamdefly on March 11, 2015, 09:35:48 PM
this addon is not compatible any new version for ulx.

please update <3
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 11, 2015, 10:18:33 PM
Working as far as I can tell on my end.  Can you give more information?

I'm on ULX and ULib revisions 263 and URS revision 100.

EDIT:  I'm working on a big update for the next revision, so hopefully I don't have to make any huge changes to fix something in the mean time.

EDIT2:  This is kind of important to fix, but it will have to wait until tomorrow night since I haven't gotten a response yet.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 12, 2015, 08:45:26 AM
Perhaps I did break something.  I am getting a lot of people adding me.  I just need one of them to tell me what the problem is.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: williamdefly on March 12, 2015, 11:16:43 AM
good evening,

your addon to not appear in the new version ulx
via the menu !menu

ULX v3.62 and v2.52 ULib
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 12, 2015, 03:43:56 PM
I am going to need more information.  I have no problems with the latest versions.

Can I get a copy of your
<gmod folder>/data/ulx/restrictions.txt
<gmod folder>/data/ulx/limits.txt
<gmod folder>/data/ulx/loadouts.txt
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: williamdefly on March 12, 2015, 04:06:10 PM
of course,
here is the link

https://www.dropbox.com/s/lvwhorz9mp6jlwm/ulx_urs_williamdefly.rar?dl=0 (https://www.dropbox.com/s/lvwhorz9mp6jlwm/ulx_urs_williamdefly.rar?dl=0)

thx
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 12, 2015, 07:04:00 PM
I still am not having any problems.  You have to have some kind of error either in the server's console or your client's.  I can't fix anything unless we can find the source.

EDIT:  You are aware your data files are near blank?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: lionfly2005 on March 13, 2015, 05:28:11 AM
With the b62db660e353b973c058c14c4f6e01ec4d6a5a82 commit and latest ulib/ulx (from github) folowing error:
[ERROR] addons/urs/lua/ulx/modules/urs_server.lua:43: attempt to index a nil value
  1. Check - addons/urs/lua/ulx/modules/urs_server.lua:43
   2. fn - addons/urs/lua/ulx/modules/urs_server.lua:146
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:179
     4. Give - [C]:-1
      5. RunClass - gamemodes/sandbox/gamemode/player_class/player_sandbox.lua:76
       6. Call - gamemodes/base/gamemode/player.lua:317
        7. PlayerSpawn - gamemodes/base/gamemode/player.lua:274
         8. unknown - gamemodes/sandbox/gamemode/init.lua:41
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 13, 2015, 07:47:35 AM
Thank you!  It has been fixed.

EDIT:  I rewrote how URS was loaded and it wasn't quite making all the tables like it should have.  I guess the one thing I lacked was testing it with a blank data file.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Grizly on March 13, 2015, 08:58:10 AM
Hello,

I was wondering is there possibility to make Material restricted on Vehicle using URS Restriction system?

If i write in tool : material it disable all material but i want it disabled only on vehicle...

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 13, 2015, 09:05:27 AM
Probably best posted in URS topic itself, but there is no way to restrict a specific tool from doing a very specific thing.  Who knows though, perhaps a feature for the future?  We'll have to see how it goes.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Grizly on March 13, 2015, 09:38:32 AM
Probably best posted in URS topic itself, but there is no way to restrict a specific tool from doing a very specific thing.  Who knows though, perhaps a feature for the future?  We'll have to see how it goes.

Maybe there is a lua script for that ?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 13, 2015, 10:16:00 AM
It's entirely possible, but I'm not aware of any existing scripts.  That gets too in depth for what I want URS at right now.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 13, 2015, 05:22:59 PM
I updated the workshop version with a recent better working version.  I was getting complaints about the workshop version that have already been fixed on github.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 16, 2015, 08:59:22 PM
Some of you know I plan on recoding the GUI of URS to make it easier to use.  So I was just kinda going through some ideas of what I can do and am just looking for feedback and ideas before I start.  So far I am not fond of the back button idea.  It will just make things slower and harder to use.

Yes, I did use paint...  haha

https://dl-web.dropbox.com/get/Pictures/urs_gui_mockup_ideas.png?_subject_uid=50945661&w=AACF0534HsWPI67HgynrCXNQEBVfeVQ1Sy98LQ9ylQRCUA
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 18, 2015, 03:03:42 PM
The hook priority changes to ULib broke most of URS, so I just pushed a quick fix.  Please update if you are having problems with stuff saying it's restricted but still lets you spawn it.

EDIT:  4 posts in a row!  I don't think merging them would be a good idea :S
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Stickly Man! on March 19, 2015, 08:23:07 AM
Combo breaker! ;D

Just curious, how did the hook changes break URS? It seems that we are at least clamping the priorities to -2 to 2 (https://github.com/Nayruden/Ulysses/blob/master/ulib/lua/ulib/shared/hook.lua#L47-49), so in your case, -10 would have become HOOK_MONITOR_HIGH, (which would behave like -20). Was that a little too high priority?

(I'm asking to help others fix their scripts if they break, and we're wanting to petition the new hooks to be included in Gmod by default) :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 19, 2015, 08:29:39 AM
Anything higher than 1 or lower than negative 1 in hook priority will not let you return a value.  I have to return a bool on every hook, so simply putting this between the two fixed it.

EDIT:  I'm also going to be changing it to a low priority.  This lets other scripts run first so URS can return true in some situations (returning true stops any other functions that are hooked from running).  An example is Falco's Prop Protection.  I can't return true to overwrite sbox limits, because then FPP will not run and URS will let restricted props be spawned.  If I set the hook to a low priority, it runs after FPP does and just fixes all my problems.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 25, 2015, 08:08:46 PM
So update on what I'm working on...

I have almost completely recoded URS.  Entirely new data structure (might tweak more depending on some feedback).  I have made a converter, so you will not have to worry about any lost data.  Almost every command got rewritten because how i was doing them before was completely opposite.  The best new features make URS even more customizable.  I added inverting for restrictions, which basically makes it a whitelist instead of a blacklist.  You will have access to make limits unlimited.  You will have access to make certain limits be able to go over sbox while others not.  The best change is the new GUI I'm working on.  I hate GUI work, so this is taking me some time.  In the front it hasn't changed much, but it isn't going to be half done like the other one was.  It is still very early and will likely get tweaked as i go, but this is it so far...

(https://dl.dropboxusercontent.com/u/50945661/ShareX/2015/03/2015-03-25_22-05-56.gif)

Eventually, it will have every possible option on it.  You will never have to type in a command again, which is what most users love.

What I really want opinions/feedback on is the possible new data structure I've been working on.  I'm not sure it's the best route, but unsure of any better alternatives.
(https://dl-web.dropbox.com/get/repositories/urs/content/data_2_1.png?_subject_uid=50945661&w=AAB9Xayu6a0PCeW_NUez1pzhLVnBenjH3MHxumR3wJSASA)

I plan to release a dev version on github at some point as i don't want to push it out and get screwed in the end.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 26, 2015, 03:43:40 PM
Looking Nice!
For those of us who visualize the Gmod "matrix" in ascii text without having to tie into the construct's video converters, please make sure that if someone needs to, text commands can be used.
(Non-Matrix-esque translation - make sure those of us who rarely see the actual GUI of the game, albeit through host consoles, or whatever, can still make adjustments. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 29, 2015, 12:24:24 AM
Looking Nice!
For those of us who visualize the Gmod "matrix" in ascii text without having to tie into the construct's video converters, please make sure that if someone needs to, text commands can be used.
(Non-Matrix-esque translation - make sure those of us who rarely see the actual GUI of the game, albeit through host consoles, or whatever, can still make adjustments. :)
I'm assuming you basically just mean console commands?  That's how everything works in the background, just no easy way to display the table in console at the moment.  You would have to use lua_run.  I'll add something to print to console later.

Also, progress on the GUI is slow between work and school.  I ended up restarting this 3 times so far and am going for a fourth restart tomorrow.  It must be perfect!  I keep changing how I'm doing it and the best thing to do is just restart.  On the bright side, every time I restart the code gets cleaner and cleaner.  So here's the progress until I restart tomorrow....

(https://dl.dropboxusercontent.com/u/50945661/ShareX/2015/03/2015-03-29_02-16-08.gif)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on March 29, 2015, 12:09:47 PM
I'm assuming you basically just mean console commands? 
Well, yeah.
I mean, if you figure out some awesome function to have it work telepathically while still securely on the 5th or 6th re-write, that would be great too, but, definitely console commands until then.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 29, 2015, 12:36:58 PM
some awesome function to have it work telepathically
I will add it to my todo...  haha
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on March 30, 2015, 03:37:49 PM
Alright so, i think this is going to be the final GUI (fourth time was a charm).  The code is very clean and i generally like the layout.  Any suggestions before I get too far into things?

(https://dl.dropboxusercontent.com/u/50945661/ShareX/2015/03/2015-03-30_17-41-19.png)(https://dl.dropboxusercontent.com/u/50945661/ShareX/2015/03/2015-03-30_17-34-30.png)(https://dl.dropboxusercontent.com/u/50945661/ShareX/2015/03/2015-03-30_17-34-44.png)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: AphisNano on April 03, 2015, 02:20:16 AM
Labels for the two textboxes at the bottom of the panel would be nice.  Otherwise, it looks great.   I've set my server up to track the dev branch so I can play around with it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 03, 2015, 06:47:35 AM
Labels for the two textboxes at the bottom of the panel would be nice.  Otherwise, it looks great.   I've set my server up to track the dev branch so I can play around with it.

The labels were added a while ago, with much much more.  The auto-completes now populate themselves (the code is a bit messy, but it works).  You're putting pressure on me with the dev branch now haha.  I originally was going to use it just to keep track of the progress.  I didn't plan on pushing a working version, but I guess I should now.  I warn you though, when I said it was a development branch, I meant it.  The versions there may not be entirely stable and/or missing features.  You could very well lose your data files as well.

Also, a HUGE thank you to SticklyMan... Without his xlib functions, my life would be so much more difficult.

(https://dl.dropboxusercontent.com/u/50945661/ShareX/2015/04/2015-04-03_08-39-42.gif)

EDIT:  I'm almost considering just putting the different classes (restrictions, limits, loadouts) into tabs instead.  Who thinks that would be better?  I may have to experiment with it (hello recode number 5).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on April 03, 2015, 08:23:54 PM
EDIT:  I'm almost considering just putting the different classes (restrictions, limits, loadouts) into tabs instead.  Who thinks that would be better?  I may have to experiment with it (hello recode number 5).

Clarity wise, I think it would be a good idea.
(YES!!! Just a few more until telepathy time)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: AphisNano on April 04, 2015, 01:38:38 PM
I warn you though, when I said it was a development branch, I meant it.  The versions there may not be entirely stable and/or missing features.  You could very well lose your data files as well.

I'm aware of the risks, the server itself is basically a continuous integration system for my spacebuild 3 revival (https://github.com/N3X15/spacebuild/tree/master).  Bugs are to be expected, and my users are repeatedly warned about such issues.

Thank you for your effort on this addon.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: randomguy on April 05, 2015, 09:02:45 PM
Looking great so far, any chance you can add like a hover hint. So if you hover over something it explains what it does? For example I have no idea what the "Invert Weld's" Tick box does.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 05, 2015, 09:06:48 PM
Looking great so far, any chance you can add like a hover hint. So if you hover over something it explains what it does? For example I have no idea what the "Invert Weld's" Tick box does.

I thought that might be a bit confusing.  What that does is change it from a blacklist to a whitelist.  So instead of adding people to restrict it, you're adding people to allow them.  The invert tools would do the same, but for ALL tools.  If both are enabled, then the specific tool becomes a blacklist again while all other tools are still a whitelist.  Hope that's understandable... I will definitely add some kind of explanation some where.

EDIT:  Since I have a hard time finding Stickly online at a good time, I'm just going to ask here and hope you see this :P.  I was curious if there is any way that you can queue up function calls in with xlib's animations?  So it would run an animation, run a function, then run an animation again?  Without spending a lot of time looking through your code, it's hard to figure this out with a glance around.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on April 05, 2015, 09:19:04 PM
Without spending a lot of time looking through your code, it's hard to figure this out with a glance around.
Searched our repo for queue and found this
xlib.addToAnimQueue (https://github.com/Nayruden/Ulysses/blob/a0c8f093cbc1cb40e4a4b514664a31bfea5185c6/ulx/lua/ulx/modules/cl/xlib.lua#L1087)
I didn't look long enough to tell if you could perform functions within it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 05, 2015, 09:22:15 PM
Haha, literally right in the function itself.  I guess I didn't look hard enough.

Code: [Select]
if type( obj ) == "function" then
table.insert( outTable, function() xlib.animRunning = true  obj( unpack( arg ) )  xlib.animQueue_call() end )

This is why I love xlib.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Stickly Man! on April 06, 2015, 10:16:51 AM
Haha, sorry- I was out of town this past weekend. :P

Yup, looks like you figured it out- I had the same issues when I was working with animations.. Trying to ensure they all ran properly, and called all the needed functions at the correct time. Glad it's working well for you! :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on April 06, 2015, 08:17:45 PM
I'm just stoked I figured out something in xlib, and was able to help someone else with it.

/me ducks as Stickly Man throws bits of duct tape he's used to piece xlib together with ulib and ulx into XGUI over the years.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 06, 2015, 09:16:19 PM
xlib may be covered in duct tape that is barely holding on, but it is an amazing part of XGUI :D

Anyway, I decided instead of recoding just the GUI, I am recoding the entire addon.  New everything.  I must say it is looking fantastic so far.  I like having tabs instead.  We will see when I have time to finish it.  I'm using a local repository backed up on dropbox to keep track of the changes now instead of the development branch on github.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Stickly Man! on April 07, 2015, 10:08:03 AM
Awesome work :D

Haha JamminR- I had to go double check my own code after reading your post, because I forgot about that whole section of xlib. :P  Standardizing, documenting, and releasing XLIB is on my list of things I want to do, but I just haven't had the time... But, I'll look into a potential XLIB2 for ULX4, perhaps. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on April 07, 2015, 05:01:00 PM
xlib may be covered in duct tape that is barely holding on, but it is an amazing part of XGUI :D
Hey, I never said "barely"! It's solid. Good quality tape :P

I am recoding the entire addon.  New everything.
YESsssss! Telepathic/console/gui/chat commands here we come!

Awesome work :D
Indeed Aaron, awesome work.
A great addition to any Sandbox server.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 07, 2015, 06:59:38 PM
YESsssss! Telepathic/console/gui/chat commands here we come!
URS v200 here we come!

Indeed Aaron, awesome work.
A great addition to any Sandbox server.
I need to actually finish it first haha, but I think it will be pretty nice when it is.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: FASGamer on April 23, 2015, 03:36:11 PM
Hello I am the server manager of the Dark Fusion Gaming sandbox server, I have about two suggestions.

#1. I currently have Scars, but I can't restrict any of them. So therefor I can't put any tanks in to restrict for higher ranks only. So my first request is can you make it possible to restrict Scars?
#2. I have WAC & J.I. Defense Solutions Installed. I only want users to have 2 WAC planes spawned at a time, but I want them to be able to spawn many J.I. Defense Solution Entities. As you may know WAC & J.I. Defense Solutions both are Entities. So my second request is can you like add a optional setting for WAC where it is separated from the other entities in the limits? Like maybe a WAC Helicopter limit and a WAC Plane limit?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Buzzkill on April 23, 2015, 09:58:26 PM
Hey Aaron.  One suggestion for the new version -- something I've added to my copy of URS -- the ability to wildcard target sweps/ents/etc.  For example, I generally restrict most of Garry's Bombs from everyone, but let certain classes of bombs and individual bombs in to certain ranks.  So my config looks something like this...

gb5_*     (*, superadmin, admin)  = all of Garry's Bombs restricted to just superadmin and admin
gb5_light_*   (*, superadmin, admin, member5) = everything in the light bombs group is avail to sa, admin and member5 groups


I got this to work with some changes to URS.Check  (added a couple parms, some recursive logic and some wildcard mapping code below).  Wasn't sure if this would be interesting to anyone else, but it allows me to build a pretty rich permissions model without having to add an entry for every single entity.

Code: Lua
  1.  
  2. function URS.Check(ply, type, what, noecho, ... )
  3.  
  4.         -- MTZ
  5.         if ply:IsSuperAdmin() then return end
  6.        
  7.         what = string.lower(what)
  8.         local group = ply:GetUserGroup()
  9.         local restriction = false
  10.        
  11.         -- if we passed a description, use that for messages instead   MTZ
  12.         local whatdesc = what
  13.         local arg={...}
  14.         if arg[1] != nil then
  15.                 whatdesc = arg[1]
  16.         end
  17.         local passedRestrictionTest = false
  18.        
  19.  
  20.         if URS.restrictions[type] and URS.restrictions[type][what] then
  21.                 restriction = URS.restrictions[type][what]
  22.         end
  23.  
  24.         if restriction then
  25.                 if table.HasValue(restriction, "*") then
  26.                         if !(table.HasValue(restriction, group) or table.HasValue(restriction, ply:SteamID())) then
  27.                                 if !noecho then URS.PrintRestricted(ply, type, whatdesc) end
  28.                                 return false
  29.                         end
  30.                 elseif table.HasValue(restriction, group) or table.HasValue(restriction, ply:SteamID()) then
  31.                         if !noecho then URS.PrintRestricted(ply, type, whatdesc) end
  32.                         return false
  33.                 end
  34.                 passedRestrictionTest = true -- we overtly passed the restriction test.  Don't bother looking at wildcards later on  MTZ
  35.         end
  36.        
  37.         if URS.restrictions["all"] and URS.restrictions["all"][type] and table.HasValue(URS.restrictions["all"][type], group) then
  38.                 if !noecho then ULib.tsayError(ply, "Your rank is restricted from all ".. type .."s") end
  39.                 return false
  40.         end
  41.        
  42.         if table.HasValue(URS.types.limits, type) and URS.limits[type] and (URS.limits[type][ply:SteamID()] or URS.limits[type][group]) then
  43.                 if URS.limits[type][ply:SteamID()] then
  44.                         if ply:GetCount(type.."s") >= URS.limits[type][ply:SteamID()] then
  45.                                 ply:LimitHit( type .."s" )
  46.                                 return false
  47.                         end
  48.                 elseif URS.limits[type][group] then
  49.                         if ply:GetCount(type.."s") >= URS.limits[type][group] then
  50.                                 ply:LimitHit( type .."s" )
  51.                                 return false
  52.                         end
  53.                 end
  54.                 if URS.cfg.overwriteSbox:GetBool() then
  55.                         return true -- Overwrite sbox limit (ours is greater)
  56.                 end
  57.         end
  58.  
  59.  
  60.  
  61.         -- find wildcard entires and recurse against it   MTZ
  62.         if !string.ends(what,"*") and passedRestrictionTest == false then
  63.                 local whatwild = converttowildcard(what)
  64.                 if whatwild != what then
  65.                         local res = URS.Check( ply, type, whatwild, noecho, what )
  66.                         if (res == false) then
  67.                                 return false
  68.                         end
  69.                 end
  70.         end
  71.  
  72.  
  73.        
  74. end
  75.  
  76. -- MTZ
  77. function string.starts(String,Start)
  78.    return string.sub(String,1,string.len(Start))==Start
  79. end
  80. function string.ends(String,End)
  81.    return End=='' or string.sub(String,-string.len(End))==End
  82. end
  83.  
  84. function converttowildcard(what)
  85.         local what2 = ""
  86.        
  87.         if string.starts(what, "weapon_doom3_") then what2 = "weapon_doom3_*"
  88.         elseif string.starts(what, "npcg_") then what2 = "npcg_*"
  89.         elseif string.starts(what, "gb5_light_") then what2 = "gb5_light_*"
  90.         elseif string.starts(what, "gb5_") then what2 = "gb5_*"
  91.         elseif string.starts(what, "halo_swep_") then what2 = "halo_swep_*"
  92.         elseif string.starts(what, "weapon_sky_") then what2 = "weapon_sky_*"
  93.         elseif string.starts(what, "m9k_") then what2 = "m9k_*"
  94.         elseif string.starts(what, "crysis_wep_") then what2 = "crysis_wep_*"
  95.         elseif string.starts(what, "weapon_752_") then what2 = "weapon_752_*"
  96.         elseif string.starts(what, "fas2_") then what2 = "fas2_*"
  97.         end
  98.        
  99.         return what2
  100. end
  101. -- END MTZ
  102.  
  103.  

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on April 23, 2015, 10:01:29 PM
Yeah, this us something I was already considering.  I just have to find some time to work on it.  I'm on my phone, so I will go over it better tomorrow.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on May 31, 2015, 07:16:07 AM
Can you please explain this?

Code: [Select]
ServerLog: [ULX] Hiugo<STEAM_0:0:24910300> spawned/used swep m9k_nerve_gas -=RESTRICTED=-
Hiugo<STEAM_0:0:24910300> spawned/used swep m9k_nerve_gas -=RESTRICTED=-
Giving Hiugo a m9k_nerve_gas

Started happening like 3 days ago
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 01, 2015, 11:19:29 PM
Can you please explain this?

Code: [Select]
ServerLog: [ULX] Hiugo<STEAM_0:0:24910300> spawned/used swep m9k_nerve_gas -=RESTRICTED=-
Hiugo<STEAM_0:0:24910300> spawned/used swep m9k_nerve_gas -=RESTRICTED=-
Giving Hiugo a m9k_nerve_gas

Started happening like 3 days ago
Unless something broke again, that looks like an issue I fixed a LONG time ago.  I will look into it further when I have time.  Best guess would be a conflicting addon.  Try and figure it out for me in the mean time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Hyperion on June 02, 2015, 04:55:44 AM
You are correct, the mistake is on my side- I didn't know this addon is still being updated... So I switched to the GitHub version and everything is fine now!

By the way, what's the difference between the pickup and a SWEP? Or even an entity, as an ammo box for example? And thanks for fixing the bouncy ball, I can now restrict it as an entity. Now I only need to find a way how to restrict the directional gravity arrow and SCars
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 02, 2015, 07:57:22 PM
You are correct, the mistake is on my side- I didn't know this addon is still being updated... So I switched to the GitHub version and everything is fine now!
I guess I wasn't aware there was a broken version unless you were using something really outdated.

By the way, what's the difference between the pickup and a SWEP? Or even an entity, as an ammo box for example? And thanks for fixing the bouncy ball, I can now restrict it as an entity. Now I only need to find a way how to restrict the directional gravity arrow and SCars
Pickup is which players can pickup a weapon off the ground.  Swep would be what players can spawn the swep either for themselves or on the ground.  Restricting an ammo box would probably be a sent or something.  You would have to check console for a spawn log on that one.
Title: How to install URS please help
Post by: dusty8374 on June 06, 2015, 12:16:59 PM
Hello, im kind of new to the whole server thing, and people keep spawning in a davy crokett and distroying everything, so i need instructions to download URS, please be in-depth, remember, im a noobie. :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 06, 2015, 09:44:10 PM
https://github.com/Aaron113/urs/archive/master.zip

Download that.  Extract it.  Throw it in your server's addon folder.  Done.  That is the most basic and easy way to do it.

Note:  You will have to delete and download it every time there is an update if you don't use SVN or GIT.  There are guides all over that will help you on that.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: [ LittleBigBug_ ] on June 07, 2015, 07:54:05 PM
I love this addon thank you <3
Works Flawlessly

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eliman on June 11, 2015, 12:32:43 PM
Having a slight problem with restricting stools to a certain group on ULX, not sure if i'm doing it wrong or what but it doesn't work for me  :(

I also tried targeting gmod_lamps as well, still no luck.

Here's a picture:
(http://puu.sh/ilaUC/b5d0e8dae9.png)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 11, 2015, 01:50:41 PM
It is just "lamp".  Restricting entities that the tools spawn will come in a new version of URS whenever I get up and finish that.   ::) :-[
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: eliman on June 11, 2015, 02:18:56 PM
Weird, cause players were also still able to spawn lights and such too. But yeah, looking forward to that update :)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Dark Iron Blade on June 29, 2015, 06:57:36 PM
Just a quick question, if anyone can answer this for me I'd be grateful:
So I was trying to find where I can write the restriction settings to my server manually, since when my server crashes or is restarted, all restrictions that had been input through the xGUI are reset.
In which folder/file do I write the URS restrictions so that they will be implemented each time the server is started up?

I apologize if you get questions like this often, but my efforts to find the answer through Google, and modifying the config files were fruitless :/
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on June 30, 2015, 10:07:47 AM
Just a quick question, if anyone can answer this for me I'd be grateful:
So I was trying to find where I can write the restriction settings to my server manually, since when my server crashes or is restarted, all restrictions that had been input through the xGUI are reset.
In which folder/file do I write the URS restrictions so that they will be implemented each time the server is started up?

I apologize if you get questions like this often, but my efforts to find the answer through Google, and modifying the config files were fruitless :/
<GMOD DIR>/data/ulx/restrictions.txt
<GMOD DIR>/data/ulx/limits.txt
<GMOD DIR>/data/ulx/loadouts.txt

That is where URS saves its data.  If you want to execute commands every startup to add them, that would be a tad bit trickier.  If there is a problem with URS saving, it's probably something with your permissions.  Are other addons able to save like ULib/ULX?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Dark Iron Blade on June 30, 2015, 08:28:29 PM
Thank you!
So earlier this evening I reinstalled gmod along with ULX & URS on my server, and I tried adding some of the restriction commands to my server.cfg file in the cfg directory, with the result that the commands were run during startup and the restrictions worked, but when I just entered them through the xGUI, they weren't saved when the server was restarted.
My other ULX settings were still saved though, so I'm really in the dark about what's causing URS not to be saved after a crash.

Also after starting up the server with several lines of restriction commands in the server.cfg file (they worked) , this is what the output was like in the previously blank restrictions.txt file in garrysmod/data/ulx
Code: [Select]
{"ragdoll":[],"tool":[],"pickup":[],"all":[],"vehicle":[],"advdupe":[],"swep":{"m9k_svu":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_ares_shrike":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_vj_blaster":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_vj_m16a1":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_aw50":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_dragunov":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_intervention":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_hk45":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_usas":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_spas12":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_m92beretta":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_vj_mp40":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_vj_9mmpistol":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_vj_glock17":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_glock":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_honeybadger":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_vj_ak47":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_camo":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_m249lmg":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"weapon_portalgun":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_fg42":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_jackhammer":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_mp7":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"m9k_striker12":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"}},"prop":[],"sent":{"fas2_att_eotech":{"1":"user","2":"operator","3":"admin","4":"superadmin","5":"headadmin","6":"member","7":"moderator"},"fas2_att_mp5k30mag":Honestly I don't understand it, but at least it works  :)
And one more thing I just noticed, that nice little gold shield icon which is sometimes shown in the upper left corner for restricted weapons, It doesn't seem to want to show up for sweps that I restrict.
 I think it's a nice touch, so players don't have to hunt through weapons to find the non-restricted ones, i just wish i could find out how to make it visible :D
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: [CYKG] Crazykid33 on July 02, 2015, 06:50:01 PM
Did not work. It said it succesfully installed but I went to the menu and it was not there. And its not letting me uninstall it. Plz help.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 02, 2015, 10:16:49 PM
And one more thing I just noticed, that nice little gold shield icon which is sometimes shown in the upper left corner for restricted weapons, It doesn't seem to want to show up for sweps that I restrict.
 I think it's a nice touch, so players don't have to hunt through weapons to find the non-restricted ones, i just wish i could find out how to make it visible :D
Yeah, I'm not 100% sure what your original problem is.  I would probably need access to your server to begin even figuring it out.
The whole admin icon thing is actually a pretty good idea.  I think it may be possible for me to do.  I want to get that new version of URS finished soon, I will strongly consider adding this in that or a future update.

Did not work. It said it succesfully installed but I went to the menu and it was not there. And its not letting me uninstall it. Plz help.
Are you using the workshop version?  I need a lot more information to even begin helping you.  Do you get any errors (server-side and/or client-side)?  Do any urs commands work in console (ulx restrict)?  A start up log or anything would help.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Ryan Hemmet on July 03, 2015, 12:08:40 PM
I have a problem on one of my servers, the users are able to spawn in restricted weapons and other things using duplicator and advanced duplicator 2. I was wondering if this could be fixed in a future update.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 06, 2015, 09:14:53 AM
I have a problem on one of my servers, the users are able to spawn in restricted weapons and other things using duplicator and advanced duplicator 2. I was wondering if this could be fixed in a future update.
Already is if I'm not mistaken... that's what I created the "advdupe" category for.  I will, however, be phasing this out in a future update.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Dylan Baldwin on July 08, 2015, 07:32:10 PM
Is URS and stacker still broken ?  :'(  If so does anyone know any addons that i can change props per group and works with stacker!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 08, 2015, 07:40:16 PM
Is URS and stacker still broken ?  :'(  If so does anyone know any addons that i can change props per group and works with stacker!
I actually forgot about that one, it most likely is the way I check props.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Dylan Baldwin on July 08, 2015, 08:34:42 PM
I actually forgot about that one, it most likely is the way I check props.

So, will it ever get fixed ?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 08, 2015, 10:49:19 PM
So, will it ever get fixed ?
Probably not soon, but we will see.  As I've said many times, I'm in the progress of a rewrite.  It should be easy to fix when I get to finishing the rewrite.  It's hard to find time and motivation  especially when I do this for free.  I don't consider myself obligated to finish it, so I do it when I have free time I want to waste on it.  That's the only reason I am taking my time at this point.  No motivation to finish it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: UFP on July 18, 2015, 04:43:06 PM
I have a problem. I don't see any of the list when I click restrictions. Also I accidentally made it so a rank only gets a gun and no physgun etc.. I'd love to know how I fix that.. it's urgent.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on July 18, 2015, 10:01:36 PM
I don't see any of the list when I click restrictions.
What list?  props/sents/vehicles/etc?  or?

Also I accidentally made it so a rank only gets a gun and no physgun etc.. I'd love to know how I fix that.. it's urgent
I would either need your data file(s) or a example/sceenshot of what it is you did.  It sounds like you just gave someone a loadout and didn't give them a physgun, which all you have to do is give them one in the loadout.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 19, 2015, 01:21:55 PM
I feel like I haven't given any updates as to what I've been doing lately.  Over the past couple of months (in-between life of course) I've been working on a good efficient way to modify ALL URS data.  I wanted to make it as easy as possible for not only myself, but others to work with my code.  I have made some pretty good breakthroughs with that over the past few days.  I routed it all through one function making commands to modify data simple.

I have kind of thrown the GUI aside until I figure out exactly how all the background stuff is going to work.  I ended up remaking it multiple times in the beginning because I was constantly changing how everything is handled in the back.  It is almost exactly as it was last seen minus animations to clear clutter.  I plan to make everything available to modify through the GUI.  I will be adding a config and help tab to make things easier.  The config tab will obviously include all configuration options for URS.  The Help page I plan to have open my Wiki page on Github, which will provide you with all the help needed.

When do I plan on releasing this you may be asking?  I honestly have no clue, I work on it when I feel like it (like a hobby).  I have no set schedule for myself, so there will be no ETA.  I feel like I could release a development version soon so people can give me feedback.  It will obviously be limited and will not be able to do everything I have in mind or even some already existing features of URS.  Essentially URS Beta is still URS Beta, but hopefully this will be the final update to it until I consider it a full release.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on August 22, 2015, 06:53:52 PM
sWep restriction can be bypassed by using the creator tool, or middle click. Anyone else notice this?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on August 22, 2015, 09:38:40 PM
sWep restriction can be bypassed by using the creator tool, or middle click. Anyone else notice this?
I guess I haven't updated it much and I'm sure there are updates to gmod that I haven't adjusted URS to.  I do not know when I'll have more time as I'm starting school again on Monday.  I'll look at it as soon as possible and will get it fixed for sure on the new URS update that I mentioned in my last post.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on September 07, 2015, 12:03:51 PM
Okay, we have the latest ULX and URS on our server but for some reason scripted entity restrictions won't work on a specific rank.
Players in this rank can spawn the sents anyway even though they are restricted on this rank with URS.
The only workaround we have right now is to put the entire sents limit to 0 so nobody can spawn them, even owners.

I'm guessing this is a bug in URS that hasn't been fixed with the latest gmod update yet?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on September 07, 2015, 12:15:46 PM
Okay, we have the latest ULX and URS on our server but for some reason scripted entity restrictions won't work on a specific rank.
I'm guessing this is a bug in URS that hasn't been fixed with the latest gmod update yet?
Bug on a specific rank? Possible, but very unlikely.
More likely, group name is different (case-sensitivity), or possibly, an inheritance issue in the groups versus restrictions.
Go to your server console, run "ulx debuginfo" when someone from that group is on your server.
It will tell you a file was created with a path. Go grab that file and attach it (using the link below when you reply "attachments and other options") to your next post.
Additionally, attach your data/ulx/restrictions.txt file from your server.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on September 08, 2015, 11:26:14 AM
The groupname is correct. its "respected".

Here you have the debugdump, restrictions and group file
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 08, 2015, 08:16:51 PM
Code: [Select]
A-A-ron<STEAM_0:0:25464234> spawned sent sent_ball
] ulx restrict sent "sent_ball" superadmin
(SILENT) You restricted sent sent_ball from superadmin
A-A-ron<STEAM_0:0:25464234> spawned/used sent sent_ball -=RESTRICTED=-
"sent_ball" is a restricted sent from your rank.
Not sure what to tell you.  Has to be something weird going on your side of things.

I'm trying to avoid updating anything as I'm almost done with the new version of URS.  It has some bugs left to push out and finish the GUI.  Otherwise, the new URS appears to be running 100 times faster (some fast calculations by me spawning a few things with each).  I'll obviously be releasing it without every feature I want for it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on September 09, 2015, 01:06:20 PM
yea I can't see anything either and I don't know why it won't work.
I removed and reuploaded URS but it doesn't help.

you said that "sent_ball" is apparently restricted from superadmin? it doesn't show up for superadmin on my list, only guest, respected and user.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 09, 2015, 01:31:31 PM
yea I can't see anything either and I don't know why it won't work.
I removed and reuploaded URS but it doesn't help.

you said that "sent_ball" is apparently restricted from superadmin? it doesn't show up for superadmin on my list, only guest, respected and user.
I was only testing with my files.  I guess I just assumed yours was fine since there was no other problems.  I don't see any addons that should be doing anything.  Data files are probably fine.

Give me another day to check things out.  I'm curious if you would be open to me testing on your server at some point?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on September 09, 2015, 03:16:05 PM
I sent you a PM.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on September 09, 2015, 06:46:38 PM
Okay so it was unolimited. I removed it and now URS works as it should.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 09, 2015, 07:32:01 PM
Okay so it was unolimited. I removed it and now URS works as it should.
Thanks for letting me know.  I guess workshop addons don't show up on the debug info.  URS's new version will be capable of unlimited limits.  I could've sworn I added it to URS before, but I guess not.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on September 09, 2015, 08:06:26 PM
I could've sworn I added it to URS before, but I guess not.
Me too.
I've even mentioned to others in this exact thread that URS would likely conflict with the other versions of UnoLimited.
Ah well, glad issue was found.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on September 09, 2015, 09:29:30 PM
it would be amazing to limit other things too that URS don't limit at the moment.
like thrusters, lights, or specific tools per group.

also maybe an easier way to add things like a list to chose the things you want to restrict instead of typing them.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 10, 2015, 10:00:06 AM
it would be amazing to limit other things too that URS don't limit at the moment.
like thrusters, lights, or specific tools per group.

also maybe an easier way to add things like a list to chose the things you want to restrict instead of typing them.
I have intentions to add that, but it will be a later thing.  I want to get the first update with basic stuff out first (new GUI, much faster, cleaner code).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on September 23, 2015, 07:58:55 PM
Quote from: Aaron113
I have intentions to add that, but it will be a later thing.  I want to get the first update with basic stuff out first (new GUI, much faster, cleaner code).
I can't wait for the update, too many people using the M9k nukes with no way for me to stop them..  :-\
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on September 23, 2015, 08:21:06 PM
I can't wait for the update, too many people using the M9k nukes with no way for me to stop them..  :-\
School D:

The summer was just a lack of motivation (still is a bit).  Now I have assignments, presentations, and exams.  I'm almost too busy to get anything done.  That and GUi work is the death of me, it makes me lose motivation so fast.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Simon on October 09, 2015, 03:34:00 PM
How to add cvar limit (textscreen)?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: SoggyWontonz on October 10, 2015, 07:17:56 AM
I want to make NPC Spawning from the q menu disabled for Users using this. How do I do that?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 10, 2015, 08:24:40 AM
How to add cvar limit (textscreen)?
There is no current way to do this, perhaps when I fully release the new version.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 10, 2015, 08:27:29 AM
Double post because mobile.... :/
I want to make NPC Spawning from the q menu disabled for Users using this. How do I do that?
You need to use the "all" restriction.  This restricts all of a given type.  This will become easier (in the new version).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: SoggyWontonz on October 10, 2015, 08:35:22 AM
Double post because mobile.... :/You need to use the "all" restriction.  This restricts all of a given type.  This will become easier (in the new version).

Thanks so much!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: SoggyWontonz on October 10, 2015, 08:36:24 AM
What would be the command or thing I replace  with the word "Target"
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 10, 2015, 08:50:27 AM
ulx restrict all ragdoll user

That should get the job done.  Just add each usergroup you want.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: SoggyWontonz on October 10, 2015, 09:06:11 AM
ulx restrict all ragdoll user

That should get the job done.  Just add each usergroup you want.

THANK YOU SO MUCH! IVE BEEN TRYING TO FIX IT FOR LIKE 6 HOURS!!!!!!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: SoggyWontonz on October 10, 2015, 09:48:19 AM
Ok, I want it so that users cant spawn NPCs but can kill the NPCS which are spawned by admins.
What is the command or way to do this?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on October 10, 2015, 11:16:01 AM
Ok, I want it so that users cant spawn NPCs but can kill the NPCS which are spawned by admins.
What is the command or way to do this?
Sounds like some kind of damage protection with your prop protection.  Doesn't sound like something with URS.  Sorry, the website wasn't loading or I would've posted sooner.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: .overflow? | CSGORumble.com on October 18, 2015, 10:44:33 PM
Hello, I want to restrict user from being able to use TDM cars, so how do I select the whole group instead of adding them one by one. Plus if you were adding them one by one how would you do it? Any help would be much appreciated. I essentially want to restrict all TDM cars from user just so VIP and above can use them.

EDIT:
Is there any way to stop the use use m9k specialities? :P
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on November 08, 2015, 04:30:03 AM
any news about an update for URS?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: WispySkies on November 09, 2015, 01:32:38 PM
Hello, I want to restrict user from being able to use TDM cars, so how do I select the whole group instead of adding them one by one. Plus if you were adding them one by one how would you do it? Any help would be much appreciated. I essentially want to restrict all TDM cars from user just so VIP and above can use them.

EDIT:
Is there any way to stop the use use m9k specialities? :P
Spawn in all the m9k specialties (I use them too, it's fun :D) and in your console (assuming you have spawn logs on for admins) take the m9k_STUFF and go to Restrictions, Sweps, and then select your user and type m9k_STUFF. Stuff is just what appears, not everything. I would also recommend restricting the entity(prop thing, ammo, something don't hate) m9k_ammo_nuke which when hit with a crowbar 10 or so times it Davy Crocketts the world. Same thing with the cars, but if it's a prop, or whatever, be sure to restrict it in the right category.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 09, 2015, 02:29:24 PM
any news about an update for URS?
The update pretty much consists of me finishing the GUI, then a few minor tweaks to the core of the addon.  With school and everything else where it is at right now, it is lower on the priority list.  Keep in mind that when I release the new version, I'm going to keep it in a "dev" branch.  It will not be 100% finished and will still be missing some features I wanted to add.

I'm going to try to aim for a release in December, while I'm on winter break for a month.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bryantdl7 on November 12, 2015, 06:12:49 AM

Double post because mobile.... :/You need to use the "all" restriction.  This restricts all of a given type.  This will become easier (in the new version).
I feel it is plenty easy now.

Side note; a buggy addon was making restrictions not work for me. So if you were looking into how to fix that then don't worry.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 12, 2015, 07:07:47 AM
I feel it is plenty easy now.

Side note; a buggy addon was making restrictions not work for me. So if you were looking into how to fix that then don't worry.
Im not surprisef, lots of addons like to conflict with URS, it's just something I have to keep working on.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on November 12, 2015, 02:19:38 PM
yea do not use it together with unolimited for example. it will mess up the restrictions.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 12, 2015, 09:19:25 PM
Wow!  Just felt like sharing this.  Changing ONE SINGLE function in the new URS, just a small change, is the difference between checking 50 entities per second to 33,000 entities per second.  That was just mind blowing to me.  I was trying to find a way to make the function easier to understand and use and it ended up being HORRIBLE.  I'm lucky I noticed the speed difference before I moved on.

EDIT:  Small update... I believe just the loadout GUI remains to finish.  Then I would be comfortable with releasing a "dev" version of the new URS.  It definitely does not contain all I want to add quite yet and it is not 100% polished, but it will get there in time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on November 15, 2015, 03:12:44 PM
Welcome back to gmod aaron
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 15, 2015, 09:37:34 PM
Welcome back to gmod aaron
I'm trying to tell if that is sarcastic or not.  But, I have been around gmod just not a lot.  I haven't really kept up on much in gmod for like 3 or 4 years.  Now I just place once in a while on a random server I pick out.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on November 16, 2015, 02:59:48 PM
Anyone welcoming you back is serious.
We're glad you're back to coding one of your bigger projects, updating URS.
The fact coding G-Lua every 3-4 years is, in and of itself, like learning a new programming language every 3 or 4 years.
It is a self serving automatic sarcasm feature whether the original poster intended it or not. :)

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on November 17, 2015, 06:45:24 PM
I'm trying to tell if that is sarcastic or not.  But, I have been around gmod just not a lot.  I haven't really kept up on much in gmod for like 3 or 4 years.  Now I just place once in a while on a random server I pick out.

I was actually being serious. You were dead for the last few years, it wasn't until like May of this year that you had pretty much fully returned. I just hadn't said anything until now.

Anyone welcoming you back is serious.
We're glad you're back to coding one of your bigger projects, updating URS.
The fact coding G-Lua every 3-4 years is, in and of itself, like learning a new programming language every 3 or 4 years.
It is a self serving automatic sarcasm feature whether the original poster intended it or not. :)

Indeed, our beloved JamminR is correct. I thought URS was as well dead. As for the last bit he said, sarcasm is a feature I don't play too much apart of, though the occasional troll here and there is something I do, do, just not here most of the time.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: nex86 on November 18, 2015, 08:21:19 AM
More sbox cvar limits would be awesome, like wiremod limits or the rest of the gmod limit?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 18, 2015, 09:02:05 AM
it wasn't until like May of this year that you had pretty much fully returned. I just hadn't said anything until now.
That's what I thought heh.  I was like... I've been kinda half way back for months.  It's just phases, I like to mix it up.

More sbox cvar limits would be awesome, like wiremod limits or the rest of the gmod limit?
Good idea, I'll look into it.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: theGoldTrigger on November 25, 2015, 02:07:35 PM
Is there a way I could print the limit of a category to say a hud?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on November 25, 2015, 03:13:58 PM
Is there a way I could print the limit of a category to say a hud?

Assuming URS is old school, and uses flat files in the DATA folder, then you can have server side grab the cvar's set data from the file, and move it client side to a HUD.

Though I don't know too much about cvar's though, and you might be able to actually grab that cvar data from a command that garry's mod has, like:

Code: Lua
  1. local whatever_cvar_name_is = GetConVar( "wire_lights" )
  2. print( whatever_cvar_name_is:GetInt() )

I don't know if cvars are client or server though, I lack that information on them, but you can try to see if the above command would work for you.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: theGoldTrigger on November 25, 2015, 03:20:13 PM
Assuming URS is old school, and uses flat files in the DATA folder, then you can have server side grab the cvar's set data from the file, and move it client side to a HUD.

Though I don't know too much about cvar's though, and you might be able to actually grab that cvar data from a command that garry's mod has, like:

Code: Lua
  1. local whatever_cvar_name_is = GetConVar( "wire_lights" )
  2. print( whatever_cvar_name_is:GetInt() )

I don't know if cvars are client or server though, I lack that information on them, but you can try to see if the above command would work for you.

Gmod has a way of doing this in the form of :
Code: [Select]
cvars.Number( "sbox_maxprops" )which is what I'm using however, this inserts the original server side value and not the one set in urs :(
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on November 26, 2015, 12:43:47 AM
Gmod has a way of doing this in the form of :
Code: [Select]
cvars.Number( "sbox_maxprops" )which is what I'm using however, this inserts the original server side value and not the one set in urs :(

huh, weird. Wait for aaron to say something, he knows this best.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 26, 2015, 07:20:43 AM
Is there a way I could print the limit of a category to say a hud?
Uh, you would have to check to see if URS has the limit first.  You can do that through XGUI's data.  The table is xgui.data.URSLimits.  After that you would have to check default limit.  I would make a function that does this so you can just call one function.  There is no built in URS function in this version.  However, in the future version I have included one, but it could use some fine tweaking for this specific situation.

You can see my serverside code for checking here (do keep in mind you have to change it to use the above mentioned table):  https://github.com/Aaron113/urs/blob/master/lua/ulx/modules/urs_server.lua#L74-L85

EDIT: 800th post... WHOO!
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: theGoldTrigger on November 26, 2015, 03:00:14 PM
Could I run it like this if every usergroup had a set limit?

Code: [Select]
LocalPlayer():GetCount( "props" ) .. "/" .. xgui.data.URSLimits["prop"][LocalPlayer():GetUserGroup()]
EDIT: It works... however, when I first load into the game I get lua errors saying: "prop" is a nil value. This goes away after a few seconds. My guess is that the table isn't getting initialized until I spawn. How could I make the table initialize before I completely load in?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Bite That Apple on November 27, 2015, 01:35:48 AM
You can most likely fix that by doing this:

Code: [Select]
if xgui != nil then
LocalPlayer():GetCount( "props" ) .. "/" .. xgui.data.URSLimits["prop"][LocalPlayer():GetUserGroup()]
end
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 27, 2015, 08:29:54 AM
Could I run it like this if every usergroup had a set limit?

Code: [Select]
LocalPlayer():GetCount( "props" ) .. "/" .. xgui.data.URSLimits["prop"][LocalPlayer():GetUserGroup()]
EDIT: It works... however, when I first load into the game I get lua errors saying: "prop" is a nil value. This goes away after a few seconds. My guess is that the table isn't getting initialized until I spawn. How could I make the table initialize before I completely load in?
You have to check to make sure all the tables exist before trying to access them.  Otherwise you will get errors.  And this won't work for people who don't have limits.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: theGoldTrigger on November 27, 2015, 01:12:48 PM
Managed to make it work with a simple check
Code: [Select]
if xgui.data.URSLimits["prop"] then
Thanks bob ;-;
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 on November 27, 2015, 10:16:30 PM
Managed to make it work with a simple check
Code: [Select]
if xgui.data.URSLimits["prop"] then
Thanks bob ;-;
Might want to see if the usergroup one exists as well.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: theGoldTrigger on November 28, 2015, 12:24:14 AM
I'm a little lost what do you mean?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: BlitherLlama on February 24, 2016, 04:52:42 AM
where do i put the file?
Title: URS Mass Restrict
Post by: Walter Jordan 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.
Title: Re: URS Mass Restrict
Post by: The Asian Aimbot 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
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Walter Jordan 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?
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Aaron113 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).
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: The Asian Aimbot on May 28, 2016, 04:10:18 PM
Can you teach me your resurrection trick? I keep having trouble.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Andriiucha 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]
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LilPeep 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 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
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR 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?

Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: LilPeep 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.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR 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)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: xPaco1337 on October 20, 2018, 09:09:05 AM
Well how do I restrict adv dupe only for Trusted,VIP etc..I tried to go in !menu,URS then I have advdupe and when I select in groups Trusted for example I get this message in chat

"Command "ulx restrict", argument #1: invalid string"

(https://i.imgur.com/8twhI89.png)
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: DaisyEseyad on October 07, 2019, 07:07:58 PM
I am trying to get the maximum amount of props/vehicles/etc to show up on a hud so the players know what their limit is. I have done this with flying colors with Unolimited, but the server I am working on uses this more advanced URS addon. The problem is that I am finding this task to be impossible. I cannot find a working way to get these limits as the limits themself are server-side. I tried this xgui method as well but it's got a big issue.

Code: [Select]
if xgui.data.URSLimits.prop then
maxprops = xgui.data.URSLimits.prop[LocalPlayer():GetUserGroup()]||cvars.Number("sbox_maxprops",0)
else

The only time this actually works is when the client user has permission to EDIT the limits, something only ADMINS can do. I hope you can see the problem now. Maybe this has been fixed in a recent version, maybe it really is impossible, maybe i missed something. Can someone help steer me to the right direction? I just want the limit displayed on a hud so people can see.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: JamminR on October 13, 2019, 07:02:40 PM
There are multiple ways to send server data to a client, and many clients use that server data as a HUD.  Use any number of those ways. Ulib even has some created before Gmod created more robust.
Title: Re: URS BETA - A Highly Customizeable Restriction System (or will be)
Post by: Jani [KOR] on July 06, 2020, 10:10:36 PM
Vehicles are not limited. What should I do?
Please tell me how