Replies: 3 comments 2 replies
-
At the moment this is not really feasible. What are you trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
Hi there, i am running a cs2 server with mods. one of these is metamod. Everytime cs2 updates, it also replaces a file called gameinfo.gi. in this file there is a line needed to enable metamod. Currently i am doing exactly what you said - i am more or less constantly checking via crontab if the desired line is in the file or not and if not its adding it. Cheers |
Beta Was this translation helpful? Give feedback.
-
There is a feature called Fixes: https://dev-docs.linuxgsm.com/technical/modules/fixes These fixes can be run a) after installation (usually once) or b) before each server startup: https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/modules/fix.sh#L55 Possibly a cs2 metamod fix could be implemented using this feature. However, as metamod isn't installed on every CS2 server, the fix should only be applied if metamod is installed, and perhaps only after an update, or if the "line" is missing. |
Beta Was this translation helpful? Give feedback.
-
i am trying to find a way for pre and post update functions wich can be triggered whenever the game oder lgsm updates.
Since i could not find anything alike yet, i thought it mitght be a good idea to open this here.
Any ideas would be awesome!
Beta Was this translation helpful? Give feedback.
All reactions