Raised This Month: $32 Target: $400
 8% 

Map Manager Modular


Post New Thread Reply   
 
Thread Tools Display Modes
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 02-05-2023 , 08:44   Re: Map Manager Modular
Reply With Quote #41

Quote:
Originally Posted by AllMassive View Post
Mistrick:
been using your plugin for some time now, and i've the impression that since 'a few weeks' smth changed in the 'github-master'.
after a few maps, the next map doesnt change to the voted nextmap anymore - instead theres some 'random' map starting (which is also defined in the maps-ini).
to me it looks like it often changes to the 'alphabetical nextmap' from the maps.ini.
Show logs.
Mistrick is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 02-05-2023 , 16:11   Re: Map Manager Modular
Reply With Quote #42

think i found my prob, but here some logs.

error.log:
Code:
L 02/05/2023 - 02:56:23: Start of error session.
L 02/05/2023 - 02:56:23: Info (map "de_karachi01") (file "addons/amxmodx/logs/error_20230205.log")
L 02/05/2023 - 02:56:23: [AMXX] Plugin ("map_manager_core.amxx") is setting itself as failed.
L 02/05/2023 - 02:56:23: [AMXX] Plugin says: File doesn't exist "addons/amxmodx/configs/maps.ini".
L 02/05/2023 - 02:56:23: [AMXX] Displaying debug trace (plugin "map_manager_core.amxx", version "3.1.5")
L 02/05/2023 - 02:56:23: [AMXX] Run time error 1: forced exit
L 02/05/2023 - 02:56:23: [AMXX]    [0] map_manager_core.sma::load_maplist (line 394)
L 02/05/2023 - 02:56:23: [AMXX]    [1] map_manager_core.sma::plugin_cfg (line 383)
L 02/05/2023 - 02:56:23: Called dynanative into a paused plugin.
L 02/05/2023 - 02:56:23: [AMXX] Displaying debug trace (plugin "map_manager_scheduler.amxx", version "0.1.11")
L 02/05/2023 - 02:56:23: [AMXX] Run time error 10: native error (native "mapm_get_prefix")
L 02/05/2023 - 02:56:23: [AMXX]    [0] map_manager_scheduler.sma::plugin_cfg (line 133)
didnt had a maps.ini underneath the config-folder, because map_manager_adv_lists.amxx (maplists.ini) was configured with :
Code:
"Custom" "map_manager_maps_custom.ini" "0" "anytime"
"Standard" "map_manager_maps_standard.ini" "0" "anytime"
"Fun/Aim" "map_manager_maps_fun.ini" "0" "anytime"
thought thats enough to define the map-lists, but the plugin seems to rely on one file named maps.ini.

will try again with these settings:
Code:
"Custom" "map_manager_maps_custom.ini" "0" "anytime"
"Standard" "maps.ini" "0" "anytime"
"Fun/Aim" "map_manager_maps_fun.ini" "0" "anytime"
AllMassive is offline
Mistrick
Senior Member
Join Date: Aug 2012
Location: Russia
Old 02-05-2023 , 19:21   Re: Map Manager Modular
Reply With Quote #43

AllMassive, You should not see this error with adv_lists. Are you sure adv_lists is running and configurated?
Mistrick is offline
AllMassive
Senior Member
Join Date: Sep 2004
Location: /dev/urandom
Old 02-06-2023 , 01:25   Re: Map Manager Modular
Reply With Quote #44

Mistrick - everything is now working correct for me since implementing the changes from:

Quote:
Originally Posted by AllMassive View Post
will try again with these settings:
Code:
"Custom" "map_manager_maps_custom.ini" "0" "anytime"
"Standard" "maps.ini" "0" "anytime"
"Fun/Aim" "map_manager_maps_fun.ini" "0" "anytime"
to answer your questions:

map_manager_adv_lists.amxx was/is running:
Code:
[ 18] 17  Map Manager: Advanced   0.1.0       Mistrick                                           map_manager  debug
config options regarding map_manager_adv_lists.amxx from map_manager.cfg:

Code:
// Advanced lists
// EN: When voting, show the name of the list the map is in.
// RU: При голосовании показывать имя списка, в котором состоит карта.
// 0 - disable, 1 - enable
mapm_show_list_name_in_vote "0"

