Raised This Month: $51 Target: $400
 12% 

Mapchooser4


Post New Thread Reply   
 
Thread Tools Display Modes
deadman909
Veteran Member
Join Date: Oct 2008
Old 03-21-2014 , 15:54   Re: Mapchooser4
Reply With Quote #651

Quote:
Originally Posted by Soldier.Zi View Post
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
Do you have all other MAP plugins off? Post your plugins.ini file
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
Soldier.Zi
Junior Member
Join Date: Feb 2014
Old 03-24-2014 , 17:37   Re: Mapchooser4
Reply With Quote #652

Code:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx          ;  admin base (required for any admin-related)      
;admin_sql.amxx          ;  admin base - SQL version (comment admin.amxx)     

; Basic
admincmd.amxx          ;  basic admin console commands        
adminhelp.amxx          ;  help command for admin console commands      
adminslots.amxx          ;  slot reservation          
multilingual.amxx          ;  Multi-Lingual management          

; Menus
menufront.amxx          ;  front-end for admin menus        
cmdmenu.amxx          ;  command menu (speech, settings)        
plmenu.amxx          ;  players menu (kick, ban, client cmds.)      
;telemenu.amxx          ;  teleport menu (Fun Module required!)       
mapsmenu.amxx          ;  maps menu (vote, changelevel)        
pluginmenu.amxx          ;  Menus for commands/cvars organized by plugin      

; Chat / Messages
adminchat.amxx          ;  console chat commands         
antiflood.amxx          ;  prevent clients from chat-flooding the server      
scrollmsg.amxx          ;  displays a scrolling message        
imessage.amxx          ;  displays information messages         
adminvote.amxx          ;  vote commands          

; Map related
nextmap.amxx          ;  displays next map in mapcycle       
mapchooser4.amxx          ;  allows to vote for next map      
timeleft.amxx          ;  displays time left on map       

; Configuration
pausecfg.amxx          ;  allows to pause and unpause some plugins     
statscfg.amxx          ;  allows to manage stats plugins via menu and commands   

; Counter-Strike
restmenu.amxx          ;  restrict weapons menu         
statsx.amxx          ;  stats on death or round end (CSX Module required!)   
;miscstats.amxx          ;  bunch of events announcement for Counter-Strike      
;stats_logging.amxx          ;  weapons stats logging (CSX Module required!)      

; Enable to use AMX Mod plugins
;amxmod_compat.amxx          ;  AMX Mod backwards compatibility layer       

; Custom - Add 3rd party plugins here

biohazard.amxx ; komentarz
;bio_smokeflare.amxx          ;   Flara zamiast smoke    
;bio_painsounds2_lite.amxx
amx_settings_api.amxx 	; zp api
zp50_ambience_effects.amxx ; efekty
zp50_effects_lighting.amxx	; blyskawica      
;bio_misc.amxx          ; komentarz
lightmaker_pl.amxx          ; wstawianie swiatel na mapie
amx_point.amxx          ;  Komendy admina na wycelowanym graczu       
;new_nightvision_goggle.amxx          ;  zoptymalizowany noktowizor          
kill_assist.amxx          ;  Asysta przy zabiciu         
modelplacer.amxx debug       ;  Wstawianie modeli na mapie        
map_spawns_editor.amxx          ;  edycja spawnow graczy         
admin_model_menu.amxx          ;  menu modeli admina         
walkguardPL.amxx	; Strefy zablokowane
vip.amxx     ; vip	
Anty_Kzh_by_Niscree.amxx  ; anty kzh	
;simple_redirect.amxx
change_models_player.amx
;ruletka3.0.amxx
motd.amxx
I set cvar amx_mapchooser_mapsfile_s "maps_small.ini" and edit maps.ini file that are two pillars: with qoutes and without. And still the same problem with rtv

Last edited by Soldier.Zi; 03-25-2014 at 12:59. Reason: Update
Soldier.Zi is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 03-26-2014 , 14:56   Re: Mapchooser4
Reply With Quote #653

Quote:
Originally Posted by Soldier.Zi View Post
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.
Where did You place these cvars? All of them should be placed in amxx.cfg file.
__________________
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
Soldier.Zi
Junior Member
Join Date: Feb 2014
Old 03-30-2014 , 21:07   Re: Mapchooser4
Reply With Quote #654

Ok, I reinstall server and amx.

I have another question. Its possible to do that more than once nominating of map is required to put this map in vote?
Actually one nominate and this map is it in vote.

Sry for my bad english
Soldier.Zi is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 04-02-2014 , 02:20   Re: Mapchooser4
Reply With Quote #655

Quote:
Originally Posted by Soldier.Zi View Post
I have another question. Its possible to do that more than once nominating of map is required to put this map in vote?
Actually one nominate and this map is it in vote.
The current code of mapchooser4 doesn't have the functionality You are asking about. It is possible to add it, but I don't have time to extend the existing functionality of this plugin, so I'm supporting it only as it is now.
__________________
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
blood2k
Senior Member
Join Date: Mar 2014
Old 04-10-2014 , 02:13   Re: Mapchooser4
Reply With Quote #656

I've actually noticed that this mapchooser causes lag.

Anytime you type a chat message and press send. The server lags for a quick second. I've had multiple users on my condition zero server try it out as spectators. If they were to specate in chase cam. And send a message. The player they spectate would freeze for a quick second. In addition, if you have a server of 30 people constantly talking, it causes frequent mini ping spikes. But noticeable.


Why am I so sure? Because I've removed EVERY plugin except this one to get to the bottom of my lag. THEN enabled all my plugins except mapchooser & saw the difference.

I like this mapchooser a lot. Any way to fix?

Last edited by blood2k; 04-10-2014 at 02:16.
blood2k is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 04-10-2014 , 06:38   Re: Mapchooser4
Reply With Quote #657

I don't know, but a hint would be that the plugin actually checks for several nominatable map names for each message.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
blood2k
Senior Member
Join Date: Mar 2014
Old 04-10-2014 , 13:04   Re: Mapchooser4
Reply With Quote #658

Maybe it's because it has to check for # of players? Because of the small maps file and big one? I'm probably wrong. But just throwing that out there.
blood2k is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 04-10-2014 , 13:25   Re: Mapchooser4
Reply With Quote #659

Quote:
Originally Posted by bibu View Post
I don't know, but a hint would be that the plugin actually checks for several nominatable map names for each message.
I think it was a very good hint.

I have removed the check if there is in the message a mapname somewhere included.
Try this version attached. To nominate the map You have to use say command "nominate <mapname>" or "vote <mapname>" - of course instead <mapname> You have to put the real mapname You want to vote for. So - since this version is not enough to just say "<mapname>". This is no longer working because it was causing lags (in my opinion).
Attached Files
File Type: sma Get Plugin or Get Source (mapchooser4.sma - 472 views - 49.0 KB)
__________________
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
blood2k
Senior Member
Join Date: Mar 2014
Old 04-10-2014 , 15:13   Re: Mapchooser4
Reply With Quote #660

I'll give it a test, thank you
blood2k 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 06:35.


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