MapChooser Extended 1.10.2 (Updated 2014-02-05)
97 Attachment(s)
Requirements:
SourceMod 1.4.x. 1.5.x recommended. To compile: A recent version of colors.inc. This plugin is an updated version of Zuko's MapChooser Extended plugin, under a new author. Now on Github! Like my work? Now taking donations. Like SourceMod MapChooser, MapChooser Extended uses addons/sourcemod/maplists.cfg to determine which maps will show up in map votes. Optional Requirements: NativeVotes Plugin (TF2 only) 0.8.0 or newer. For MapChooser Extended Sounds, you need to install a Sound Set. Except on TF2, where the included tf.cfg uses sounds already included with the game. Compilation Requirements:
MapChooser Extended is the SourceMod Mapchooser with the following new features:
What's new since 1.6: 1.7 has a breaking change: All cvars have been renamed to be different from their MapChooser counterparts. Also, you must update your main (English) translation file. This means you need to delete or rename mapchooser_extended.cfg and recreate it. This was done to prevent confusion between MapChooser and MapChooser Extended's config files, since mapchooser had the exact same Cvars.
Spoiler
Spoiler
Installation:
Convars:
MapChooser Extended Sounds:
For Plugin Developers - Mapchooser Extended Forwards:
Plugins that work with MapChooser Extended:
|
Re: MapChooser Extended 1.5
GJ
|
Re: MapChooser Extended 1.5
1 Attachment(s)
French translation
|
Re: MapChooser Extended 1.5
Maybe I should have made it clearer what's new in this version:
1. The plugin is a lot smaller than the older versions. As in, 17.5KB versus 28.7KB. A lot of this was caused by the removal of Sounds from the core, but there was also some savings from moving the map list out as well. The way the map list is done should also take less memory than before (I hope), since only the current game's map list is loaded. The sounds plugin is another 7.85KB, so both combined are still around 3.5KB smaller than version 1.4.2 (25.32KB vs. 28.7KB). 2. The Official Map list is now stored in a bunch of separate files, so they can be updated independently of the main plugin. It also allows other people to submit new lists of files for each game. Said file is checked for changes every map change using the built-in SourceMod ReadMapList function. You can force a check with the sm_mapvote_reload_maplist server command (via console or rcon). It's recommended you just let it update on map change, though. 3. This version is now synced against SourceMod Mapchooser 1.3.7. I'm hoping this gives us better interoperability with other plugins that think they're talking to the SourceMod Mapchooser and are instead talking to Mapchooser Extended. From what I saw, this was mainly changes in how Mapchooser passes data around in timers, plus some logging changes. 4. Fixed some translation issues. I've never really understood how SourceMod determines a client's translation language, but things like (Custom) and the slot blocking lines are now hooked into the client's language instead of the server's language. 5. The code to print votes is gone now. It was redundant as of SourceMod 1.3.0 when the sm_vote_progress_hintbox cvar got added. 6. This rewrite finally fixes the % bug in translations (which still needs to be %% due to how SourceMod works). For real this time. The last time I tried fixing it (with %%%%), it still didn't display properly. Now, messages are handled as they're used rather than translating them, then passing them to additional functions that mangle % signs. 7. Fixed the menu and countdown being ugly in HL2DM, since it uses the older-style menus. |
Re: MapChooser Extended 1.5
1 Attachment(s)
Here's a complete polish translation.
|
Re: MapChooser Extended 1.5
I will be releasing version 1.5.1 shortly. I had a misunderstanding as to which cvars needed to be marked as FCVAR_NOTIFY.
The 1.5.1 zip file will also include the French translation from DaRk56 and the Polish translation from Arcy. Edit: Somehow I didn't replace the source file with the correct version in either the zip or post. Fixed now. |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
I posted 1.5.1 a while back, but it turns out that, although I posted the correct smx file, I posted the wrong sp file both attached and in the zip. This has now been fixed.
|
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
1 Attachment(s)
I've fixed an issue with the Russian translation file. See attachment. I'll also fix it in the 1.5.1 zip.
It goes in addons/sourcemod/translations/ru/ Note: It's still missing the "Cannot Start Vote" translation string, if someone wants to add that. |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Ok again in this new Thread ;-)
With the newest version 1.5.1 i get this error messages at my console ! Whats wrong with the translation file. I use the "en" translation file. Code:
L 05/16/2011 - 20:30:42: -------- Mapchange to de_dust -------- Smith |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Quote:
I assume this is using SourceMod 1.3.7? Edit: These line numbers don't match up to the ones in the 1.5.1 English mapchooser_extended.phrases.txt. Are you sure you're using the newest version? It's in the zip file in the first post. As it says in the first post: "If you're upgrading from 1.3.x or 1.4.x, you need to follow the installation instructions above to get the updated translation files and official map files." |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Yes, its Sourcemod 1.3.7.
I will reinstall the entire plugin from the zip file in the first post. We will see if its my fault. lg Smith |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
So, it was my fault. Sorry for that.
The zip file contain in the translation folder a mapchooser_fr.zip. I thought it has to be replaced with the original mapchooser_extended.phrases in the fr folder. The error lines in my first post are the result from this replacement. Now im using the original mapchooser_extended.phrases.txt for fr and the erros are gone. But: Now there are these Erros ;-) L 05/16/2011 - 23:22:14: -------- Mapchange to de_dust -------- L 05/16/2011 - 23:22:14: [SM] Fatal error encountered parsing translation file "fr/mapchooser_extended.phrases.txt" L 05/16/2011 - 23:22:14: [SM] Error (line 19, column 82): Line contained too many invalid tokens but im sure now that your plugin is perfectly installed ;-) Is there a chance to fix this error message ? lg Smith |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
I forgot to say that the old mapchooser.smx is in the disabled folder .......
|
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Quote:
addons/sourcemod/translations/mapchooser_extended.phrases.txt (this file is in English) addons/sourcemod/translations/fr/mapchooser_extended.phrases.txt (this file is in French) Both are required for the translation system to work, as the English file also defines what {1} and {2} mean. If this is the case, I'll have to do more research as to why the French translation isn't working. |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Quote:
Yes, both phrases are in the right place. en here: addons/sourcemod/translations/ fr here: addons/sourcemod/translations/fr/ I have upped the entire folder layout to my server. So all is on his right place. lg Smith |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
I made a mistake. mapchooser_fr.zip should not be in the zip file. I already copied the french translation into the Mapchooser Extended translations folder.
I will update the zip to remove it. I think what's happening is that it is erroring because the zipped version of the french translation file included "#format" lines that you do not need, because they are already defined in the English translation file. This may be fixed if you download the new zip and use the translation files as they are set up in the zip file. If not, let me know. |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Yeah i know. But this is not the explanation for the errors, i think ? ;-)
I deleted the zip already. lg Smith |
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
Quote:
|
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
I quickly look at my translation seems to me that I have not made a mistake =/
|
Re: MapChooser Extended 1.5 (Updated 2011-05-15)
1 Attachment(s)
OK, I see what happened. There was a missing { on the previous line. I thought it was referring to the {1} tokens, not brackets.
I probably deleted one too many lines when removing the #format commands (as I updated the file to use it with the SourceMod 1.1 Distributing Language Files technique). Here's the new French translation file for use in translations/fr/ for this system. I also updated the main zip in the first post. |
Re: MapChooser Extended 1.5.1 (Updated 2011-05-15)
Many Thanx for your work on it.
Now the script shows no more error lines in the console. ;-) lg Smith |
Re: MapChooser Extended 1.5.1 (Updated 2011-05-15)
I didn't mention it here, but I updated Mapchooser Extended Sounds yesterday to make it considerably easier to add new sound sets.
Having said that, after having 4 different versions of Sounds in 3 days, I'm going to lay off making changes to both plugins unless people are finding new bugs. Also updated the zip file in the main post again to fix extra color strings (which aren't supported in 1.5) from the Russian and Polish translations. If people request that color support be re-added, I can add it back in for the next version and re-assign all the colors in the translation files. |
Re: MapChooser Extended 1.5.1 (Updated 2011-05-15)
Playing in TF2, this isn't working.
Console Spam with this: Code:
L 05/17/2011 - 22:32:20: [SM] Native "ReadPackCell" reported: DataPack operation is out of bounds. |
Re: MapChooser Extended 1.5.1 (Updated 2011-05-15)
Quote:
Needless to say, I didn't see this behavior on my own servers. |
Re: MapChooser Extended 1.5.1 (Updated 2011-05-15)
Quote:
Version 1.5.2 was released. The SMX file is attached to the first post. I'm not sure if it fixes the problem or not, because I'm not experiencing this issue. However, it now resets the internal pointer directly before reading from the DataPack, which is what I should have been doing in the first place (instead, I was resetting it in no less than 4 other places). Strangely, despite the code now being shorter, the smx file has grown larger. I really need to ask the SourceMod team why that is... Edit: Removed files for a moment. The previous "smx file has grown larger" was because another attempted fix was still present in the file, but it's totally unnecessary and wastes memory. Rolling back to older version and reapplying the fix, then doing a quick test of it. Edit 2: OK, new version is tested and posted. |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
Good job mate, very useful and well made plugin :) Keep going.
Btw, i'd like to ask you, why you made this plugin with no sound, and then added plugin to support sounds? Wouldn't it be good, to make a one plugin, with some Cvars, to enable/disable sounds? Thx for answer |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
Quote:
Many of the servers I've visited that use Mapchooser Extended use it without sounds. By moving the sound code to a separate plugin, I've now reduced the size of the plugin for those servers. It also removes a lot of the cvars used for those sounds, making configuration files simpler. That, and Mapchooser Extended Sounds is not the only plugin that can hook the new forwards now exposed by this plugin. Any plugin listening for those events can respond... which reminds me, I need to double-check the code for Mapchooser Extended Sounds and make sure I have it set up with the proper return codes for that... |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
Any reason this is defaulting to Russian for language?
|
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
Quote:
I'm still not completely clear on how SourceMod chooses which language to display to clients. |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
Quote:
|
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
I'm defaulted to english, yet it still displayed in Russian. I worked around it by deleting all of the languages except english from the languages config. Plus, I disabled the client ability to choose language. Only english users are on my server anyway.
|
Re: MapChooser Extended 1.5.2 (Updated 2011-05-17)
1 Attachment(s)
Turns out the Russian translation file had all its strings marked as being in English.
Here's a new Russian translation file (goes in addons/sourcemod/translations/ru/), and the main zip will be updated in a moment. Apparently my own server was missing the Russian translation file, which is why I wasn't seeing it on my own server. When I uploaded it, everything started displaying in Russian. |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-18)
I found a redundant block of code when checking if the current vote is a revote, but I don't think it's major enough change to push out a new release over. It will be present in the next release instead.
I might even redo the revote logic then and force a revote if we still have revotes left and the top two options have the same number of votes. Translators: If this does get added, and it likely will, there will likely be a new translation message that looks something like this. Code:
"Tie Vote" |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-18)
can`t download,
Quote:
(old one got lost in re-install) edit: Oh, just saw you can download the whole pack xD Thanks, but still fix the download for other people :P |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-18)
Quote:
mapchooser_extended.inc defines the forwards Mapchooser Extended calls when votes start, the warning timer ticks, etc... I believe Asherkin said it's on his list of things to change. Edit: I've added a warning to the first post that the Get Plugin link won't work. |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-18)
Quote:
But the zip will work I presume? |
Re: MapChooser Extended 1.5.2 (Updated 2011-05-18)
Quote:
If you uncompress it to your game directory, it should put files in the correct places. |
Re: MapChooser Extended 1.6 (Updated 2011-05-19)
New version: 1.6
What's new in 1.6:
|
Re: MapChooser Extended 1.6 (Updated 2011-05-19)
Spotted and fixed a bug in the 1.6 release. It said 0 people had downloaded it, but just in case, if you grabbed 1.6 before now, please grab it again.
|
Re: MapChooser Extended 1.6 (Updated 2011-05-19)
I've heard reports from one of my users that they can't see the Valve-style vote menus in Team Fortress 2. I'm not sure if this is a client thing or what.
|
All times are GMT -4. The time now is 18:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.