Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

votemode live reload #9

Open
ToHold opened this issue Jun 4, 2024 · 6 comments
Open

votemode live reload #9

ToHold opened this issue Jun 4, 2024 · 6 comments

Comments

@ToHold
Copy link

ToHold commented Jun 4, 2024

Is there a way to change game_mode game_type and reload the current map to apply the changes ?

@ToHold
Copy link
Author

ToHold commented Jun 4, 2024

sv_cheats 1; restart; just crash my server btw

@oqyh
Copy link
Owner

oqyh commented Jun 4, 2024

Is there a way to change game_mode game_type and reload the current map to apply the changes ?

will check that

@ToHold
Copy link
Author

ToHold commented Jun 4, 2024

Thanks a lot ! My only workaround curently is to use admin panel to set map or rtv or votemap

@ToHold
Copy link
Author

ToHold commented Jun 5, 2024

I'd like to help, how do you test / debug your project ? What's your dev env ? Do you always re run a cs2 serv in local to test ? Any cssharp beginer guide ?

@oqyh
Copy link
Owner

oqyh commented Jun 6, 2024

sv_cheats 1; restart; just crash my server btw

no need for that
here is example

in comp.cfg just put at end

game_mode 1
game_type 0
mp_restartgame 1

and in casual.cfg just put at end

game_mode 0
game_type 0
mp_restartgame 1

thats way you can switch

@ToHold
Copy link
Author

ToHold commented Jun 7, 2024

I already give a try with that, not working for arms race and deathmatch the level needs to be reloaded in these cases and for may other modes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants