MOTD weirdness
I am using the MOTD window to display stats and a top15. It works fine the first time when I just loaded cs, but all uses after that it again shows me the same MOTD file from the very first use.
1. Request stats, shown stats 2. Request top15, shown stats 3. Request top15, shown stats 4. Request stats, shown stats Close and reload cs 1. Request top15, shown top15 2. Request stats, shown top15 3. Request top15, shown top15 4. Request stats, shown top15 I tried using show_motd() with a string and I tried writing it to a file and showing that, but I get the same result either way. The title for the MOTD updates accordingly, but the content window shows the same data. If I right-click on the content window and select 'Copy Page URL' and paste it into a browser (links to motd_temp.html) it displays the correct content after I use each command (stats\top15). So it looks like it's kind of working, but the content window is not refreshing. Right-clicking the content area and selecting Refresh does nothing. Does anyone know what's up with this? |
Re: MOTD weirdness
Have you tested on a dedicated game server, or a listen server?
What do you mean "Close and reload cs"? |
Re: MOTD weirdness
Using HLDS.
It means I close the counter strike game and re-open it. |
Re: MOTD weirdness
Clear your default web browser's cache. Do the same for internet explorer.
|
Re: MOTD weirdness
I am using the motd to show the custom stats, using something like this:
PHP Code:
|
Re: MOTD weirdness
I've used it before too without any issues, but that was years ago. I've since built a new PC and freshly installed everything, I can't figure out what I'm missing with this.
|
Re: MOTD weirdness
Quote:
Is HLDS correct? If yes, maybe try to disable motd with motdfile convar and test again |
Re: MOTD weirdness
I changed my resolution in the game settings and now it works. For some reason the resolution I had (1152x864, playing in a window) was preventing the MOTD content window from refreshing. It is also now displaying my HTML formatting where before it was just showing in the orange\black colors.
|
All times are GMT -4. The time now is 03:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.