// EN: Delete maps from the nomination that are not in the new list of maps. Occurs when "Advanced lists" changes the current map list.
// RU: Удалять карты из номинации, которых нет в новом списке карт. Происходит, когда "Advanced lists" меняет текущий список карт.
// 0 - disable, 1 - enable
mapm_nom_remove_maps "0"

// EN: In the nomination menu, display active map lists (from "Advanced lists")
// RU: В меню номинации выводить активные списки карт (из "Advanced lists")
// 0 - disable, 1 - enable
mapm_nom_show_lists "1"
AllMassive is offline
ChillerX
Member
Join Date: Dec 2022
Old 02-08-2023 , 06:03   Re: Map Manager Modular
Reply With Quote #45

How to stop yapb bots from shooting during the voting?
ChillerX is offline
Woodi5
Junior Member
Join Date: Nov 2020
Location: Russia
Old 02-09-2023 , 16:16   Re: Map Manager Modular
Reply With Quote #46

Quote:
Originally Posted by ChillerX View Post
How to stop yapb bots from shooting during the voting?
Unfortunately, such a plugin is only available for zBots https://dev-cs.ru/resources/989/
Woodi5 is offline
ChillerX
Member
Join Date: Dec 2022
Old 02-09-2023 , 20:11   Re: Map Manager Modular
Reply With Quote #47

Quote:
Originally Posted by Woodi5 View Post
Unfortunately, such a plugin is only available for zBots https://dev-cs.ru/resources/989/
Yes I saw it last week and my next question was going to be if it is doable for YAPB as well...
They do have bot freeze cvar - yb_freeze_bots 0/1 but i haven`t test yet if just swapping the cvars will work.

Last edited by ChillerX; 02-09-2023 at 20:43.
ChillerX is offline
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 02-10-2023 , 12:54   Re: Map Manager Modular
Reply With Quote #48

Quote:
Originally Posted by ChillerX View Post
Yes I saw it last week and my next question was going to be if it is doable for YAPB as well...
They do have bot freeze cvar - yb_freeze_bots 0/1 but i haven`t test yet if just swapping the cvars will work.
PHP Code:
#include <amxmodx>
#include <map_manager>

new g_pCvarBotStop

public plugin_init() {
    
register_plugin("Map Manager: YaPB Freeze Bots""1.0""")
    
    
g_pCvarBotStop get_cvar_pointer("yb_freeze_bots")
}

public 
mapm_prepare_votelist() {
    
set_pcvar_num(g_pCvarBotStop1)
}
public 
mapm_vote_canceled() {
    
set_pcvar_num(g_pCvarBotStop0)
}
public 
mapm_vote_finished() {
    
set_pcvar_num(g_pCvarBotStop0)

Works. Might be a better way of doing it.
iclassdon is offline
Send a message via MSN to iclassdon
Woodi5
Junior Member
Join Date: Nov 2020
Location: Russia
Old 02-11-2023 , 15:57   Re: Map Manager Modular
Reply With Quote #49

Thanks, it works!
Woodi5 is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 02-17-2023 , 16:28   Re: Map Manager Modular
Reply With Quote #50

Hi.
I was trying this plugin.
All works fine, i even translated it to portuguese in the lang file.
But, i wanted to change the countdown sounds and i cant, it still plays the default ones.

My CS gives me this error:
Error: server failed to transmit file 'sound/adp_map/one.wav'

I have it correctly in the config file:
[sounds_countdown]
"1" = "sound/adp_map/one.wav"
"2" = "sound/adp_map/two.wav"
"3" = "sound/adp_map/three.wav"
"4" = "sound/adp_map/four.wav"
"5" = "sound/adp_map/five.wav"
"6" = "sound/adp_map/six.wav"
"7" = "sound/adp_map/seven.wav"
"8" = "sound/adp_map/eight.wav"
"9" = "sound/adp_map/nine.wav"
"10" = "sound/adp_map/ten.wav"

And yes, i have enabled server side and client side download cvars.
And the files are in the correct format.

What am i missing?

Thank you in advance!

Last edited by MAJESTIC_SZ; 02-17-2023 at 16:29.
MAJESTIC_SZ 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