ULX

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

0 Members and 4 Guests are viewing this topic.

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 #120 on: March 15, 2015, 01:48:50 AM »
It looks like the group doesn't exist. The error says that it doesn't exist for adding users to.
Post the contents of ulx debuginfo

as well as what you are trying to run in console when you receive this error.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #121 on: March 15, 2015, 09:41:16 AM »
This error happens when i type this in console:


ulx tempadduser Joker Member 2 user

you know what its supposed to do but i does not... HELP!

(Error is in page 8)




Offline simpleee

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #122 on: March 19, 2015, 12:43:55 PM »
Hey MrP.
I need this module for a small small part of my own addon. I'm selling my addon on scriptfodder, and i want to know, if i could include this addon in mine? It would be easier then tell the users that they should download your addon manually. It is really only a small function. I will credit you in all ways i can. I hope, that this is no problem for you.

simpleee

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #123 on: March 19, 2015, 03:23:22 PM »
Hey MrP.
I need this module for a small small part of my own addon. I'm selling my addon on scriptfodder, and i want to know, if i could include this addon in mine? It would be easier then tell the users that they should download your addon manually. It is really only a small function. I will credit you in all ways i can. I hope, that this is no problem for you.

simpleee

I would read this... This is the rules for scriptfodder... You can not use other people's codes just saying for future problems.. If Mr P does say yes then go ahead but just keep these in mind...

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 #124 on: March 19, 2015, 04:03:53 PM »
No. Sorry.
This is ulx/ulib plugin and ulx/ulib is released under a license that prohibits selling.

Sorry.

Offline XxLMM13xX

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: -51
  • New to lua development
    • Twitch
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #125 on: March 19, 2015, 05:45:03 PM »
I fixed the error! I guess you can not have caps in the name... Huh idk

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 #126 on: March 19, 2015, 05:48:58 PM »
I fixed the error! I guess you can not have caps in the name... Huh idk
Update: That's what I did. For this to work properly, you'll need team names that are all lowercase.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline BigBrainAFK

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #127 on: April 11, 2015, 06:32:03 PM »
why no chat command or ulx menu option?

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 #128 on: April 11, 2015, 10:37:23 PM »
why no chat command or ulx menu option?

There's not even chat commands for normal ulx adduser.

Offline Livaco

  • Full Member
  • ***
  • Posts: 133
  • Karma: -37
    • Livaco
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #129 on: April 12, 2015, 03:00:04 AM »
Good addon this was useful for my server. Good job
Here To Help And Be Happy And Help :)

My Website
My Addons
PermaBanV1.0

Quote from:  Livaco on April 12 at 9:10:20 PM
I May Be Dum But Am Still Better Then The Rest

Livaco Products©

Offline BigBrainAFK

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #130 on: April 12, 2015, 05:23:37 AM »
There's not even chat commands for normal ulx adduser.

but you can see the command in the ulx menu and it could be that i am just dumb but i didn't find yours.

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 #131 on: April 19, 2015, 01:33:36 PM »
It's a registered ulx command. It should show up in xgui.

Offline Maniaak?

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #132 on: August 12, 2015, 01:28:10 AM »
Thanks alot for this! Needed it for my server, you know, temporary VIP! ;)

Offline Luk | twitch.tv/doctorluk

  • Newbie
  • *
  • Posts: 40
  • Karma: 12
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #133 on: September 04, 2015, 03:45:23 AM »
Just installed this addon and upon clicking on a player name in the !menu while having "tempadduser" selected, this error pops up:

Code: [Select]
[ERROR] addons/ulx/lua/ulx/modules/cl/xgui_helpers.lua:302: attempt to perform arithmetic on local 'maxvalue' (a nil value)
  1. x_getcontrol - addons/ulx/lua/ulx/modules/cl/xgui_helpers.lua:302
   2. obj - addons/ulx/lua/ulx/xgui/commands.lua:210
    3. func - addons/ulx/lua/ulx/modules/cl/xlib.lua:1098
     4. animQueue_call - addons/ulx/lua/ulx/modules/cl/xlib.lua:1079
      5. func - addons/ulx/lua/ulx/modules/cl/xlib.lua:1098
       6. animQueue_call - addons/ulx/lua/ulx/modules/cl/xlib.lua:1079
        7. animQueue_start - addons/ulx/lua/ulx/modules/cl/xlib.lua:1066
         8. OnSelect - addons/ulx/lua/ulx/xgui/commands.lua:109
          9. unknown - lua/vgui/dlistview_line.lua:94


The menu is not closable after this and is frozen and cannot be closed.
XGUI version 15.6.1, ULX Version 3.70 and ULib Version 2.6
Host of Spielwiese der Erwachsenen, a German TTT Server for adults only.

Offline [SharkRP] [PD] Green Shark

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: TempAdd (v2.4) - Add a user to another group for a set amount of time
« Reply #134 on: January 08, 2017, 05:52:55 AM »
Dosent work waited 1 min and didnt get rank back