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 05-20-2011 , 14:16   Re: MapChooser Extended 1.6 (Updated 2011-05-19)
Reply With Quote #41

I could be wrong, but while reviewing some code today, I believe I spotted an issue where the Runoff count is not properly reset on map change. I will likely release 1.6.1 tonight after I test to make sure the new version works properly.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-20-2011 at 14:19.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-20-2011 , 21:35   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #42

New release, Mapchooser Extended 1.6.1.
  • Version 1.6.1 (2011-05-20)
    • Fixed Runoffs not working properly.
    • Changed error checking for vote menu type.
    • Changed Runoff vote map selection process... if the second and third (or more) maps have the same number of votes, they will all show up in the runoff.
    • Made OnMapVoteEnd no longer trigger when a Runoff Vote starts.
    • Increased the amount of time between a successful rtv and map change to 4 seconds to allow any optional sounds to play.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
wasder
Senior Member
Join Date: Oct 2009
Location: That country
Old 05-24-2011 , 16:37   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #43

Is it possible to use a new TF2 official votes style, in TF2 ofcourse? Can this feature be added?
wasder is offline
Send a message via Skype™ to wasder
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-24-2011 , 18:16   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #44

Quote:
Originally Posted by wasder View Post
Is it possible to use a new TF2 official votes style, in TF2 ofcourse? Can this feature be added?
I've been looking into that. Afronanny may have given me some valuable information towards this goal in another thread earlier today. Unfortunately, I have to poke around in some TF2 internal client-server messaging stuff to find out if it's possible.

Oh, and complain to Valve about L4D2 having vote_start etc... events while TF2 doesn't. :/
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-24-2011 , 21:07   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #45

Quote:
Originally Posted by wasder View Post
Is it possible to use a new TF2 official votes style, in TF2 ofcourse? Can this feature be added?
Preliminary conclusions are that TF2 does not allow the server to decide which maps appear in a built-in map end vote, but that a map end vote is populated with maps decided by the client.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-24-2011 at 21:09.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-24-2011 , 21:45   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #46

Quote:
Originally Posted by Powerlord View Post
Preliminary conclusions are that TF2 does not allow the server to decide which maps appear in a built-in map end vote, but that a map end vote is populated with maps decided by the client.
Scratch that, further analysis indicates that the server is indeed passing a list of maps to clients, we just don't know how.

However, this shows promise. While it likely won't work with revotes (as it just passes the "winning" item), it may very well be possible for us to use this for a custom map vote... or even alter the maps passed to a map vote.

The latter is not ideal, simply because the current behavior is to have the map vote 2 minutes prior to the time running out. This does not work, simply because a map will auto-end if less than 5 minute are on the clock and a round ends.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-24-2011 at 21:48.
Powerlord is offline
DaRk56
Senior Member
Join Date: Jul 2009
Location: France
Old 05-27-2011 , 07:23   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #47

Code:
L 05/27/2011 - 09:23:56: [SM] Native "KillTimer" reported: Invalid timer handle 7a9f053e (error 1)
L 05/27/2011 - 09:23:56: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 05/27/2011 - 09:23:56: [SM]   [0]  Line 403, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::SetupTimeleftTimer()
L 05/27/2011 - 09:23:56: [SM]   [1]  Line 372, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::OnMapTimeLeftChanged()
L 05/27/2011 - 09:30:08: [SM] Native "KillTimer" reported: Invalid timer handle 7a9f053e (error 1)
L 05/27/2011 - 09:30:08: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 05/27/2011 - 09:30:08: [SM]   [0]  Line 403, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::SetupTimeleftTimer()
L 05/27/2011 - 09:30:08: [SM]   [1]  Line 372, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::OnMapTimeLeftChanged()
Add a cvar to see the vote. Plz
DaRk56 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-27-2011 , 08:16   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #48

Quote:
Originally Posted by DaRk56 View Post
Code:
L 05/27/2011 - 09:23:56: [SM] Native "KillTimer" reported: Invalid timer handle 7a9f053e (error 1)
L 05/27/2011 - 09:23:56: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 05/27/2011 - 09:23:56: [SM]   [0]  Line 403, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::SetupTimeleftTimer()
L 05/27/2011 - 09:23:56: [SM]   [1]  Line 372, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::OnMapTimeLeftChanged()
L 05/27/2011 - 09:30:08: [SM] Native "KillTimer" reported: Invalid timer handle 7a9f053e (error 1)
L 05/27/2011 - 09:30:08: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 05/27/2011 - 09:30:08: [SM]   [0]  Line 403, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::SetupTimeleftTimer()
L 05/27/2011 - 09:30:08: [SM]   [1]  Line 372, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::OnMapTimeLeftChanged()
Add a cvar to see the vote. Plz
I'll take a look at the timer thing... not sure what'd cause that.

As for the cvars to see the vote, try this:
Code:
sm_vote_progress_hintbox 1
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-27-2011 , 10:35   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #49

Quote:
Originally Posted by DaRk56 View Post
Code:
L 05/27/2011 - 09:23:56: [SM] Native "KillTimer" reported: Invalid timer handle 7a9f053e (error 1)
L 05/27/2011 - 09:23:56: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 05/27/2011 - 09:23:56: [SM]   [0]  Line 403, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::SetupTimeleftTimer()
L 05/27/2011 - 09:23:56: [SM]   [1]  Line 372, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::OnMapTimeLeftChanged()
L 05/27/2011 - 09:30:08: [SM] Native "KillTimer" reported: Invalid timer handle 7a9f053e (error 1)
L 05/27/2011 - 09:30:08: [SM] Displaying call stack trace for plugin "mapchooser_extended.smx":
L 05/27/2011 - 09:30:08: [SM]   [0]  Line 403, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::SetupTimeleftTimer()
L 05/27/2011 - 09:30:08: [SM]   [1]  Line 372, D:\tf2server\mapchooser_extended\mapchooser_extended\addons\sourcemod\scripting\mapchooser_extended.sp::OnMapTimeLeftChanged()
I think I figured out what happened. I was trying to save some memory by having two timers (that never run at the same time) use the same variable name.

Unfortunately, this causes issues if mp_timelimit is changed.

I have a fix ready, but I'm at work now and can't test it to make sure everything is still working.

I've attached it if you want to try it. It'll report back as version 1.6.2.
Attached Files
File Type: smx mapchooser_extended.smx (18.2 KB, 129 views)
File Type: sp Get Plugin or Get Source (mapchooser_extended.sp - 137 views - 39.7 KB)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-27-2011 at 10:44.
Powerlord is offline
DaRk56
Senior Member
Join Date: Jul 2009
Location: France
Old 05-27-2011 , 15:27   Re: MapChooser Extended 1.6.1 (Updated 2011-05-20)
Reply With Quote #50

i test a new version ;)
DaRk56 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 04:59.


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