Unknown Maps

Discussion in 'BF2Statistics discussion' started by kjhedges, Jan 13, 2019.

  1. kjhedges

    kjhedges Member

    Am I correct in asuming that to add additional maps to the stats then I need to add it to the bf2/stats/constants.py

    I done this for some maps and they show up and the snapshot reads fine

    2019-01-13 12:47:46 -- DEBUG: Server IpAddress is Authorized for AuthId!
    2019-01-13 12:47:46 -- NOTICE: SNAPSHOT Data Logged (1-jungle_ravine_20190113_124745.json)
    2019-01-13 12:47:46 -- NOTICE: Begin Processing (jungle_ravine)...
    2019-01-13 12:47:46 -- DEBUG: Existing Server (ID: 1) found using Remote Address
    2019-01-13 12:47:46 -- NOTICE: Standard Map (3205)...

    Some error like below

    2019-01-13 15:09:05 -- ERROR: Exception: Invalid map received (Unknown Map ID): AIX2_The_Bridge_v2 in \ASP\system\framework\Snapshot.php:143


    I added to constants.py the following.

    # HedgesBF2
    "kuwait_oil_fields" : "3200",
    "mercs_el_alamein" : "3201",
    "mercs_kharkov" : "3202",
    "towers" : "3203",
    "battlegrounds" : "3204",
    "jungle_ravine" : "3205",
    "AIX2_The_Bridge_v2" : "3206",
    "Hangar_18" : "3207",
    "gazala_bfds" : "3208",

    Cheers
     
  2. Wilson212

    Wilson212 Administrator Staff Member

    In the constants.py, the Map names need to be all lowercase!
     
    kjhedges likes this.

Share This Page