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

[UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
PabloP
SourceMod Donor
Join Date: Feb 2010
Old 02-15-2011 , 19:20   Re: Ultimate Mapchooser v2.0.1 (Updated 2/14/11)
Reply With Quote #271

Hi, I'm using version 2.0.1 and I tried to use the runoff feature for the first time today.
When there is actually a runoff vote, the nextmap doesn't get set and i get this error:

Code:
L 02/15/2011 - 13:36:27: [SM] Native "GetArrayString" reported: Invalid index -1 (count: 0)
L 02/15/2011 - 13:36:27: [SM] Displaying call stack trace for plugin "ultimate-mapchooser.smx":
L 02/15/2011 - 13:36:27: [SM]   [0]  Line 1938, ultimate-mapchooser.sp::Handle_MapVoteResults()
__________________
Beware, Im a dummy
PabloP is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-15-2011 , 19:53   Re: Ultimate Mapchooser v2.0.1 (Updated 2/14/11)
Reply With Quote #272

Quote:
Originally Posted by PabloP View Post
Hi, I'm using version 2.0.1 and I tried to use the runoff feature for the first time today.
When there is actually a runoff vote, the nextmap doesn't get set and i get this error:

Code:
L 02/15/2011 - 13:36:27: [SM] Native "GetArrayString" reported: Invalid index -1 (count: 0)
L 02/15/2011 - 13:36:27: [SM] Displaying call stack trace for plugin "ultimate-mapchooser.smx":
L 02/15/2011 - 13:36:27: [SM]   [0]  Line 1938, ultimate-mapchooser.sp::Handle_MapVoteResults()
Fixed, I'll release the new version tonight.
Steell is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-16-2011 , 00:09   Re: Ultimate Mapchooser v2.0.1 (Updated 2/14/11)
Reply With Quote #273

Version 2.0.2 Released.
  • Fixed (another) obscure bug, this time preventing map from changing.
Attached Files
File Type: zip ultimate-mapchooser.zip (95.0 KB, 126 views)
File Type: sp Get Plugin or Get Source (ultimate-mapchooser.sp - 99 views - 213.3 KB)
Steell is offline
PabloP
SourceMod Donor
Join Date: Feb 2010
Old 02-16-2011 , 02:42   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #274

awesome <3 putting it on now


works great :]

Sooo, this sounds picky probably, but anyway to disable the messages in center of screen warning about runoff vote upcoming
__________________
Beware, Im a dummy

Last edited by PabloP; 02-16-2011 at 03:40.
PabloP is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-16-2011 , 11:39   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #275

Next version is going to have that customizable, I'm just thinking of a good way to do it.
Steell is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 02-16-2011 , 22:51   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #276

You have a memory leak btw:

0x4044059c ultimate-mapchooser. Trie 8512
0xcc16059d ultimate-mapchooser. Trie 8512
0x69f8059e ultimate-mapchooser. Trie 8512
0xa853059f ultimate-mapchooser. Trie 8512
0xed3505a2 ultimate-mapchooser. Trie 8512
0xef2605a3 ultimate-mapchooser. Trie 8512

I have over 255 entries of that within 10 hours of the server being online, to the point where the entire server is bogging down. Appears to be a few more actually, based on this handle dump. Lots of reoccuring entries that are not being cleared.
__________________

Last edited by thetwistedpanda; 02-16-2011 at 23:05.
thetwistedpanda is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-17-2011 , 01:35   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #277

I'm looking into that right now, and I think I've found it. I will release a fix ASAP.
Steell is offline
away000
Veteran Member
Join Date: Sep 2010
Old 02-17-2011 , 01:36   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #278

Thanks for all support Steell....
away000 is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-17-2011 , 13:14   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #279

Version 2.1 Released.
  • Added support for mapchooser's natives.
  • Added customization for how runoff and tiered vote messages are displayed.
    • Two new cvars to control this feature.
  • Fixed memory leak with nominations that are not added to votes.
  • Fixed memory leak with map exclusion algorithm.
Attached Files
File Type: zip ultimate-mapchooser.zip (102.1 KB, 119 views)
File Type: sp Get Plugin or Get Source (ultimate-mapchooser.sp - 104 views - 223.5 KB)
Steell is offline
Steell
SourceMod Donor
Join Date: Mar 2009
Old 02-17-2011 , 13:20   Re: Ultimate Mapchooser v2.0.2 (Updated 2/15/11)
Reply With Quote #280

Quote:
Originally Posted by thetwistedpanda View Post
You have a memory leak btw:

0x4044059c ultimate-mapchooser. Trie 8512
0xcc16059d ultimate-mapchooser. Trie 8512
0x69f8059e ultimate-mapchooser. Trie 8512
0xa853059f ultimate-mapchooser. Trie 8512
0xed3505a2 ultimate-mapchooser. Trie 8512
0xef2605a3 ultimate-mapchooser. Trie 8512

I have over 255 entries of that within 10 hours of the server being online, to the point where the entire server is bogging down. Appears to be a few more actually, based on this handle dump. Lots of reoccuring entries that are not being cleared.
I believe this is fixed in the present version (I looked for every place where I create Trie's and make sure that their handles are eventually closed). Thank you for the bug reports.

As for the natives, I've implemented them the best I could. In order to use them, just #include <mapchooser> in your source and it should be compatible with UMC.
Steell 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 00:51.


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