1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

constants.py for AIX 2.0

Discussion in 'BF2Statistics discussion' started by R4Z0R49, Nov 11, 2008.

  1. R4Z0R49

    R4Z0R49 New Member

    [blockquote]Soldier's

    "ch_support_soldier" : VEHICLE_TYPE_SOLDIER,
    "ch_specops_soldier" : VEHICLE_TYPE_SOLDIER,
    "ch_sniper_soldier" : VEHICLE_TYPE_SOLDIER,
    "ch_medic_soldier" : VEHICLE_TYPE_SOLDIER,
    "ch_engineer_soldier" : VEHICLE_TYPE_SOLDIER,
    "ch_at_soldier" : VEHICLE_TYPE_SOLDIER,
    "ch_assault_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_support_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_specops_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_sniper_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_medic_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_engineer_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_at_soldier" : VEHICLE_TYPE_SOLDIER,
    "mec_assault_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_support_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_specops_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_sniper_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_medic_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_engineer_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_at_soldier" : VEHICLE_TYPE_SOLDIER,
    "un_assault_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_support_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_specops_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_sniper_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_medic_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_engineer_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_at_soldier" : VEHICLE_TYPE_SOLDIER,
    "us_assault_soldier" : VEHICLE_TYPE_SOLDIER,[/blockquote]

    [blockquote]Commander

    "uav_pred" : VEHICLE_TYPE_COMMANDER,[/blockquote]
    [blockquote]
    Airdefence

    "usaas_stinger_no_exit" : VEHICLE_TYPE_AIRDEFENSE,[/blockquote]

    [blockquote]Grounddefence

    "ch_hmg" : VEHICLE_TYPE_GRNDDEFENSE,
    "hmg_m134b" : VEHICLE_TYPE_GRNDDEFENSE,
    "kord" : VEHICLE_TYPE_GRNDDEFENSE,
    "m2" : VEHICLE_TYPE_GRNDDEFENSE,
    "m224_mortar" : VEHICLE_TYPE_GRNDDEFENSE,
    "mec_hmg" : VEHICLE_TYPE_GRNDDEFENSE,
    "t85" : VEHICLE_TYPE_GRNDDEFENSE,
    "us_hmg" : VEHICLE_TYPE_GRNDDEFENSE,
    "Mortar_deployable" : VEHICLE_TYPE_GRNDDEFENSE,[/blockquote]

    [blockquote]Artillery

    "USART_LW155" : VEHICLE_TYPE_ARTILLERY,
    "art_fieldcannon" : VEHICLE_TYPE_ARTILLERY,
    "art_truckcannon" : VEHICLE_TYPE_ARTILLERY,[/blockquote]
    [blockquote]
    Aviators

    "mig19farmer" : VEHICLE_TYPE_AVIATOR,
    "fishbed" : VEHICLE_TYPE_AVIATOR,
    "flagon" : VEHICLE_TYPE_AVIATOR,
    "f5tiger" : VEHICLE_TYPE_AVIATOR,
    "mirageiii" : VEHICLE_TYPE_AVIATOR,
    "flogger" : VEHICLE_TYPE_AVIATOR,
    "mirage2k" : VEHICLE_TYPE_AVIATOR,
    "draken" : VEHICLE_TYPE_AVIATOR,
    "f16" : VEHICLE_TYPE_AVIATOR,
    "f16lg" : VEHICLE_TYPE_AVIATOR,
    "aix_a10" : VEHICLE_TYPE_AVIATOR,
    "aix_a10b" : VEHICLE_TYPE_AVIATOR,
    "aix_av8b" : VEHICLE_TYPE_AVIATOR,
    "aix_draken" : VEHICLE_TYPE_AVIATOR,
    "aix_f117a" : VEHICLE_TYPE_AVIATOR,
    "aix_f16" : VEHICLE_TYPE_AVIATOR,
    "aix_f16lg" : VEHICLE_TYPE_AVIATOR,
    "aix_f5tiger" : VEHICLE_TYPE_AVIATOR,
    "aix_gr7" : VEHICLE_TYPE_AVIATOR,
    "aix_mig19" : VEHICLE_TYPE_AVIATOR,
    "aix_mig21" : VEHICLE_TYPE_AVIATOR,
    "aix_mig23" : VEHICLE_TYPE_AVIATOR,
    "aix_mirage_iii" : VEHICLE_TYPE_AVIATOR,
    "aix_mirage2k" : VEHICLE_TYPE_AVIATOR,
    "aix_su21" : VEHICLE_TYPE_AVIATOR,
    "albatros_diii" : VEHICLE_TYPE_AVIATOR,
    "fokker_dr1" : VEHICLE_TYPE_AVIATOR,
    "fokker_eiii" : VEHICLE_TYPE_AVIATOR,
    "hawkextras" : VEHICLE_TYPE_AVIATOR,
    "mig21m" : VEHICLE_TYPE_AVIATOR,
    "spad_xiii" : VEHICLE_TYPE_AVIATOR,
    "AIX_Be12" : VEHICLE_TYPE_AVIATOR,
    "AIX_Su47" : VEHICLE_TYPE_AVIATOR,
    "AIX_Yak38" : VEHICLE_TYPE_AVIATOR,
    "F16" : VEHICLE_TYPE_AVIATOR,
    "MiG21" : VEHICLE_TYPE_AVIATOR,
    "Mirage" : VEHICLE_TYPE_AVIATOR,
    "aix_su21" : VEHICLE_TYPE_AVIATOR,
    "aix_viggen" : VEHICLE_TYPE_AVIATOR,
    "AIX_Firefox" : VEHICLE_TYPE_AVIATOR,
    "AIX_F12X" : VEHICLE_TYPE_AVIATOR,[/blockquote]

    [blockquote]Helicopters

    "usahe_ah60" : VEHICLE_TYPE_HELICOPTER,
    "a8_extras" : VEHICLE_TYPE_HELICOPTER,
    "ahe_ah1x" : VEHICLE_TYPE_HELICOPTER,
    "ahe_ghost" : VEHICLE_TYPE_HELICOPTER,
    "ahe_roc" : VEHICLE_TYPE_HELICOPTER,
    "ahe_storm" : VEHICLE_TYPE_HELICOPTER,
    "ahe_v10" : VEHICLE_TYPE_HELICOPTER,
    "aix_ah64" : VEHICLE_TYPE_HELICOPTER,
    "aix_ah64gunship" : VEHICLE_TYPE_HELICOPTER,
    "aix_ka50" : VEHICLE_TYPE_HELICOPTER,
    "aix_notar_littlebird" : VEHICLE_TYPE_HELICOPTER,
    "aix_notar_littlebird_trans" : VEHICLE_TYPE_HELICOPTER,
    "blizzard" : VEHICLE_TYPE_HELICOPTER,
    "blizzardextras" : VEHICLE_TYPE_HELICOPTER,
    "chahe_a8" : VEHICLE_TYPE_HELICOPTER,
    "AIX_Rooivalk" : VEHICLE_TYPE_HELICOPTER,
    "aix_mh53j" : VEHICLE_TYPE_HELICOPTER,
    "AIX_Mi24" : VEHICLE_TYPE_HELICOPTER,

    [/blockquote]

    [blockquote]Transports

    "truck1" : VEHICLE_TYPE_TRANSPORT,
    "civiliancar2" : VEHICLE_TYPE_TRANSPORT,
    "jeep_faav" : VEHICLE_TYPE_TRANSPORT,
    "jeep_faav_hf" : VEHICLE_TYPE_TRANSPORT,
    "usjep_hmmwv" : VEHICLE_TYPE_TRANSPORT,
    "aix_atv" : VEHICLE_TYPE_TRANSPORT,
    "aix_atv2" : VEHICLE_TYPE_TRANSPORT,
    "Jeep_Technical" : VEHICLE_TYPE_TRANSPORT,[/blockquote]

    [blockquote]Armored Vehicles

    "asset_pco" : VEHICLE_TYPE_ARMOR,
    "bradley" : VEHICLE_TYPE_ARMOR,
    "maws" : VEHICLE_TYPE_ARMOR,
    "rms" : VEHICLE_TYPE_ARMOR,
    "usac_lav25" : VEHICLE_TYPE_ARMOR,
    "ustnk_m1a2" : VEHICLE_TYPE_ARMOR,[/blockquote]

    [blockquote]Weapons

    #CARBINE
    "g36v" : WEAPON_TYPE_CARBINE,
    "stg" : WEAPON_TYPE_CARBINE,
    "tavor" : WEAPON_TYPE_CARBINE,
    "steyr" : WEAPON_TYPE_CARBINE,
    "ebr" : WEAPON_TYPE_CARBINE,
    #ATMINE
    "at_mine" : WEAPON_TYPE_ATMINE,
    "at4_mine" : WEAPON_TYPE_ATMINE,
    #SHOCKPAD
    "defibrillator" : WEAPON_TYPE_SHOCKPAD,
    #KNIFE
    "kni_knife" : WEAPON_TYPE_KNIFE,
    "throwknife" : WEAPON_TYPE_KNIFE,
    #PISTOL
    "aix_gsh" : WEAPON_TYPE_PISTOL,
    "aix_gsh_silencer" : WEAPON_TYPE_PISTOL,
    "aix_glock19" : WEAPON_TYPE_PISTOL,
    "aix_glock19_silencer" : WEAPON_TYPE_PISTOL,
    "rupis_baghira" : WEAPON_TYPE_PISTOL,
    "rupis_baghira_silencer" : WEAPON_TYPE_PISTOL,
    "uspis_92fs" : WEAPON_TYPE_PISTOL,
    "uspis_92fs_silencer" : WEAPON_TYPE_PISTOL,
    "kit_beretta" : WEAPON_TYPE_PISTOL,
    "kit_gsh" : WEAPON_TYPE_PISTOL,
    "kit_uspmatch" : WEAPON_TYPE_PISTOL,
    "chpis_qsz92" : WEAPON_TYPE_PISTOL,
    "chpis_qsz92_silencer" : WEAPON_TYPE_PISTOL,
    "aix_uspmatch" : WEAPON_TYPE_PISTOL,
    "aix_uspmatch_silencer" : WEAPON_TYPE_PISTOL,
    "aix_beretta" : WEAPON_TYPE_PISTOL,
    "aix_beretta_silencer" : WEAPON_TYPE_PISTOL,
    #GRAPPLINGHOOK
    "kit_grapple" : WEAPON_TYPE_GRAPPLINGHOOK,
    "grapplinghook" : WEAPON_TYPE_GRAPPLINGHOOK,
    #ZIPLINE
    "nsrif_crossbow" : WEAPON_TYPE_ZIPLINE,
    "xp1_zip_handle" : WEAPON_TYPE_ZIPLINE,
    #HANDGRENADE
    "kit_grenade1" : WEAPON_TYPE_HANDGRENADE,
    "ushgr_m67" : WEAPON_TYPE_HANDGRENADE,
    "aix_grenade1" : WEAPON_TYPE_HANDGRENADE,
    "ushgr_m67_2" : WEAPON_TYPE_HANDGRENADE,
    #TACTICAL
    "ammokit" : WEAPON_TYPE_TACTICAL,
    "mec_flaretrap" : WEAPON_TYPE_TACTICAL,
    "medikit" : WEAPON_TYPE_TACTICAL,
    "hgr_flashbang" : WEAPON_TYPE_TACTICAL,
    "hgr_incendiary" : WEAPON_TYPE_TACTICAL,
    "hgr_incendiary_sticky" : WEAPON_TYPE_TACTICAL,
    "hgr_smoke_orange" : WEAPON_TYPE_TACTICAL,
    "hgr_smoke_purple" : WEAPON_TYPE_TACTICAL,
    "hgr_smoke_yellow" : WEAPON_TYPE_TACTICAL,
    "hgr_teargas" : WEAPON_TYPE_TACTICAL,
    "us_binocular" : WEAPON_TYPE_TACTICAL,
    "us_flaretrap" : WEAPON_TYPE_TACTICAL,
    "kit_flaretrap" : WEAPON_TYPE_TACTICAL,
    "kit_incendiary" : WEAPON_TYPE_TACTICAL,
    "kit_mecbinocs" : WEAPON_TYPE_TACTICAL,
    "kit_mortar" : WEAPON_TYPE_TACTICAL,
    "kit_us_binocs" : WEAPON_TYPE_TACTICAL,
    "wrench" : WEAPON_TYPE_TACTICAL,
    "binoculars_mec_ch" : WEAPON_TYPE_TACTICAL,
    "ch_flaretrap" : WEAPON_TYPE_TACTICAL,
    "Mortar_deployable" : WEAPON_TYPE_TACTICAL,
    #CLAYMORE
    "usmin_claymore" : WEAPON_TYPE_CLAYMORE,
    #C4
    "kit_timebomb" : WEAPON_TYPE_C4,
    "c4_explosives" : WEAPON_TYPE_C4,
    "c4_timebomb" : WEAPON_TYPE_C4,
    #ASSAULTGRN
    "sa80glgren" : WEAPON_TYPE_ASSAULTGRN,
    "g36kgren" : WEAPON_TYPE_ASSAULTGRN,
    "aix_g36k_gl" : WEAPON_TYPE_ASSAULTGRN,
    "aix_mgl140" : WEAPON_TYPE_ASSAULTGRN,
    "aix_scarl_gl" : WEAPON_TYPE_ASSAULTGRN,
    "assault_gp25" : WEAPON_TYPE_ASSAULTGRN,
    "assault_gp30" : WEAPON_TYPE_ASSAULTGRN,
    "assault_m16_m203" : WEAPON_TYPE_ASSAULTGRN,
    "at_mgl140" : WEAPON_TYPE_ASSAULTGRN,
    "usrgl_m203" : WEAPON_TYPE_ASSAULTGRN,
    "sasgr_fn2000" : WEAPON_TYPE_ASSAULTGRN,
    "rurgl_gp25" : WEAPON_TYPE_ASSAULTGRN,
    "rurgl_gp30" : WEAPON_TYPE_ASSAULTGRN,
    "gbgr_sa80a2_l85" : WEAPON_TYPE_ASSAULTGRN,
    "grenadelauncher" : WEAPON_TYPE_ASSAULTGRN,
    "scargren" : WEAPON_TYPE_ASSAULTGRN,
    "milkor" : WEAPON_TYPE_ASSAULTGRN,
    #ATAA
    "aix_strela2" : WEAPON_TYPE_ATAA,
    "chat_eryx" : WEAPON_TYPE_ATAA,
    "chat_eryx_lt" : WEAPON_TYPE_ATAA,
    "rurpg_rpg7" : WEAPON_TYPE_ATAA,
    "usatp_predator" : WEAPON_TYPE_ATAA,
    "kit_fim" : WEAPON_TYPE_ATAA,
    "kit_rpg7" : WEAPON_TYPE_ATAA,
    "kit_strela2" : WEAPON_TYPE_ATAA,
    "at_eryx_lt" : WEAPON_TYPE_ATAA,
    "at_rpg7" : WEAPON_TYPE_ATAA,
    "at_stinger" : WEAPON_TYPE_ATAA,
    "at_strela2" : WEAPON_TYPE_ATAA,
    "aix_fim92a" : WEAPON_TYPE_ATAA,
    "aix_rpg7" : WEAPON_TYPE_ATAA,
    "mortar_deployable" : WEAPON_TYPE_ATAA,
    #SHOTGUN
    "aix_m41a_shot" : WEAPON_TYPE_SHOTGUN,
    "engineer_benelli_m4" : WEAPON_TYPE_SHOTGUN,
    "engineer_jackhammer" : WEAPON_TYPE_SHOTGUN,
    "engineer_norinco982" : WEAPON_TYPE_SHOTGUN,
    "engineer_protecta" : WEAPON_TYPE_SHOTGUN,
    "engineer_remington11-87" : WEAPON_TYPE_SHOTGUN,
    "engineer_saiga12" : WEAPON_TYPE_SHOTGUN,
    #SMG
    "eurif_hk53a3" : WEAPON_TYPE_SMG,
    "hk53a3" : WEAPON_TYPE_SMG,
    "famas" : WEAPON_TYPE_SMG,
    "aix_mac11" : WEAPON_TYPE_SMG,
    "p220" : WEAPON_TYPE_SMG,
    "rurif_ak101" : WEAPON_TYPE_SMG,
    "rurif_ak101_b" : WEAPON_TYPE_SMG,
    "rurif_bizon" : WEAPON_TYPE_SMG,
    "rurrif_ak74u" : WEAPON_TYPE_SMG,
    "sasrif_mp7" : WEAPON_TYPE_SMG,
    "rurrif_ak74u_b" : WEAPON_TYPE_SMG,
    "usrif_mp5_a3" : WEAPON_TYPE_SMG,
    "kit_mac11" : WEAPON_TYPE_SMG,
    "at_bizon" : WEAPON_TYPE_SMG,
    "at_mp5" : WEAPON_TYPE_SMG,
    "medic_ak101" : WEAPON_TYPE_SMG,
    "specops_ak74u" : WEAPON_TYPE_SMG,
    "specops_hk53a3" : WEAPON_TYPE_SMG,
    "engineer_famas" : WEAPON_TYPE_SMG,
    "aix_magpul" : WEAPON_TYPE_SMG,
    "aix_Sig552SpecOps" : WEAPON_TYPE_SMG,
    "aix_p90" : WEAPON_TYPE_SMG,
    #ASSAULT
    "sa80gl" : WEAPON_TYPE_ASSAULT,
    "sa80" : WEAPON_TYPE_ASSAULT,
    "g36k" : WEAPON_TYPE_ASSAULT,
    "xm8" : WEAPON_TYPE_ASSAULT,
    "scar" : WEAPON_TYPE_ASSAULT,
    "aix_ak5_tactical" : WEAPON_TYPE_ASSAULT,
    "aix_famas" : WEAPON_TYPE_ASSAULT,
    "eu_famas" : WEAPON_TYPE_ASSAULT,
    "ak5" : WEAPON_TYPE_ASSAULT,
    "sig552" : WEAPON_TYPE_ASSAULT,
    "hk416" : WEAPON_TYPE_ASSAULT,
    "f2000" : WEAPON_TYPE_ASSAULT,
    "chrif_type95_b" : WEAPON_TYPE_ASSAULT,
    "aix_fs2000" : WEAPON_TYPE_ASSAULT,
    "gbrif_sa80a2_l85" : WEAPON_TYPE_ASSAULT,
    "aix_mk14ebr" : WEAPON_TYPE_ASSAULT,
    "aix_g36k_rif" : WEAPON_TYPE_ASSAULT,
    "aix_g36v" : WEAPON_TYPE_ASSAULT,
    "aix_hk416" : WEAPON_TYPE_ASSAULT,
    "aix_m41a" : WEAPON_TYPE_ASSAULT,
    "aix_scarl_rif" : WEAPON_TYPE_ASSAULT,
    "aix_sig552" : WEAPON_TYPE_ASSAULT,
    "aix_steyr_aug" : WEAPON_TYPE_ASSAULT,
    "aix_xm8" : WEAPON_TYPE_ASSAULT,
    "chlmg_type95" : WEAPON_TYPE_ASSAULT,
    "chrif_type85" : WEAPON_TYPE_ASSAULT,
    "chrif_type95" : WEAPON_TYPE_ASSAULT,
    "eurif_famas" : WEAPON_TYPE_ASSAULT,
    "eurif_fnp90" : WEAPON_TYPE_ASSAULT,
    "rurif_ak47" : WEAPON_TYPE_ASSAULT,
    "rurif_ak47_b" : WEAPON_TYPE_ASSAULT,
    "rurif_gp25" : WEAPON_TYPE_ASSAULT,
    "rurif_gp30" : WEAPON_TYPE_ASSAULT,
    "sasrif_fn2000" : WEAPON_TYPE_ASSAULT,
    "sasrif_g36e" : WEAPON_TYPE_ASSAULT,
    "usrif_m4" : WEAPON_TYPE_ASSAULT,
    "usrif_fnscarl" : WEAPON_TYPE_ASSAULT,
    "usrif_g36c" : WEAPON_TYPE_ASSAULT,
    "usrif_g3a3" : WEAPON_TYPE_ASSAULT,
    "usrif_m203" : WEAPON_TYPE_ASSAULT,
    "assault_ak5" : WEAPON_TYPE_ASSAULT,
    "assault_fn_fal" : WEAPON_TYPE_ASSAULT,
    "assault_fn2000" : WEAPON_TYPE_ASSAULT,
    "assault_fnscarl" : WEAPON_TYPE_ASSAULT,
    "assault_g36k" : WEAPON_TYPE_ASSAULT,
    "assault_g3a3" : WEAPON_TYPE_ASSAULT,
    "assault_m41a" : WEAPON_TYPE_ASSAULT,
    "assault_sa80a2" : WEAPON_TYPE_ASSAULT,
    "engineer_hk416" : WEAPON_TYPE_ASSAULT,
    "engineer_mk14ebr" : WEAPON_TYPE_ASSAULT,
    "engineer_tavor" : WEAPON_TYPE_ASSAULT,
    "medic_ak47" : WEAPON_TYPE_ASSAULT,
    "medic_fs2000" : WEAPON_TYPE_ASSAULT,
    "medic_g36e" : WEAPON_TYPE_ASSAULT,
    "medic_m16a2" : WEAPON_TYPE_ASSAULT,
    "medic_sa80" : WEAPON_TYPE_ASSAULT,
    "medic_steyr_aug" : WEAPON_TYPE_ASSAULT,
    "specops_aix_famas" : WEAPON_TYPE_ASSAULT,
    "specops_fnscarl" : WEAPON_TYPE_ASSAULT,
    "specops_g36c" : WEAPON_TYPE_ASSAULT,
    "specops_m4" : WEAPON_TYPE_ASSAULT,
    "specops_sg552" : WEAPON_TYPE_ASSAULT,
    "specops_type95" : WEAPON_TYPE_ASSAULT,
    "specops_xm8" : WEAPON_TYPE_ASSAULT,
    "aix_tavor" : WEAPON_TYPE_ASSAULT,
    "aix_Vintorez" : WEAPON_TYPE_ASSAULT,
    "aix_type97" : WEAPON_TYPE_ASSAULT,
    #SNIPER
    "l96" : WEAPON_TYPE_SNIPER,
    "tpg1" : WEAPON_TYPE_SNIPER,
    "dsr" : WEAPON_TYPE_SNIPER,
    "m109" : WEAPON_TYPE_SNIPER,
    "aix_as50" : WEAPON_TYPE_SNIPER,
    "aix_barrett_m109" : WEAPON_TYPE_SNIPER,
    "aix_dsr" : WEAPON_TYPE_SNIPER,
    "chsni_type88" : WEAPON_TYPE_SNIPER,
    "gbrif_l96a1" : WEAPON_TYPE_SNIPER,
    "rurif_dragunov" : WEAPON_TYPE_SNIPER,
    "usrif_m24" : WEAPON_TYPE_SNIPER,
    "chrif_type95" : WEAPON_TYPE_SNIPER,
    "chrif_type85" : WEAPON_TYPE_SNIPER,
    "sniper_as50" : WEAPON_TYPE_SNIPER,
    "sniper_dragunov" : WEAPON_TYPE_SNIPER,
    "sniper_dsr" : WEAPON_TYPE_SNIPER,
    "sniper_l96a1" : WEAPON_TYPE_SNIPER,
    "sniper_m109" : WEAPON_TYPE_SNIPER,
    "sniper_m24" : WEAPON_TYPE_SNIPER,
    "sniper_m82" : WEAPON_TYPE_SNIPER,
    "sniper_m95_barret" : WEAPON_TYPE_SNIPER,
    "sniper_tpg1" : WEAPON_TYPE_SNIPER,
    "sniper_type88" : WEAPON_TYPE_SNIPER,
    "kit_as50" : WEAPON_TYPE_SNIPER,
    "aix_tpg1" : WEAPON_TYPE_SNIPER,
    #LMG
    "hk21" : WEAPON_TYPE_LMG,
    "minimec" : WEAPON_TYPE_LMG,
    "mini" : WEAPON_TYPE_LMG,
    "aix_stg58" : WEAPON_TYPE_LMG,
    "eurif_hk21" : WEAPON_TYPE_LMG,
    "sasrif_mg36" : WEAPON_TYPE_LMG,
    "uslmg_m249saw" : WEAPON_TYPE_LMG,
    "rulmg_pkm" : WEAPON_TYPE_LMG,
    "rulmg_rpk74" : WEAPON_TYPE_LMG,
    "chlmg_type95" : WEAPON_TYPE_LMG,
    "support_hk21" : WEAPON_TYPE_LMG,
    "support_m249saw" : WEAPON_TYPE_LMG,
    "support_mg36" : WEAPON_TYPE_LMG,
    "support_minigun" : WEAPON_TYPE_LMG,
    "support_minigun_mec" : WEAPON_TYPE_LMG,
    "support_pkm" : WEAPON_TYPE_LMG,
    "support_rpk74" : WEAPON_TYPE_LMG,
    "support_stg58" : WEAPON_TYPE_LMG,
    "support_type95" : WEAPON_TYPE_LMG,
    "aix_portableminigun" : WEAPON_TYPE_LMG,
    "aix_portableminigun_mec" : WEAPON_TYPE_LMG,
    "aix_type97_MG" : WEAPON_TYPE_LMG,[/blockquote]


    hope you enjoy and sorry thought this way might be easier i tend to remove download links after a few weeks
     
  2. wutzmann

    wutzmann New Member

    Und das noch vor der Veröffentlichung, super!

    Da habe ich schon drauf gewartet. Thanks R4ZOR49!
     
  3. Leon_tbk

    Leon_tbk Member

    Auch von mir ein ganz großes DANKESCHÖN. !kiss
     
  4. Leon_tbk

    Leon_tbk Member

    Hallo zusammen,
    wenn der AIX 1.0 Mod benutzt wird, sorgt folgender Eintrag für einen Absturtz des Server.

    "uav_pred" : VEHICLE_TYPE_COMMANDER,

    Ist das noch jemand bekannt und wird dieser Eintrag von AIX 2.0 benötigt?
     
  5. wutzmann

    wutzmann New Member

    Hier meine aktuelle constants.py für AIX 2.0

    Maps added by Wutzmann
    AIX 0.2
    AIX 2.0
    ITHH AIX V2 Mappack
    AIXextraMaps
    AIXmercs
    AIX-Multiplayerkarten
    FPS AIX Map Pack
    TDG Map Pack
    TBS AIX Mappack
    Devilman's AIX Anti Tank Mappack
    Hayabusa's AIX Mappack

    VehicleType for AIX 2.0 (by R4Z0R49)

    Eine genaue Aufstellung der einzelnen Karten gibt es HIER
     
  6. Leon_tbk

    Leon_tbk Member

    Der Link ist tot.
     
  7. wutzmann

    wutzmann New Member

    Sorry, mein fehler!

    Geht jetzt.
     
  8. yogi

    yogi New Member

    hat schon jemand das neue mappack 1 von ITTH mit eingebaut für AIX 2.0?
    da gibt es wohl ganz neue map names, z.b. bataan ...

    /OT
    kennt jemand einen weg, die ip2nation upzudaten? die falschen fahnen nerven mich so langsam...
    ich habe gesehen das beim einrichten der datenbank der bf2 stats admin das mitverarbeitet,
    habe aber keine ahnung, wie man z.b. eine aktuelle ip2nation da rein kriegt. ideeen?

    thx
    yogi
     
  9. Thinner

    Thinner New Member

    @R4Z0R49:

    Thx for the constants.py, but IMHO there are kit-types missing.

    [edit]
    Perhaps these are the pickup kits. Or they are related to the ITTH mappack for AIX 2.0.
    If so, please don't care.

    [/edit]

    assault_ak5
    ch_assault-inf
    ch_at-inf
    ch_engineer-inf
    ch_sniper-inf
    ch_specops-inf
    engineer_jackhammer
    engineer_tavor
    mec_support_pkm
    sniper_as50
    sniper_dragunov
    sniper_m24
    support_m249saw
    us_assault-inf
    us_at-inf
    us_engineer-inf
    us_specops-inf
    us_support_saw

    here some logs:
    2427.64278 STATS onPickupKit D. King kit=CH_Assault-inf
    2427.64278 STATS onPickupKit D. King triggering --> player.stats.kits[kitType].enter(player)
    2427.64278 STATS ObjectStat: D. King Enter type=7 --- enterAt:2427.64278 score:0

    1271.048494 STATS onPickupKit Thinner kit=Sniper_Dragunov
    1271.048494 STATS onPickupKit Thinner triggering --> player.stats.kits[kitType].enter(player)
    1271.048494 STATS ObjectStat: Thinner Enter type=7 --- enterAt:1271.048494 score:4

    type=7 is:
    NUM_KIT_TYPES = 7
    KIT_TYPE_UNKNOWN = NUM_KIT_TYPES

    Could you check this please.
     
  10. Thinner

    Thinner New Member

    @yogi

    Lade dir die aktuellen IP2Nation Daten runter: http://www.ip2nation.com/
    Die in dem Archiv enthaltene Datei ip2nation.sql musst du dann als SQL auf deine Datenbank ausführen (vorheriges Backup der Datenbank nicht vergessen!).

    Für phpMyAdmin: http://www.dewahost.com/tutorials/cpanelx/importsqlfile.html
     
  11. Leon_tbk

    Leon_tbk Member

    @ Thinner
    Ich habe folgendes drin:

    KIT_TYPE_AT = 0
    KIT_TYPE_ASSAULT = 1
    KIT_TYPE_ENGINEER = 2
    KIT_TYPE_MEDIC = 3
    KIT_TYPE_SPECOPS = 4
    KIT_TYPE_SUPPORT = 5
    KIT_TYPE_SNIPER = 6
    KIT_TYPE_AA = 7
    KIT_TYPE_PILOT = 8
    KIT_TYPE_CREWMAN = 9
    KIT_TYPE_OFFICER = 10
    KIT_TYPE_MORTAR = 11
    KIT_TYPE_MARKSMAN = 12
    KIT_TYPE_CIVILIAN = 13
    NUM_KIT_TYPES = 14
    KIT_TYPE_UNKNOWN = NUM_KIT_TYPES

    und danke für den IP2Nation hinweiß.
     
  12. wutzmann

    wutzmann New Member

    Hier meine aktuelle constants.py für AIX 2.0

    Maps added by Wutzmann
    AIX 0.2
    AIX 2.0
    ITHH AIX V2 Mappack
    AIXextraMaps
    AIXmercs
    AIX-Multiplayerkarten
    FPS AIX Map Pack
    TDG Map Pack
    TBS AIX Mappack
    Devilman's AIX Anti Tank Mappack
    Hayabusa's AIX Mappack

    VehicleType for AIX 2.0 (by R4Z0R49)

    Eine genaue Aufstellung der einzelnen Karten gibt es HIER
     
  13. Thinner

    Thinner New Member

    @Leon_tbk:

    Das meine ich nicht.

    Ich logge alle Aufrufe der constant.py mit und da tauchen eben Kits auf, die ich in keiner constant.py die ich bisher gesehen habe, gefunden habe. Ein Blick in die Serverstats-logs zeigt dann auch dass es sich wirklich um Kits handelt (OnPickupKit und OnDropKit Events).

    Normalerweise steht dort sowas wie
    300.670006 STATS onPickupKit Thinner kit=US_Assault
    also die ganz normalen Kits, nun aber auch sowas:
    1160.953715 STATS onPickupKit Thinner kit=Sniper_m24
    1271.048494 STATS onPickupKit Thinner kit=Sniper_Dragunov

    Mit dem ITTH MapPack für AIX 2.0 kommt dann noch sowas dazu:
    onPickupKit Thinner kit=US_Assault-inf
    Aber darum kümmere ich mich später.


    Hier die zusätzlichen Kits die ich nach nochmaliger Kontrolle der AIX 1.0 (und ich dachte schon ich hätte alles erwischt) und AIX 2.0 logs gefunden habe:

    Garantiert noch unvollständig und Benutzung auf eigene Gefahr!

    kitTypeMap = {
    ...

    # AIX mit ITTH MapPack 1-3
    "assault_g3a3" : KIT_TYPE_ASSAULT,
    "assault_gp25" : KIT_TYPE_ASSAULT,
    "assault_m41a" : KIT_TYPE_ASSAULT,
    "at_eryx_lt" : KIT_TYPE_AT,
    "at_rpg7" : KIT_TYPE_AT,
    "at_stinger" : KIT_TYPE_AT,
    "at_strela2" : KIT_TYPE_AT,
    "sniper_dragunov" : KIT_TYPE_SNIPER,
    "specops_m4" : KIT_TYPE_SPECOPS,
    "specops_type95" : KIT_TYPE_SPECOPS,
    "support_minigun" : KIT_TYPE_SUPPORT,
    "support_minigun_mec" : KIT_TYPE_SUPPORT,

    # AIX 2.0 erstmal ohne ITTH MapPack
    "at_bizon" : KIT_TYPE_AT,
    "engineer_jackhammer" : KIT_TYPE_ENGINEER,
    "engineer_remington11-87" : KIT_TYPE_ENGINEER,
    "sniper_l96a1" : KIT_TYPE_SNIPER,
    "sniper_m24" : KIT_TYPE_SNIPER,
    "specops_g36c" : KIT_TYPE_SPECOPS,
    "support_m249saw" : KIT_TYPE_SUPPORT,
    "mec_support_pkm" : KIT_TYPE_SUPPORT,
    "us_support_saw" : KIT_TYPE_SUPPORT
    }
     
  14. yogi

    yogi New Member

    @ Thinner

    danke für deine antwort.
    nun habe ich eine tabelle mehr in meiner bf2stats datenbank.
    nur passieren tut nix, wie geht es weiter?
     
  15. Thinner

    Thinner New Member

    Die zusätzliche Tabelle ip2nationCountries kannst du ignorieren oder auch löschen, sie wird von dem Stats-System nicht verwendet.

    Was hast du denn erwartet was passiert? Die Länderkennungen werden erst nach dem Spielen einer Map aktualisiert. Natürlich nur für die Spieler die diese Map auch gespielt haben.

    Ansonsten könnte man alles auch über SQL aktualisieren, aber für heute bin ich erstmal raus...

    [edit]

    Hat mir natürlich keine Ruhe gelassen. Mach ein Backup deiner Datenbank!!! Und probiers mal damit:

    UPDATE player SET country = (SELECT ip2nation.country FROM ip2nation WHERE ip2nation.ip < INET_ATON(player.ip) ORDER BY ip2nation.ip DESC LIMIT 1)

    Mein Herkunftsland hat er wieder richtig gesetzt, nur alle Bots sind aus den USA nach Japan umgezogen.

    Um sie daran zu hindern musst du vor dem obigen Befehl folgenden ausführen:

    UPDATE ip2nation SET country = 'us' WHERE ip=2113929216

    Zur Kontrolle ob es funktioniert:

    SELECT country, ip FROM ip2nation WHERE ip < INET_ATON('127.0.0.1') ORDER BY ip DESC LIMIT 1

    Jetzt ist aber wirklich Schluß für heute...

    [/edit]
     
  16. Leon_tbk

    Leon_tbk Member

    @ Thinner
    Bis auf drei Einträge kannte ich den rest schon.

    • "at_eryx_lt" : KIT_TYPE_AT,#
    • "mec_support_pkm" : KIT_TYPE_SUPPORT,#
    • "us_support_saw" : KIT_TYPE_SUPPORT#

    Wäre es nicht praktisch wenn wir uns einen Weg überlegen, die constants.py an einem Ort zu pflegen? !search
     
  17. Leon_tbk

    Leon_tbk Member

    @ Thimmer
    Ich bräuchte mal den Rat eines Fachmanns.

    Ich habe bisher die Loganalyse sehr umständlich über Excel gelöst und nun wollte ich die Sache über die constans.py machen.
    Da ich aber keine Leuchte in Python bin habe ich folgendes versucht, mit dem Ergebnis das nichts in den Log's ankommt.

    Kannst du mir sagen wo mein Denkfehler ist.

    Code:
    Code:
    def getVehicleType(templateName):
    datei = "c:/BF2Log/Log_vehicleType.txt"
    out_file = open(datei,"a")
    out_file.write(vehicleType)
    out_file.close()
    try:
    vehicleType = vehicleTypeMap[string.lower(templateName)]
    except KeyError:
    return VEHICLE_TYPE_UNKNOWN
    
    return vehicleType
    
     
  18. yogi

    yogi New Member

    AIX 2.0 ITHH maps city_park & city_park_night are missing,
    just to let u know...
    i also delete the other city_park map not to have 2 of them,
    now everything works fine...
    :)

    BUT another AIX 2 issue:

    UN forces are armykey 15 in constants.py
    my database only goes up to 11 (army structure)
    so i am afraid but i lost all UN times etc. so far... !drool

    how to fix this for the future?
    can i just add those 7 missing fields at the end under army11 to make it work???
    thx for ur ideas
    :((
     
  19. Leon_tbk

    Leon_tbk Member

  20. Megapegasus

    Megapegasus New Member

    Hat zufällig jemand ne constants die für aix 2.0 und Hardjustice funktioniert? Wir zocken die beiden Mods im Wechsel aber ich finde keine passende Constants für Hardjustice.