Author Topic: Server.ini (adverts not showing up?)  (Read 3388 times)

0 Members and 1 Guest are viewing this topic.

Offline Chief_runningwater

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
  • Fpsbanana User
    • Chiefrunningwater.com
Server.ini (adverts not showing up?)
« on: July 03, 2008, 01:48:59 PM »
Ok so I installed the newest version of ulx on my 6 man gmod server and I have the server.ini set up so it says 2 different messages in chat but only 1 shows up and I have it set up right I think here's what it is right now if someone can fix this is it shows up please tell me.
Code: [Select]
// Adverts
// addCsayAdvert <msg> <r> <g> <b> <repeat_time> <length> [<group>]
// addAdvert <msg> <repeat_time> [<group>]
// addCsayAdvert puts adverts in the middle of the screen, addAdvert puts adverts in the text area.
// You can use %host%, %curmap%, and %ulx_version% in your message and have it automagically parsed for you.
// If you specify a group, adverts in that group will run sequentially instead of simultaneously. EX:
// ulx addAdvert "This message is run first" 10 a
// ulx addAdvert "This message is run second" 10 a
// ulx addAdvert "This message is run third" 10 a
ulx addCsayAdvert "You're playing on %host%, enjoy your stay!" 100 255 200 300 10
ulx addAdvert "Want to set a title for your self? Type in console: ulx title <title>" 100 255 200 300 10
ulx addAdvert "Want admin? then go to http://chiefrunningwater.com/ and donate $10 or more and get permanent admin on this server." 100 255 200 300 10

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server.ini (adverts not showing up?)
« Reply #1 on: July 03, 2008, 02:24:31 PM »
You just stuck the numbers from addCsayAdvert onto addAdvert? They're different formats! I assume this is what you want:
Code: [Select]
ulx addCsayAdvert "You're playing on %host%, enjoy your stay!" 100 255 200 300 10
ulx addAdvert "Want to set a title for your self? Type in console: ulx title <title>" 300
ulx addAdvert "Want admin? then go to http://chiefrunningwater.com/ and donate $10 or more and get permanent admin on this server." 300
Experiencing God's grace one day at a time.

Offline Chief_runningwater

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
  • Fpsbanana User
    • Chiefrunningwater.com
Re: Server.ini (adverts not showing up?)
« Reply #2 on: July 03, 2008, 02:41:23 PM »
Thanks so much, i'm new at this i'm good at mani plugin for css but this is my first time with a gmod server and even attempting ulx.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server.ini (adverts not showing up?)
« Reply #3 on: July 03, 2008, 02:52:37 PM »
Not a problem. :)
Experiencing God's grace one day at a time.

Offline Chief_runningwater

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
  • Fpsbanana User
    • Chiefrunningwater.com
Re: Server.ini (adverts not showing up?)
« Reply #4 on: July 06, 2008, 06:18:35 PM »
Ok so it works but how do i get more than 2 messages because again its only showing the 2....

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server.ini (adverts not showing up?)
« Reply #5 on: July 06, 2008, 06:29:05 PM »
Try stating your problem clearly?
Experiencing God's grace one day at a time.

Offline Chief_runningwater

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
  • Fpsbanana User
    • Chiefrunningwater.com
Re: Server.ini (adverts not showing up?)
« Reply #6 on: July 06, 2008, 06:57:03 PM »
Try stating your problem clearly?
Ok well actually it only shows the "title" advert and doesn't show the other one and when i try adding more it doesn't show thoughs eather only the welcome message and the ulx title message thats it how come this is and how do i fix this?

Offline Chief_runningwater

  • Newbie
  • *
  • Posts: 14
  • Karma: 2
  • Fpsbanana User
    • Chiefrunningwater.com
Re: Server.ini (adverts not showing up?)
« Reply #7 on: July 10, 2008, 09:22:35 PM »
Come on can someone please help?......  >:(