Quote:
Originally Posted by addons_zz
The last cvars are missing. They are:
Code:
[ 60] gal_emptyserver_mapfile emptycycle.txt galileo.amxx
[ 61] gal_srv_start 2 galileo.amxx
[ 62] gal_srv_timelimit_resta 0 galileo.amxx
[ 63] gal_srv_maxrounds_resta 0 galileo.amxx
[ 64] gal_srv_winlimit_restar 0 galileo.amxx
[ 65] gal_rtv_commands 3 galileo.amxx
[ 66] gal_rtv_wait 4 galileo.amxx
[ 67] gal_rtv_wait_rounds 5 galileo.amxx
[ 68] gal_rtv_wait_admin 0 galileo.amxx
[ 69] gal_rtv_ratio 0.70 galileo.amxx
[ 70] gal_rtv_reminder 1 galileo.amxx
[ 71] gal_nom_playerallowance 2 galileo.amxx
[ 72] gal_nom_mapfile mapcycle.txt galileo.amxx
[ 73] gal_nom_prefixes 1 galileo.amxx
[ 74] gal_nom_qtyused 0 galileo.amxx
[ 75] gal_vote_duration 15 galileo.amxx
[ 76] gal_vote_expirationcoun 1 galileo.amxx
[ 77] gal_endonround_countdow 0 galileo.amxx
[ 78] gal_vote_mapchoices 6 galileo.amxx
[ 79] gal_vote_announcechoice 1 galileo.amxx
[ 80] gal_vote_showstatus 1 galileo.amxx
[ 81] gal_vote_replace_menu 0 galileo.amxx
[ 82] gal_vote_showstatustype 2 galileo.amxx
[ 83] gal_vote_uniqueprefixes 0 galileo.amxx
[ 84] gal_runoff_enabled 1 galileo.amxx
[ 85] gal_runoff_duration 15 galileo.amxx
[ 86] gal_sounds_mute 0 galileo.amxx
[ 87] gal_vote_mapfile mapcycle.txt galileo.amxx
[ 88] gal_vote_minplayers 0 galileo.amxx
[ 89] gal_vote_minplayers_map galileo.amxx
[ 90] gal_vote_whitelist_mapf galileo.amxx
[ 91] amx_nextmap car_fight galileo.amxx
[ 92] gal_version v2.3.2 galileo.amxx
[ 93] gal_server_starting 0 galileo.amxx
|
And these missing cvars?
How to reproduce you issue exactly?
1) I open the server, use 'say nomenu', choose a map, and it nominates that map.
Before you have changed some thing on my code:
Code:
public nomination_handleMatchChoice( player_id, menu, item )
{
if( item < 0 )
{
return PLUGIN_CONTINUE;
}
// Get item info
new mapIndex, info[ 1 ];
new access, callback;
menu_item_getinfo( g_nominationMatchesMenu[ player_id ], item, access, info, 1, _, _, callback );
mapIndex = info[ 0 ];
map_nominate( player_id, mapIndex );
return PLUGIN_HANDLED;
}
It gets wrong menu positions for 800 maps on pages as 60th.
This is what is working fine here:
Code:
public nomination_handleMatchChoice( player_id, menu, item )
{
if( item < 0 )
{
return PLUGIN_CONTINUE;
}
#if defined DEBUG
// Get item info
new info[ 1 ];
new access, callback;
DEBUG_LOGGER( 4, "( nomination_handleMatchChoice ) item: %d - %s, player_id: %d, menu: %d", \
item, item, player_id, menu )
menu_item_getinfo( g_nominationMatchesMenu[ player_id ], item, access, info, 1, _, _, callback );
DEBUG_LOGGER( 4, "( nomination_handleMatchChoice ) info[ 0 ]: %d - %s, access: %d, \
g_nominationMatchesMenu[ player_id ]: %d", \
info[ 0 ], info[ 0 ], access, g_nominationMatchesMenu[ player_id ] )
#endif
map_nominate( player_id, item );
return PLUGIN_HANDLED;
}
Try both these versions. The video and and current version I posted is using this last one.
__________________