ULX

Author Topic: ULX 2.01 and Ulib 1.01 need help ...  (Read 3712 times)

0 Members and 1 Guest are viewing this topic.

Offline Insane Fox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
ULX 2.01 and Ulib 1.01 need help ...
« on: August 11, 2006, 06:20:46 PM »
Hey all ... I know i am really noob but i need help with ulx, i have already installed ulx and Ulib too... but i cant still know how Users.ini work ... i want add myself as admin on listen server ... i have already read so many tutorial etc... but still dont know how it work ... si i have added my steamID STEAM_0:1:6092311  with nothing only ID
in the users.ini but i want to know what is "access flags" and "account flags" if i remove the // before ... will my ID (myself) should have access to those "flag"(dont know what it mean" :-\ ) or do i need to do the same thing as admin account exemple ? beceause there is a format (// Format of admin account:
// "<name|ip|steamid|clantag|steamlogin>" "<password>" "<access flags>" "<account flags>")
does i replace to  "<Insane Fox|189.163.0.100|snip3r_2003 or STEAM_0:1:6092311 ??|{bE}|snip3r_2003>" "**********" "should i put the access flags i want ? like "a" "b"...?" "....?" and after i remove // or ... am i a total noob ?  :'(

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX 2.01 and Ulib 1.01 need help ...
« Reply #1 on: August 11, 2006, 07:51:26 PM »
Yes. It seems you're a total noob.  :-X
:P

Following = for Ulib 1/ULX v2

First... // = COMMENTED OUT. Just like the file says. COMMENT = IGNORED BY ULIB. Good only for comments about your additions.

From the fine lua/Ulib/users.ini are three common examples.
Quote
// Account flags:
// a - this is a playername
// b - this is a clan tag (partial playername)
// c - this is a steamid
// d - this is an ip
// e - this is a steam login (the username they log into steam with)
// f - disconnect player on invalid password (gives them 30 seconds to enter one, by default)

// Password:
// When asked for the password, use "_pw <password>" in console

// Format of admin account:
// "<name|ip|steamid|clantag|steamlogin>" "<password>" "<access flags>" "<account flags>"

// Examples of admin accounts:
// "STEAM_0:0:123456" "" "abcdefghijklmnopqrstuv" "c"
// "123.45.67.89" "" "abcdefghijklmnopqrstuv" "d"
// "My Name" "my_password" "abcdefghijklmnopqrstuv" "a"

The "|" in format means OR (as it also does in thousands of other scripting languages). So, you can't use all of them together at the same time.
So, if you wanted to use JUST your playername, which would prevent you from becoming admin if you ever use any other, and would also require your password using _pw once you joined, you would use
As stated in quote above, account type = A = Player name

"Insane Fox" "SET THIS PASSWORD OR ANYONE USING Insane Fox GETS ADMIN" "abcdefghijklmn" "a"
Anyone who joined with that nickname, and didn't send the password using _pw password , would get kicked after 30 secondsif you also used "af" at the end instead of "a".
OR
If you wanted to run a clan, with all members using same password, and clan tag being "bE"
"bE" "SET THIS PASSWORD OR ANYONE USING bE GETS ADMIN" "access letters you choose" "b"
(I've not ever tested this to know if Megiddo wrote it to ignore brackets. They often have to be escaped out using \, unless you want to test it, just use "bE"
OR
"STEAM_0:1:6092311" "" "access levels a-n" "c"
Not as dangerous to leave the password spot blank there, unless you feel your Steamid will be stolen.
(With Facehook and other idiot lua worm writers on the loose, never can be too safe)
OR
"189.163.0.100" "" "access levels a-n" "d"
I don't recommend this unless you have a static ip address. I also recommend filling the password spot ""
OR
I presume snip3r_2003 is your Steam login username.
"snip3r_2003" "Steam_password" "access levels a-n you want" "e"
This will attempt login to Steam using your login, and password supplied there.
If it fails, you don't get admin.

You could give your clan different access than you.
Just figure out which you wish to use, then add it in. I'm not sure whether you'd have to add it before the be/b account type, or after in the file. I'm sure one will probably overwrite the other.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Insane Fox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX 2.01 and Ulib 1.01 need help ...
« Reply #2 on: August 12, 2006, 02:25:10 PM »
Ok ... so...if i know correctly ... example ... i want made me as admin on a dedicated server... then i go on Ulib/users.ini then ... (so account flags mean example "a" = my name, my password,(access flags example "m" mean i got player control that's right ?),then account flags ... mean i take this format: my name, my .... am i right for now ? so after this i put my name and other things like that without the "//"

"Insane Fox" "MY!_password ;) " "there is the prob ... if i put abcdefghijklmn... will i have access to those all ?i think yes" "a" what "a" mean ? does it mean i take this account type("my name" "my password"....) so this account type = "a" wich mean the server will recongnise me as Insane Fox and then it will ask me my pass ? so then i will type _pw password in console and it will grant me all access i asked for...right ?  :-\
« Last Edit: August 12, 2006, 02:26:49 PM by Insane Fox »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX 2.01 and Ulib 1.01 need help ...
« Reply #3 on: August 12, 2006, 02:43:16 PM »
Yes, m would mean you have player control
Since you are server admin, give your self all of them.
"abcdefghijklmn"

"1" "2" "abcdefghijklmn" "3"

Spot 3 is account flag, which tells you what you need in spot 1.
Spot 2 is password. Depending on what you use with spot 3 and 1, depends on whether you should use a password. I recommend passwords for all account flags except for C.
Quote
// Account flags:
// a - this is a playername
// b - this is a clan tag (partial playername)
// c - this is a steamid
// d - this is an ip
// e - this is a steam login (the username they log into steam with)
// f - disconnect player on invalid password (gives them 30 seconds to enter one, by default)
a is your nickname as it appears in game
b is a small part of your name, intended for clans.
c is your steamid
d is an ip address. If someone joins using that ip address, they get admin. If you don't have static ip, it might not match.
e is your steam login name, case sensitive. Password in spot 2 required.

Quote
"Insane Fox" "MY!_password Wink " "there is the prob ... if i put abcdefghijklmn... will i have access to those all ?
YES
Quote
o this account type = "a" wich mean the server will recongnise me as Insane Fox and then it will ask me my pass ?
I'm not sure it asks, but to get admin, yes, you'd have to use _pw yourpassword in console. if you used account type "af", it would kick you after 30 seconds if you didn't type in _pw yourpassword in console.



"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Insane Fox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX 2.01 and Ulib 1.01 need help ...
« Reply #4 on: August 13, 2006, 02:56:10 PM »
Thank you BUT really thank ... my ulx still work very good :) and i am an admin so ... t i think this thread could help big noob like me :) thank you again :o ;D

Offline nielscorn

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: ULX 2.01 and Ulib 1.01 need help ...
« Reply #5 on: May 05, 2007, 03:47:12 PM »
sure helpt me thanks :)