• Problèmes shop


    Bonjour je poste ce sujet car j’ai un problème dans mes shop . J’ai installé le mod CUP Weapon est quand je vais pour prendre l’arme sa marche les chargeurs aussi mais les viseurs n’apparaissent pas même sur les armes non modder

    Config_Wepons.hpp :

    class WeaponShops {
        //Armory Shops
        class gun {
            name = "Billy Joe's Firearms";
            side = "civ";
            conditions = "license_civ_gun";
            items[] = {
                { "CUP_hgun_Duty", "", 20000, 3250, "" },
                { "CUP_hgun_Colt1911", "", 15000, 3500, "" }, //Apex DLC
                { "CUP_hgun_M9", "", 18500, 4925, "" },
                { "CUP_hgun_PB6P9", "", 11500, 5750, "" },
                { "CUP_hgun_TaurusTracker455", "", 18000, 9000, "" }, //Apex DLC
                { "CUP_hgun_TaurusTracker455_gold", "", 20000, 10000, "" }
            };
            mags[] = {
                { "16Rnd_9x21_Mag", "", 125, 60, "" },
                { "CUP_7Rnd_45ACP_1911", "", 150, 75, "" },
                { "CUP_15Rnd_9x19_M9", "", 200, 100, "" },
                { "CUP_8Rnd_9x18_Makarov_M", "", 250, 125, "" },
                { "CUP_6Rnd_45ACP_M", "", 250, 125, "" }
            };
            accs[] = {
                { "optic_ACO_grn_smg", "", 2500, 1250, "" }
            };
        };
    
        class rebel {
            name = "Mohammed's Jihadi Shop";
            side = "civ";
            conditions = "license_civ_rebel";
            items[] = {
                { "arifle_TRG20_F", "", 25000, 7500, "" },
    			{ "arifle_Katiba_F", "", 100000, 7500, "" },
    			{ "srifle_DMR_01_F", "", 150000, 7500, "" },
    			{ "arifle_SDAR_F", "", 30000, 7500, "" },
    			{ "srifle_DMR_05_blk_F", "", 600000, 7500, "" },
    			{ "LMG_Zafir_F", "", 700000, 7500, "" },
    			{ "arifle_Mk20_F", "", 35000, 7500, "" },
    			{ "arifle_AK12_F", "", 200000, 7500, "" },
    			{ "arifle_AKM_F", "", 150000, 7500, "" },
    			{ "arifle_ARX_blk_F", "", 200000, 7500, "" },
    			{ "srifle_DMR_06_camo_F", "", 300000, 7500, "" },
    			{ "10Rnd_50BW_Mag_F", "", 20000, 150, "" },
    			{ "Binocular", "", 150, 75, "" },
                { "ItemGPS", "", 100, 50, "" },
                { "ItemMap", "", 50, 25, "" },
                { "ItemCompass", "", 50, 25, "" },
                { "ItemWatch", "", 50, 25, "" },
                { "FirstAidKit", "", 150, 75, "" },
                { "NVGoggles", "", 2000, 1000, "" },
                { "Chemlight_red", "", 300, 150, "" },
                { "Chemlight_yellow", "", 300, 150, "" },
                { "Chemlight_green", "", 300, 150, "" },
                { "SmokeShell", "", 5000, 150, "" },
    			{ "tf_anprc148jem", "", 500, 150, "" },
    			{ "tf_anprc152", "", 500, 150, "" }
    			
            };
            mags[] = {
                { "30Rnd_556x45_Stanag", "", 300, 150, "" },
                { "10Rnd_762x54_Mag", "", 500, 150, "" },
    			{ "20Rnd_762x51_Mag", "", 200, 150, "" },
    			{ "200Rnd_65x39_cased_Box", "", 1000, 150, "" },
    			{ "150Rnd_762x54_Box", "", 5000, 150, "" },
    			{ "30Rnd_65x39_caseless_green", "", 300, 150, "" },
    			{ "30Rnd_762x39_Mag_F", "", 300, 150, "" },
    			{ "10Rnd_93x64_DMR_05_Mag", "", 4000, 150, "" },
    			{ "30Rnd_65x39_caseless_mag", "", 300, 150, "" },
    			{ "20Rnd_762x51_Mag", "", 2000, 150, "" }
            };
            accs[] = {
                { "optic_ACO_grn", "", 1000, 100, "" },
                { "optic_Holosight", "", 1200, 100, "" },
                { "optic_Hamr", "", 1500, 100, "" },
                { "optic_DMS", "", 18000, 100, "" },
    			{ "optic_Arco", "", 2000, 100, "" },
    			{ "optic_LRPS", "", 20000, 100, "" },
    			{ "optic_ERCO_blk_F", "", 1500, 100, "" },
    			{ "optic_MRCO", "", 1500, 100, "" },
    			{ "acc_flashlight", "", 1000, 100, "" },
    			{ "optic_Hamr", "", 650, 100, "" }
            };
        };
    
        class gang {
            name = "Hideout Armament";
            side = "civ";
            conditions = "";
            items[] = {
                { "hgun_Rook40_F", "", 1500, 750, "" },
                { "hgun_Pistol_heavy_02_F", "", 2500, 1250, "" },
                { "hgun_ACPC2_F", "", 4500, 2250, "" },
                { "hgun_PDW2000_F", "", 9500, 4750, "" }
            };
            mags[] = {
                { "16Rnd_9x21_Mag", "", 125, 60, "" },
                { "6Rnd_45ACP_Cylinder", "", 150, 75, "" },
                { "9Rnd_45ACP_Mag", "", 200, 100, "" },
                { "30Rnd_9x21_Mag", "", 250, 125, "" }
            };
            accs[] = {
                { "optic_ACO_grn_smg", "", 950, 475, "" }
            };
        };
    
        //Basic Shops
        class genstore {
            name = "Altis General Store";
            side = "civ";
            conditions = "";
            items[] = {
                { "Binocular", "", 150, 75, "" },
                { "ItemGPS", "", 100, 50, "" },
                { "ItemMap", "", 50, 25, "" },
                { "ItemCompass", "", 50, 25, "" },
                { "ItemWatch", "", 50, 25, "" },
                { "FirstAidKit", "", 150, 75, "" },
                { "Chemlight_red", "", 300, 150, "" },
                { "Chemlight_yellow", "", 300, 150, "" },
                { "Chemlight_green", "", 300, 150, "" },
                { "Chemlight_blue", "", 300, 150, "" },
    			{ "tf_anprc148jem", "", 500, 150, "" },
    			{ "tf_anprc152", "", 500, 150, "" }
            };
            mags[] = {};
            accs[] = {};
        };
    
        class f_station_store {
            name = "Altis Fuel Station Store";
            side = "";
            conditions = "";
            items[] = {
                { "Binocular", "", 750, 75, "" },
                { "ItemGPS", "", 500, 50, "" },
                { "ItemMap", "", 250, 25, "" },
                { "ItemCompass", "", 250, 25, "" },
                { "ItemWatch", "", 250, 25, "" },
                { "FirstAidKit", "", 750, 75, "" },
                { "Chemlight_red", "", 1500, 150, "" },
                { "Chemlight_yellow", "", 1500, 150, "" },
                { "Chemlight_green", "", 1500, 150, "" },
                { "Chemlight_blue", "", 1500, 150, "" },
    			{ "tf_anprc148jem", "", 500, 150, "" },
    			{ "tf_anprc152", "", 500, 150, "" }
            };
            mags[] = {};
            accs[] = {};
        };
    
        //Cop Shops
        class cop_basic {
            name = "Altis Cop Shop";
            side = "cop";
            conditions = "";
            items[] = {
                { "Binocular", "", 500, 100, "call life_coplevel >= 1" },
                { "ItemGPS", "", 500, 100, "call life_coplevel >= 1" },
                { "FirstAidKit", "", 500, 100, "call life_coplevel >= 1" },
                { "NVGoggles", "", 2000, 100, "call life_coplevel >= 1" },
                { "HandGrenade_Stone", $STR_W_items_Flashbang, 500, 100, "call life_coplevel >= 1" },
    			{ "tf_anprc148jem", "", 500, 150, "call life_coplevel >= 1" },
    			{ "tf_anprc152", "", 500, 150, "call life_coplevel >= 1" },
                { "hgun_P07_snds_F", $STR_W_items_StunPistol, 500, 100, "call life_coplevel >= 1" },
                { "CUP_smg_EVO", "", 1500, 100, "call life_coplevel >= 1" },
    			{ "CUP_hgun_BallisticShield_Armed", "", 1500, 100, "call life_coplevel >= 1" },
                { "CUP_smg_MP5A5", "", 1500, 100, "call life_coplevel >= 1" },
                { "CUP_arifle_G36C", "", 1500, 100, "call life_coplevel >= 2" }, 
    			{ "CUP_arifle_M4A1_black", "", 1500, 100, "call life_coplevel >= 2" }, 
                { "CUP_arifle_MG36", "", 1500, 100, "call life_coplevel >= 3" },
    			{ "arifle_SPAR_01_blk_F", "", 1500, 100, "call life_coplevel >= 3" },
                { "CUP_arifle_Mk16_CQC", "",1500, 100, "call life_coplevel >= 4" },
    			{ "CUP_arifle_FNFAL_railed", "",1500, 100, "call life_coplevel >= 4" },
                { "arifle_SPAR_02_blk_F", "", 1500, 100, "call life_coplevel >= 5" },
                { "CUP_arifle_Mk17_STD", "", 1500, 100, "call life_coplevel >= 5" },
    			{ "CUP_arifle_M16A4_Base", "", 1500, 100, "call life_coplevel >= 6" },
    			{ "CUP_srifle_M110", "", 1500, 100, "call life_coplevel >= 6" },
    			{ "CUP_lmg_m249_pip4", "", 1500, 100, "call life_coplevel >= 7" },
    			{ "CUP_arifle_CZ805_B", "", 1500, 100, "call life_coplevel >= 7" },
    			{ "CUP_arifle_L85A2_G", "", 1500, 100, "call life_coplevel >= 8" },
    			{ "CUP_sgun_M1014", "", 1500, 100, "call life_coplevel >= 8" },
    			{ "CUP_hgun_Glock17_blk", "", 1500, 100, "call life_coplevel >= 8" }
    		};
            mags[] = {
                { "B_9x21_Ball", "", 50, 60, "call life_coplevel >= 1" },
    			{ "CUP_30Rnd_556x45_G36", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_30Rnd_9x19_MP5", "", 500, 60, "call life_coplevel >= 1" },
    			{ "30Rnd_9x21_Mag", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_100Rnd_556x45_BetaCMag", "", 500, 60, "call life_coplevel >= 1" },
    			{ "30Rnd_556x45_Stanag", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_20Rnd_762x51_FNFAL_M", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_20Rnd_762x51_B_SCAR", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_20Rnd_762x51_B_M110", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_200Rnd_TE4_Red_Tracer_556x45_M249", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_8Rnd_B_Beneli_74Pellets", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_20Rnd_762x51_CZ805B", "", 500, 60, "call life_coplevel >= 1" },
    			{ "150Rnd_556x45_Drum_Mag_F", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_17Rnd_9x19_glock17", "", 500, 60, "call life_coplevel >= 1" },
    			{ "CUP_15Rnd_9x19_M9", "", 500, 60, "call life_coplevel >= 1" }
            };
            accs[] = {
                { "muzzle_snds_L", "", 500, 325, "call life_coplevel >= 1" },
    			{ "muzzle_snds_M", "", 500, 325, "call life_coplevel >= 1" },
    			{ "muzzle_snds_B", "", 500, 325, "call life_coplevel >= 1" },
                { "optic_ACO_grn", "", 100, 100, "call life_coplevel >= 1" },
                { "optic_Holosight", "", 1200, 100, "call life_coplevel >= 1" },
                { "optic_Hamr", "", 500, 100, "call life_coplevel >= 1" },
                { "optic_DMS", "", 700, 100, "call life_coplevel >= 1" },
    			{ "optic_Arco", "", 100, 100, "call life_coplevel >= 1" },
    			{ "optic_LRPS", "", 500, 100, "call life_coplevel >= 1" },
    			{ "optic_ERCO_blk_F", "", 500, 100, "call life_coplevel >= 1" },
    			{ "optic_MRCO", "", 500, 100, "call life_coplevel >= 1" },
    			{ "acc_flashlight", "", 100, 100, "call life_coplevel >= 1" },
    			{ "optic_Hamr", "", 150, 100, "call life_coplevel >= 1" },
                { "muzzle_snds_H", "", 500, 250, "call life_coplevel >= 1" },
                { "optic_MRD", "", 500, 375, "call life_coplevel >= 1" },
    			{ "CUP_optic_Elcan_reflex", "", 500, 375, "call life_coplevel >= 1" },
    			{ "muzzle_snds_338_black", "", 500, 375, "call life_coplevel >= 1" }
            };
        };
    
        //Medic Shops
        class med_basic {
            name = "store";
            side = "med";
            conditions = "";
            items[] = {
                { "ItemGPS", "", 100, 50, "" },
                { "Binocular", "", 150, 75, "" },
                { "FirstAidKit", "", 150, 75, "" },
                { "NVGoggles", "", 1200, 600, "" },
    			{ "tf_anprc148jem", "", 500, 150, "" },
    			{ "tf_anprc152", "", 500, 150, "" }
            };
            mags[] = {};
            accs[] = {};
        };
    };
    

    Logs :

    https://hastebin.com/bawofapozu.sql

  • Logs client apres ouverture du menu, mais il me semble que l on a deja repondu a ça !

  • J’ai cherché mais j’ai rien trouvé

  • Donne quand même toi tu ne voit rien, nous on voit autre chose.

  • @brutalzic a dit dans Problèmes shop :

    Logs client apres ouverture du menu

  • c dans quoi c les rpt ?

  • @AntoineVarla a dit dans Problèmes shop :

    c dans quoi c les rpt ?

    rpt sur ton pc et non sur le serveur

  • Apres ouverture du menu de l armurerie !

  • Je les ouvert

  • Y a des trace que du menu vehicule .

  • Je l’ai ouvert mais dans le rpt y’a rien c pour ca que je sais pas quoi faire

  • Ca te le fait pour toutes les factions ?

  • Oui reb civ et flic

  • Vires les cup dans les accs pour tester !

  • Déjà fait toujours le même problème

  • :S …!!!

  • Tu utilise la reconnaissance des erreurs de scripts ?

  • Pas compris la

  • Active cette fonctionnalite dans le luncher, tu aura peut etre un message en ouvrant le menu !

Messages 34Vues 1731