ULX

Poll

Do You Like The New GUI Better?

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

Total Members Voted: 116

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

0 Members and 1 Guest are viewing this topic.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #405 on: September 11, 2009, 04:41:19 PM »
Wow. Did Jay Capitalize The First Letter Of Every One Of His Notice And Error Messages?
(Sorry, Couldn't Resist. It's Been A Long Week. TGIF)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #406 on: September 11, 2009, 09:19:50 PM »
HOLY CRAP!!! I have no idea what you or wire or someone did, but Urestrict works totally for me now.  ;D

Offline Ayran

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URestrict
« Reply #407 on: September 12, 2009, 09:13:47 AM »
Hi.
I got a very big bug with URestrict. Always when i re-add it to addons, it gives an new error.
Well first, i could not restrict tools, it dint work. Second time, everytime i clicked "Restrict" on a tool, it open a new URestrict window.
Now, it says "nil" on stuff, and groups dosent show.
I rly need help with this.

- Ayran

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #408 on: September 12, 2009, 09:51:49 AM »
Ayran,
Are you using latest SVN of ULib?
Are you using latest SVN of URestrict?

Please copy and paste the exact error you are getting here.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Ayran

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: URestrict
« Reply #409 on: September 12, 2009, 11:29:03 AM »
Yes, i use lastest SVN Versions.
And i typed my error's in my thread.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: URestrict
« Reply #410 on: September 12, 2009, 01:56:35 PM »
You typed "it says nil on stuff"
Stuff isn't helpful at all. Does it say Nil in the menu?
If it's a console error; The exact error from Gmod server or client will give a line number the error is occuring on.
It will also give the name of the variable that is coming up nil and gives other information that jay or others may be able to help you with.
So, again I ask, please copy paste the exact error.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #411 on: September 12, 2009, 05:05:48 PM »
How would you go about unrestricting the sweps? I have some admin guns I can't use  :-\

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #412 on: September 13, 2009, 09:33:41 AM »
Wow. Did Jay Capitalize The First Letter Of Every One Of His Notice And Error Messages?
(Sorry, Couldn't Resist. It's Been A Long Week. TGIF)
     - Actually yes, IDK why, but it makes it seem more important. Rather than screaming at them with caps locks :P
Quote
How would you go about unrestricting the sweps? I have some admin guns I can't use  :-\
     - Simply add the sweps to the groups you want to be able to use them...
Quote
Now, it says "nil" on stuff, and groups dosent show.
     - Doesn't help one bit.
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 EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #413 on: September 13, 2009, 12:20:32 PM »
Simply add the sweps to the groups you want to be able to use them...
But how would you name them?

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #414 on: September 13, 2009, 02:46:55 PM »
Just use whatever the name of the weapon is. weapon_ak47, weapon_deagle, weapon_tmp, weapon_physgun, weapon_physcannon. Just depends on what the author of the weapon name it. If it's an addon, just look in the addons folder/lua/weapons/ then look at the names of the folders. Those are the names you should 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 EggNoggin

  • Jr. Member
  • **
  • Posts: 50
  • Karma: -6
Re: URestrict
« Reply #415 on: September 13, 2009, 03:53:29 PM »
Thx

Offline Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: URestrict
« Reply #416 on: September 13, 2009, 08:30:15 PM »
I was looking into the files a the other day and it added the same groups up to 3 times in the default weapon group.

and wow it did it to me again.
loadouts
Code: [Select]
"excluded"
{
"admin"
"superadmin"
}
"default"
{
"loadout"
{
"weapon_physgun"
"weapon_physcannon"
"gmod_camera"
"gmod_tool"
}
"groups"
{
"user"
"member"
"vip"
"operator"
"operator"
"superadmin"
"user"
"vip"
"member"
"admin"
"operator"
"superadmin"
"user"
"vip"
"member"
"admin"
}
}
"arena"
{
"loadout"
{
"weapon_smg1"
"weapon_physcannon"
"weapon_shotgun"
"weapon_rpg"
"weapon_pistol"
"weapon_crowbar"
"weapon_357"
}
"groups"
{
"red"
"blue"
}
}

Also even know I'm set to excluded I get this message when I try to spawn weapons
Quote
Sorry, You Can't Use This
I have to right click to spawn them.
maybe should have not said last part Already said it!

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #417 on: September 14, 2009, 02:34:22 PM »
The reason you can't spawn the weapons, is because superadmin is in the default loadout as well.
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 Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: URestrict
« Reply #418 on: September 14, 2009, 11:00:02 PM »
1. even after I take admins/superadmins out of the default loadout and the dupes and save, start server I still get the problem I cant spawn weapons unless I right click them.
2. why do the dupes keep coming back every now and again?
3. note how it said red and blue are under arena, shows default still ingame...

I dont know I might have to just take a brake from Gmod for a bit, give it about a month and try again. maybe redo my server 100% fresh in hops to not have this problem anymore.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #419 on: September 15, 2009, 01:45:00 PM »
Right click is how you spawn weapons. As for the dupes, I don't have a clue, this is not happening to me.
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