Game Name Changer (Orpheu Style!)
2 Attachment(s)
It's well known that the forward "FM_GetGameDescription" seems to cause problems/crashes. Well, with Orpheu not anymore. A *very* quick and tiny plugin.
Put these two CVars into your amxx.cfg / server.cfg or however you usually do it. You must have this module installed Code:
amxx_game_name "" - This is the original name of the game (This auto-detects if it's blank, RECOMMENDED to set anyways. You must put in "GameName.ini" into your "configs/orpheu/memory" folder. |
Re: Game Name Changer (Orpheu Style!)
- Don't use extension. You better provide a package with the file into the right directory.
- PLUGIN_HANDLED does nothing. Just use return. - Since you use orpheu, why not to try to play with GetCurrentSteamAppName() to get the original gamename instead of hardcoding. But actually, it's a bad method, because if you provide a new game name with a length > to the original, it will crash. You better hook the function CGameRules::GetGameDescription() which returns the string. |
Re: Game Name Changer (Orpheu Style!)
Crashes?
|
Re: Game Name Changer (Orpheu Style!)
Nice Pluginss :)
|
Re: Game Name Changer (Orpheu Style!)
Quote:
but at least its nice to see some guys practice with Orpheu:) |
Re: Game Name Changer (Orpheu Style!)
Redundant, no changes have been made as suggested.
Unapproved. |
All times are GMT -4. The time now is 20:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.