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

0 Members and 1 Guest are viewing this topic.

Offline ForeverButthurt

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #90 on: July 29, 2014, 01:23:23 PM »
[ERROR] addons/ulx_tempadduser/lua/ulx/modules/sh/ulxtempuser.lua:87: User id do
es not exist for removing (STEAM_0:1:50239838)
  1. tempfuncremove - [C]:-1
   2. removeUser - addons/ulx/lua/ulx/xgui/server/sv_groups.lua:60
    3. ExpireGroupChange - addons/ulx_tempadduser/lua/ulx/modules/sh/ulxtempuser
.lua:87
     4. fn - addons/ulx_tempadduser/lua/ulx/modules/sh/ulxtempuser.lua:41
      5. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
       6. UniqueID - [C]:-1
        7. query - addons/ulib/lua/ulib/shared/sh_ucl.lua:48
         8. echoToAdmins - addons/ulx/lua/ulx/log.lua:164
          9. fn - addons/ulx/lua/ulx/log.lua:205
           10. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #91 on: August 16, 2014, 03:37:30 PM »
Any way to make it ply:Kill them when their group expires???

Offline Bite That Apple

  • Hero Member
  • *****
  • Posts: 858
  • Karma: 416
  • Apple Innovations 2010®
    • Fun 4 Everyone Gaming
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #92 on: August 17, 2014, 05:18:30 AM »
Any way to make it ply:Kill them when their group expires???

This SHOULD work..
Quote from: John F. Kennedy 1963
A man may die, nations may rise and fall, but an idea lives on.

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #93 on: August 17, 2014, 10:41:23 AM »
This SHOULD work..

This works, thanks alot.

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #94 on: August 23, 2014, 11:23:16 PM »
Don't know if this is still being supported or not; but there's still a recurring problem with ranks not being kept track of in the event of a disconnect/mapchange ie. they keep the rank that was suppose to be temporary.

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 #95 on: August 24, 2014, 12:09:05 AM »
Hollistupid, this add-on is time based, not server session based.
That is, they'll still be in the group you specify until the time is up, no matter when they disconnect/come back.
60 minutes is 60 minutes, no matter when disconnected.
Or are you saying they keep it longer than time you specified?
« Last Edit: August 24, 2014, 12:11:25 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Sir Atom

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #96 on: August 24, 2014, 12:24:00 AM »
For me this didn't take off the rank after specified time, gamemode was darkrp.

Offline Sachha

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #97 on: August 25, 2014, 10:17:42 AM »
User are not VIP randomly when they reconnect to server :/

Offline Hollistupid

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #98 on: August 25, 2014, 04:33:42 PM »
Hollistupid, this add-on is time based, not server session based.
That is, they'll still be in the group you specify until the time is up, no matter when they disconnect/come back.
60 minutes is 60 minutes, no matter when disconnected.
Or are you saying they keep it longer than time you specified?

That's the problem; the time thing seems to work only when they are on the server then it goes back to their original rank but if they disconnect it appears that they keep the rank temporarily given to the,.

Offline minner4068

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #99 on: September 27, 2014, 07:19:44 PM »
is this addon available anymore i cant see the download

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #100 on: September 27, 2014, 07:29:54 PM »
Maybe you should look again.
Out of the Garry's Mod business.

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 #101 on: September 28, 2014, 10:49:51 AM »
I love when people register to say that they couldn't see the download link when all it takes to see the download link is being registered and logged in.

minner4068, now that you have an account and are logged in, take a look at the main post again. You'll see the download link.

Offline Saappari

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #102 on: December 12, 2014, 12:29:36 PM »
Is there any way to add player to specific group without have to set player to group by myself? Like example if I want to set player to admin group and after time is expired then player returns back to user group.

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 #103 on: December 12, 2014, 03:50:06 PM »
From your description, that's exactly what this addon does.
You add someone to admin for a set amount of time.
After that time passes, they go back to original group.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Saappari

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #104 on: December 12, 2014, 04:15:15 PM »
From your description, that's exactly what this addon does.
You add someone to admin for a set amount of time.
After that time passes, they go back to original group.

Yep but there's could be tons of gropus where to pick one but how is it possible to change code pick automatically ex. 'admin' and then back to player's "original" group? Without browsing options.