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

MapChooser Extended 1.10.2 (Updated 2014-02-05)


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-19-2012 , 09:34   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #391

Quote:
Originally Posted by daveyboye View Post
Any idea on a fix? This only occurs if we change the server to teamplay and after the map it defaults back to the previous map and will continue loading that map every map change despite the normal map votes.
Sadly, no.

The only other person I've heard having this kind of problem was having problems where their server was crashing on map change... and basically, clients would sit there on map change and eventually have to cancel.

Quote:
Originally Posted by tdldp View Post
Hi..

I'm still reading 39 pages of forum thread, but was wandering if anyone could answer me with question i'm having.

I'd like to know if it's possible to make a plugin command call (Plugin : Advanced commands Command : sm_teamswap to be exact) after a vote end when an extend is selected...
We have a community of players who regret a mani ability with auto team swap after a map extend, and we were thinking using a combination of this plugin with advance commands to try and do this..
I think it is possible to make calls with function OnMapVoteEnd() but this is not documented (or have not seen it), and i don't understand how to use it..
Thanks for your kind answer..

Tdldp
At the moment, it's not possible using MCE. It's something Ultimate Map Chooser supports, though.

OnMapVoteEnd is a something you put in another plugin which will get called automatically when the map vote ends. However, right now, it doesn't tell you what won, only that the vote ended. Which might be something to add in the future and make a subplugin... hmm...

Anyway, the signature for OnMapVoteEnd is
PHP Code:
public OnMapVoteEnd() 
If there is a new version, it will likely be
PHP Code:
public OnMapVoteEnded(MapVoteResult:result, const String:map[]) 
with values like MapVote_MapWon, MapVote_Extended, MapVote_Cancelled (with map empty for the latter two)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-19-2012 at 09:46.
Powerlord is offline
tdldp
Junior Member
Join Date: Jun 2010
Old 07-19-2012 , 10:17   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #392

Quote:
Originally Posted by Powerlord View Post
At the moment, it's not possible using MCE. It's something Ultimate Map Chooser supports, though.

OnMapVoteEnd is a something you put in another plugin which will get called automatically when the map vote ends. However, right now, it doesn't tell you what won, only that the vote ended. Which might be something to add in the future and make a subplugin... hmm...

Anyway, the signature for OnMapVoteEnd is
PHP Code:
public OnMapVoteEnd() 
If there is a new version, it will likely be
PHP Code:
public OnMapVoteEnded(MapVoteResult:result, const String:map[]) 
with values like MapVote_MapWon, MapVote_Extended, MapVote_Cancelled (with map empty for the latter two)
So let me try and understand correctly...

If Advance Commands is scriptable with an sp, i could add OnMapVoteEnd() functions that get called automatically by mapchooser (based on sourcemod core), and that would allow inside ADVCommand to launch new actions is that it ?

If yes, i now need to check how i can call the sm_teamswap command from the plugin and not from console to get this working..

And for UMC, i didn't find a confirmation it could launch teamswaps in the 101 pages i read..

Last edited by tdldp; 07-19-2012 at 10:18.
tdldp is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 07-19-2012 , 10:30   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #393

Quote:
Originally Posted by tdldp View Post
And for UMC, i didn't find a confirmation it could launch teamswaps in the 101 pages i read..
Yep, it's definitely possible using the Map Commands feature of UMC. https://github.com/Steell/Ultimate-M...e-Map-Commands Specifically, if you set "pre-command" for a map, then that command will be executed after the map wins a vote.

It in fact works pretty much exactly as Powerlord described.

If you'd like to discuss this further, however, I'd prefer we take the discussion to the UMC thread, so as not to clutter up this one.
__________________
Steell is offline
daveyboye
Senior Member
Join Date: Aug 2008
Old 07-19-2012 , 23:23   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #394

I guess my solution may be a feature request. Can the plugin detect when a server is in either teamplay or deathmatch and call on different maplists for voting and cycles? One for deathmatch and one for team deathmatch?
daveyboye is offline
HolyDuFF
Member
Join Date: Mar 2010
Old 08-08-2012 , 01:02   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #395

Your source code seems to be broken and outdated. Please upload the working source code for the current version of MCE.

Outdated

From: mapchooser_extended.sp
Line: 44
Code: // MCE 1.9.2

Broken

//// mapchooser_extended.sp
// mapchooser_extended.sp(51) : error 017: undefined symbol "MCE_VERSION"
// mapchooser_extended.sp(200) : error 017: undefined symbol "MCE_VERSION"
// mapchooser_extended.sp(1896) : error 017: undefined symbol "CanNominate_No_Vo
teInProgress"
// mapchooser_extended.sp(1901) : error 017: undefined symbol "CanNominate_No_Vo
teComplete"
// mapchooser_extended.sp(1906) : error 017: undefined symbol "CanNominate_No_Vo
teFull"
// mapchooser_extended.sp(1909) : error 017: undefined symbol "CanNominate_Yes"
//
// 6 Errors.
//
// Compilation Time: 0,14 sec
// ----------------------------------------
HolyDuFF is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-08-2012 , 07:11   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #396

Quote:
Originally Posted by HolyDuFF View Post
Your source code seems to be broken and outdated. Please upload the working source code for the current version of MCE.

Outdated

From: mapchooser_extended.sp
Line: 44
Code: // MCE 1.9.2

Broken

//// mapchooser_extended.sp
// mapchooser_extended.sp(51) : error 017: undefined symbol "MCE_VERSION"
// mapchooser_extended.sp(200) : error 017: undefined symbol "MCE_VERSION"
// mapchooser_extended.sp(1896) : error 017: undefined symbol "CanNominate_No_Vo
teInProgress"
// mapchooser_extended.sp(1901) : error 017: undefined symbol "CanNominate_No_Vo
teComplete"
// mapchooser_extended.sp(1906) : error 017: undefined symbol "CanNominate_No_Vo
teFull"
// mapchooser_extended.sp(1909) : error 017: undefined symbol "CanNominate_Yes"
//
// 6 Errors.
//
// Compilation Time: 0,14 sec
// ----------------------------------------
It sounds like it's being compiled against an older mapchooser_extended.inc
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
HolyDuFF
Member
Join Date: Mar 2010
Old 08-08-2012 , 12:29   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #397

Yes, you were right! Downloaded it via it's own link and it worked. Ty
HolyDuFF is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-10-2012 , 17:59   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #398

Here's a new configs/mapchooser_extended/maps/tf.txt for today's update. It adds koth_king to the official maps list.
Attached Files
File Type: txt tf.txt (808 Bytes, 120 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 08-10-2012 at 17:59.
Powerlord is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 08-18-2012 , 10:18   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #399

I apologize if this has been asked, but is this supported in CS:GO?
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
daleGEND is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-18-2012 , 12:11   Re: MapChooser Extended 1.9.3 (Updated 2012-06-23)
Reply With Quote #400

Quote:
Originally Posted by daleGEND View Post
I apologize if this has been asked, but is this supported in CS:GO?
It should work in CS:GO, as it doesn't rely on any game-specific things.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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:38.


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