zicongqiu Posted March 30, 2015 Report Share Posted March 30, 2015 Anyone have any idea how to add traders with static items/vehicles just like ArmA 2 Epoch? Link to comment Share on other sites More sharing options...
0 Tyler Posted April 3, 2015 Report Share Posted April 3, 2015 I also would like to know how this is done. Link to comment Share on other sites More sharing options...
0 second_coming Posted April 4, 2015 Report Share Posted April 4, 2015 This is a good starting point: You also need to add additional traders to your map file in a3_epoch_server_settings.pbo. Here is my altis.h file with some additional traders and a few other bits and pieces (this is just so you can see how it works, I'm not suggesting to use this on a live server) class Altis : Default { worldSize = 20000; traderBlds[] = { "Land_Kiosk_blueking_F", "Land_FuelStation_Build_F", "Land_CarService_F", "Land_i_Garage_V1_F", "Land_i_Shed_Ind_F", "Land_i_Shop_01_V1_F" }; containerPos[] = { { 8599.97, 24513.6, 0 }, { 6282.61, 22654, 0 }, { 3431.42, 22447.1, 0 }, { 3524.53, 22718.1, 0 }, { 3528.63, 22747.7, 0 }, { 2185.4, 21454.6, 0 }, { 2180.42, 21429.5, 0 }, { 2105.21, 23439.7, 0 }, { 2352.68, 19379.2, 0 }, { 3022.73, 13520.1, 0 }, { 2997.03, 13502.6, 0 }, { 1940.41, 10095.8, 0 }, { 7454.79, 9247.77, 0 }, { 7485.66, 9255.52, 0 }, { 12060.5, 6203.39, 0 }, { 12059.2, 6183.42, 0 }, { 14205.4, 7549.47, 0 }, { 14373.1, 7688.5, 0 }, { 14376.8, 7715.9, 0 }, { 13115, 9491.82, 0 }, { 13666, 11913.7, 0 }, { 13682.8, 11890.2, 0 }, { 15209.5, 14341.1, 0 }, { 15326.2, 14361.6, 0 }, { 15340.7, 14291.1, 0 }, { 15351.3, 14278.1, 0 }, { 15419.5, 14287.1, 0 }, { 15951.8, 9707.72, 0 }, { 22199.6, 5697.94, 0 }, { 22279.2, 8641.17, 0 }, { 26135.7, 19798.5, 0 }, { 27908.6, 24460.4, 0 }, { 23164.5, 24046.1, 0 }, { 21016.3, 20024.2, 0 }, { 18776.8, 18291.9, 0 }, { 17361.2, 18792.1, 0 }, { 17598.9, 18813.6, 0 }, { 17560, 18928.3, 0 }, { 17702.8, 19466.5, 0 } }; telePos[] = { { "Transport_C_EPOCH", { 23600.5, 18009, 0.233421 }, "", { 13326.5, 14515.2, 0.16426 } }, // Trader city 1 { "Transport_W_EPOCH", { 23585.4, 18000.7, 0.233424 }, "", { 6192.46, 16834, 0.00154114 } }, // Trader city 2 { "Transport_E_EPOCH", { 23615.5, 18000.9, 0.233423 }, "", { 18451.9, 14278.1, 0.00143814 } } // Trader city 3 }; telePosCenter[] = {23600, 18009, 0}; propsPos[] = { //trader city #1 {"Land_MarketShelter_F", { 13315.3, 14512.4, 0.0361125 }, 119.966}, { "Land_ScrapHeap_2_F", { 13315.9, 14499, 0.00584948 }, 255.706 }, { "Land_HBarrier_Big_F", { 13313.7, 14494.8, 0.050712 }, 352.447 }, { "Land_spp_Mirror_Broken_F", { 13303.6, 14516.4, 0 }, 300.644 }, { "Land_Mil_WallBig_4m_F", { 13309.9, 14500.4, 0.000857234 }, 58.0228 }, { "Land_Mil_WallBig_4m_F", { 13308.4, 14510.6, 0.00314641 }, 78.5001 }, { "Land_Mil_WallBig_4m_F", { 13308, 14507, 0.0178673 }, 112.416 }, { "Land_Mil_WallBig_4m_F", { 13311.2, 14517.6, -0.00578284 }, 121.855 }, { "Land_Mil_WallBig_4m_F", { 13308.1, 14503.5, 0.0163193 }, 66.6886 }, { "Land_Mil_WallBig_4m_F", { 13311.6, 14496.9, 0.0774074 }, 68.9098 }, { "Land_Mil_WallBig_4m_F", { 13309.1, 14514.3, -0.00295639 }, 122.56 }, { "Land_LampHarbour_F", { 13311.4, 14507.1, -0.00963879 }, 11.7876 }, { "Land_LampHarbour_F", { 13315, 14519.4, -4.76837e-007 }, 114.758 }, { "Land_CrabCages_F", { 13313.8, 14507.6, 0.0636249 }, 0.0560406 }, { "Land_JunkPile_F", { 13313.8, 14515, -0.00780201 }, 297.013 }, { "Land_WorkStand_F", { 13315.9, 14511.8, -0.00349522 }, 310.495 }, { "Land_Garbage_square3_F", { 13313.6, 14511.6, 0.00600243 }, 0.0279988 }, { "Land_Metal_wooden_rack_F", { 13315.9, 14518.9, 0.00110078 }, 304.348 }, { "Land_WheelCart_F", { 13313.1, 14513, 0.00185466 }, 117.515 }, { "Land_HelipadCircle_F", { 13314.1, 14540.2, 0 }, 0 }, { "Land_spp_Mirror_F", { 13309, 14521.7, -2.38419e-007 }, 309.358 }, { "Land_dp_transformer_F", { 13313.7, 14524, 0 }, 333.717 }, { "Land_CncWall4_F", { 13316.5, 14530.1, -0.00036478 }, 289.927 }, { "Land_Mil_WallBig_4m_F", { 13319.7, 14524.7, -0.0120368 }, 154.164 }, { "Land_Mil_WallBig_4m_F", { 13313.4, 14520.5, -0.00267744 }, 136.556 }, { "Land_Mil_WallBig_4m_F", { 13316.4, 14522.8, -0.00857091 }, 147.592 }, { "Land_Garbage_square5_F", { 13316.5, 14525.7, 0.00277591 }, 237.692 }, { "Land_Garbage_line_F", { 13318.9, 14523.7, 0.0254805 }, 252.492 }, { "Land_TouristShelter_01_F", { 13291.3, 14614.9, -9.53674e-007 }, 76.9832 }, { "ProtectionZone_Invisible_F", { 13344.1, 14483.7, 0.00191855 }, 359.768 }, { "Land_Pier_Box_F", { 13334.8, 14498.2, 0.104769 }, 71.6957 }, { "Land_PartyTent_01_F", { 13343.3, 14514.7, 0.000879049 }, 161.543 }, { "Land_HBarrier_Big_F", { 13321.3, 14496.8, 0.0973002 }, 349.224 }, { "Land_Sunshade_04_F", { 13329.9, 14502.9, 0.00681627 }, 0.199829 }, { "Land_LampHarbour_F", { 13339, 14500.7, -5.96046e-007 }, 324.419 }, { "Land_LampHarbour_F", { 13328, 14501.7, -0.0183594 }, 11.7876 }, { "Land_CrabCages_F", { 13338.9, 14503.4, 0.0179708 }, 359.976 }, { "Land_TentDome_F", { 13334.2, 14503.9, 0.0171249 }, 287.115 }, { "Land_Garbage_line_F", { 13336.4, 14501.4, -0.0589776 }, 270.921 }, { "Land_Garbage_square3_F", { 13324.3, 14502.1, -0.0118027 }, 0.0174958 }, { "Land_Garbage_square3_F", { 13338.7, 14505.8, 0.00524509 }, 0.0174958 }, { "Land_Garbage_square3_F", { 13333.1, 14501.1, -0.00621545 }, 0.0174958 }, { "Land_Campfire_F", { 13328.4, 14512.1, -0.0409672 }, 0.0174958 }, { "Land_GarbageContainer_open_F", { 13335.7, 14519.3, 0.00106692 }, 251.651 }, { "Land_BagFence_Long_F", { 13340.3, 14519.6, 0.000348806 }, 342.607 }, { "Land_Sink_F", { 13349.6, 14518, 0.00516319 }, 72.7978 }, { "Land_CampingTable_F", { 13340.8, 14518.7, 0.000142813 }, 335.017 }, { "Land_Bench_F", { 13331, 14512.4, 0.000242233 }, 353.009 }, { "Land_Bench_F", { 13326.9, 14510.1, 0.0057652 }, 124.855 }, { "Land_Sleeping_bag_brown_F", { 13330.5, 14503.4, 0.0382801 }, 6.17074 }, { "Land_Sleeping_bag_blue_F", { 13329.2, 14503.4, 0.0390047 }, 0.199829 }, { "Land_CampingTable_small_F", { 13327.4, 14514.5, 0.00646973 }, 158.107 }, { "Land_CampingChair_V1_F", { 13341.6, 14517.3, 0.00326729 }, 117.152 }, { "Land_CampingChair_V2_F", { 13325.9, 14513.6, 0.001086 }, 317.349 }, { "Land_CampingChair_V2_F", { 13329.2, 14514.8, 3.52859e-005 }, 359.941 }, { "Land_Pillow_camouflage_F", { 13330.3, 14504.2, -0.00268662 }, 9.06669 }, { "Land_Pillow_grey_F", { 13329, 14504, -0.00269282 }, 9.13059 }, { "Land_HBarrier_Big_F", { 13342.7, 14535.4, 2.21729e-005 }, 347.07 }, { "Land_HBarrier_Big_F", { 13345.1, 14530.8, -0.000231266 }, 253.023 }, { "Land_HBarrier_Big_F", { 13330.9, 14531, -2.38419e-007 }, 336.999 }, { "Land_CncWall4_F", { 13327.1, 14533.5, -2.38419e-007 }, 229.304 }, { "Land_CncWall4_F", { 13338.2, 14530.2, 0.000161886 }, 157.719 }, { "Land_CncWall4_F", { 13321.7, 14532.4, -0.000200987 }, 344.886 }, { "Flag_US_F", { 13320.7, 14524.6, -2.38419e-007 }, 0 }, { "Land_Mil_WallBig_4m_F", { 13334.7, 14524.1, 0.000475168 }, 247.87 }, { "Land_Mil_WallBig_4m_F", { 13336.1, 14520.5, 0.000475407 }, 247.907 }, { "Land_Mil_WallBig_4m_F", { 13321.1, 14527.6, -0.000753164 }, 78.6046 }, { "Land_Mil_WallBig_4m_F", { 13324.5, 14528.4, 0.000790119 }, 254.564 }, { "Land_Mil_WallBig_4m_F", { 13327.1, 14527.2, 0.00105166 }, 163.344 }, { "Land_Mil_WallBig_4m_F", { 13330.8, 14528.5, 0 }, 157.189 }, { "Land_Mil_WallBig_4m_F", { 13333.1, 14527.5, -5.72205e-006 }, 241.672 }, { "Land_Garbage_square5_F", { 13332.5, 14530.3, 2.6226e-006 }, 310.573 }, { "Land_Garbage_square5_F", { 13329.1, 14527.4, 0.000170469 }, 0.0174853 }, { "Land_LampHarbour_F", { 13331.7, 14523.6, -7.15256e-007 }, 219.543 }, { "Land_Garbage_line_F", { 13331, 14533.3, 0.000420094 }, 56.4977 }, { "Land_Garbage_line_F", { 13326.3, 14529.9, 0 }, 0 }, { "Land_Garbage_line_F", { 13329.2, 14534.4, 0.000157356 }, 153.869 }, { "Land_Garbage_line_F", { 13331.3, 14521.7, 0.00176883 }, 335.57 }, { "Land_Garbage_square3_F", { 13338.7, 14530, 0.000244141 }, 0 }, { "Land_Pallet_MilBoxes_F", { 13331.6, 14527.6, 0 }, 339.477 }, { "Land_BagFence_Long_F", { 13322.6, 14529.4, 5.00679e-006 }, 342.605 }, { "Land_BagFence_Long_F", { 13343.2, 14520.5, 9.29832e-005 }, 342.605 }, { "Land_TablePlastic_01_F", { 13322.6, 14528.6, -2.38419e-007 }, 345.367 }, { "Land_PaperBox_open_empty_F", { 13329.9, 14527.1, 7.86781e-006 }, 339.477 }, { "Land_Graffiti_01_F", { 13338.5, 14530.9, 2.13621 }, 157.817 }, { "Land_ChairWood_F", { 13323.8, 14527.9, -1.66893e-006 }, 126.97 }, { "Land_HBarrier_Big_F", { 13359.5, 14502.3, 0.0664403 }, 55.4318 }, { "Land_Mil_WallBig_4m_F", { 13353.3, 14518.3, 0.00565863 }, 253.583 }, { "Land_Mil_WallBig_4m_F", { 13356.1, 14505.4, 0.0153434 }, 67.557 }, { "Land_Mil_WallBig_4m_F", { 13353.3, 14514.7, 0.00991702 }, 289.908 }, { "Land_Mil_WallBig_4m_F", { 13355.3, 14507.7, 0.0977246 }, 225.78 }, { "Land_Mil_WallBig_4m_F", { 13352.9, 14510.7, 0.0773071 }, 248.711 }, { "Land_Garbage_line_F", { 13351, 14514.1, -0.026839 }, 296.754 }, { "Land_ToiletBox_F", { 13351, 14515.4, 0.0014267 }, 38.3472 }, { "Land_HBarrierTower_F", { 13357.5, 14530.1, -0.00182509 }, 206.67 }, { "Land_Grave_rocks_F", { 13355.5, 14540.3, 0 }, 333.404 }, { "Land_Grave_rocks_F", { 13354.6, 14542, 0 }, 333.404 }, //trader city 2 { "Land_Mound02_8m_F", { 6162.68, 16812.2, 0.0149612 }, 315.554 }, { "Land_Cargo20_orange_F", { 6179.76, 16829.7, 0.0505295 }, 311.232 }, { "Land_CncBarrierMedium_F", { 6176.92, 16830, 0.00748444 }, 51.7517 }, { "Land_HelipadEmpty_F", { 6169.49, 16821.5, 0 }, 359.986 }, { "Land_Cargo40_grey_F", { 6176.53, 16833.2, 2.63681 }, 53.613 }, { "Land_Cargo20_sand_F", { 6176.11, 16837.8, 0.0252686 }, 144.241 }, { "Land_Cargo20_military_green_F", { 6177.59, 16844.3, 0.0136719 }, 113.546 }, { "Land_CncBarrierMedium_F", { 6177.5, 16833, 0.00309753 }, 51.6071 }, { "Land_CargoBox_V1_F", { 6178.72, 16841, 0.0587616 }, 250.318 }, { "Land_CargoBox_V1_F", { 6173.7, 16834.1, 0.0386658 }, 241.477 }, { "Land_CargoBox_V1_F", { 6175.78, 16840.3, 0.0342102 }, 241.651 }, { "Land_CncBarrier_stripes_F", { 6176.66, 16835.2, 0.000656128 }, 266.466 }, { "Land_Grave_dirt_F", { 6175.62, 16862, 0 }, 230.746 }, { "Land_Grave_forest_F", { 6174.19, 16860.9, 0 }, 232.613 }, { "Land_Cargo20_grey_F", { 6183.96, 16827.5, 0.0208817 }, 216.529 }, { "Flag_POWMIA_F", { 6185.59, 16829.4, 0 }, 0 }, { "Land_Garbage_line_F", { 6197.65, 16825.8, -0.040535 }, 275.131 }, { "Land_CncWall1_F", { 6186.84, 16825.1, 0.020401 }, 8.73224 }, { "Land_CncWall1_F", { 6199.79, 16824.8, 0.0112305 }, 314.427 }, { "Land_CncWall1_F", { 6188.11, 16824.7, 0.0179138 }, 8.76634 }, { "Land_CncWall1_F", { 6200.97, 16826, 0.0130386 }, 314.442 }, { "Land_InvisibleBarrier_F", { 6195.92, 16823.3, 6.00636 }, 0.0314739 }, { "Land_InvisibleBarrier_F", { 6191.93, 16823.6, 6.12908 }, 0.0420273 }, { "Land_InvisibleBarrier_F", { 6192.48, 16823.6, 5.09669 }, 0.0420273 }, { "Land_InvisibleBarrier_F", { 6196.23, 16823.4, 4.86904 }, 359.916 }, { "Land_Garbage_square3_F", { 6187.7, 16827.2, 0.000137329 }, 0.101566 }, { "Land_CncBarrier_F", { 6188.64, 16828.8, 0.00197601 }, 276.469 }, { "Land_CampingTable_F", { 6192.76, 16829.8, 0.00217438 }, 181.885 }, { "Land_CampingChair_V1_F", { 6193.31, 16828.4, 0.00823212 }, 178.199 }, { "Land_PartyTent_01_F", { 6193.72, 16831.7, 0.0133286 }, 0.157519 }, { "Land_Cargo40_grey_F", { 6184.39, 16851, 0.042366 }, 150.893 }, { "Land_HBarrier_Big_F", { 6202.7, 16840.1, 0.00379181 }, 100.324 }, { "Land_HBarrier_Big_F", { 6194.52, 16853.4, 0.0065918 }, 7.52855 }, { "Land_HBarrier_Big_F", { 6201.46, 16831.1, 0.000526428 }, 99.2688 }, { "Land_HBarrier_Big_F", { 6201.1, 16848.4, -0.00135803 }, 63.1847 }, { "Land_Garbage_square5_F", { 6199.71, 16835.5, 0.000144958 }, 0.16451 }, { "Land_Garbage_line_F", { 6192.65, 16851.8, -0.0195236 }, 291.183 }, { "Land_Garbage_line_F", { 6188.4, 16831.8, -0.0666351 }, 359.934 }, { "Land_WorkStand_F", { 6198.14, 16834.3, 0.00075531 }, 52.4856 }, { "Land_ToiletBox_F", { 6196.38, 16849.9, 0.00205231 }, 63.7064 }, { "Land_WaterTank_F", { 6200.39, 16841.4, 0.00341034 }, 273.366 }, { "Land_Garbage_square3_F", { 6185.6, 16849.1, 6.10352e-005 }, 0.0209828 }, { "Land_Campfire_F", { 6183.06, 16843.3, 0.0350647 }, 359.996 }, { "Land_WoodenTable_large_F", { 6185.71, 16846.1, 0.00247192 }, 151.316 }, { "Land_Sink_F", { 6190.75, 16849.5, 0.000732422 }, 232.857 }, { "Land_WoodPile_F", { 6198.75, 16835.3, 0.00598145 }, 0.16451 }, { "Land_CncBarrier_F", { 6195.53, 16836.4, 0.00226593 }, 0.16802 }, { "Land_CncBarrier_stripes_F", { 6188.69, 16834, 0.00474548 }, 266.564 }, { "Land_CncBarrier_stripes_F", { 6191.22, 16836.5, 0.00266266 }, 0.399046 }, { "Land_WheelCart_F", { 6187.45, 16847, 0.00171661 }, 359.36 }, { "Land_Bench_F", { 6180.3, 16843, 0.000434875 }, 359.72 }, { "Land_ShelvesWooden_F", { 6198.24, 16831.5, 0.00237274 }, 1.02574 }, { "Land_ChairPlastic_F", { 6181.8, 16846.2, 0.00118256 }, 53.9327 }, { "Land_Axe_F", { 6197.86, 16835.8, -0.00292969 }, 246.133 }, //tradercity 3 { "Land_BarGate_F", { 18436.5, 14277, 0.10347 }, 58.0699 }, { "Land_HBarrierBig_F", { 18440.4, 14268.3, 0.00117111 }, 60.1274 }, { "Land_HBarrierBig_F", { 18444.9, 14261, 0.00129318 }, 60.1036 }, { "Land_Mil_WiredFence_F", { 18440.6, 14268.7, 0.00332832 }, 62.0634 }, { "Land_Mil_WiredFence_F", { 18444.4, 14262, 0.00336647 }, 60.6549 }, { "Land_Mil_WiredFence_F", { 18449.2, 14256.4, 0.00034523 }, 35.4755 }, { "Land_LampShabby_F", { 18440.4, 14271.3, 1.90735e-006 }, 39.7611 }, { "Land_CncWall1_F", { 18438.8, 14275.1, -0.00109291 }, 60.6932 }, { "Land_CncWall1_F", { 18437.7, 14277.3, -0.00398445 }, 62.128 }, { "Land_CncWall1_F", { 18436.8, 14279.5, -0.00417328 }, 63.9977 }, { "Land_HBarrier_1_F", { 18437.7, 14272.8, 0.000751495 }, 0.0209884 }, { "MapBoard_seismic_F", { 18445.1, 14263.8, 0.000398636 }, 236.033 }, { "Land_WoodenTable_small_F", { 18440.5, 14272.3, -0.014082 }, 359.976 }, { "Land_Bench_F", { 18449.1, 14270.4, 0.00127792 }, 185.11 }, { "Land_CampingChair_V1_F", { 18441.4, 14270.9, 0.00442886 }, 194.898 }, { "Land_HelipadEmpty_F", { 18427, 14271.2, 1.90735e-006 }, 359.885 }, { "Land_HBarrierBig_F", { 18438.9, 14283.8, 0.000347137 }, 149.02 }, { "Land_HBarrierBig_F", { 18446.5, 14285.9, 0.00609207 }, 175.83 }, { "Land_Mil_WiredFence_F", { 18445.9, 14286, 0.00409126 }, 354.943 }, { "Land_Mil_WiredFence_F", { 18439, 14283.5, 0.000944138 }, 144.943 }, { "Land_cargo_addon02_V2_F", { 18460.6, 14258.8, 0 }, 330.21 }, { "Land_HBarrierBig_F", { 18470.7, 14266.7, 0.00342369 }, 93.2859 }, { "Land_HBarrierBig_F", { 18451.4, 14255.2, 0.00950432 }, 212.484 }, { "Land_HBarrierBig_F", { 18466.7, 14259.2, 0.0402298 }, 315.017 }, { "Land_HBarrierBig_F", { 18459.5, 14254.7, 0.0263481 }, 342.966 }, { "Land_HBarrierBig_F", { 18469.4, 14274.9, 0.00435257 }, 71.0256 }, { "Land_Mil_WiredFence_F", { 18468, 14261.2, 0.0418205 }, 310.274 }, { "Land_Mil_WiredFence_F", { 18462.6, 14256.1, 0.0299683 }, 328.217 }, { "Land_Mil_WiredFence_F", { 18469.2, 14275, 0.0172825 }, 250.01 }, { "Land_Mil_WiredFence_F", { 18470.5, 14267.7, 0.0156116 }, 271.558 }, { "Land_Mil_WiredFence_F", { 18455.8, 14254.1, 0.011919 }, 0.620575 }, { "Land_LampShabby_F", { 18454.4, 14277.9, -0.0150127 }, 0 }, { "Land_LampShabby_F", { 18469, 14264.4, 0 }, 323.398 }, { "Land_LampShabby_F", { 18457.2, 14256.1, 1.90735e-006 }, 0 }, { "Land_Garbage_square5_F", { 18466.9, 14266.7, 1.71661e-005 }, 359.857 }, { "Land_Garbage_line_F", { 18456.7, 14259.8, -0.0267105 }, 117.139 }, { "Land_JunkPile_F", { 18451.7, 14257.9, 0.00698853 }, 0.737973 }, { "Land_StallWater_F", { 18458, 14257, 0.00478554 }, 0.0420984 }, { "Land_Campfire_F", { 18452.4, 14270.5, 0.000808716 }, 359.867 }, { "Land_GarbageContainer_open_F", { 18468, 14265.1, 0.0781498 }, 284.391 }, { "Land_Cages_F", { 18462.1, 14259.4, 0.00989532 }, 283.389 }, { "Land_WoodenTable_large_F", { 18459.1, 14261.2, 0.00582504 }, 236.32 }, { "Land_Sink_F", { 18456.8, 14275.2, 0.00865936 }, 359.072 }, { "Oil_Spill_F", { 18467.5, 14263.8, 0.0297527 }, 0.257763 }, { "Land_Bench_F", { 18454.2, 14267.7, 0.00108147 }, 240.873 }, { "Land_Tyre_F", { 18469, 14263.5, -0.00253868 }, 0.460022 }, { "Land_KartTyre_01_x4_F", { 18468.5, 14262.8, -0.00620651 }, 2.02641 }, { "Land_HBarrierBig_F", { 18462.3, 14287.2, -0.00127792 }, 43.0428 }, { "Land_HBarrierBig_F", { 18454.6, 14288.1, 0.0716648 }, 161.76 }, { "Land_Mil_WiredFence_F", { 18453.8, 14287.5, 0.076416 }, 154.537 }, { "Land_Tank_rust_F", { 18459.4, 14284.8, 0.00293159 }, 242.028 }, { "Land_CncBarrierMedium4_F", { 18464.2, 14281.7, 0.00330925 }, 62.7671 }, { "Land_LampShabby_F", { 18451.7, 14285.3, 0 }, 221.564 }, { "Land_HBarrier_1_F", { 18458.1, 14290.3, 0.0128841 }, 317.438 }, //Air Drop Event Helipad Start { "Land_dp_bigTank_F", {14328.1,13488.2,-0.64909101}, 182 }, // Lights { "Land_LampShabby_F", { 6197, 16847, 0 }, 231 }, { "Land_LampShabby_F", { 6200, 16838, 0 }, 274 }, // Clone Room lights { "Land_LampShabby_F", { 23615, 17991, 0.2 }, 313 }, { "Land_LampShabby_F", { 23583, 17990, 0.2 }, 50 }, { "Land_LampShabby_F", { 23597.8, 18010, 0.23 }, 174 }, // Zaros Traderzone {"Land_MarketShelter_F", {9266.8, 12626.7, 0}, 218.924}, {"Land_CratesWooden_F", {9264.18, 12629.5, 0}, 0}, {"Land_CratesWooden_F", {9266.17, 12626.1, 0}, 43.4547}, {"Land_Sacks_goods_F", {9266.62, 12627.8, 0}, 0}, {"Land_Sacks_heap_F", {9276.46, 12620.5, 0}, 0}, {"Land_StallWater_F", {9279.54, 12621.5, 0}, 169.68}, {"Land_LampShabby_F", {9259.77, 12638, 0}, 92.41}, {"Land_LampShabby_F", {9278.99, 12617.1, 0}, 337.998}, {"Land_PaperBox_closed_F", {9273.91, 12621.2, 0}, 308.845}, {"Land_PaperBox_open_empty_F", {9272.44, 12622.6, 0}, 0}, {"Land_PaperBox_open_full_F", {9260.94, 12632, 0}, 0}, {"Land_Pallet_MilBoxes_F", {9268.69, 12624.6, 0}, 344.048}, {"Land_CncWall4_F", {9299.39, 12630.2, 0}, 300.044}, {"Land_CncWall4_F", {9256.43, 12606, 0}, 46.205}, {"Land_PhoneBooth_02_F", {9279.28, 12637.4, 0}, 34.6537}, {"Land_PhoneBooth_02_F", {9275.64, 12640, 0}, 34.6537}, // Pyrsos Traderzone {"Land_PhoneBooth_02_F", {9782.84, 19417.3, 0.483551}, 89.1096}, {"Land_PhoneBooth_02_F", {9782.78, 19415.6, 0.421127}, 89.1096}, {"Land_PaperBox_closed_F", {9777.32, 19418.7, 0.124557}, 0}, {"Land_PaperBox_open_empty_F", {9775.64, 19418.8, 0.0279388}, 13.7515}, {"Land_PaperBox_open_full_F", {9773.69, 19419, 0}, 0}, {"Land_WoodenTable_large_F", {9771.29, 19419.1, 0.371429}, 90.2097}, {"Land_Sacks_goods_F", {9774.49, 19410.5, 0.248489}, 325.346}, {"Land_Sacks_heap_F", {9772.51, 19410.8, 0}, 0}, {"Land_LampShabby_F", {9764, 19411, 0.4}, 46}, // Telephones at traders {"Land_PhoneBooth_02_F", {15960, 20577, 0.29}, 208}, {"Land_PhoneBooth_02_F", {24661, 23178, 0.54}, 107}, // safe spawns at traders (Zaros) { "ProtectionZone_Invisible_F", { 9263.3, 12631.3, 0 }, 56 }, { "ProtectionZone_Invisible_F", { 9267.9, 12627.2, 0 }, 37 }, { "ProtectionZone_Invisible_F", { 9278.3, 12622.6, 0 }, 354 }, // safe spawns at traders (Pyrsos) { "ProtectionZone_Invisible_F", { 9771, 19418, 0.46 }, 200 }, { "ProtectionZone_Invisible_F", { 9776.7, 19410.4. 0.35 }, 346 }, // safe spawns at traders (east) { "ProtectionZone_Invisible_F", { 15956.5, 20582, 0.29 }, 200 }, { "ProtectionZone_Invisible_F", { 24660, 23184, 0.36 }, 256 }, // safe spawns at traders {"ProtectionZone_Invisible_F", { 13323.1, 14527.3, 0.00144649 }, 201.163 }, {"ProtectionZone_Invisible_F", { 13331.2, 14524.6, 0.00144362 }, 182.606 }, {"ProtectionZone_Invisible_F", { 13318, 14518.3, 0 }, 173.189 }, {"ProtectionZone_Invisible_F", { 13349.9, 14490.7, 0.750791 }, 339.975 }, {"ProtectionZone_Invisible_F", { 6177.13, 16835.1, 0.0014267 }, 66.2026 }, {"ProtectionZone_Invisible_F", { 6196.01, 16833, 0.00157166 }, 310.814 }, {"ProtectionZone_Invisible_F", { 18460.6, 14259.6, 0.00160599 }, 317.76 }, {"ProtectionZone_Invisible_F", { 18441.7, 14271.7, 0.00142479 }, 49.9898 }, // telephones at spawns { "Land_PhoneBooth_02_F", { 18443.9, 14269, 0.201431 }, 232 }, // East { "Land_PhoneBooth_02_F", { 6185, 16830, 0 }, 211}, // West { "Land_PhoneBooth_02_F", { 13333, 14521, 0 }, 63}, //Central { "Land_PhoneBooth_02_F", { 13332, 14523, 0 }, 63}, //Central //Kavala Hospital {"Land_Wreck_Van_F", {3744.09, 12974, -3.24249e-005}, 178.285}, {"Land_Medevac_house_V1_F", {3752.43, 13014.2, -0.000230789}, 87.8572}, {"Land_Medevac_house_V1_F", {3752.12, 13022.1, 0.0110302}, 88.7143}, {"Land_ChairPlastic_F", {3755.3, 13005.9, 0}, 131.571}, {"Land_ChairPlastic_F", {3754.14, 13003.7, 0}, 186}, {"Land_CampingTable_F", {3754, 13005.2, 0}, 87.4286}, {"Land_CampingTable_F", {3754.52, 12997.2, 0.089838}, 149.571}, {"Land_ChairPlastic_F", {3756.09, 12996.9, 0}, 186}, {"Land_ChairPlastic_F", {3754.04, 12998.2, -0.0498161}, 62.1428}, {"Land_Bandage_F", {3753.93, 13004.8, 0.801973}, 0}, {"Land_Bandage_F", {3753.84, 13005.6, 0.809361}, 0}, {"Land_BloodBag_F", {3753.83, 13005.2, 0.80653}, 71.5714}, {"Land_Defibrillator_F", {3754.19, 13005.7, 0.80463}, 262.286}, {"Land_Garbage_square5_F", {3750.46, 13007.3, 0}, 0}, {"Land_Garbage_square5_F", {3749.09, 13015.7, 0}, 0}, {"Land_Garbage_square5_F", {3746.05, 13012.1, 0}, 0}, {"Land_Garbage_square5_F", {3746.38, 13021.9, 0}, 0}, {"Land_Garbage_square5_F", {3745.04, 13003.9, 0}, 0}, {"Land_Garbage_square5_F", {3747.3, 12998.9, 0}, 0}, {"Land_Garbage_square5_F", {3747.05, 12994.3, 0}, 0}, {"Land_Garbage_square5_F", {3750.69, 13002.1, 0}, 0}, {"Land_GarbageBags_F", {3760.49, 13006.5, 0}, 0}, {"Land_GarbageBags_F", {3757.85, 13008.4, 0}, 115.714}, {"Land_CncWall4_F", {3755.38, 13025.8, 8.2016e-005}, 0}, {"Land_CncWall4_F", {3750.09, 13026.1, -0.0789833}, 0}, {"Land_CncWall4_F", {3744.94, 13026.1, 0.121527}, 0}, {"Land_CncWall4_F", {3741.95, 13023.1, 0.108698}, 269.143}, {"Land_CncWall4_F", {3742.2, 13017.9, 0.0532513}, 268.286}, {"Land_CncWall4_F", {3742.35, 13012.6, -0.067688}, 267.429}, {"Land_CncWall4_F", {3742.58, 13007.4, -0.199841}, 267.429}, {"Land_HBarrierWall4_F", {3746.02, 13007, 0}, 181.714}, {"Land_Wreck_Skodovka_F", {3737.46, 13002.5, 0}, 278.143}, {"Land_Wreck_Skodovka_F", {3754.53, 13029.7, 0}, 7.71429}, {"Land_Wreck_Car2_F", {3739.42, 13014.9, 0}, 344.143}, {"Land_Wreck_Car_F", {3729.49, 12983.3, 0}, 0}, {"Land_Wreck_Truck_dropside_F", {3730.78, 13009.6, 0}, 114}, {"Land_Wreck_Ural_F", {3750.92, 12991.1, 0}, 300.857}, //AAC Airfield {"Land_Cargo_House_V2_F", {11589.3, 11987.2, 0}, 304.286}, {"Land_Cargo_House_V2_F", {11593.2, 11993.8, 0}, 302.572}, {"Land_Cargo_House_V2_F", {11597.3, 11999.6, 0}, 302.143}, {"Land_Cargo_House_V2_F", {11601.3, 12005.6, 0}, 302.571}, {"Land_Cargo_House_V2_F", {11597, 11982.4, 0}, 126}, {"Land_Cargo_House_V2_F", {11601.2, 11988.4, 0}, 126}, {"Land_Cargo_House_V2_F", {11605.1, 11994.2, 0}, 125.143}, {"Land_Cargo_House_V2_F", {11609.4, 12000.4, 0}, 124.714}, {"Land_Cargo_HQ_V2_F", {11610.4, 11980.1, 0}, 129.857}, {"Land_Cargo_Patrol_V2_F", {11652.4, 12004.8, 0}, 231}, {"Land_CncBarrierMedium4_F", {11632, 12000.4, 0}, 43.7143}, {"Land_BagBunker_Large_F", {11661.9, 11988.9, 0}, 236.143}, {"Land_Pallet_MilBoxes_F", {11662.2, 11987.2, 0.000181198}, 332.571}, {"Land_Crash_barrier_F", {11632.7, 12000.9, 0}, 44.5714}, {"Flag_Altis_F", {11619.8, 11982, 0}, 36.4286}, {"Land_GarbageBags_F", {11581.6, 11978.4, 0}, 0}, {"Land_GarbageBags_F", {11583.8, 11977.7, 0}, 67.7143}, {"Land_GarbageContainer_open_F", {11586, 11975.5, 0}, 28.7143}, {"Land_CampingChair_V1_F", {11617.1, 11984, 0}, 228}, {"Land_CampingChair_V1_F", {11618.1, 11983.5, 0}, 189.429}, {"Land_CampingChair_V1_F", {11600, 12000.9, 0}, 228}, {"Land_CampingChair_V1_F", {11591.8, 11988.5, -0.228025}, 325.714}, {"Land_CampingChair_V2_F", {11588.9, 11984.8, 0}, 263.571}, {"Land_CampingChair_V2_F", {11593.7, 11992.6, 0}, 303.429}, {"Land_CampingChair_V1_folded_F", {11592.5, 11991.7, 0}, 0}, {"Land_CampingChair_V2_F", {11604.6, 11995.9, 0}, 63}, {"Land_ChairPlastic_F", {11605.2, 11997, 0}, 275.571}, {"Land_ChairPlastic_F", {11609.5, 12002.2, 0}, 212.571}, {"Land_Wreck_Skodovka_F", {11634.8, 12003.5, 0}, 48}, {"Land_Wreck_Skodovka_F", {11631.5, 11998.3, 0}, 138.429}, {"Land_Wreck_Skodovka_F", {11648.6, 12016.4, 0}, 198.429}, {"Land_Wreck_Car2_F", {11650.1, 12019, 0}, 102}, {"Land_Wreck_Offroad_F", {11636.6, 12009.6, 0}, 134.143}, {"Land_Wreck_Slammer_F", {11603.2, 12019.4, 0}, 0}, {"Land_Wreck_Slammer_F", {11606.6, 12025.4, 0}, 132.857}, {"Land_Wreck_Truck_dropside_F", {11617.9, 11992.5, 0}, 0}, {"Land_Wreck_Hunter_F", {11627.3, 11983.4, 0}, 59.5715}, {"Land_CncBarrierMedium4_F", {11615.3, 11974, 0}, 311.571}, {"Land_CncBarrierMedium4_F", {11619.8, 11979.2, 0}, 311.143}, {"Land_CncBarrierMedium4_F", {11624.3, 11984.3, 0}, 310.714}, {"Land_CncBarrierMedium4_F", {11633.2, 11995.5, 0}, 311.571}, {"Land_Wreck_Plane_Transport_01_F", {11580.1, 11867.8, -0.000331879}, 56.1429}, // Bridge {"Land_nav_pier_m_F", {13002.9, 9886.78, 12}, 153.622}, {"Land_nav_pier_m_F", {12934.8, 9853.01, 1}, 153.622}, {"Land_nav_pier_m_F", {12967.7, 9869.31, 5}, 153.622}, {"Land_nav_pier_m_F", {13037.9, 9904.11, 29}, 153.622}, {"Land_nav_pier_m_F", {13071.8, 9920.92, 43}, 153.622}, {"Land_nav_pier_m_F", {13104.1, 9936.96, 45}, 153.622}, {"Land_nav_pier_m_F", {13136.2, 9952.87, 66}, 153.622}, {"Land_nav_pier_m_F", {13170.4, 9969.81, 71}, 153.622}, {"Land_nav_pier_m_F", {13195.2, 9982.12, 80}, 153.622}, {"Land_nav_pier_m_F", {13227.4, 9998.07, 87}, 153.622}, {"Land_nav_pier_m_F", {13259.9, 10014.2, 95}, 153.622}, {"Land_nav_pier_m_F", {13282.7, 10025.5, 101}, 153.622}, {"Land_nav_pier_m_F", {13315.5, 10041.8, 102}, 153.622}, {"Land_nav_pier_m_F", {13332.8, 10050.4, 105}, 153.622}, {"Land_nav_pier_m_F", {13368.3, 10068, 105}, 153.622}, {"Land_nav_pier_m_F", {13399.9, 10083.7, 102}, 153.622}, {"Land_nav_pier_m_F", {13421.1, 10094.2, 102}, 153.622}, {"Land_nav_pier_m_F", {13454.5, 10110.8, 101}, 153.622}, {"Land_nav_pier_m_F", {13485.1, 10125.9, 105}, 153.622}, {"Land_nav_pier_m_F", {13520.3, 10143.4, 107}, 153.622}, {"Land_nav_pier_m_F", {13542.8, 10154.6, 109}, 153.622}, {"Land_nav_pier_m_F", {13573.2, 10169.6, 112}, 153.622}, {"Land_nav_pier_m_F", {13606.5, 10186.2, 115}, 153.622}, {"Land_nav_pier_m_F", {13639.6, 10202.6, 114}, 153.622}, {"Land_nav_pier_m_F", {13669.5, 10217.5, 117}, 153.622}, {"Land_nav_pier_m_F", {13701.8, 10233.5, 117}, 153.622}, {"Land_nav_pier_m_F", {13736.2, 10250.5, 116.4}, 153.622}, {"Land_nav_pier_m_F", {13771, 10267.8, 117.6}, 153.622}, {"Land_nav_pier_m_F", {13802.6, 10283.5, 118.9}, 153.622}, {"Land_nav_pier_m_F", {13837.7, 10301, 135.4}, 153.622}, {"Land_nav_pier_m_F", {13872.7, 10318.3, 119.9}, 153.622}, {"Land_nav_pier_m_F", {13905.8, 10334.8, 121.6}, 153.622}, {"Land_nav_pier_m_F", {13938, 10350.8, 122.9}, 153.622}, {"Land_nav_pier_m_F", {13969.7, 10366.5, 117.2}, 153.622}, {"Land_nav_pier_m_F", {14005.3, 10384.1, 122.5}, 153.622}, {"Land_nav_pier_m_F", {14038.3, 10400.5, 119.5}, 153.622}, {"Land_nav_pier_m_F", {14073.7, 10418.1, 113.4}, 153.622}, {"Land_nav_pier_m_F", {14106.3, 10434.3, 106}, 153.622}, {"Land_nav_pier_m_F", {14139.4, 10450.8, 98.7}, 153.622}, {"Land_nav_pier_m_F", {14174.9, 10468.4, 91.7}, 153.622}, {"Land_nav_pier_m_F", {14207.6, 10484.7, 86.6}, 153.622}, {"Land_nav_pier_m_F", {14242.5, 10502, 82.4}, 153.622}, {"Land_nav_pier_m_F", {14277.2, 10519.2, 78.6}, 153.622}, {"Land_nav_pier_m_F", {14312.6, 10536.8, 73.1}, 153.622}, {"Land_nav_pier_m_F", {14345.8, 10553.2, 62.6}, 153.622}, {"Land_nav_pier_m_F", {14378.9, 10569.6, 49.6}, 153.622}, {"Land_nav_pier_m_F", {14412.9, 10586.4, 45.2}, 153.622}, {"Land_nav_pier_m_F", {14445, 10602.3, 35.5}, 153.622}, {"Land_nav_pier_m_F", {14480, 10619.7, 25}, 153.622}, {"Land_nav_pier_m_F", {14511.5, 10635.3, 17.6}, 153.622}, {"Land_nav_pier_m_F", {14546.3, 10652.5, 8.5}, 153.622}, {"Land_LightHouse_F", {14624.7, 10669.1, 0}, 0}, {"Land_Wreck_Traw_F", {12952.1, 9809.1, 0}, 0}, {"Land_Wreck_Traw2_F", {12949.1, 9791.13, 1}, 0}, {"Land_ReservoirTower_F", {12927.4, 9827.5, 0}, 0}, {"CamoNet_INDP_Curator_F", {14611.4, 10666.6, 0}, 0}, {"Land_Sea_Wall_F", {14576.2, 10666.9, 5}, 153.623}, {"Land_RowBoat_V2_F", {14639.9, 10734.7, 0}, 0}, {"Land_LightHouse_F", {12923.4, 9875.79, 0}, 0}, {"Land_Sea_Wall_F", {14641.6, 10768.3, 3}, 155.059}, {"Land_Pier_Box_F", {14515.3, 10693.2, 22}, 63.3004}, {"Land_nav_pier_m_F", {14524.1, 10668, 11.9}, 63.1715}, {"Land_nav_pier_m_F", {14540.5, 10705.7, 11.9}, 153.622}, {"Land_nav_pier_m_F", {14573.7, 10722.2, 7.5}, 153.622}, {"Land_nav_pier_m_F", {14608.7, 10739.6, 4}, 153.622}, {"Land_nav_pier_m_F", {14633.7, 10752, -1.3}, 153.622}, {"Land_Pier_F", {14653.4, 10734.5, -2.1}, 244.072}, {"Land_Pier_F", {14662.6, 10747.6, -2}, 244.072}, {"Land_Cargo_Tower_V1_No1_F", {14661.4, 10761.5, 0}, 242.637}, {"Land_Sunshade_02_F", {14656.1, 10730, 0}, 0}, {"Land_Wreck_Traw_F", {14607.6, 10715.7, 0}, 61.7358}, {"Land_Wreck_Traw2_F", {14589.6, 10704.2, 0}, 60.3002}, {"Land_Pier_F", {13697.3, 10241.2, 121.2}, 153.622}, {"Land_LightHouse_F", {13684.6, 10233.9, 123.7}, 134.531} }; staticNpcPos[] = { // tradercity 1 { "C_man_w_worker_F", { 13323.1, 14527.3, 0.00144649 }, 201.163 }, { "C_man_w_worker_F", { 13331.2, 14524.6, 0.00144362 }, 182.606 }, { "C_Orestes", { 13318, 14518.3, 0 }, 173.189 }, { "C_man_shorts_4_F_asia", { 13349.9, 14490.7, 0.750791 }, 339.975 }, // tradercity 2 { "C_man_hunter_1_F", { 6177.13, 16835.1, 0.0014267 }, 66.2026 }, { "C_man_p_fugitive_F_afro", { 6196.01, 16833, 0.00157166 }, 310.814 }, // tradercity 3 { "C_journalist_F", { 18460.6, 14259.6, 0.00160599 }, 317.76 }, { "C_scientist_F", { 18441.7, 14271.7, 0.00142479 }, 49.9898 }, // North Zaros { "C_man_hunter_1_F", { 9263.3, 12631.3, 0 }, 56 }, { "C_man_hunter_1_F", { 9267.9, 12627.2, 0 }, 37 }, { "C_man_hunter_1_F", { 9278.3, 12622.6, 0 }, 354 }, // Pyrsos { "C_man_hunter_1_F", { 9771, 19418, 0.4 }, 200 }, { "C_man_hunter_1_F", { 9776.7, 19410.4, 0.3 }, 346 }, // Right side of map top { "C_man_hunter_1_F", { 15956.5, 20582, 0.29 }, 46 }, // Right side of map bottom { "C_man_hunter_1_F", { 24660, 23184, 0.36 }, 256 }, // Almyra Trader Base { "C_man_hunter_1_F", { 23463.8,17728.5,0 }, 294.545 }, { "C_man_hunter_1_F", { 23464.5,17766.4,0 }, 210 }, { "C_man_hunter_1_F", { 23452.5,17766.9,0 }, 197 }, { "C_man_hunter_1_F", { 23440.8,17766.6,0 }, 191 }, { "C_man_hunter_1_F", { 23415.1,17734.3,0 }, 119 } }; }; Start the server up and let the traders be created in the database. You then need to find the ID for each trader you added in the database so you can put the correct stock in the correct trader. You can then use the php file above as a starting point to populate the traders with static loot (per trader). Here is an example trader restock script I use (if you add custom vehicles like I have then you also need to add them to your loots.h file so they have a price: <?php /* EpochMod Redis tools http://www.deadmenrising.net/ By Dwarfer This file is for traders */ require 'include/connect.inc.php'; require 'include/functions.inc.php'; echo "<b>STATIC TRADER RESTOCKER:</b><br><br>"; // Restock the vehicle Trader $VehicleTraderData = '[["jerrycan_epoch", "VehicleRepairLg", "C_Offroad_01_EPOCH", "C_Quadbike_01_EPOCH", "C_Hatchback_01_EPOCH", "C_SUV_01_EPOCH", "C_Van_01_box_EPOCH", "B_MRAP_01_EPOCH", "B_Truck_01_mover_EPOCH", "O_Truck_02_transport_EPOCH", "O_Truck_03_covered_EPOCH", "I_Heli_Transport_02_EPOCH", "C_Heli_Light_01_civil_F", "O_Heli_Light_02_unarmed_EPOCH", "I_Heli_light_03_unarmed_EPOCH", "O_Heli_Transport_04_EPOCH", "C_Offroad_01_repair_f"], [10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,5]]'; $RDClient-> set("AI_ITEMS:NA123:15",$VehicleTraderData); echo '$RDClient-> set("AI_ITEMS:NA123:15",'.$VehicleTraderData.');<hr>'; // Restock the uniforms and backpack Trader $UniformTraderData = '[[ "U_O_CombatUniform_ocamo", "U_O_GhillieSuit", "U_O_PilotCoveralls", "U_O_Wetsuit", "U_C_Poor_1", "U_C_WorkerCoveralls", "U_C_Journalist", "U_C_Scientist", "U_OrestesBody", "U_C_Poloshirt_stripped", "U_C_Poloshirt_blue", "U_C_Poloshirt_burgundy", "U_C_Poloshirt_tricolour", "U_C_Poloshirt_salmon", "U_C_Poloshirt_redwhite", "U_OG_Guerilla1_1", "U_OG_Guerilla2_1", "U_OG_Guerilla2_2", "U_OG_Guerilla3_1", "U_OG_Guerilla3_2", "U_OG_leader", "U_C_Driver_1", "U_C_Driver_2", "U_C_Driver_3", "U_C_Driver_4", "U_C_Driver_1_black", "U_C_Driver_1_blue", "U_C_Driver_1_green", "U_C_Driver_1_red", "U_C_Driver_1_white", "U_C_Driver_1_yellow", "U_C_Driver_1_orange", "U_C_Driver_1_red", "U_CamoRed_uniform", "U_CamoBrn_uniform", "U_CamoBlue_uniform", "U_Camo_uniform", "U_ghillie1_uniform", "U_ghillie2_uniform", "U_ghillie3_uniform", "U_Wetsuit_uniform", "U_Wetsuit_White", "U_Wetsuit_Blue", "U_Wetsuit_Purp", "U_Wetsuit_Camo", "V_1_EPOCH", "V_2_EPOCH", "V_3_EPOCH", "V_4_EPOCH", "V_5_EPOCH", "V_6_EPOCH", "V_7_EPOCH", "V_8_EPOCH", "V_9_EPOCH", "V_10_EPOCH", "V_11_EPOCH", "V_12_EPOCH", "V_13_EPOCH", "V_14_EPOCH", "V_15_EPOCH", "V_16_EPOCH", "V_17_EPOCH", "V_18_EPOCH", "V_19_EPOCH", "V_20_EPOCH", "V_21_EPOCH", "V_22_EPOCH", "V_23_EPOCH", "V_24_EPOCH", "V_25_EPOCH", "V_26_EPOCH", "V_27_EPOCH", "V_28_EPOCH", "V_29_EPOCH", "V_30_EPOCH", "V_31_EPOCH", "V_32_EPOCH", "V_33_EPOCH", "V_34_EPOCH", "V_35_EPOCH", "V_36_EPOCH", "V_37_EPOCH", "V_38_EPOCH", "V_39_EPOCH", "V_40_EPOCH", "H_1_EPOCH", "H_2_EPOCH", "H_3_EPOCH", "H_4_EPOCH", "H_5_EPOCH", "H_6_EPOCH", "H_7_EPOCH", "H_8_EPOCH", "H_9_EPOCH", "H_10_EPOCH", "H_12_EPOCH", "H_13_EPOCH", "H_14_EPOCH", "H_15_EPOCH", "H_16_EPOCH", "H_17_EPOCH", "H_18_EPOCH", "H_19_EPOCH", "H_20_EPOCH", "H_21_EPOCH", "H_22_EPOCH", "H_23_EPOCH", "H_24_EPOCH", "H_25_EPOCH", "H_26_EPOCH", "H_27_EPOCH", "H_29_EPOCH", "H_30_EPOCH", "H_31_EPOCH", "H_32_EPOCH", "H_33_EPOCH", "H_35_EPOCH", "H_36_EPOCH", "H_37_EPOCH", "H_38_EPOCH", "H_93_EPOCH", "H_94_EPOCH", "H_95_EPOCH", "H_96_EPOCH", "H_97_EPOCH", "H_98_EPOCH", "H_99_EPOCH", "H_100_EPOCH", "H_101_EPOCH", "H_102_EPOCH", "H_103_EPOCH", "H_11_EPOCH", "H_28_EPOCH", "H_34_EPOCH", "H_39_EPOCH", "H_40_EPOCH", "H_41_EPOCH", "H_42_EPOCH", "H_43_EPOCH", "H_44_EPOCH", "H_45_EPOCH", "H_46_EPOCH", "H_47_EPOCH", "H_48_EPOCH", "H_49_EPOCH", "H_50_EPOCH", "H_51_EPOCH", "H_52_EPOCH", "H_53_EPOCH", "H_54_EPOCH", "H_55_EPOCH", "H_56_EPOCH", "H_57_EPOCH", "H_58_EPOCH", "H_59_EPOCH", "H_60_EPOCH", "H_61_EPOCH", "H_62_EPOCH", "H_63_EPOCH", "H_64_EPOCH", "H_65_EPOCH", "H_66_EPOCH", "H_67_EPOCH", "H_68_EPOCH", "H_69_EPOCH", "H_70_EPOCH", "H_71_EPOCH", "H_72_EPOCH", "H_73_EPOCH", "H_74_EPOCH", "H_75_EPOCH", "H_76_EPOCH", "H_78_EPOCH", "H_79_EPOCH", "H_80_EPOCH", "H_81_EPOCH", "H_82_EPOCH", "H_83_EPOCH", "H_84_EPOCH", "H_85_EPOCH", "H_86_EPOCH", "H_87_EPOCH", "H_88_EPOCH", "H_89_EPOCH", "H_90_EPOCH", "H_91_EPOCH", "H_92_EPOCH", "H_104_EPOCH" ], [10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10]]'; $RDClient-> set("AI_ITEMS:NA123:16",$UniformTraderData); echo '$RDClient-> set("AI_ITEMS:NA123:16",'.$UniformTraderData.');<hr>'; // Restock the Guns/Ammo Trader $WeaponsTraderData = '[["sr25_epoch","l85a2_epoch","l85a2_pink_epoch","l85a2_ugl_epoch","LMG_Mk200_F","arifle_MX_SW_F","LMG_Zafir_F","arifle_MX_SW_Black_F","m249_EPOCH","m249Tan_EPOCH","m107Tan_EPOCH","m107_EPOCH","m16_EPOCH","m16Red_EPOCH","M14_EPOCH","M14Grn_EPOCH","m4a3_EPOCH","AKM_EPOCH","Rangefinder","Laserdesignator","hgun_ACPC2_F","hgun_Rook40_F","hgun_P07_F","hgun_Pistol_heavy_01_F","hgun_Pistol_heavy_02_F","ruger_pistol_epoch","1911_pistol_epoch","hgun_Pistol_Signal_F","Hatchet","MultiGun","MeleeSledge","30Rnd_65x39_caseless_green","30Rnd_65x39_caseless_green_mag_Tracer","30Rnd_65x39_caseless_mag","30Rnd_65x39_caseless_mag_Tracer","20Rnd_556x45_UW_mag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag_Tracer_Red","30Rnd_556x45_Stanag_Tracer_Green","30Rnd_556x45_Stanag_Tracer_Yellow","30Rnd_45ACP_Mag_SMG_01","30Rnd_45ACP_Mag_SMG_01_Tracer_Green","5Rnd_rollins_mag","30rnd_556_magazine","20Rnd_762x51_Mag","30Rnd_762x39_Mag","200Rnd_556x45_M249","200Rnd_65x39_cased_Box","100Rnd_65x39_caseless_mag","200Rnd_65x39_cased_Box_Tracer","100Rnd_65x39_caseless_mag_Tracer","150Rnd_762x51_Box","150Rnd_762x51_Box_Tracer","optic_Arco","optic_Hamr","optic_Aco","optic_ACO_grn","optic_Aco_smg","optic_ACO_grn_smg","optic_Holosight","optic_Holosight_smg","optic_SOS","optic_MRCO","optic_DMS","optic_Yorris","optic_MRD","optic_LRPS","optic_NVS","optic_Nightstalker","optic_tws","optic_tws_mg","Elcan_epoch","Elcan_reflex_epoch","muzzle_snds_H","muzzle_snds_L","muzzle_snds_M","muzzle_snds_B","muzzle_snds_H_MG","muzzle_snds_acp","Heal_EPOCH","Defib_EPOCH","Repair_EPOCH","muzzle_sr25S_epoch"],[10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20]]'; $RDClient-> set("AI_ITEMS:NA123:19",$WeaponsTraderData); echo '$RDClient-> set("AI_ITEMS:NA123:15",'.$WeaponsTraderData.');<hr>'; // Restock the Building Trader $BuildingTraderData = '[["ItemLockbox","EnergyPack","EnergyPackLg","PartPlankPack","CinderBlocks","MortarBucket","ItemScraps","ItemCorrugated","ItemCorrugatedLg","KitPlotPole","PaintCanBlk","PaintCanBlu","PaintCanBrn","PaintCanGrn","PaintCanOra","PaintCanPur","PaintCanRed","PaintCanTeal","PaintCanYel"],[5,10,10,100,100,100,100,100,100,10,20,20,20,20,20,20,20,20,20]]'; $RDClient-> set("AI_ITEMS:NA123:18",$BuildingTraderData); echo '$RDClient-> set("AI_ITEMS:NA123:15",'.$BuildingTraderData.');<hr>'; ?> psychosis and San 2 Link to comment Share on other sites More sharing options...
0 CMDR. Taco Posted April 5, 2015 Report Share Posted April 5, 2015 Can someone explain how the trader entries are created for the DB? I have the four default traders that are defined in the chenarus.h file on the server side. If I delete all the AI and AI_ITEMS in the DB and restart the server, it creates AI:01:4 through AI:01:15 and none of the coordinates match the four in the chenarus.h. Where the hell is it getting the data to create the 11 traders in the DB? EDIT: I'm guessing the entries in the DB are dynamically created by the EPOCH_server_spawnTraders.sqf, but why are the four defined in the chenarus.h not in the DB? EDIT 2: So it appears that the static traders that are set in the chenarus.h, or your map's equivalent, only appear in the AI_ITEMS after you sell the first item to the trader. They will not appear in the AI table. Link to comment Share on other sites More sharing options...
0 second_coming Posted April 8, 2015 Report Share Posted April 8, 2015 Can someone explain how the trader entries are created for the DB? I have the four default traders that are defined in the chenarus.h file on the server side. If I delete all the AI and AI_ITEMS in the DB and restart the server, it creates AI:01:4 through AI:01:15 and none of the coordinates match the four in the chenarus.h. Where the hell is it getting the data to create the 11 traders in the DB? EDIT: I'm guessing the entries in the DB are dynamically created by the EPOCH_server_spawnTraders.sqf, but why are the four defined in the chenarus.h not in the DB? EDIT 2: So it appears that the static traders that are set in the chenarus.h, or your map's equivalent, only appear in the AI_ITEMS after you sell the first item to the trader. They will not appear in the AI table. That's the same for any static traders you add in the map.h files. Link to comment Share on other sites More sharing options...
Question
zicongqiu
Anyone have any idea how to add traders with static items/vehicles just like ArmA 2 Epoch?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now