FM_GetGameDescription broken?
I'm changing the name of the game according the mod which is running.
Examples: Paintball Mod is running -> Counter-Strike: Paintball CaptureTheFlag runs -> Counter-Strike: Capture The Flag It worked for a long time now and I didn't changed my code. Do I loose my mind or is FM_GetGameDescription broken since the recent updates of the engine? Any help is appreciated, regards. Leon |
Re: FM_GetGameDescription broken?
Try to hook it post so you can get the string return value and try to print it or to write it in a file to see 1. if function is called, 2. if something is still returned.
|
Re: FM_GetGameDescription broken?
Code is unchanged, but it's possible not called anymore or somehow locked on steam, not checked.
|
Re: FM_GetGameDescription broken?
Works:
PHP Code:
|
Re: FM_GetGameDescription broken?
Good points Connor, will test it and reply asap. Time to sleep now :/
BTW: Here the small code ^^ PHP Code:
Well, probably the ':' cause the trouble. Although it worked before. Also, are you running in beta? EDIT2: @Connor, @Arkshine It seems that it gets not called anymore. Added a chat and console message to the hook. No prints :) Quote:
Tested on an outdated server and indeed it works just fine. Any chance for a workaround? Quote:
|
Re: FM_GetGameDescription broken?
Anyone already tested ServerName Msg? Gonna try it soon if I'm back at home :)
|
Re: FM_GetGameDescription broken?
It's just name appearing above scoreboard
|
Re: FM_GetGameDescription broken?
damn :)
|
Re: FM_GetGameDescription broken?
Hey, the Game description is working, but it only in server start.
If you change a cvar, the game description not update it. |
Re: FM_GetGameDescription broken?
Quote:
P.S: FM_GetGameDescription is called when client gets server info (try to print a message - it will be printed every time the client gets server info). |
| All times are GMT -4. The time now is 21:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.