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 483951 times)

0 Members and 4 Guests are viewing this topic.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #150 on: July 12, 2009, 08:49:07 PM »
Ok, looked into your "error" with a little more detail, and it appears your using this addon:
http://www.garrysmod.org//downloads/?a=view&id=58283

And after looking into the addons lua/weapons folder I realized you missnamed all the weapons, hence the errors.
Weapon names are exactly the same as the names of the folder here:
...\addons\RCS\lua\weapons
EX:
Code: [Select]
"weapon_physgun"
"weapon_physcannon"
"gmod_tool"
"gmod_camera"
"weapon_crowbar"
"weapon_stunstick"
"weapon_ar2"
"weapon_frag"
"weapon_crossbow"
"weapon_alyxgun"
"weapon_pistol"
"weapon_rpg"
"weapon_shotgun"
"weapon_smg1"
"weapon_slam"
"rcs_deagle"
"rcs_elites"
"rcs_57"
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 Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: URestrict
« Reply #151 on: July 13, 2009, 06:46:07 AM »
Hi,
I checked the addons folder and just to confirm I am using this addon: http://www.garrysmod.org/downloads/?a=view&id=62657 rather than the "RCS" addon.
I have checked the ...\addons\CSS Realistic Weapons 4.0\lua\weapons
Screenshot:
http://img6.imageshack.us/img6/7986/picturek.png

I believe i am using the right names =/

Console code
Code: [Select]
] ulx ent weapon_real_cs_p90   //This spawned a weapon which I could not pick up but shows that i have named the weapons correctly.

Code: [Select]
] ulx ent weapon_mispeltweaponname    //This obviously didint spawn a weapon and returened an error
Attempted to create unknown entity type weapon_mispeltweaponname!    //Error Returned

I don't know what to do from here on. Is anyone else having these problems when adding custom non HL2 weapons?

Offline bennie900

  • Jr. Member
  • **
  • Posts: 75
  • Karma: 5
Re: URestrict
« Reply #152 on: July 14, 2009, 04:06:32 AM »
I have recived a new error. This happens when I join the server in the console.

Code: [Select]
[ULIB] Loading CLIENT module: urestrict_cl.lua
[ULIB] Loading CLIENT module: urestrict_help.lua
Warning: Unhandled usermessage 'URestrict_Tools'
Warning: Unhandled usermessage 'URestrict_Tools'
Warning: Unhandled usermessage 'URestrict_Loadouts'
Warning: Unhandled usermessage 'URestrict_Loadouts'
Warning: Unhandled usermessage 'URestrict_Loadouts'
Warning: Unhandled usermessage 'URestrict_Loadout_Groups'
Warning: Unhandled usermessage 'URestrict_Loadout_Groups'
Warning: Unhandled usermessage 'URestrict_Loadout_Exclusions'
Warning: Unhandled usermessage 'URestrict_Loadout_Loadout'
Warning: Unhandled usermessage 'URestrict_Loadout_Loadout'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'
Warning: Unhandled usermessage 'URestrict_All_Groups'

When I go to type "URestrict" to bring the menu up it says "Unknown Command"

Code: [Select]
] URestrict
Unknown Command: 'URestrict'

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #153 on: July 14, 2009, 10:45:43 AM »
I have recived a new error. This happens when I join the server in the console.

Code: [Select]
[ULIB] Loading CLIENT module: urestrict_cl.lua
[ULIB] Loading CLIENT module: urestrict_help.lua
Warning: Unhandled usermessage 'URestrict_Tools'...'

When I go to type "URestrict" to bring the menu up it says "Unknown Command"

Code: [Select]
] URestrict
Unknown Command: 'URestrict'


What revision are you running?
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 #154 on: July 14, 2009, 01:40:00 PM »
27, the latest, but I have reverted back to 25 for now.

Offline Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: URestrict
« Reply #155 on: July 14, 2009, 03:04:39 PM »
27, the latest, but I have reverted back to 25 for now.
Lucky you, Version 25 doesn't work for me either.
Had to just exclude all groups from loadout restrictions.. :(


Any luck in figuring out whats causing my loadout errors yet?

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #156 on: July 14, 2009, 07:22:34 PM »
Quote
Any luck in figuring out whats causing my loadout errors yet?
     - Working on that now.
Quote
27, the latest, but I have reverted back to 25 for now.
     - You should stick with the latest version.
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 #157 on: July 14, 2009, 08:03:45 PM »
Jethro, I tested it with the addon you showed you had, and with your configurations you had set for URestrict, and I did not get those errors. I spawned with the weapons as I should. Do you have CS:S installed in your steam and on your server, unless you are running it in single player or a listen server, then just steam?

Bennie, the only thing I can suggest is to check your server console for more errors pertaining to URestrict, or delete URestrict and install a fresh copy with svn.
« Last Edit: July 14, 2009, 08:42:35 PM by jay209015 »
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 Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: URestrict
« Reply #158 on: July 15, 2009, 11:54:31 AM »
Jethro, I tested it with the addon you showed you had, and with your configurations you had set for URestrict, and I did not get those errors. I spawned with the weapons as I should. Do you have CS:S installed in your steam and on your server, unless you are running it in single player or a listen server, then just steam?
Both me and my server has the CSS game intergrated but the pack doesn't work on either single player or on rented server. I suppose ill have to stick to HL2 weapons for now. Thanks for taking a look anyway :p

Jet

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #159 on: July 15, 2009, 12:36:42 PM »
Quote
Both me and my server has the CSS game intergrated but the pack doesn't work on either single player or on rented server. I suppose ill have to stick to HL2 weapons for now. Thanks for taking a look anyway :p
     - I really wish I could figure out what it was causing that conflict, but I can't think of anything unless the weapons aren't initializing before URestrict. Have you tried respawning and see if it spawns you with the weapons then?
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 Jethro

  • Newbie
  • *
  • Posts: 45
  • Karma: 1
Re: URestrict
« Reply #160 on: July 15, 2009, 01:11:11 PM »
     - I really wish I could figure out what it was causing that conflict, but I can't think of anything unless the weapons aren't initializing before URestrict. Have you tried respawning and see if it spawns you with the weapons then?
Yes I have tried slaying myself and that doesn't give you the defined weapons either.

Offline wishbone

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
Re: URestrict
« Reply #161 on: July 15, 2009, 01:27:55 PM »
Could be the no pickup hook.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: URestrict
« Reply #162 on: July 15, 2009, 09:36:01 PM »
Quote
Could be the no pickup hook.
     - Nope, it's saying the entities don't exist when he spawns. He can pick them up just fine.
Quote
Yes I have tried slaying myself and that doesn't give you the defined weapons either.
     - That's just weird, since the ulx ent command works =/
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

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given