ULX

Author Topic: can ulx advertize in my server  (Read 3008 times)

0 Members and 2 Guests are viewing this topic.

Nerdygamer

  • Guest
can ulx advertize in my server
« on: February 17, 2008, 07:17:44 PM »
Is there a code in ulx that every 10 mins is says stuff in the middle of the screen?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: can ulx advertize in my server
« Reply #1 on: February 17, 2008, 07:44:14 PM »
Good question. I'm surprised we don't have it mentioned in our ulx_readme.txt file.

Copy the /addons/ulx/cfg to your gmod/ root.. Answer yes to when it asks about cfg folder already existing.
Once that's done, go into gmod/cfg/server.ini - that is ULX's ini file, not to be confused with server.CFG, which is Source server settings file.
Once in server.ini, you'll see all the various things you can add/edit/set up on server start/map change.

Additional tip.. if you have special items you want set for special maps, see /gmod/cfg/maps and create a <mapname>.ini

If you only want it to advertise until next map change/server restart, see "ulx help". I think the command is "ulx addCadvert". Don't hold me to that.
« Last Edit: February 17, 2008, 07:48:54 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: can ulx advertize in my server
« Reply #2 on: February 17, 2008, 07:46:49 PM »
It is in the readme JamminR, the problem is that no one ever reads it.
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: can ulx advertize in my server
« Reply #3 on: February 17, 2008, 07:49:21 PM »
I just searched the readme for server.ini ... didn't find it

[EDIT]
From the readme
"Check out the configs folder in ulx for some more goodies."

However, 95% of server hosts have no idea where that is, because they never read any server tutorial
« Last Edit: February 17, 2008, 07:51:17 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Nerdygamer

  • Guest
Re: can ulx advertize in my server
« Reply #4 on: February 17, 2008, 09:46:51 PM »
WOW now i ****. how do i get rid of the advert? PLZ HURRY! :'(
« Last Edit: February 17, 2008, 10:46:12 PM by Megiddo »

nerdygamer

  • Guest
Re: can ulx advertize in my server
« Reply #5 on: February 17, 2008, 10:00:56 PM »
nvm i fixed it! ;D

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: can ulx advertize in my server
« Reply #6 on: February 18, 2008, 07:24:25 PM »
So i am assuming that by copying the cfg to the main gmod folder that ulx will use this before the other folder?  I have added my uppl settings to the ulx/cfg/server.ini and by copying it to the gmod/cfg/ then it will be save from updates and will be used instead of the other file?

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: can ulx advertize in my server
« Reply #7 on: February 18, 2008, 08:22:33 PM »
exactly.
It checks all of the top level folders first.
eg.

root/motd.txt
cfg/server.ini

That way when you update ULX you wont have to worry about these files being overridden by the update.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: can ulx advertize in my server
« Reply #8 on: February 18, 2008, 08:23:49 PM »
And as far as I know, this is true of just about any addon config file, since the addons files are 'virtual'.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming