Author Topic: ulx adduserid  (Read 10890 times)

0 Members and 1 Guest are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
ulx adduserid
« on: December 04, 2007, 09:47:49 PM »
This was something I whipped up by modifying the adduser command that allows you to add a user to your server who is not currently connected at the time.

ulx adduserid <name> <group> <STEAM_ID> [<Immune?>]

It is extremely important that you put in the steamID correctly because the script cant tell if it is valid or not. If this doesnt work for you, you probably put in the wrong SteamID. I tested this script on my server, so I know it works  ;D ;D ;D

Practical Use of this...
John Smith registers for your community and you promote all community members to "member" rank.
John Smith is not on your server right now, but you'd like him to be a member next time he connects.
John Smith gave you his SteamID in his registration post/application which is STEAM_0:0:1234567
ulx adduserid "John Smith" member STEAM_0:0:1234567

Bam.. next time he connects, he'll be member! =)


I pretty much requested this because it was something I felt like I would get great use out of, but Meg and Jam didn't think it was such a hot idea because of its potential for flaw (the human factor) and told me it wasnt going to happen. So here you go! Now everyone is happy.

Thanks to Meg and Jam who helped me with this too...


edit: As of revision 159 this is included in ULX, so I have removed the download link. Also, if you update your ULX please remove this module from your ulx folder so that there is no conflict.
« Last Edit: April 05, 2008, 06:26:52 PM by MrPresident »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ulx adduserid
« Reply #1 on: December 04, 2007, 09:49:27 PM »
Very good work zakap!
Experiencing God's grace one day at a time.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ulx adduserid
« Reply #2 on: December 04, 2007, 10:13:09 PM »
Fixed the echo problem. Now it functions exactly like adduser and will show in game and in console when you add someone.
-Thanks Megiddo for the fix =)

Offline ShaRose

  • Newbie
  • *
  • Posts: 6
  • Karma: 2
Re: ulx adduserid
« Reply #3 on: December 06, 2007, 08:27:49 PM »
Would you be peeved at me if i wanted to combine this to UPA? It just seems so natural.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ulx adduserid
« Reply #4 on: December 06, 2007, 10:36:03 PM »
go right ahead =)

Offline nofear1999

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Re: ulx adduserid
« Reply #5 on: February 07, 2008, 08:23:33 AM »
Nice Mr.P I plan on using this for my -[ERP]- Clan thanks this is HOT!

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ulx adduserid
« Reply #6 on: February 07, 2008, 08:45:35 AM »
yeah, it comes in handy =)

Offline nofear1999

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
Re: ulx adduserid
« Reply #7 on: February 07, 2008, 06:34:03 PM »
yeah seems like it, my hosts ftp keeps crashing, a hacker keeps doing 50 login attempts, anyways ima put it on my friends server [BFD]Smurfya's{cp-killas}.Well keep up the releases mr p

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: ulx adduserid
« Reply #8 on: April 05, 2008, 06:29:01 PM »
Included in rev.159. Please remove this module from your ulx folder so that there is no conflicts.
(Only remove it if you are using the SVN (rev. 159 or later) of ULX.