Raised This Month: $ Target: $400
 0% 

Mapchooser4


Post New Thread Reply   
 
Thread Tools Display Modes
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 02-26-2014 , 16:02   Re: Mapchooser4
Reply With Quote #641

Sorry - this plugin isn't resitstant to overlap with menus created by other plugins nor get overlaped by them.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
elantra86
Member
Join Date: Feb 2014
Old 02-26-2014 , 23:11   Re: Mapchooser4
Reply With Quote #642

thx KWo
Can u fix this bug ?

Last edited by elantra86; 02-27-2014 at 05:19.
elantra86 is offline
blood2k
Senior Member
Join Date: Mar 2014
Old 03-08-2014 , 23:50   Re: Mapchooser4
Reply With Quote #643

Is there any chance you could re-compile a version of this where the votemap menu towards the end of the map only consists of nominated maps?
For Instance:

. Nominated Map Here
.Nominated Map Here
.Nominated Map Here
.Nominated Map Here
. Extend Map
. Keep Current Next Map


I've looked at the .sma but, I've no clue what I'm doing.
blood2k is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-09-2014 , 00:33   Re: Mapchooser4
Reply With Quote #644

I think you can just comment out the whole else statement starting on line 766. So, comment out 766 through 782. No guarantees but I think that might do the trick.
__________________
fysiks is offline
blood2k
Senior Member
Join Date: Mar 2014
Old 03-09-2014 , 13:57   Re: Mapchooser4
Reply With Quote #645

Thanks for the idea, I tried that, but it gets errors upon compile
blood2k is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-09-2014 , 16:47   Re: Mapchooser4
Reply With Quote #646

Quote:
Originally Posted by blood2k View Post
Thanks for the idea, I tried that, but it gets errors upon compile
There are no errors when it gets compiled after following my suggestion. However, there are a few warning that can be ignored.
__________________
fysiks is offline
blood2k
Senior Member
Join Date: Mar 2014
Old 03-09-2014 , 17:38   Re: Mapchooser4
Reply With Quote #647

Oh yea, thank you. I missed a line in between lol. Do you know what else i can comment out to make it only display the maps nominated?
Cause at the moment if there's only 2/3 nominated maps it lists them like
. Map
. Map
. Map
. blank choice
. blank choice
. blank choice

i think it always tries to list 6? SO the blank choices are always there. Any idea how to make it only list the nominated choices?


Even if only 1 map gets nominated and displayed.. thats fine lol

Last edited by blood2k; 03-09-2014 at 17:41.
blood2k is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-09-2014 , 18:11   Re: Mapchooser4
Reply With Quote #648

Yeah, I was thinking that might happen. Try changing line 707 to:

Code:
	new dmax = g_nominMapsNum
__________________
fysiks is offline
blood2k
Senior Member
Join Date: Mar 2014
Old 03-09-2014 , 19:55   Re: Mapchooser4
Reply With Quote #649

Nice! It works that way. Thank you man, I appreciate the help!
blood2k is offline
Soldier.Zi
Junior Member
Join Date: Feb 2014
Old 03-19-2014 , 17:29   Re: Mapchooser4
Reply With Quote #650

i have problem.

When rtv is succesfully reached, the menu show yourself for only second and plugin choose custom nextmap instantly.

Players cant vote, they have no time for it.

Code:
amx_mapchooser_type "1"  (default is 0):


0: random maps from amx_mapchooser_mapsfile/mapcycle/maps folder
1: nominations
2: the nextmap is a random map chosen from amx_mapchooser_mapsloc (no vote)


amx_mapchooser_mapsloc "0"  (default is 0):


0: amx_mapchooser_mapsfile
1: mapcycle
2: maps folder


amx_mapchooser_mapsfile "maps.ini" - File used when amx_mapchooser_mapsloc is set to 0 (default filename is "maps.ini").
The file must be in amxmodx/configs/ folder.


amx_mapchooser_mapsfile_s "maps.ini" 

File used when amx_mapchooser_mapsloc is set to 0 
and there is less than 10 players on the server (default filename is "maps_small.ini").
The file must be in amxmodx/configs/ folder. If it's not existing there, the regular 


amx_mapchooser_mapsfile "maps.ini"
will be used also for smaller than 10 amount of players on the server.


amx_nominfromfile "0" (default is 0):

0: players can nominate all the maps from the map folder
1: players can only nominate maps from amx_mapchooser_mapsfile/mapcycle


amx_maxnominperplayer "1" 
<num> - how many maps each player can nominate (default is 1).


amx_map_history "0"
<num> - how many last played maps shouldn't go to the maps vote menu (default is 5).


amx_extendmap_max "15"
 <time in mins.> - max. time for overall extending the map if mp_timelimit is used (default is 90).


amx_extendmap_step "15"
 <time in mins.> - with what time the map will be extended if mp_timelimit is used (default is 15).


amx_ext_round_max
 <number of possible polls for extend> - how many times the map can be extended if mp_maxrounds is used (default is 3).


amx_ext_round_step
 <number of rounds> - with what rounds number the map will be extended if mp_maxrounds is used (default is 3).


amx_ext_win_max
 <number of possible polls for extend> - how many times the map can be extended if mp_winlimit is used (default is 3).


amx_ext_win_step <number of rounds> - with what rounds number the map will be extended if mp_winlimit is used (default is 3).


amx_rtv 1
 <0/1> - enables/disables rockthevote option (deafult is 1).


amx_rtv_percent "0.2"
 <0.0-1.0> - rockthevote ratio (%/100 human-players they need to say rockthevote to start voting for the next map (default is 0.6).


amx_rtv_min_time "1"
 <time in mins.> - minimum time (in minutes) required to play the map before players can use rockthevote feature (default is 10).


amx_rtv_map_time "5"
 <time in sec.> - time to change to the new map after successful rtv and then successful voting for the new map, the map
(instead waiting until round end). Default is 10 (increasing it to 300 will effect in waiting to the round end to change the map).


These AMX X cvars - normally registered by admin.sma plugin but also checked by mapchooser4:
amx_vote_time "1" <time in mins.> - the time next vote can happen since last vote happened. Default is 10.

amx_vote_delay "15"  <time in secs.> - the length of time the vote is active. Default is 10.
amx_last_voting "1" <time in mins> - the time last vote happend (internal use).
amx_show_activity "2"
0 - doesn't show what the admin is doing (starting any vote i.e.), 
1 - shows to everybody the activity of admin, but without showing his name, 
2 - shows the activity of the admin with his name. 
Higher than 2 values of this cvar aren't supported by mapchooser4 plugin
Soldier.Zi is offline
Reply



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 13:26.


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