MapvoteLA13 question

Discussions about Servers
Pileyrei
Masterful
Posts: 745
Joined: Tue May 05, 2009 3:10 pm
Personal rank: UT Survivor

MapvoteLA13 question

Post by Pileyrei »

How do I list maps in a column between certain alphabet letters?
I did it in the past but am struggling to get it working again.

For example, list all DM maps that begin with A through to M.

List1Filter[0]=DM-A-M
List1Filter[0]=DM-A-M*
List1Filter[0]=DM-A*-M*

Gah!
Anyone know how to do this please?
Image

Our Server
Image

[donate][/donate]
Donate to UT99.org!
Spectra
Masterful
Posts: 542
Joined: Tue Jan 22, 2013 5:23 pm
Personal rank: Nullified!
Location: (X) Unable To Locate....

Re: MapvoteLA13 question

Post by Spectra »

I am not sure if mapvote supports such range letters. I am afraid that you will have to type everything separately.

Code: Select all

List1Filter[0]=DM-A*
List1Filter[0]=DM-B*
List1Filter[0]=DM-C*
.
.
.
.
.
List1Filter[0]=DM-M*
Aldebaran
Masterful
Posts: 672
Joined: Thu Jan 28, 2016 7:30 pm

Re: MapvoteLA13 question

Post by Aldebaran »

I think Rocky is right, but you have to increase the index:

List1Filter[0]=DM-A*
List1Filter[1]=DM-B*
List1Filter[2]=DM-C*
...
List2Filter[0]=DM-N*
List2Filter[1]=DM-O*
List2Filter[2]=DM-P*
...
Pileyrei
Masterful
Posts: 745
Joined: Tue May 05, 2009 3:10 pm
Personal rank: UT Survivor

Re: MapvoteLA13 question

Post by Pileyrei »

Thanks Rocky. I suppose listing them that way will work as well.
I swear I managed to do it some like A-E and F-K,etc in the past :x
Image

Our Server
Image

[donate][/donate]
Donate to UT99.org!
User avatar
sektor2111
Godlike
Posts: 6397
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: MapvoteLA13 question

Post by sektor2111 »

There is no "between" from any kind, is just a line for each char, you'll have to group them in 4 columns or... a single column.
Like Rocky said you need to start with 0* 1* 2* 3* 4*... A* B* C*.... for each group, else you can manage them based on separate
game-types using some Virtual Prefix accordingly : iDM, 1on1DM, etc. Mainly LA types are working in the same way.
User avatar
MEAT
Adept
Posts: 299
Joined: Tue Apr 22, 2008 4:14 am
Personal rank: better then you...

Re: MapvoteLA13 question

Post by MEAT »

Isn't there a shorter way of adding all Death Match maps into List 1:
List1Filter[0]=DM-*
Image
User avatar
Barbie
Godlike
Posts: 2770
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: MapvoteLA13 question

Post by Barbie »

Pileyrei wrote:How do I list maps in a column between certain alphabet letters?
By having a look at the code of MapvoteLA13 I must say that the wildcard handling is a very basic one - that wildcard range given by bracket you'll need is not supported (for your example it would be "DM-[A-M]*"); only right side asterisk and the combination of left and right side asterisk is handled. Multiple asterisks in a row are not supported (eg "A**" what should be equivalent to "A*").
MEAT wrote:Isn't there a shorter way of adding all Death Match maps into List 1:
List1Filter[0]=DM-*
Although it doesn't match the thread openers concern: due to MapvoteLA13's documentation above special case (Right(Filter,1) == "-") can be shortened to

Code: Select all

List1Filter[0]=DM-
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett