Author Topic: Player Auth Problem  (Read 2436 times)

0 Members and 2 Guests are viewing this topic.

Offline TehBigA

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Player Auth Problem
« on: November 18, 2008, 10:16:04 AM »
So, I'm working on this gamemode, but ucl/ulx seems to be causing players to not recieve usergroups. I would like to continue using ucl/ulx to do so but I need to find the bug. I've looked and could not find it, or I'm blind. Could you tell me where the UserGroup value is set from ucl? Thanks

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Player Auth Problem
« Reply #1 on: November 18, 2008, 05:00:43 PM »
Hi Big, ltns. Good to see ya.
I'm not exactly sure what you're asking.
Are you wanting the exact code bits?
Or the functions? Or the tables?

Might try by looking at our documents, shared UCL.
Perhaps http://ulyssesmod.net/docs/files/lua/ULib/shared/sh_ucl-lua.html might get you started in the right direction.

Give us some more detail if that doesn't help.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline TehBigA

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Player Auth Problem
« Reply #2 on: November 18, 2008, 09:57:35 PM »
Ok I see why it's not working for me, ucl doesn't rely on NetworkedString to set the group like the original sandbox. I'll make it do a check for ulib and if it exists it will use that method.

I don't know why I couldnt find that file!

Thanks!

Offline TehBigA

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: Player Auth Problem
« Reply #3 on: November 19, 2008, 10:41:53 AM »
Yup, got it working, thanks again. In the case of ULib existing I just took the first index from Player:GetGroups()