Raised This Month: $ Target: $400
 0% 

Mapchooser4


Post New Thread Reply   
 
Thread Tools Display Modes
Zky
Member
Join Date: Nov 2005
Old 06-01-2008 , 07:29   Re: Mapchooser4
Reply With Quote #201

Hm.. when I write <> or >< I have only message "You can only nominate certain maps..." I use maps locations - mapsfile . You can insert this part of code (from deagles management) in public handleSay and the problem should be gone

Code:
if(containi(message, "<") != -1
|| containi(message, "?") != -1
|| containi(message, ">") != -1
|| containi(message, "*") != -1
|| containi(message, "&") != -1
|| containi(message, ".") != -1)
{
	return PLUGIN_CONTINUE
}
after
Code:
else if (get_pcvar_num(pv_amx_mapchooser_type) == 1) 
	{
before

Code:
if (equali(message, "nominations", 11)) 
		{
			if (get_xvar_num(get_xvar_id("NEXTMAP_MSG")) == 2) 
			{
				client_print(id, print_chat, "%L", LANG_PLAYER, "VOTING_IN_PROGRESS")
			}
Zky is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-02-2008 , 18:00   Re: Mapchooser4
Reply With Quote #202

this is my settings related to the plugin...

Quote:
// mapchooser 4

amx_mapchooser_type 1
amx_mapchooser_mapsloc 0
amx_mapchooser_mapsfile "maps.ini"
amx_nominfromfile 0
amx_maxnominperplayer 2
amx_extendmap_max 20
amx_ext_round_max 2
amx_ext_round_step 1
amx_extendmap_step 10
and... i have a new bug, the some problem with "><" but... with "<3"
Alucard^ is offline
Send a message via Skype™ to Alucard^
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 06-03-2008 , 03:24   Re: Mapchooser4
Reply With Quote #203

OK. Here is the test version with ZKy fix (thanks). The lang file You need to take from the first post. I'm attaching also the compiled version (amxx) because the online compiler compiles plugins still against AMX X 1.76d.
__________________
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.

Last edited by KWo; 03-03-2010 at 09:16. Reason: Removed old unsupported version
KWo is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 06-04-2008 , 19:56   Re: Mapchooser4
Reply With Quote #204

thx to much KWo, work fine, "><" "<3" cant get nominate
Alucard^ is offline
Send a message via Skype™ to Alucard^
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 06-10-2008 , 08:32   Re: Mapchooser4
Reply With Quote #205

I have been asked about adding that feature a lot of times (also at priva), so finally I did it. What I'm talking about? Rockthevote feature

Here are new cvars for control rockthevote:
* amx_rtv <0/1> - 0 - enables/disables rockthevote option (deafult is 1)
* amx_rtv_percent <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 <time in mins.> - minimum time (in minutes) required to play the map before players
* can use rockthevote feature (default is 10).


It's a beta version, but it shouldn't include any troubles with instability of any server. It's recommended someone uses it on a LAN server with friends and gives the feedback here to other people if it can really be used on rented servers. I couldn't test it with more than 1 player (me).
The txt file includes the new translations (required for this new version of the plugin). The *.amxx is compiled against AMX X 1.8.0 (the online compiler still compiles all plugins agianst AMX X 1.76d).
The plugins uses some code and ideas from Deagles Map Management plugin.
__________________
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.

Last edited by KWo; 03-03-2010 at 09:16. Reason: Removed old unsupported version
KWo is offline
Special
Member
Join Date: Jan 2005
Old 06-16-2008 , 07:39   Re: Mapchooser4
Reply With Quote #206

The new RTV function works ok on my linux 16 player public CS 1.6 server.

I would suggest change the # ban last played maps to a cvar.
__________________
Special is offline
WhightKnight
Senior Member
Join Date: Jun 2008
Old 07-07-2008 , 10:52   Re: Mapchooser4
Reply With Quote #207

It kind of is. I think if you download the .sma you can change it.

Anyways this plugin isn't working for me. I instaled the .txt in the lang folder and disabled mapchooser and everything. idk what is wrong...in console says it is Running fine and no errors have come up. (Right now I am only one in the server, will that make a difference?)

Are there any specifics I have to set game.cfg to?

Also do I have to add the cvars to the cvars.ini file in Configs?

Console:
"Nextmap Chooser 4 3.1 AMX Dev & KWo mapchooser4.amx running"
Do I have to turn off
"NextMap 1.8.0.3660 AMXX Dev Team nextmap.amxx running "

Last edited by WhightKnight; 07-07-2008 at 11:11.
WhightKnight is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-07-2008 , 15:19   Re: Mapchooser4
Reply With Quote #208

Are You playing (mp_timelimit > 0), (mp_maxrounds > 0) or (mp_winlimit > 0)? If You are the only player on the server, it may have the influence on the work of the plugin (try to add some bots or ask some friends to join to make sure if it works or it really doesn't). Nextmap plugin is required, so You have it correctly loaded.
__________________
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
WhightKnight
Senior Member
Join Date: Jun 2008
Old 07-07-2008 , 15:22   Re: Mapchooser4
Reply With Quote #209

Alright where exactly is the file that I can check those things? Are they all suspose to be >0?
WhightKnight is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 07-07-2008 , 15:28   Re: Mapchooser4
Reply With Quote #210

Usually those settings are in the file game.cfg in the main "cstrike" or "czero" folder. Some of them should be grater than 0. Sometimes the people are writing it also in server.cfg or amxx.cfg.
__________________
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
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:55.


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