Author Topic: TempAdd (v2.4) - Add a user to another group for a set amount of time  (Read 97238 times)

0 Members and 6 Guests are viewing this topic.

Offline Garrett

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #60 on: August 29, 2013, 11:35:49 AM »
Say when i use the command it works until times up it jsut leaves them in group...

Offline sabo

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Hello :)
    • The Elite Gaming
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #61 on: August 30, 2013, 12:03:49 PM »
Is there a way to add someone by steamID?

Are you planning to do that?

Offline fopje

  • Newbie
  • *
  • Posts: 10
  • Karma: 2
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #62 on: September 01, 2013, 10:59:35 AM »
I edited mine so it also works with the SteamID (and linux compatible)
if the original creator allows i can post it here

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #63 on: September 01, 2013, 04:16:32 PM »
Feel free

Offline sabo

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Hello :)
    • The Elite Gaming
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #64 on: September 02, 2013, 10:27:40 AM »
I edited mine so it also works with the SteamID (and linux compatible)
if the original creator allows i can post it here

I would love you if you do so!

Offline fopje

  • Newbie
  • *
  • Posts: 10
  • Karma: 2
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #65 on: September 02, 2013, 04:44:43 PM »
Instead of only ulxtempadduser you can also use ulx tempadduserid (so both still work)

Note: if you open the file, the folder /data/ulx/tempuserdata now only got lower cases. This is because I use linux. If your not running linux, change it to the uppercases (if you already got files in it) so it system doesn't bug out.

Offline elppe

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #66 on: September 03, 2013, 03:46:47 AM »
i wont let me download it. help?

Offline fopje

  • Newbie
  • *
  • Posts: 10
  • Karma: 2
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #67 on: September 03, 2013, 06:40:35 AM »

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #68 on: September 03, 2013, 07:14:02 AM »
fopje, I'm looking at your code you posted. Unless I'm mistaken, you can only add a player by steamid if they are currently connected.

I'm not sure that this is what they were asking for.

I have a way to convert SteamID to SteamID64 reliably now so I might add this functionality to my release.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #69 on: September 03, 2013, 08:05:03 AM »
Updated to 2.4

+ Added ability to add players by SteamID Online or Offline.
+ Included Fopje's linux compatibility fixes. Thanks!

Keep me posted on errors or feature requests.

Offline fopje

  • Newbie
  • *
  • Posts: 10
  • Karma: 2
Re: TempAdd (v2.3) - Add a user to another group for a set amount of time
« Reply #70 on: September 03, 2013, 08:06:42 AM »
fopje, I'm looking at your code you posted. Unless I'm mistaken, you can only add a player by steamid if they are currently connected.

I'm not sure that this is what they were asking for.

I have a way to convert SteamID to SteamID64 reliably now so I might add this functionality to my release.

true, I use this for my vip purchase script, it checks if they are in a database upon server join. So there is no eeed for me too add them while being offline.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #71 on: September 03, 2013, 08:15:32 AM »
Good point, it was just a little misleading. Most people who want to add someone by steamid want to do that for offline purposes.

No worries, it's included now.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #72 on: September 03, 2013, 02:44:45 PM »
And this is why I like this community- collaboration at it's finest.
Thanks to all who constructively contribute.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline rainbow Dash

  • Newbie
  • *
  • Posts: 35
  • Karma: -2
  • Owner of Friendship is Gaming Servers
    • Friendship is Gaming
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #73 on: November 05, 2013, 01:26:31 AM »
And this is why I like this community- collaboration at it's finest.
Thanks to all who constructively contribute.
Heh, drinks all round then!

... for those of legal age in their respective countries...
Uhm, whats a signature?

Offline nofear1999

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #74 on: November 14, 2013, 10:07:08 AM »
Strange error, attempted to add a user to operator for 30 days, it changed the time to 100 minutes, and 100 minutes later he was a user again.