Author Topic: Urestrict is not working properly  (Read 1901 times)

0 Members and 1 Guest are viewing this topic.

Offline scfanatic

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Urestrict is not working properly
« on: May 17, 2010, 09:15:20 AM »
Hi every time i join the server and attempt to access Urestrict the server's rcon receives the error:
ERROR: Hook 'ur.syncClient' Failed: Ulib/modules/URestrict.lua:96: attempt to call field 'getAllLoadedPlayers' (a nil value)
Removing Hook 'ur.syncClient'
Ulib/modules/URestrict.lua:96: attempt to call field 'getAllLoadedPLayers' (a nil value)

resulting in the loadouts in the URestrict gui to not show/create. Also the gui displays Loadouts Enabled:nil and Exclude Admins:nil. Any help with fixing this error?

Thanks
--
Conner T
« Last Edit: May 17, 2010, 09:22:23 AM by scfanatic »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Urestrict is not working properly
« Reply #1 on: May 17, 2010, 10:36:40 AM »
Oops sorry jay didn't realize you were using that function. It's not necessary anymore, just pass in nil instead.
Experiencing God's grace one day at a time.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: Urestrict is not working properly
« Reply #2 on: May 17, 2010, 01:17:03 PM »
Oops sorry jay didn't realize you were using that function. It's not necessary anymore, just pass in nil instead.
     - Lol, all good. The only bad thing is, I don't have my commit info anymore.
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