Results 1 to 8 of 8

Thread: PVP Filter

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    20

    PVP Filter

    Hi, Im trying to get a filter to work that will show players on other rteams within my level range. I thought it would be something like:

    NPC:0:RTeam:[^3]:;16-32

    That one doesnt work. I have tried variations of the above with no success. RTeam:[^3]:;16-32 works showing every rteam except dark (mine) but it shows npc's too. Is there a way to show only player characters?

    I also tried the map option for pvp race but showeq crashes when that option is enabled.

    Thanks,
    Loco

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    You mean like NPC:0

    Taken straight from the filters.conf.dist
    # has a numeric value as follows:
    # 0 = Player Spawn
    # 1 = NPC Spawn
    # 2 = Player Corpse
    # 3 = NPC Corpse
    # 4 = Unknown Spawn
    # 5 = Coin
    # 6 = Drop

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    20
    Yeah I know NPC:0 will show every player in the zone. Im trying to figure out how to show only players between a specified level range AND on specified race teams. I can't seem to make a filter do both.

    Loco

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    Put 2 and 2 together. You would add the requirement of NPC:0 to your already existing line to filter out PVP team that isn't 3, but is a player.

    # Where the is matched against a filter string
    # constructed as follows (where things in <> are replaced with the
    # value specific to the particular item instance):
    # Name::Race::Class::NPC::X::Y::Z::
    #
    # For spawns that aren't drops/coins the string has the following added to the
    # end of the string:
    # Light::Deity::RTeam::DTeam::Type::
    # [GM:]
    Last edited by Cryonic; 11-20-2003 at 11:05 PM.

  5. #5
    Registered User
    Join Date
    Jul 2002
    Posts
    20
    Thanks for the help Cryonic. It happens I had a extra colon in there screwing me up. So...

    NPC:0:;RTeam:[^3];16-32

    shows only player characters who arent darky within levels 16-32 if anyone cares.


    Loco


    Edit

    Oops I spoke too soon. It didnt work. I can combine class type or anything else with npc type and works just as I'd expect. However I cant seem to combine NCP type with Race or Race Team type and get it to work. For instance Class:Enchanter:NPC:0:;60-65 does show all player character enchanters between levels 60 and 65. However Race:Iksar:NPC:0:;1-65 does not show all Iksar from 1-65.
    Last edited by Loco; 11-20-2003 at 06:21 PM.

  6. #6
    Registered User
    Join Date
    Jul 2002
    Posts
    20
    Just one more stupid question. Could the reason the above race and race team filters don't seem to work (I'm probably just missing something stupid) have anything to do with why pvp team mode on the map causes showeq to crash?

  7. #7
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Originally posted by Loco
    Just one more stupid question. Could the reason the above race and race team filters don't seem to work (I'm probably just missing something stupid) have anything to do with why pvp team mode on the map causes showeq to crash?
    First that I've heard that it makes it crash... And I'm assuming your talking about race teams...

    As to why your query won't work, that is quite simple, it should be:
    Code:
    NPC:0:.*:RTeam:[^3];16-32
    If you look at the filter strings, there is stuff that you want to ignore (like in your case) between the NPC:0 and the RTeam fields, '.*' will match 0 or more of any character occurring between the two things you are trying to match...

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  8. #8
    Registered User
    Join Date
    Jul 2002
    Posts
    20
    Thanks for setting me straight Zaphod. You said you hadn't heard about it so... what happens to me is when I enable pvp teams by right clicking on the map and choosing it from the menu, showeq crashes after a few minutes. There are a couple older threads about it but I didnt find a solution. Im not asking for a fix, your help with the filter is all I needed. Thanks again.

    Loco

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is On
vB code is On
Smilies are On
[IMG] code is On