Author Topic: Message Printing Twice  (Read 4591 times)

0 Members and 2 Guests are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Message Printing Twice
« Reply #15 on: January 07, 2017, 12:18:02 AM »
Oh.. you might want to make sure that they are in UCL..

ULib.ucl.getUserInfoFromID( sid ) will be nil if there isn't any info for that steamid, so you can't index it.

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 802
  • Karma: 58
Re: Message Printing Twice
« Reply #16 on: January 07, 2017, 08:52:53 AM »
Ah so if they're the 'user' rank they're not considered in UCL?
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Message Printing Twice
« Reply #17 on: January 07, 2017, 09:33:32 AM »
That's correct.

Ucl only registers players who have been given access. All other players fall back into the user group, but it doesn't store them in the table.

Could you imagine how massive the access table would get if every player was added to it?

An Error Has Occurred!

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