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

Map isn't rotating after game loss #4

Closed
Zariaa27 opened this issue Jan 9, 2024 · 4 comments
Closed

Map isn't rotating after game loss #4

Zariaa27 opened this issue Jan 9, 2024 · 4 comments

Comments

@Zariaa27
Copy link

Zariaa27 commented Jan 9, 2024

Hey! This script is great, but it seems as when someone votes for a map, when the game restarts,

Here's my cfg

set mapvote_enable 1
set mapvote_maps "Bus Depot,Bus Depot,zm_classic_prison:Nuketown,Nuketown,zm_standard_nuked:Origins,Origins,zm_classic_processing:Die Rise,Die Rise"
set mapvote_limits_max 12
set mapvote_colors_selected "blue"
set mapvote_colors_unselected "white"
set mapvote_colors_timer "blue"
set mapvote_colors_timer_low "red"
set mapvote_colors_help_text "white"
set mapvote_colors_help_accent "blue"
set mapvote_colors_help_accent_mode "standard"
set mapvote_vote_time 30
set mapvote_blur_level 2.5
set mapvote_blur_fade_in_time 2
set mapvote_horizontal_spacing 75
set mapvote_display_wait_time 1
set mapvote_default_rotation_enable 0
set mapvote_default_rotation_maps "Bus Depot,Bus Depot,zm_classic_prison:Nuketown,Nuketown,zm_standard_nuked:Origins,Origins,zm_classic_processing:Die Rise,Die Rise"
set mapvote_default_rotation_min_players 0
set mapvote_default_rotation_max_players 0
sv_maprotation "exec zm_classic_rooftop.cfg map zm_highrise exec zm_standard_nuked.cfg map zm_nuked exec zm_standard_transit.cfg map zm_transit exec zm_classic_tomb.cfg map zm_tomb"

I tried removing the original maprotation line but when doing so, the server doesn't start.

@Resxt
Copy link
Owner

Resxt commented Jan 9, 2024

You need to stick to the information provided. Do not remove the map rotation, otherwise I would have said it in the instructions.

I just tried it with the files from Github with the default mapvote values, on a clean copy of Plutonium (latest version) and it works just fine. The issue is on your side.

Make sure you don't have any conflicting script, make sure that your server works fine without the mapvote first, make sure you installed both of the required files and make sure you pasted the dvars at the right place (or just don't paste them at all).
All dvars go above sv_maprotation and most importantly above map_rotate in the CFG.

Also use the default values at first to see if the issue does not come from you doing a mistake while editing the maps dvar or whatever and obviously if you want to load a DLC map make sure the DLC is installed on the server and of course the players have to have it too to be able to load onto it, which is not related to the mapvote itself.

image

@Zariaa27
Copy link
Author

Using all default dvars and fresh install of Pluto T6, no scripts or nothing to conflict at all actually. Still does not work.

If there indeed is an error in my configuration, please go ahead and tell me so, as I'm not the one who Dev'd this script, I can't tell if it's bad or not.

Adding to this, I do not understand why I would launch it without any dvars, will this set them in my CFG for me?

@Resxt
Copy link
Owner

Resxt commented Jan 11, 2024

Yes like explained on the documentation, the script is made to set default values if you don't set a dvar.

If you simply install the 2 scripts it works out of the box.

I cannot help you more, you're not giving any useful info such as all scripts folder screenshots, cfg file and so on.

Again, I installed a clean copy of Plutonium, installed the server files, installed the mapvote files, tried a dedicated server in both mp and zm and it worked fine so I literally cannot reproduce your issue since it works fine

@Resxt
Copy link
Owner

Resxt commented Jan 19, 2024

I'm going to consider you solved it or moved on.
If you have another issue talk on the forum or on Discord

@Resxt Resxt closed this as completed Jan 19, 2024
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