Find out how popular your maps really are

Discussion in 'Mapping Questions & Discussion' started by FireSlash, Sep 29, 2009.

  1. FireSlash

    FireSlash L2: Junior Member

    Messages:
    50
    Positive Ratings:
    49
    • Thanks Thanks x 21
  2. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    243
    Nice work, always wondered if there could be an easier way than googling the map name :p
     
  3. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    8
    that's very cool. maybe Valve will take notice and give you a community weapon:p.(seriously)
    Very nice.
     
  4. drp

    aa drp

    Messages:
    2,256
    Positive Ratings:
    2,572
    getting array errors

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/fireslash/public_html/tf2/map_info.php on line 62

    nice script btw
     
  5. Chaopsychochick

    Chaopsychochick L4: Comfortable Member

    Messages:
    189
    Positive Ratings:
    91
    I got errors as well.

    Though looking through the list that looks really nice.

    I am just sad that no version of Bayou has been played when it was polling. Darn. Though I haven't really advertised it much, so I guess it is to be expected. :p
     
  6. Wegason

    Wegason L4: Comfortable Member

    Messages:
    150
    Positive Ratings:
    61
    *cries at all the versions of 2fort*

    *Cries again that Mario Kart and CP Orange are more "popular" than top quality customs.*
     
    • Thanks Thanks x 2
  7. Lord Ned

    Lord Ned L7: Fancy Member

    Messages:
    421
    Positive Ratings:
    174
    Errors, :(. I wanna see if anyone plays Hydroelectric.
     
  8. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,920
    No one. it's not even in the list.
     
  9. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    8
    ctrl+f is your friend.
    And I can't believe people are still playing that awful orange edit I made a long time ago:O. It was my first experience with hammer, and is by default terrible. That was before I knew about optimization, func_details, and the grid.
    At least i never carved anything:rolleyes:
     
  10. FireSlash

    FireSlash L2: Junior Member

    Messages:
    50
    Positive Ratings:
    49
    Errors?!

    Dammit dammit dammit...

    Err, actually looks like it only errors if you search for something not in the database. Now, the data here is only a day or so old right now, so if your map isn't in any active server's rotation, it's not going to show. I'll clean up the errors though :)

    Code:
    +--------------------------+
    | map                      |
    +--------------------------+
    | ctf_2fort                |
    | ctf_2fort_sunrise        |
    | arena_2fort              |
    | ctf_2fort_tf2fr_alpha3   |
    | ctf_2fort_night          |
    | ctf_2fort_rainy_final    |
    | ctf_2fort_revamp_b2      |
    | ctf_2fort_revamp_b3      |
    | ctf_2fort_engi_power4    |
    | ctf_2fort_egyptyV05      |
    | ctf_2fort_engi_power     |
    | ctf_2fort_night2_b2      |
    | ctf_2fortn               |
    | ctf_2fort_tf2fr_b1       |
    | koth_2fort_b2            |
    | ctf_2fort_rainy          |
    | ctf_2fort_revamp_b1      |
    | ctf_2fort_freak          |
    | pl_2fort_pricev3d        |
    | pl_2fort_priceV4Final    |
    | 2fortsniper_tf2_f        |
    | ctf_2fort_classic_v2     |
    | ctf_2fort_kross_v2       |
    | ctf_2fort_kross_v2_storm |
    | cp_2fort                 |
    | 2fortsniper_haunted      |
    | ctf_2fort_tf2fr_alpha2   |
    +--------------------------+
    27 rows in set (0.27 sec)
     
    Last edited: Sep 29, 2009
  11. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    It would be cool if you could do a partial match search, or use wildcards. So you could easily compare different versions of a map, or filter the list to a certain gametype.
     
  12. Lord Ned

    Lord Ned L7: Fancy Member

    Messages:
    421
    Positive Ratings:
    174
    Would also allow people to find servers that are running old versions of your map.
     
  13. FireSlash

    FireSlash L2: Junior Member

    Messages:
    50
    Positive Ratings:
    49
    You can, with http://fireslash.net/~fireslash/tf2/server_find.php

    Use % as a wildcard

    for example, if you wanted 2fort variations, you could search %2fort%, of if you wanted just variations of ctf_2fort, you could search ctf_2fort%... a more practical search: all beta versions of pl_waste would be pl_waste_b%

    This only searches servers currently running the map though, not historic results. The reasoning here is that doing a partial match on that massive db is more than a little slow.
     
  14. Chaopsychochick

    Chaopsychochick L4: Comfortable Member

    Messages:
    189
    Positive Ratings:
    91
    Really? Using a DB and it is still slow even with that sort of simple string?

    Sounds like you could stand to do a little optimization for that. I am willing to help a bit with that if you want, though I not an expert with DBs by anymeans. :/
     
  15. Shmitz

    aa Shmitz Old Hat

    Messages:
    1,129
    Positive Ratings:
    742
    Very nice. I wanted to get something like that running about a year ago, but the guy I asked to help flaked out on me. I've always thought "what servers is it on at this second" is a terrible way to search for maps. Gotta have some kind of database that tells you what servers have the map in the rotation, even if it's not playing at this second.
     
  16. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    466
    It's like our worst nightmares came true
     
  17. FireSlash

    FireSlash L2: Junior Member

    Messages:
    50
    Positive Ratings:
    49
    It's a combination of a lot of things right now.

    The two primary problems are that my server is oversaturated with other services and programs, and that I'm not entirely sure what services people want yet, so I don't know what data I need to keep and how best to store it.

    Once I have a good idea of what people want, I'll start building much faster meta tables.
     
    • Thanks Thanks x 1
  18. LordNor

    LordNor L3: Member

    Messages:
    134
    Positive Ratings:
    15
    i like it
     
  19. DaBeatzProject

    aa DaBeatzProject

    Messages:
    1,276
    Positive Ratings:
    1,141
  20. FireSlash

    FireSlash L2: Junior Member

    Messages:
    50
    Positive Ratings:
    49