I'm trying to add TFAR to my server.

I'm trying to add TFAR to my server.

« posted: Nov 09, 2015, 10:34 PM »
However, everytime I put the TFAR radios in the storeCONFIG it removes the backpacks section of all items and renders it unusable same with the radios in the Items.

Objects, Items, and Backpacks stop working after I input the TFAR code into the .sql file.

Here's my code.

What have I done wrong and how can I correct this?

["Carryall (Khaki)", "B_Carryall_khk", 500, "backpack"],
   ["Carryall (MTP)", "B_Carryall_mcamo", 500, "backpack"],
   ["Carryall (Olive)", "B_Carryall_oli", 500, "backpack"],
   ["Carryall (Urban)", "B_Carryall_oucamo", 500, "backpack"]
   
   [“AN-PRC155", "tf_anprc155", 2000, "backpack"],
   ["MR-3000", "tf_mr3000", 1500, "backpack"],
   ["AN-ARC164", "tf_anarc164", 1000, "backpack"],
   ["MR-6000L", "tf_mr6000l", 1600, "backpack"],
   ["AN-ARC210", "tf_anarc210", 1800, "backpack"],
   ["MR-3000-MXC", "tf_mr3000_multicam", 2000, "backpack"],
   ["AN-PRC115-CYT", "tf_anprc155_coyote", 1000, "backpack"],
   ["AN-PRC152", "tf_anprc152,", 1750, "backpack"],
   [“AN-PRC155 Digi", "tf_anprc155", 2000, "backpack"],
   [“PN-R-1000A", "Item_tf_pnr1000a", 1750, "backpack"],
   ["AN-PRC-148", "Item_tf_anprc148jem", 800, "backpack"],
   ["FADAK-TF-BACK", "Item_tf_fadak", 750, "backpack"],
   ["AN-PRC154", "Item_tf_anprc154", 500, "backpack"],
   ["RF-7800.STR", "Item_tf_rf7800str", 500, "backpack"],
   ["AN-PRC115-CYT", "tf_anprc155_coyote", 500, "backpack"],
   ["MR-3000-BWM", "tf_mr3000_bwmod", 3000, "backpack"],
   ["RT-1523G-SGE", "tf_rt1523g_sage", 1500, "backpack"],
   ["RT-1523G-GRN", "tf_rt1523g_green", 1500, "backpack"],
   ["RT-1523-FAB", "tf_rt1523g_fabric", 1500, "backpack"],
   ["RT-1523G-BIG", "tf_rt1523g_big", 2750, "backpack"],
   ["RT-1523G-BLK", "tf_rt1523g_black", 2550, "backpack"],
   ["RT-1523G-B-GRMY", "tf_rt1523g_big_bwmod", 3000, "backpack"],
   ["RT-1523G-GRMY", "tf_rt1523g_bwmod", 2500, "backpack"],
   ["MR-3000-GRMY-TRPN", "tf_mr3000_bwmod_tropen", 1250, "backpack"],
   ["RT-1523G-B-RHS", "tf_rt1523g_big_rhs", 550, "backpack"],
   ["RT-1523G-RHS", "tf_rt1523g_rhs", 900, "backpack"],
   ["MR-3000-RHS", "tf_mr3000_rhs", 150, "backpack""],
   ["Bussole-RDI", "tf_bussole", 1600, "backpack"],
   ];

genItemArray = compileFinal str
[
   ["UAV Terminal (NATO)", "B_UavTerminal", 150, "gps"],
   ["UAV Terminal (CSAT)", "O_UavTerminal", 150, "gps"],
   ["UAV Terminal (AAF)", "I_UavTerminal", 150, "gps"],
   ["Quadrotor UAV (NATO)", "B_UAV_01_backpack_F", 500, "backpack"],
   ["Quadrotor UAV (CSAT)", "O_UAV_01_backpack_F", 500, "backpack"],
   ["Quadrotor UAV (AAF)", "I_UAV_01_backpack_F", 500, "backpack"],
   ["Remote Designator Bag (NATO) [DLC]", "B_Static_Designator_01_weapon_F", 1000, "backpack"],
   ["Remote Designator Bag (CSAT) [DLC]", "O_Static_Designator_02_weapon_F", 1000, "backpack"],
   ["GPS", "ItemGPS", 100, "gps"],
   ["First Aid Kit", "FirstAidKit", 25, "item"],
   ["Medikit", "Medikit", 150, "item"],
   ["Toolkit", "ToolKit", 150, "item"],
   ["Mine Detector", "MineDetector", 100, "item"],
   ["NV Goggles", "NVGoggles", 100, "nvg"],
   ["Diving Goggles", "G_Diving", 100, "gogg"],
   ["Binoculars", "Binocular", 50, "binoc"],
   ["Rangefinder", "Rangefinder", 150, "binoc"],
   ["Laser Designator", "Laserdesignator", 1000, "binoc"],
   ["Chemlight (Blue)", "Chemlight_blue", 25, "mag"],
   ["Chemlight (Green)", "Chemlight_green", 25, "mag"],
   ["Chemlight (Yellow)", "Chemlight_yellow", 25, "mag"],
   ["Chemlight (Red)", "Chemlight_red", 25, "mag"]

   ["MicroDAGR-RDI", "tf_microdagr", 300, "item"],
   ["PNR-1000A", "tf_pnr1000a", 150, "item"],
   ["AN-PRC152", "tf_anprc152", 600, "item"],
   ["AN-PRC148-JEM", "tf_anprc148jem", 500, "item"],
   ["FaDAK", "tf_fadak", 700, "item"],
   ["AN-PRC154", "tf_anprc154", 500, "item"],
   ["RF-7800-STR", "tf_rf7800str", 700, "item"],

Re: I'm trying to add TFAR to my server.

« Reply #1 posted: Nov 09, 2015, 10:57 PM »
   ["RF-7800.STR", "Item_tf_rf7800str", 500, "backpack"],

replaced the full stop with a hyphen and it still does not work. It's serverwide with the general store not working.

Re: I'm trying to add TFAR to my server.

« Reply #2 posted: Nov 09, 2015, 11:05 PM »
Now my vehicle store doesn't work, I only edited the price on each of the vehicles to suit what I want my server to revolve around like helicopters and planes are super expensive so finding one or stealing one is like the best way to get one cheap.

All the guns in the gun store work, just everything after where I added the TFAR radios do not work.

So now none of the vehicles work. The store opens but none of the tabs work.

here's the code I compiled for the vehicles. The stores also don't work for BluFor, OpFor, and Indy.

landArray = compileFinal str
[
   ["Kart", "C_Kart_01_F", 250, "vehicle"],

   ["Quadbike (Civilian)", "C_Quadbike_01_F", 500, "vehicle"],
   ["Quadbike (NATO)", "B_Quadbike_01_F", 650, "vehicle"],
   ["Quadbike (CSAT)", "O_Quadbike_01_F", 650, "vehicle"],
   ["Quadbike (AAF)", "I_Quadbike_01_F", 650, "vehicle"],
   ["Quadbike (FIA)", "B_G_Quadbike_01_F", 650, "vehicle"],

   ["Hatchback", "C_Hatchback_01_F", 800, "vehicle"],
   ["Hatchback Sport", "C_Hatchback_01_sport_F", 1000, "vehicle"],
   ["SUV", "C_SUV_01_F", 1100, "vehicle"],
   ["Offroad", "C_Offroad_01_F", 1100, "vehicle"],
   ["Offroad Camo", "B_G_Offroad_01_F", 1250, "vehicle"],
   ["Offroad Repair", "C_Offroad_01_repair_F", 1500, "vehicle"],
   ["Offroad HMG", "B_G_Offroad_01_armed_F", 2500, "vehicle"],

   ["Truck", "C_Van_01_transport_F", 700, "vehicle"],
   ["Truck (Camo)", "B_G_Van_01_transport_F", 800, "vehicle"],
   ["Truck Box", "C_Van_01_box_F", 900, "vehicle"],
   ["Fuel Truck", "C_Van_01_fuel_F", 2000, "vehicle"],
   ["Fuel Truck (Camo)", "B_G_Van_01_fuel_F", 2100, "vehicle"],

   ["HEMTT Tractor", "B_Truck_01_mover_F", 1500, "vehicle"],
   ["HEMTT Box", "B_Truck_01_box_F", 2000, "vehicle"],
   ["HEMTT Transport", "B_Truck_01_transport_F", 3000, "vehicle"],
   ["HEMTT Covered", "B_Truck_01_covered_F", 6500, "vehicle"],
   ["HEMTT Fuel", "B_Truck_01_fuel_F", 9000, "vehicle"],
   ["HEMTT Medical", "B_Truck_01_medical_F", 10000, "vehicle"],
   ["HEMTT Repair", "B_Truck_01_Repair_F", 12500, "vehicle"],
   ["HEMTT Ammo", "B_Truck_01_ammo_F", 27500, "vehicle"],

   ["Tempest Device", "O_Truck_03_device_F", 2000, "vehicle"],
   ["Tempest Transport", "O_Truck_03_transport_F", 3000, "vehicle"],
   ["Tempest Covered", "O_Truck_03_covered_F", 4500, "vehicle"],
   ["Tempest Fuel", "O_Truck_03_fuel_F", 9000, "vehicle"],
   ["Tempest Medical", "O_Truck_03_medical_F", 10000, "vehicle"],
   ["Tempest Repair", "O_Truck_03_repair_F", 12500, "vehicle"],
   ["Tempest Ammo", "O_Truck_03_ammo_F", 27500, "vehicle"],

   ["Zamak Transport", "I_Truck_02_transport_F", 1000, "vehicle"],
   ["Zamak Covered", "I_Truck_02_covered_F", 2000, "vehicle"],
   ["Zamak Fuel", "I_Truck_02_fuel_F", 4500, "vehicle"],
   ["Zamak Medical", "I_Truck_02_medical_F", 5000, "vehicle"],
   ["Zamak Repair", "I_Truck_02_box_F", 10000, "vehicle"],
   ["Zamak Ammo", "I_Truck_02_ammo_F", 25000, "vehicle"],

   ["UGV Stomper (NATO)", "B_UGV_01_F", 2500, "vehicle"],
   ["UGV Stomper RCWS (NATO)", "B_UGV_01_rcws_F", 15000, "vehicle"],
   ["UGV Stomper (AAF)", "I_UGV_01_F", 2500, "vehicle"],
   ["UGV Stomper RCWS (AAF)", "I_UGV_01_rcws_F", 15000, "vehicle"],
   ["UGV Saif (CSAT)", "O_UGV_01_F", 2500, "vehicle"],
   ["UGV Saif RCWS (CSAT)", "O_UGV_01_rcws_F", 15000, "vehicle"]
];

armoredArray = compileFinal str
[
   ["Hunter", "B_MRAP_01_F", 8000, "vehicle"],
   ["Hunter HMG", "B_MRAP_01_hmg_F", 15000, "vehicle"],
   ["Hunter GMG", "B_MRAP_01_gmg_F", 17500, "vehicle"],
   ["Ifrit", "O_MRAP_02_F", 8000, "vehicle"],
   ["Ifrit HMG", "O_MRAP_02_hmg_F", 15000, "vehicle"],
   ["Ifrit GMG", "O_MRAP_02_gmg_F", 17500, "vehicle"],
   ["Strider", "I_MRAP_03_F", 8000, "vehicle"],
   ["Strider HMG", "I_MRAP_03_hmg_F", 15000, "vehicle"],
   ["Strider GMG", "I_MRAP_03_gmg_F", 17500, "vehicle"],
   ["MSE-3 Marid", "O_APC_Wheeled_02_rcws_F", 22500, "vehicle"],
   ["AMV-7 Marshall", "B_APC_Wheeled_01_cannon_F", 27500, "vehicle"],
   ["AFV-4 Gorgon", "I_APC_Wheeled_03_cannon_F", 30000, "vehicle"]
];

tanksArray = compileFinal str
[
   ["CRV-6e Bobcat", "B_APC_Tracked_01_CRV_F", 32500, "vehicle"],
   ["IFV-6c Panther", "B_APC_Tracked_01_rcws_F", 35000, "vehicle"],
   ["FV-720 Mora", "I_APC_tracked_03_cannon_F", 37500, "vehicle"],
   ["BTR-K Kamysh", "O_APC_Tracked_02_cannon_F", 40000, "vehicle"],
   ["IFV-6a Cheetah AA", "B_APC_Tracked_01_AA_F", 40000, "vehicle"],
   ["ZSU-39 Tigris AA", "O_APC_Tracked_02_AA_F", 40000, "vehicle"],
   ["M2A1 Slammer", "B_MBT_01_cannon_F", 50000, "vehicle"],
   ["M2A4 Slammer HMG", "B_MBT_01_TUSK_F", 50000, "vehicle"], // Commander gun variant
   ["T-100 Varsuk", "O_MBT_02_cannon_F", 50000, "vehicle"],
   ["MBT-52 Kuma", "I_MBT_03_cannon_F", 50000, "vehicle"]
];


helicoptersArray = compileFinal str
[
   ["M-900 Civilian", "C_Heli_Light_01_civil_F", 10000, "vehicle"], // MH-6, no flares
   ["MH-9 Hummingbird", "B_Heli_Light_01_F", 12000, "vehicle"], // MH-6
   ["PO-30 Orca (Black)", "O_Heli_Light_02_unarmed_F", 15000, "vehicle"], // Ka-60
   ["WY-55 Hellcat (Green)", "I_Heli_light_03_unarmed_F", 17500, "vehicle"], // AW159

   ["Mi-290 Taru (Crane) [DLC]", "O_Heli_Transport_04_F", 20000, "vehicle"], // CH-54
   ["Mi-290 Taru (Box) [DLC]", "O_Heli_Transport_04_box_F", 20000, "vehicle"],
   ["Mi-290 Taru (Fuel) [DLC]", "O_Heli_Transport_04_fuel_F", 20000, "vehicle"],
   ["Mi-290 Taru (Bench) [DLC]", "O_Heli_Transport_04_bench_F", 20000, "vehicle"],
   ["Mi-290 Taru (Transport) [DLC]", "O_Heli_Transport_04_covered_F", 20000, "vehicle"],
   ["CH-67 Huron (Black) [DLC]", "B_Heli_Transport_03_unarmed_F", 27500, "vehicle"], // CH-47
   ["CH-49 Mohawk", "I_Heli_Transport_02_F", 25000, "vehicle"], // AW101

   ["Mi-290 Taru (Medical) [DLC]", "O_Heli_Transport_04_medevac_F",12500, "vehicle"],
   ["Mi-290 Taru (Repair) [DLC]", "O_Heli_Transport_04_repair_F", 15000, "vehicle"],
   ["Mi-290 Taru (Ammo) [DLC]", "O_Heli_Transport_04_ammo_F", 25000, "vehicle"],

   ["UH-80 Ghost Hawk (Black)", "B_Heli_Transport_01_F", 40000, "vehicle"], // UH-60 Stealth with 2 side miniguns
   ["UH-80 Ghost Hawk (Green)", "B_Heli_Transport_01_camo_F", 40000, "vehicle"], // UH-60 Stealth with 2 side miniguns (green camo)
   ["CH-67 Huron (Armed) [DLC]", "B_Heli_Transport_03_F", 60000, "vehicle"], // CH-47 with 2 side miniguns
   ["AH-9 Pawnee", "B_Heli_Light_01_armed_F", 50000, "vehicle"], // Armed AH-6
   ["PO-30 Orca (Armed, Black)", "O_Heli_Light_02_v2_F", 60000, "vehicle"], // Armed Ka-60 with orca paintjob
   ["PO-30 Orca (Armed, Hex)", "O_Heli_Light_02_F", 65000, "vehicle"], // Armed Ka-60
   ["WY-55 Hellcat (Armed)", "I_Heli_light_03_F", 67500, "vehicle"], // Armed AW159
   ["AH-99 Blackfoot", "B_Heli_Attack_01_F", 70000, "vehicle"], // RAH-66 with gunner
   ["Mi-48 Kajman (Hex)", "O_Heli_Attack_02_F", 100000, "vehicle"], // Mi-28 with gunner
   ["Mi-48 Kajman (Black)", "O_Heli_Attack_02_black_F", 100000, "vehicle"] // Mi-28 with gunner (black camo)
];

planesArray = compileFinal str
[
   ["A-143 Buzzard AA", "I_Plane_Fighter_03_AA_F", 150000, "vehicle"],
   ["A-143 Buzzard CAS", "I_Plane_Fighter_03_CAS_F", 200000, "vehicle"],
   ["A-164 Wipeout CAS", "B_Plane_CAS_01_F", 250000, "vehicle"],
   ["To-199 Neophron CAS", "O_Plane_CAS_02_F", 225000, "vehicle"],
];

boatsArray = compileFinal str
[
   ["Rescue Boat", "C_Rubberboat", 250, "boat"],
   ["Rescue Boat (NATO)", "B_Lifeboat", 500, "boat"],
   ["Rescue Boat (CSAT)", "O_Lifeboat", 500, "boat"],
   ["Assault Boat (NATO)", "B_Boat_Transport_01_F", 600, "boat"],
   ["Assault Boat (CSAT)", "O_Boat_Transport_01_F", 600, "boat"],
   ["Assault Boat (AAF)", "I_Boat_Transport_01_F", 600, "boat"],
   ["Assault Boat (FIA)", "B_G_Boat_Transport_01_F", 600, "boat"],
   ["Motorboat", "C_Boat_Civil_01_F", 1000, "boat"],
   ["Motorboat Rescue", "C_Boat_Civil_rescue_01_F", 900, "boat"],
   ["Motorboat Police", "C_Boat_Civil_police_01_F", 1250, "boat"],
   ["Speedboat HMG (CSAT)", "O_Boat_Armed_01_hmg_F", 4000, "boat"],
   ["Speedboat Minigun (NATO)", "B_Boat_Armed_01_minigun_F", 4000, "boat"],
   ["Speedboat Minigun (AAF)", "I_Boat_Armed_01_minigun_F", 4000, "boat"],
   ["SDV Submarine (NATO)", "B_SDV_01_F", 500, "submarine"],
   ["SDV Submarine (CSAT)", "O_SDV_01_F", 500, "submarine"],
   ["SDV Submarine (AAF)", "I_SDV_01_F", 500, "submarine"]
];
  • Offline Matt76
  • Mercenary
  • *****
  • Posts: 418
  • co founder of customcombatgaming.com

Re: I'm trying to add TFAR to my server.

« Reply #3 posted: Nov 09, 2015, 11:30 PM »
I can see that you have an error on your planesarray, the last entry shouldn't have a ',' after it.

Also in your first post your missing a ',' after
  ["Chemlight (Red)", "Chemlight_red", 25, "mag"]

Re: I'm trying to add TFAR to my server.

« Reply #4 posted: Nov 10, 2015, 07:36 PM »
I can see that you have an error on your planesarray, the last entry shouldn't have a ',' after it.

Also in your first post your missing a ',' after
  ["Chemlight (Red)", "Chemlight_red", 25, "mag"]

I fixed both and It still does not work.

Re: I'm trying to add TFAR to my server.

« Reply #5 posted: Nov 10, 2015, 07:55 PM »
Even long range radios are backpacks, they do not have to be under backpacks ..

Try this way:

Code: [Select]
genItemArray = compileFinal str
[
["UAV Terminal (NATO)", "B_UavTerminal", 750, "gps"],
["UAV Terminal (CSAT)", "O_UavTerminal", 750, "gps"],
["UAV Terminal (AAF)", "I_UavTerminal", 750, "gps"],
["Quadrotor UAV (NATO)", "B_UAV_01_backpack_F", 7500, "backpack"],
["Quadrotor UAV (CSAT)", "O_UAV_01_backpack_F", 7500, "backpack"],
["Quadrotor UAV (AAF)", "I_UAV_01_backpack_F", 7500, "backpack"],
["Remote Designator Bag (NATO)", "B_Static_Designator_01_weapon_F", 5500, "backpack"],
["Remote Designator Bag (CSAT)", "O_Static_Designator_02_weapon_F", 5500, "backpack"],
["GPS", "ItemGPS", 500, "gps"],
["RIFLEMAN Funk Independant", "tf_anprc154", 50, "item"],
    ["RIFLEMAN Funk OPFOR", "tf_pnr1000a", 50, "item"],
    ["PERSONAL Funk BLUFOR", "tf_anprc152", 50, "item"],
    ["PERSONAL Funk Independant", "tf_anprc148jem", 50, "item"],
    ["PERSONAL Funk OPFOR", "tf_fadak", 50, "item"],
    ["LONG RANGE Funk BLUFOR", "tf_rt1523g", 100, "backpack"],
    ["LONG RANGE Funk Independant", "tf_anprc155", 100, "backpack"],
    ["LONG RANGE Funk OPFOR", "tf_mr3000", 100, "backpack"],
["First Aid Kit", "FirstAidKit", 100, "item"],