Raised This Month: $7 Target: $400
 1% 

Map Manager Modular


Post New Thread Reply   
 
Thread Tools Display Modes
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 03-18-2023 , 00:41   Re: Map Manager Modular
Reply With Quote #71

would be nice if, when the current map ends after the configured 'last round checks', that in case of a 'draw' in the teamscores (for.ex. 12:12), that theres a 'final round' as 'decision round'?
AllMassive is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 03-18-2023 , 01:53   Re: Map Manager Modular
Reply With Quote #72

Quote:
Originally Posted by AllMassive View Post
would be nice if, when the current map ends after the configured 'last round checks', that in case of a 'draw' in the teamscores (for.ex. 12:12), that theres a 'final round' as 'decision round'?
Added in last version. Need tests.
Mistrick is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 03-18-2023 , 20:46   Re: Map Manager Modular
Reply With Quote #73

tested it and it seems that theres a problem when 'rtv' is used - the map doesnt change after voting.

Code:
mapm_last_round "0"
mapm_rtv_mode "0"
mapm_rtv_change_after_vote "1"
mapm_rtv_ignore_spectators "0"
mapm_early_finish_vote "1"
apm_final_round "1"
mapm_change_type "2"
AllMassive is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 03-19-2023 , 03:03   Re: Map Manager Modular
Reply With Quote #74

AllMassive, mapm_final_round should work with mapm_last_round "1" or mapm_change_type "1". With your settings mapm_final_round doesn't work.
mapm_rtv_change_after_vote "1" will block any other change types and change the map immediately after the vote. I don't see any problems with this cvar.
Mistrick is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 03-23-2023 , 20:22   Re: Map Manager Modular
Reply With Quote #75

now it looks like when mapm_second_vote 1 is enabled and a second vote is needed, that the nextmap is changed to a random map, which was not part of the vote.
when theres no second vote needed, the nextmap is correct.
AllMassive is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 03-24-2023 , 09:20   Re: Map Manager Modular
Reply With Quote #76

Quote:
Originally Posted by AllMassive View Post
now it looks like when mapm_second_vote 1 is enabled and a second vote is needed, that the nextmap is changed to a random map, which was not part of the vote.
when theres no second vote needed, the nextmap is correct.
Show logs from cstrike\addons\amxmodx\logs
Mistrick is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 04-04-2023 , 18:41   Re: Map Manager Modular
Reply With Quote #77

@Mistrick
sorry - i was wrong :/
the cause for my probs were also a incorrect combination of config-values, but since everything behaves normal again regarding the normal votes/mapchange after fixing my settings, i never 'saw' that a 'final round' has happend.
grepped through the server/amx-logs but couldnt find anything.
could you pls give some advice how to 'log' if a additional round took place?
would also be nice if that 'additional round'-msg would appear more visible as a hud-msg, instead on the chat.

Last edited by AllMassive; 04-05-2023 at 15:44.
AllMassive is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 04-05-2023 , 17:18   Re: Map Manager Modular
Reply With Quote #78

AllMassive, write below map_manager_scheduler.amxx in plugins list
PHP Code:
#include <amxmodx>
#include <map_manager_scheduler>

public plugin_init()
{
    
register_event("HLTV""event_newround""a""1=0""2=0");
}
public 
event_newround()
{
    if(
get_last_round_state() == LRS_Final) {
        
// DO ANYTHING
    
}

Mistrick is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 04-14-2023 , 03:57   Re: Map Manager Modular
Reply With Quote #79

have saved the plugin from your-post into a file, compiled and put it underneath map_manager_scheduler.amxx in plugins.ini.
recently saw the announce of the additional round ingame, but couldnt find a log entry about it.
what log-entry should i look for?

but since it seems to work:
Quote:
Originally Posted by AllMassive View Post
@Mistrick
would also be nice if that 'additional round'-msg would appear more visible as a hud-msg, instead on the chat.
AllMassive is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 04-15-2023 , 09:30   Re: Map Manager Modular
Reply With Quote #80

Quote:
Originally Posted by AllMassive View Post
what log-entry should i look for?
I don't understand what you want.
My message about the logs is related to your problem with the second vote. The plugin always writes a log about the start of the second vote.
Code:
[analysis]: second vote started. (%s, %s)
It also logs the end of voting.
Code:
[vote_finished]: nextmap is %s.
AMXX logs the map change.
Code:
L 03/19/2023 - 13:56:09: -------- Mapchange to de_dust --------
I can see in the logs when a map is switched to another map instead of the selected one.
You just ignored me.

Quote:
Originally Posted by AllMassive View Post
recently saw the announce of the additional round ingame, but couldnt find a log entry about it.
The plugin does not log anything about the last round and the final round. I showed an example of how you can catch the final round. If you want logs or extra messages, you'll have to do it yourself. I can't cram every wish into the plugin. Modularity is made to allow you to keep your additions without constantly changing the main plugin with every update. I add things that can be useful to many people, not just one person.
Mistrick is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode