ULX

Author Topic: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)  (Read 7393 times)

0 Members and 1 Guest are viewing this topic.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Decided to make a quick port of the old ULX builder to this new version that works with Ulib.

Walks you through making a users.ini, with full directions, including:
  • SteamIDs, Playernames, Clan Tags, IPs, and Steam Logins
  • Account Flags
  • Passwords
  • Access Levels
Very helpful for those of you with access problems.
Enjoy!

http://ulyssesmod.net/gd/builder2.html
« Last Edit: December 18, 2006, 07:00:54 PM by Golden-Death »


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)
« Reply #1 on: September 26, 2006, 06:32:25 AM »
Awesome job GD!
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)
« Reply #2 on: September 26, 2006, 03:15:49 PM »
Feature suggestion...
 I checked out the old ULX 1.X one when I first got ULX.
Though I pretty quickly figured out how to work the users.ini magic, I see many have problems.

A suggestion that might help others is to have it read the users.ini you have already (if users are in it, lets say),
and then have it output a new one, with the user just added + original).
This would best be placed in the ULib folder that users.ini is in to keep things less complicated.
Have it output an actual file (after backup of course)

Also, allow the output of your builder to have a comment after all the info.
When editing my ini with SteamIDs, I always add the nickname of the person I just added.
Useless for adding names now, but handy all the same for comments.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)
« Reply #3 on: September 26, 2006, 03:29:29 PM »
I just saw some one looking at the old thread from the Who lsito n the forums and decided to add this stuff in, which took surprisingly about 10 minutes for the whole thing.
Problem is:

Im no uber C coder, I don't know how to make it find your gmod9 directory automatically and put it there.
It already can read an old users.ini, it doesn't make a new one unless you run the bat file. All it does is add
"variable1" "variable2" "variable3" "variable4" to the last line of the text file.
And I could add comments too, when I don't feel so lazy as to reupload it.


Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)
« Reply #4 on: September 26, 2006, 03:39:04 PM »
Oky dokey, got unlazy as soon as I typed that and added comments to it, new version.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)
« Reply #5 on: September 26, 2006, 06:48:43 PM »
Great!
Its been a while since I used it Golden-Death.
I didn't remember it already read the users.ini there.

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

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Ulx Builder - Ulib Edition (Have trouble with users.ini? Look here!)
« Reply #6 on: September 26, 2006, 09:32:24 PM »
Silly me, I forgot we already had http://ulyssesmod.net/?UL=users