Poll

Do You Like The New GUI Better?

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

Total Members Voted: 116

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

0 Members and 1 Guest are viewing this topic.

Offline EC

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • ArtZeen -- Poorly updated since of my addiction to gaming!
Re: URestrict
« Reply #315 on: August 23, 2009, 09:32:17 AM »
     - Yeah, there's nothing I can do about that error. That's part of ULib and Megiddo is working on a fix.
Okay!
Megiddo! The worlds faith is in your hands! We belive in you (Not that much.....)
Nothing Like Fresh PHP In The Morning, Aaaaaah...............

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #316 on: August 23, 2009, 03:39:13 PM »
Quote
Megiddo! The worlds faith is in your hands! We belive in you (Not that much.....)
     - I believe in you Megiddo, to the fullest :D
An error only becomes a mistake when you refuse to correct it. --JFK

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

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: URestrict
« Reply #317 on: August 23, 2009, 06:50:54 PM »
I'm in the middle of a cross-country move right now. I drove 1,000 miles today in 15 hours. In short, it'll be a couple days before I can work on a fix. :P
Experiencing God's grace one day at a time.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #318 on: August 24, 2009, 10:46:32 AM »
Revision 4:
*Fixed exclude admins button on the tools tab excluding admins from loadout restrictions instead
*Fixed the exlude button on the tools tab
*Fixed admin randomly getting excluded from loadout restrictions.
An error only becomes a mistake when you refuse to correct it. --JFK

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

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #319 on: August 24, 2009, 10:50:09 AM »
Revision 5:
*Fixed groups being removed from all other tools when adding them to a new tool
An error only becomes a mistake when you refuse to correct it. --JFK

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

JackBauer

  • Guest
Re: URestrict
« Reply #320 on: August 24, 2009, 11:17:29 AM »
Revision 5:
*Fixed groups being removed from all other tools when adding them to a new tool
thanks!

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #321 on: August 24, 2009, 07:30:17 PM »
No problem. Constructive criticism or suggestion are always key in having functional/user friendly script. Please refrain from general phrases in the future like: "It sucks" "Don't work" "Broken" ...ect
You notice as soon as you told me the error, I had it fixed within five minutes of the post.
An error only becomes a mistake when you refuse to correct it. --JFK

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

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #322 on: August 25, 2009, 12:57:25 AM »
I'm using revision 30 at the moment, it works great, but, is it possible that you make a little script to restrict weapons in the loadout? Instead of blocking them?

Because I have a lot of addons which are full of sweps and I don't know any name of these sweps.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #323 on: August 25, 2009, 04:03:55 AM »
Quote
I'm using revision 30 at the moment, it works great, but, is it possible that you make a little script to restrict weapons in the loadout? Instead of blocking them?

Because I have a lot of addons which are full of sweps and I don't know any name of these sweps.
     - I don't understand what your asking me. You want a script to limit what they spawn with, but not limit what they're allowed to use?
An error only becomes a mistake when you refuse to correct it. --JFK

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

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: URestrict
« Reply #324 on: August 25, 2009, 04:27:18 AM »
I think what hes trying to say (i dont understant it either so i could be wrong) that sweps are classed as weapons.. there for cant be spawned... if you see what i mean.

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #325 on: August 25, 2009, 06:26:33 AM »
No, you didn't understand ( both ).

Your script is a white list at the moment.

I would like it to be a black list, because it's very annoying to have to add every weapon like PC Mod, Wire, etc... I just want to block standard weapons.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #326 on: August 25, 2009, 09:56:23 AM »
Yeah, that makes sense now. I'll see what I can do. Probably have to make you a small addon for that specific purpose. I'll look into it tonight.
An error only becomes a mistake when you refuse to correct it. --JFK

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

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #327 on: August 25, 2009, 10:01:51 AM »
Yeah, that makes sense now. I'll see what I can do. Probably have to make you a small addon for that specific purpose. I'll look into it tonight.

Thanks!  :D

Also, while you're there, the plugin is working strangely.

This is my default.txt file :

Quote
"weapon_physgun"
"weapon_physcannon"
"gmod_tool"
"gmod_camera"
"weapon_crowbar"
"laserpointer"
"weapon_buddyfinder"
"remotecontroller"

My default_spawn.txt file :

Quote
"weapon_physgun"
"weapon_physcannon"
"gmod_tool"
"gmod_camera"
"weapon_crowbar"

My trusted.txt file :

Quote
"weapon_physgun"
"weapon_physcannon"
"gmod_tool"
"gmod_camera"
"weapon_crowbar"
"laserpointer"
"weapon_buddyfinder"
"RemoteController"

My groups.txt file :

Quote
"miniadmin"   "trusted"
"builder"   "trusted"
"goldmember"   "trusted"
"respected"   "trusted"
"member"   "trusted"
"heromember"   "trusted"
"operator"   "spectator"

So, when a " player " spawns, the standard group, they have buddy_finder, laser pointer etc... On them, they spawn with them.
My higher ranks players can pick up these weapons, but they don't spawn with them. What's the problem?
« Last Edit: August 25, 2009, 10:13:41 AM by Euphytose »

Offline Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: URestrict
« Reply #328 on: August 25, 2009, 10:33:34 AM »
I don't think it makes them spawn with weapons, only keeps you from getting them.

but you could always edit
Code: [Select]
garrysmod\gamemodes\sandbox\gamemode\init.lua if you running a sandbox server.

Offline Euphytose

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 5
  • I love Lemonade!
Re: URestrict
« Reply #329 on: August 25, 2009, 11:31:49 AM »
It's really strange.

I tried to put the " user " group on trusted, and they had every weapon...
« Last Edit: August 25, 2009, 11:39:40 AM by Euphytose »