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

0 Members and 8 Guests are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #60 on: July 04, 2011, 08:28:36 AM »
I have found an error.

The image is attached.

I did not add restrictions multiple times.
« Last Edit: July 07, 2011, 09:36:45 AM by HeLLFox_15 »
I cry every time I see that I am not a respected member of this community.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #61 on: July 04, 2011, 09:33:01 AM »
Just upload it to another site such as Imageshack?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #62 on: July 04, 2011, 09:33:40 AM »
You can even upload it to the forum!
Experiencing God's grace one day at a time.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #63 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.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #64 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.
I cry every time I see that I am not a respected member of this community.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #65 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)."

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #66 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.)

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #67 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.
I cry every time I see that I am not a respected member of this community.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #68 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.

Offline krooks

  • Sr. Member
  • ****
  • Posts: 382
  • Karma: 32
  • I don't like video games.
    • Diamond Krooks
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #69 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
My TTT server. Join the fun!

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #70 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.
« Last Edit: July 06, 2011, 03:07:46 PM by Aaron113 »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #71 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.
« Last Edit: July 06, 2011, 04:07:46 PM by Aaron113 »

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #72 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.
« Last Edit: July 07, 2011, 09:21:55 AM by Aaron113 »

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #73 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?
I cry every time I see that I am not a respected member of this community.

Offline Aaron113

  • Hero Member
  • *****
  • Posts: 803
  • Karma: 102
Re: URS BETA - A Highly Customizeable Restriction System (or will be)
« Reply #74 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.)
« Last Edit: July 07, 2011, 09:25:30 AM by Aaron113 »