Author Topic: Problem with adverts  (Read 3515 times)

0 Members and 1 Guest are viewing this topic.

Offline matrixninja

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Problem with adverts
« on: December 26, 2012, 02:22:19 PM »
Whenever I add an advert it doesn't update in the box on the right side of the menu. Adverts still appear but I can't edit them, nor can I remove them. I tried reinstalling ulx but the adverts dont go away. Any help?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Problem with adverts
« Reply #1 on: December 26, 2012, 02:32:43 PM »
ULX uses more than just /addons/ folders, so if during 're-install' you didn't delete/back up your <gmod server>/data/ulx files...they remain. :)
That being said, if they aren't working in menu, not sure re-installing would fix them.
Until Stickly Man (or Megiddo, if he feels so inspired) can look at the XGUI code for adverts to see why they aren't updating in menu, you can manually edit them in your gmod/data/ulx/adverts.txt file.
While at it, when running server and attempting to load the menu, editing adverts, check for any server console errors. (or client).
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline centran

  • Newbie
  • *
  • Posts: 43
  • Karma: 8
Re: Problem with adverts
« Reply #2 on: December 26, 2012, 02:49:10 PM »
you can manually edit them in your gmod/data/ulx/adverts.txt file.

This... the xgui is currently buggy and adverts is one of the items currently broken. It should be fixed soon but until then you have to edit the file manually.

Offline matrixninja

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: Problem with adverts
« Reply #3 on: December 26, 2012, 02:57:44 PM »
ULX uses more than just /addons/ folders, so if during 're-install' you didn't delete/back up your <gmod server>/data/ulx files...they remain. :)
That being said, if they aren't working in menu, not sure re-installing would fix them.
Until Stickly Man (or Megiddo, if he feels so inspired) can look at the XGUI code for adverts to see why they aren't updating in menu, you can manually edit them in your gmod/data/ulx/adverts.txt file.
While at it, when running server and attempting to load the menu, editing adverts, check for any server console errors. (or client).

Ok thanks, I fixed the spam of adverts, but they still dont appear in the box. I noticed that refreshing XGUI helps with adverts not appearing.