How to use MysteryBox method in unexpected

Best JavaScript code snippet using unexpected

miscV2.js

Source:miscV2.js Github

copy

Full Screen

1// Used to generate IDs for all of the below misc markers:2// https://nanoid.jormaechea.com.ar/?alphabet=0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz&length=53// Please use the existing settings included in the URL and check for duplicate ids when possible (it's very very unlikely but still possible).4// Non collectible items that need icons on the respective maps5let miscPOI = {};6/////////////////////Round Based Misc Items/////////////////////////7miscPOI[mapDetails.dieMaschine.id] = [8 new Marker("qnnn7", miscTypes.craftingTable, [238.9533945125948, 313.2529307427267]),9 new Marker("FcRRV", miscTypes.rampageInducer, [187.22527858413707, 297.96712471202267]),10 new Marker("RNg0j", miscTypes.ammoCrate, [173.22590130162, 293.5]),11 new Marker("r1v1U", miscTypes.mysteryBox, [206.4640696694447, 344]),12 new Marker("2y3Cc", miscTypes.radio, [242.55058174922743, 337.5], "Exfill Radio"),13 new Marker("nZA19", miscTypes.requiemRadio, [189.18283195992137, 256.25]),14 new Marker("68O2O", miscTypes.wallbuy, [261.1077465118457, 355], "1911"),15 new Marker("lmW4Q", miscTypes.wallbuy, [276.7037503511565, 255.75], "MP5"),16 new Marker("81V83", miscTypes.ammoCrate, [250.46531510441054, 301.25]),17 new Marker("hZ0vk", miscTypes.mysteryBox, [386.16701001966476, 287.25]),18 new Marker("ospc7", perks.staminup, [251.96478134656803, 349.75]),19 new Marker("fcM5h", perks.jugg, [362.1755501451447, 259.75]),20 new Marker("7WBdI", miscTypes.ammoCrate, [335.7277202921622, 263.875]),21 new Marker("qnd1q", miscTypes.wallbuy, [340.9758521397134, 318.75], "Gallo"),22 new Marker("sLfEw", miscTypes.wallbuy, [194.23292443112652, 256.125], "Hauer 77"),23 new Marker("rXxRl", miscTypes.ammoCrate, [203.48479258357526, 282]),24 new Marker("V1v4Z", miscTypes.wallbuy, [179.74021678059745, 256], "Diamatti"),25 new Marker("r5tfe", miscTypes.wunderFizz, [277.920479445641, 297.75], "On the 'Penthouse' level within the Dark Aether. Arrives in the standard map 10 rounds after the power is turned on."),26 new Marker("whnl0", miscTypes.mysteryBox, [227.36045978087836, 178.5]),27 new Marker("znu5z", miscTypes.wallbuy, [211.11624215750538, 158.125], "M16"),28 new Marker("U24cf", miscTypes.ammoCrate, [256.22518494241035, 86.25]),29 new Marker("6gdU5", miscTypes.maxisRadio, [257.99097293754096, 88.5625]),30 new Marker("206x9", miscTypes.aetherTunnel, [228.712198675318, 112.25]),31 new Marker("yZ4Mf", miscTypes.aetherTunnel, [231.71142976622465, 261.25]),32 new Marker("zczWT", miscTypes.aetherTunnel, [312.95656000863335, 345.5]),33];34miscPOI[mapDetails.dieMaschineUnderground.id] = [35 new Marker("cTakX", miscTypes.craftingTable, [302.9450323063958, 199.5]),36 new Marker("GdJqJ", miscTypes.wallbuy, [325.4370259387583, 188.25], "XM4"),37 new Marker("OwuYN", miscTypes.wallbuy, [189.74051249234878, 245], "RPD"),38 new Marker("tbKp7", perks.deadshot, [195.98761430452765, 227.875]),39 new Marker("4CUDy", perks.elemental, [120.36551249234878, 419.875]),40 new Marker("bNKSM", perks.speed, [320.16749670765864, 330]),41 new Marker("CRQrY", miscTypes.wallbuy, [99.48320905903957, 413], "LW3 - Tundra"),42 new Marker("6wZVg", miscTypes.wallbuy, [185.47998163708195, 359.25], "Krig 6"),43 new Marker("VC2JI", miscTypes.ammoCrate, [190.9774312317994, 386.25]),44 new Marker("IWFVK", miscTypes.papMachine, [175.2347346651086, 358.5]),45 new Marker("tKfcy", miscTypes.trialComputer, [228.18152393671284, 304]),46 new Marker("bbpOB", miscTypes.arsenal, [246.2018112514607, 373.25]),47 new Marker("DW0WK", miscTypes.mysteryBox, [335.16054105688795, 380.5]),48 new Marker("FUa64", miscTypes.wallbuy, [334.4108888394265, 318.5], "Type 63"),49 new Marker("VJSPN", miscTypes.ammoCrate, [237.45586871441026, 319.75]),50 new Marker("TUgDl", miscTypes.wallbuy, [210.9681570307718, 296], "AK-74u"),51 new Marker("q44EK", miscTypes.mysteryBox, [182.9811409122104, 203.75]),52 new Marker("LXxTQ", miscTypes.power, [126.11151299315564, 399.125]),53 new Marker("ovCt3", miscTypes.aetherTunnel, [209.95886673591343, 173]),54 new Marker("ZK5LG", miscTypes.aetherTunnel, [216.46392872077806, 315]),55 new Marker("amLbg", miscTypes.aetherTunnel, [293.2263897694622, 384]),56];57miscPOI[mapDetails.firebaseZ.id] = [58 new Marker("JgR0a", miscTypes.teleporter, [325.0978719917595, 221.75], "To Spawn"),59 new Marker("zfWMF", miscTypes.ammoCrate, [314.97647485719637, 243.375]),60 new Marker("V0Gux", miscTypes.ammoCrate, [357.7112627586853, 248.75]),61 new Marker("sBCpq", miscTypes.ammoCrate, [298.9436979117895, 337.5]),62 new Marker("SR3Xs", miscTypes.ammoCrate, [210.49324374941475, 371.75]),63 new Marker("VyRH8", miscTypes.ammoCrate, [424.45432390673284, 316.875]),64 new Marker("hM87O", miscTypes.ammoCrate, [251.96042232418768, 267.5]),65 new Marker("RUa3j", miscTypes.ammoCrate, [245.96255735555764, 221]),66 new Marker("a5NWx", miscTypes.ammoCrate, [258.9873279333271, 153.75]),67 new Marker("URVRf", miscTypes.ammoCrate, [406.4054452664107, 384.25]),68 new Marker("Y7LKb", miscTypes.ammoCrate, [156.2185176514655, 315.75]),69 new Marker("kJLhK", miscTypes.mysteryBox, [416.458860848394, 261.5]),70 new Marker("tviIi", miscTypes.mysteryBox, [192.4815947186066, 283.25]),71 new Marker("nKgEY", miscTypes.mysteryBox, [412.32647719823956, 361.25]),72 new Marker("QZFdH", miscTypes.mysteryBox, [265.7322572338234, 361.5]),73 new Marker("MdsK_", miscTypes.mysteryBox, [172.96255735555764, 370.75]),74 new Marker("c1Kne", miscTypes.mysteryBox, [254.98688313512503, 168.25]),75 new Marker("RODrY", miscTypes.arsenal, [416.9586829291132, 251.5]),76 new Marker("CxbPm", miscTypes.arsenal, [321.43569154415206, 338.75]),77 new Marker("jHHcR", miscTypes.arsenal, [159.10707931454255, 266.5]),78 new Marker("77gVD", miscTypes.wallbuy, [353.48127867777885, 317.5], "M16"),79 new Marker("z46lQ", miscTypes.wallbuy, [331.09573696038956, 278.375], "Ak-74u"),80 new Marker("8ZbjF", miscTypes.wallbuy, [432.8419561756719, 283.75], "1911"),81 new Marker("STzNi", miscTypes.wallbuy, [239.21495926584885, 261.75], "AUG"),82 new Marker("TChc2", miscTypes.wallbuy, [278.60534460155446, 153.125], "DMR 14"),83 new Marker("Oc61M", miscTypes.wallbuy, [268.34635967787244, 216.5], "QBZ"),84 new Marker("T2xi0", miscTypes.wallbuy, [359.83813091113404, 212], "Hauer"),85 new Marker("OSfjR", miscTypes.wallbuy, [430.4222586384493, 350.75], "FFAR 1"),86 new Marker("n4iky", miscTypes.wallbuy, [382.9138074726098, 385.5], "M82"),87 new Marker("TBoB4", miscTypes.wallbuy, [284.8504518213316, 361.875], "Type 63"),88 new Marker("3exzd", miscTypes.wallbuy, [191.4971626556794, 350], "AK-47"),89 new Marker("IC4tW", miscTypes.wallbuy, [215.2387114898399, 331.5], "KSP"),90 new Marker("pYZAK", miscTypes.wallbuy, [148.46469238692762, 343.75], "RPD"),91 new Marker("rQkF_", miscTypes.craftingTable, [309.8493398258264, 286.875]),92 new Marker("8OaeH", miscTypes.craftingTable, [294.8495622249274, 153.625]),93 new Marker("hFCmp", miscTypes.craftingTable, [175.95490682648187, 307.5]),94 new Marker("ZehFH", perks.tomb, [277.9856821799794, 285.375]),95 new Marker("P3Ykk", perks.jugg, [320.0880419514936, 208.125]),96 new Marker("dGeon", perks.staminup, [366.6949433467553, 355.25]),97 new Marker("8arCc", perks.speed, [168.88305552954398, 328.25]),98 new Marker("245Uw", miscTypes.trialComputer, [295.8543215656897, 221.75]),99 new Marker("VM2_4", miscTypes.collector, [415.08265989324843, 327.75]),100 new Marker("itaev", miscTypes.collector, [240.46451446764678, 180.5]),101 new Marker("aHjsU", miscTypes.collector, [294.1953881449574, 178.5]),102 new Marker("H6jlt", miscTypes.collector, [282.4257819084184, 205.0625]),103 new Marker("hQIqU", miscTypes.collector, [398.93346755314167, 354.25]),104 new Marker("bUaR9", miscTypes.collector, [356.92305927521306, 338.75]),105 new Marker("1TK5Q", miscTypes.collector, [226.73461934638078, 321.75]),106 new Marker("wgAyy", miscTypes.collector, [190.74742953460066, 308.5]),107 new Marker("LNUej", miscTypes.collector, [199.45312763367357, 356.5]),108 new Marker("YmIMM", miscTypes.reactor, [269.95401723007774, 185.25]),109 new Marker("QvEhD", miscTypes.reactor, [391.9359584230733, 336.5]),110 new Marker("k59kA", miscTypes.reactor, [199.7442269875457, 338.25]),111 new Marker("0dNxK", miscTypes.jumpPad, [322.58968770484125, 139.375], "To Scorched Defence"),112 new Marker("Nt2PU", miscTypes.jumpPad, [242.48185691544154, 337.5], "To Scorched Defence"),113 new Marker("fjCW8", miscTypes.jumpPad, [213.48230639572995, 141.5], "To Rocky Defence"),114 new Marker("5xNmk", miscTypes.jumpPad, [333.9318662796142, 351.25], "To Rocky Defence"),115 new Marker("4TlOa", miscTypes.jumpPad, [360.94698941848486, 327.5], "To Jungle Defence"),116 new Marker("RnOvS", miscTypes.jumpPad, [159.9606002434685, 323.25], "To Jungle Defence"),117 new Marker("JaJJe", miscTypes.landingPad, [341.67848581327837, 366.75]),118 new Marker("3xfbm", miscTypes.landingPad, [440.39334675531416, 364]),119 new Marker("cDayE", miscTypes.landingPad, [325.0887981084371, 157.25]),120 new Marker("ahCRs", miscTypes.landingPad, [214.48195055716826, 164.25]),121 new Marker("_1PF1", miscTypes.landingPad, [154.21922932858882, 360.5]),122 new Marker("bQdiD", miscTypes.landingPad, [141.2155819833318, 309.75]),123 new Marker("jRbkg", miscTypes.requiemRadio, [200.87166869557075, 374.375], "On top of a cart on the left wall of the upstairs room."),124 new Marker("ro5Lp", miscTypes.maxisRadio, [143.38939430434863, 346.5], "On an ammo crate right behind a ledge in the tank tracks."),125 new Marker("4oMQK", miscTypes.radio, [270.60312061054407, 239.375], "Exfill Radio"),126 new Marker("6t6Ot", miscTypes.airSupport, [268.2128242344789, 140.75], "Cruise Missile"),127 new Marker("4wv87", miscTypes.airSupport, [393.9098932484315, 375.5], "Napalm Strike"),128 new Marker("eLtJ6", miscTypes.airSupport, [149.72083060211628, 349.75], "Artillery"),129];130miscPOI[mapDetails.firebaseZSpawn.id] = [131 new Marker("uxA5R", miscTypes.ammoCrate, [208.93098604738273, 232.5]),132 new Marker("kgGlY", perks.quick, [159.46212192152825, 258.5]),133 new Marker("rVCnt", miscTypes.craftingTable, [311.9078565408746, 242]),134 new Marker("UyWMz", miscTypes.wallbuy, [325.9028748010113, 223.5], "Magnum"),135 new Marker("8Tm13", miscTypes.wallbuy, [315.20624122108813, 328], "Bullfrog"),136 new Marker("3qsWY", miscTypes.papMachine, [380.469758404345, 257.875]),137 new Marker("GTe1y", miscTypes.wunderFizz, [379.844980803446, 215.375]),138 new Marker("d1zVX", miscTypes.arsenal, [364.850318381871, 169.25]),139 new Marker("PN5cS", miscTypes.rampageInducer, [256.4956901395262, 188.375]),140 new Marker("zQK69", miscTypes.wallbuy, [115.12184661485156, 215.125], "Gallo"),141 new Marker("il15s", miscTypes.wallbuy, [314.4659378218934, 149.25], "Stoner 83"),142 new Marker("ZQwBM", miscTypes.teleporter, [220.20935480850267, 349.25], "To Main Base"),143];144miscPOI[mapDetails.mauerDerToten.id] = [145 new Marker("Vz7PI", miscTypes.ammoCrate, [360.6779752089085, 166.75]),146 new Marker("lgFlW", miscTypes.ammoCrate, [313.43651220099684, 307.7578472555278]),147 new Marker("028Bw", miscTypes.ammoCrate, [207.98264577272982, 224.85949360808374]),148 new Marker("qXZCX", miscTypes.craftingTable, [307.4422328657983, 199.5]),149 new Marker("2Z69d", miscTypes.arsenal, [189.36420253469458, 208.85605371524963]),150 new Marker("rvI3J", miscTypes.mysteryBox, [378.6772711270868, 219]),151 new Marker("lUa4E", perks.mule, [308.7001537862926, 268.75]),152 new Marker("mYtJL", perks.elemental, [254.115302662541, 212.98081184778474]),153 new Marker("htMzr", miscTypes.zipline, [146.61019806933353, 174.85745117171348]),154 new Marker("qUsdq", miscTypes.wallbuy, [333.1876563339571, 200.75], "Krig 6"),155 new Marker("_MhF2", miscTypes.wallbuy, [287.957458635193, 312], "M16"),156 new Marker("9iDLM", miscTypes.wallbuy, [264.4634433306776, 206.21861097788877], "Milano 821"),157 new Marker("6n4vD", miscTypes.wallbuy, [159.12485177224806, 196.85347379562404], "XM4"),158 new Marker("ROB5S", miscTypes.power, [283.45675455337124, 206.46866472621429], "2 fuses are required to activate."),159];160miscPOI[mapDetails.mauerDerTotenStreets.id] = [161 new Marker("WLKGz", miscTypes.ammoCrate, [226.22815725111633, 104.23454735640928]),162 new Marker("O9joh", miscTypes.ammoCrate, [298.4431129680754, 171.48344551573587]),163 new Marker("KtnDa", miscTypes.ammoCrate, [368.860374089789, 329.5]),164 new Marker("uuvse", miscTypes.ammoCrate, [289.19293694762, 353.25]),165 new Marker("8NpKm", miscTypes.ammoCrate, [115.48491782624001, 287.75]),166 new Marker("lS2oV", miscTypes.ammoCrate, [124.50577625020844, 443]),167 new Marker("fEYzo", miscTypes.ammoCrate, [339.6007809749681, 444.125]),168 new Marker("MvQgd", miscTypes.craftingTable, [313.73489003353654, 412.75]),169 new Marker("g7EFo", miscTypes.arsenal, [412.2201043152804, 386.875]),170 new Marker("d4_OW", miscTypes.arsenal, [178.86090215115524, 389.5]),171 new Marker("X3VOB", miscTypes.mysteryBox, [116.75850456726766, 413.75]),172 new Marker("ePWVb", miscTypes.mysteryBox, [98.74219488243688, 271.125]),173 new Marker("N8ZNs", miscTypes.mysteryBox, [276.9905226881103, 269.25]),174 new Marker("5Jio9", perks.jugg, [328.1014850567898, 386.125]),175 new Marker("npHck", perks.speed, [154.97101221026105, 300]),176 new Marker("YWNji", perks.staminup, [119.88167256489595, 364.5]),177 new Marker("kU1ty", perks.tomb, [290.1182070000556, 384.25]),178 new Marker("7_Xve", miscTypes.zipline, [185.22849307961684, 103.70872128599069]),179 new Marker("iSOF5", miscTypes.zipline, [158.71969205684536, 338.25]),180 new Marker("PYHwG", miscTypes.zipline, [200.9548183283615, 306]),181 new Marker("enALO", miscTypes.zipline, [287.44821756128295, 426.5]),182 new Marker("99LL2", miscTypes.zipline, [209.47567675232995, 424]),183 new Marker("0NXak", miscTypes.wallbuy, [399.8494608215523, 326], "Type 63"),184 new Marker("8kTWI", miscTypes.wallbuy, [286.72101221026105, 380.25], "AK-74u"),185 new Marker("X4lhW", miscTypes.wallbuy, [140.47611680346853, 340], "MP5"),186 new Marker("jQOwR", miscTypes.wallbuy, [186.48321783920994, 404.375], "Gallo SA12"),187 new Marker("ZEXRC", miscTypes.wallbuy, [340.85034092382944, 413.75], "Diamatti"),188 new Marker("Awvc5", miscTypes.wunderFizz, [316.19672138741174, 57.20469016157574]),189 new Marker("7EMcB", miscTypes.papMachine, [251.9594828704304, 196.73887409661467]),190 new Marker("slGlH", miscTypes.trialComputer, [252.96874015675087, 39.595653414259026]),191 new Marker("UvjK8", miscTypes.rampageInducer, [337.9763530414482, 384.75]),192];193miscPOI[mapDetails.forsaken.id] = [194 new Marker("uhk5c", miscTypes.teleporter, [312.4317773199738, 82.75], "To Main Street"),195 new Marker("UATGZ", miscTypes.ammoCrate, [238.70802041389643, 101.25]),196 new Marker("8zjoh", miscTypes.ammoCrate, [260.86174735462123, 289.5625]),197 new Marker("nWAL0", miscTypes.ammoCrate, [371.7196226238412, 95.625]),198 new Marker("VgClz", miscTypes.ammoCrate, [389.9737615881637, 219.625]),199 new Marker("RlnB7", miscTypes.ammoCrate, [94.73274651184568, 193]),200 new Marker("jA4L1", miscTypes.ammoCrate, [166.97531838187098, 233.625]),201 new Marker("d6iGj", miscTypes.ammoCrate, [203.72923260604927, 278.125]),202 new Marker("tO_Nq", miscTypes.ammoCrate, [247.5, 427]),203 new Marker("I35On", miscTypes.ammoCrate, [268.5, 436.375]),204 new Marker("esx6w", miscTypes.craftingTable, [203.22065268283546, 110.25]),205 new Marker("2X5E_", miscTypes.craftingTable, [365.6009855791741, 192.375]),206 new Marker("Mmsy_", miscTypes.craftingTable, [260.625, 436.3125]),207 new Marker("aY4N9", miscTypes.teleporter, [223.20793145425603, 129], "To Tower"),208 new Marker("4EXal", miscTypes.teleporter, [383.941029122577, 41.75], "To Staging Area"),209 new Marker("LinzC", miscTypes.wallbuy, [252.94734525704655, 91.75], "1911"),210 new Marker("6uLKO", miscTypes.arsenal, [257.69565502387866, 115.5]),211 new Marker("_S8eS", miscTypes.arsenal, [275.375, 436.375]),212 new Marker("KTf9e", miscTypes.rampageInducer, [269.94129600149824, 123.5]),213 new Marker("dNZrb", perks.death, [296.9316883603334, 127.75]),214 new Marker("DkPDk", miscTypes.wallbuy, [285.1908512032962, 57.25], "Diamatti"),215 new Marker("hPvQY", miscTypes.wallbuy, [381.70090364266315, 78.25], "Hauer"),216 new Marker("ftW_1", miscTypes.wallbuy, [236.37046539938197, 307.5], "Pellington"),217 new Marker("xbmnw", miscTypes.wallbuy, [320.9730698099073, 182.9375], "DMR 14"),218 new Marker("5Bzt4", miscTypes.wallbuy, [365.2261190186347, 203.5], "Bullfrog"),219 new Marker("e6LK0", miscTypes.wallbuy, [447.66361667759156, 220.9375], "Gallo"),220 new Marker("5dWjB", miscTypes.wallbuy, [159.05660876486562, 183.9375], "QBZ-83"),221 new Marker("mOTWb", miscTypes.wallbuy, [154.86786332989982, 158.9375], "Milano 821"),222 new Marker("nNJxZ", miscTypes.wallbuy, [198.60605627867778, 273.5], "Type 63s"),223 new Marker("rBir5", perks.jugg, [396.847115834816, 98]),224 new Marker("yixf9", perks.phd, [237.61886646689766, 296.75]),225 new Marker("x_U2D", perks.quick, [354.6048998033524, 223.75]),226 new Marker("_EJAx", perks.tomb, [367.60832474950837, 248]),227 new Marker("elRzv", perks.staminup, [416.8465375971533, 186.5]),228 new Marker("5UsEQ", perks.elemental, [156.10418812622905, 240.5]),229 new Marker("3IYFT", miscTypes.mysteryBox, [153.46077816274934, 122.5]),230 new Marker("dgz_n", miscTypes.mysteryBox, [321.7450674220433, 228.625]),231 new Marker("kzgZZ", miscTypes.mysteryBox, [426.58274885288887, 206.25]),232 new Marker("eqygP", miscTypes.trap, [136.1078799513063, 108.25], "Suspended Hind"),233 new Marker("PO_Zs", miscTypes.wallbuy, [81.87718419327653, 85], "MP5"),234 new Marker("guJMC", perks.mule, [61.63438992415021, 109]),235 new Marker("PE7Yv", miscTypes.wallbuy, [124.48701657458564, 175], "AUG"),236 new Marker("Cjvh8", miscTypes.wallbuy, [85.85552252083528, 102.25], "XM4"),237 new Marker("IHqvu", miscTypes.wallbuy, [157.2287878078472, 232], "FFAR 1"),238 new Marker("xSDbU", miscTypes.teleporter, [62.24088631894372, 92.75], "To Main Street"),239 new Marker("sRlGi", miscTypes.teleporter, [283.4247143927334, 296.1875], "To Staging Area"),240 new Marker("Q_P5D", miscTypes.teleporter, [275.1142159846428, 336.9375], "To Bunker"),241 new Marker("pkLTA", miscTypes.teleporter, [383.223183350501, 239.5], "To Anytown"),242 new Marker("hf9Pd", miscTypes.teleporter, [249.9121172394419, 264.25], "To Bunker - Needs to be repaired"),243 new Marker("MCTIZ", perks.speed, [80.109525704654, 178.125]),244 new Marker("9OeeA", miscTypes.craftingTable, [93.22985532353218, 171.75]),245 new Marker("1BYWt", miscTypes.trap, [108.349473265287, 161.5], "Suspended Hind"),246 new Marker("6YJ_i", miscTypes.wallbuy, [110.609525704654, 202.25], "M82"),247 new Marker("kIs6t", miscTypes.zipline, [116.23252411274464, 259.25]),248 new Marker("kJsx4", miscTypes.zipline, [384.73239067328404, 125]),249 new Marker("aJTrM", miscTypes.zipline, [244.25, 282.75], "To Anytown"),250 new Marker("fzQu8", miscTypes.zipline, [299.75, 281.5], "To Main street"),251 new Marker("tbM3z", miscTypes.zipline, [348.36059322033896, 237], "To Tower"),252 new Marker("tjGuQ", miscTypes.zipline, [182.5966710366139, 241.375], "To Tower"),253 new Marker("wLU_k", miscTypes.trap, [130.8523199737803, 216], "Suspend Hind"),254 new Marker("xFBpY", miscTypes.arsenal, [112.1089919468115, 238.375]),255 new Marker("jTLky", miscTypes.arsenal, [400.7215375971533, 247.25]),256 new Marker("Dzmo9", miscTypes.wallbuy, [118.23181243562132, 215.375], "RPD"),257 new Marker("OAD4X", perks.deadshot, [118.98323578986796, 238.875]),258 new Marker("n474k", miscTypes.trap, [151.59858366888284, 273.875], "Suspended Hind"),259 new Marker("lbIYT", miscTypes.mysteryBox, [118.62162421575054, 211.75]),260 new Marker("nzKwk", miscTypes.mysteryBox, [237.86299513063022, 324]),261 new Marker("xcJJq", miscTypes.mysteryBox, [263.70345178866245, 38.39665499450159]),262 new Marker("0U1dM", miscTypes.wallbuy, [163.22869884820676, 344.625], "FFAR1"),263 new Marker("i4Hh4", miscTypes.trialComputer, [264.67736094203576, 289.5625]),264 new Marker("seF1D", miscTypes.papMachine, [274.98619135686863, 306.875]),265 new Marker("GBsU3", miscTypes.papMachine, [264.8125, 453.25]),266 new Marker("Cpob6", miscTypes.wunderFizz, [272.75, 453.0625]),267 new Marker("vuLXB", miscTypes.radio, [66.98666073602396, 129.125]),268];269miscPOI[mapDetails.forsakenUnderground.id] = [270 new Marker("ndKPG", miscTypes.arsenal, [385.43844929300496, 142]),271 new Marker("9sxm7", miscTypes.ammoCrate, [284.6965446202828, 98.5]),272 new Marker("lotfM", miscTypes.ammoCrate, [194.4862604176421, 298.25]),273 new Marker("zC3eP", miscTypes.ammoCrate, [168.21140088023225, 424.5]),274 new Marker("7BgHO", miscTypes.craftingTable, [274.9777694540687, 227.25]),275 new Marker("BwlgF", miscTypes.teleporter, [296.91141492649126, 38], "To Tower"),276 new Marker("f7d0q", miscTypes.teleporter, [54.983195992134114, 448.5]),277 new Marker("jys26", miscTypes.mysteryBox, [297.9818124356213, 396.125]),278 new Marker("CCURy", miscTypes.wunderFizz, [165.73875128757373, 263.625]),279 new Marker("EWbhd", miscTypes.wallbuy, [345.4748735836689, 228.375], "Krig"),280 new Marker("wTePJ", miscTypes.wallbuy, [222.46318007304055, 263.75], "M60"),281 new Marker("OFSTG", miscTypes.wallbuy, [150.21780597434218, 470.75], "AK-74u"),282];283/////////////////////Outbreak Misc Items/////////////////////////284miscPOI[mapDetails.zoo.id] = [285 new Marker("s9ryH", miscTypes.dementedEcho, [0, 0]),286 new Marker("a0AnD", miscTypes.dementedEcho, [0, 0]),287 new Marker("OygKx", miscTypes.dementedEcho, [0, 0]),288 new Marker("DTQRG", miscTypes.dementedEcho, [0, 0]),289 new Marker("uN04o", miscTypes.dementedEcho, [0, 0]),290 new Marker("IZgYD", miscTypes.dementedEcho, [0, 0]),291 new Marker("AuC64", miscTypes.dementedEcho, [211.47346160666785, 323]),292 new Marker("tzc4_", miscTypes.dementedEcho, [163.36993130570124, 296.445005309222]), //issue #8 by markisdabomb214293 new Marker("cl6IT", miscTypes.dementedEcho, [203.0904837783254, 333.7537888538516]), //issue #7 by markisdabomb214294 new Marker("lL22O", miscTypes.rift, [435.44962759354496, 270]), 295 new Marker("9JAf2", miscTypes.rift, [207.47388721404502, 468.5]), 296 new Marker("6Z0Tt", miscTypes.rift, [120.48314417449899, 180]), 297 new Marker("NFKKy", miscTypes.rift, [288.9652154637347, 43.5]), 298 new Marker("9gKgQ", miscTypes.fishing, [248.9694715375066, 345.5]), 299 new Marker("dz6u_", miscTypes.fishing, [172.47761127859548, 332.5]), 300 new Marker("XHBng", miscTypes.wallbuy, [169.788791011143, 373.51495741647], "Krig 6"),301 new Marker("C48eX", miscTypes.wallbuy, [199.8618860850235, 339.953248441663], "Hauer"),302 new Marker("hUgNo", miscTypes.wallbuy, [226.05336642166992, 284.46966314770833], "QBZ-83"),303 new Marker("5mHNU", miscTypes.wallbuy, [271.9013083975607, 327.48529982779115], "Stoner 63"),304 new Marker("uLBiL", miscTypes.wallbuy, [378.694470373232, 279.2212709056113], "Magnum"),305 new Marker("IseUH", miscTypes.wallbuy, [377.02986155344405, 406.01380851879895], "AK-47"),306 new Marker("s6Ggz", miscTypes.wallbuy, [258.7671967862002, 112.99627959809773], "AK-74u"),307 new Marker("GRImF", miscTypes.wallbuy, [117.70440343659759, 383.7635095097696], "DMR 14"),308 new Marker("C8ExY", miscTypes.wallbuy, [150.5199691988099, 271.05612018196865], "Krig 6"),309 new Marker("Pf372", miscTypes.ammoCrate, [196.78455986019551, 388.89032598944937]),310 new Marker("ykBfS", miscTypes.ammoCrate, [176.96849229385415, 366.4596383969935]),311 new Marker("tsnBG", miscTypes.ammoCrate, [192.0715706327847, 337.1326169848179]),312 new Marker("R9bqQ", miscTypes.ammoCrate, [168.52216510057147, 312.96973518677555]),313 new Marker("1aqkq", miscTypes.ammoCrate, [213.48501167152224, 300.4013804366279]),314 new Marker("OQwM9", miscTypes.ammoCrate, [283.7615868237564, 327.48529982779115]),315 new Marker("srJdt", miscTypes.ammoCrate, [262.4092125606224, 256.73890544646724]),316 new Marker("CAjam", miscTypes.ammoCrate, [324.78259081632854, 247.2883935895421]),317 new Marker("Nxzgt", miscTypes.ammoCrate, [289.7210824169569, 397.1512153266003]),318 new Marker("Ff65e", miscTypes.ammoCrate, [232.3976460415551, 402.32115606005016]),319 new Marker("rG6OZ", miscTypes.ammoCrate, [133.45549570945437, 367.83256031362055]),320 new Marker("K6fkC", miscTypes.ammoCrate, [230.94686487840548, 108.61362457152732]),321 new Marker("Dl0uR", miscTypes.jumpPad, [202.42858014843836, 335.5695254809683]),322 new Marker("BuMxe", miscTypes.jumpPad, [366.27914203888383, 306.1056709595219]),323 new Marker("xZlT6", miscTypes.jumpPad, [294.42019778116367, 219.069043148302]),324 new Marker("tzQW4", miscTypes.arsenal, [212.19705685623882, 365.358745754419]),325 new Marker("LPQNf", miscTypes.wunderFizz, [185.75872880079808, 324.37261753718536]),326 new Marker("Tlb6u", miscTypes.craftingTable, [194.31913199538405, 220.12767796156717]),327 new Marker("4tp_E", miscTypes.papMachine, [273.84851828842864, 297.746094221808]),328 new Marker("DFsPI", miscTypes.mysteryBox, [193.12781735790279, 293.3206171971081]),329 new Marker("AUjar", miscTypes.mysteryBox, [356.7659005934825, 397.0672338086722]),330 new Marker("Zxydg", miscTypes.mysteryBox, [181.58349779739913, 374.11064389955226]),331 new Marker("qjbmY", miscTypes.trialComputer, [150.6289514492613, 324.5962181095381]),332 new Marker("KkvCk", miscTypes.trialComputer, [189.44671176451865, 373.2189392228686]),333 new Marker("Krmmb", miscTypes.trialComputer, [267.6000979346463, 299.1927779603539]),334 new Marker("RDvrx", miscTypes.requiemRadio, [382.4552668912928, 277.5]), 335 new Marker("dsmm6", miscTypes.omegaRadio, [116.98351658095407, 376]), 336 new Marker("g64Z9", miscTypes.maxisRadio, [262.9679819116865, 118]), 337 new Marker("G6f1o", miscTypes.monkey, [357.6836499712147, 349.54995004995004], "Midway up the stairs in the book nook."),338 new Marker("dkJOS", miscTypes.monkey, [334.6704087507196, 262.5942934616404], "In the corner on a green cabinet."),339 new Marker("AqCfQ", miscTypes.monkey, [204.52540299366723, 279.51968694570735], "Between a wall and a rock."),340 new Marker("t1Csu", miscTypes.monkey, [266.54015544041454, 117.57161206140799], "In the middle of the large shelves."),341 new Marker("a84zo", miscTypes.projector, [241.65018710420264, 295.65660105200925]),342 new Marker("QDny7", miscTypes.redRift, [194.58900339361654, 392.10299971799157]),343];344miscPOI[mapDetails.duga.id] = [345 new Marker("BcM6G", miscTypes.dementedEcho, [218.2373426139386, 258]),346 new Marker("X69Ma", miscTypes.dementedEcho, [168.83660953980305, 352.95720859235564]),347 new Marker("M6PhI", miscTypes.dementedEcho, [0, 0]),348 new Marker("ZeAyZ", miscTypes.dementedEcho, [0, 0]),349 new Marker("UtKcD", miscTypes.dementedEcho, [0, 0]),350 new Marker("xeydw", miscTypes.dementedEcho, [0, 0]),351 new Marker("xCH_G", miscTypes.dementedEcho, [0, 0]),352 new Marker("a78ns", miscTypes.dementedEcho, [0, 0]),353 new Marker("KGNAI", miscTypes.dementedEcho, [0, 0]),354 new Marker("j0woJ", miscTypes.rift, [260.96862032275226, 486]),355 new Marker("YzOdE", miscTypes.rift, [139.48154814683454, 193]),356 new Marker("8Dwkm", miscTypes.rift, [310.4633534314595, 30.5]),357 new Marker("pWvAS", miscTypes.rift, [423.45133002305374, 260.5]),358 new Marker("8wQJ4", miscTypes.fishing, [91.48665543536083, 359.5]),359 new Marker("fXMwv", miscTypes.fishing, [191.97596205000883, 160.5]),360 new Marker("XaCK_", miscTypes.fishing, [123.48325057634332, 261]),361 new Marker("pqtg9", miscTypes.fishing, [287.46580067387833, 64.5]),362 new Marker("MxjA2", miscTypes.ammoCrate, [201.09797612718282, 276.89957333223686]),363 new Marker("y_uaM", miscTypes.ammoCrate, [214.59038922539906, 260.69511740020835]),364 new Marker("nq3VS", miscTypes.ammoCrate, [233.81825202493548, 322.8962313594156]),365 new Marker("lDedv", miscTypes.ammoCrate, [169.77869283641405, 313.01829526629393]),366 new Marker("WSe9N", miscTypes.ammoCrate, [170.29069147945606, 363.0748283756314]),367 new Marker("3oKQj", miscTypes.ammoCrate, [232.54680567576682, 372.5778360713054]),368 new Marker("9VHyi", miscTypes.ammoCrate, [265.4029415114675, 446.12229526918975]),369 new Marker("6sxKz", miscTypes.ammoCrate, [290.2862557988399, 280.76045465863615]),370 new Marker("BXt8R", miscTypes.ammoCrate, [154.37664743655102, 207.31244648201488]),371 new Marker("mGa6x", miscTypes.ammoCrate, [295.8560155969824, 211.28179076416518]),372 new Marker("pWj7D", miscTypes.wallbuy, [240.40983939603782, 309.6215067926123], "FFAR 1"),373 new Marker("_et7e", miscTypes.wallbuy, [179.7866999930869, 311.14179392441775], "Magnum"),374 new Marker("QJLeT", miscTypes.wallbuy, [162.5180873040452, 353.77125671112447], "Hauer 77"),375 new Marker("Aa7h5", miscTypes.wallbuy, [218.9804723907548, 387.53389130258694], "QBZ"),376 new Marker("Z2G7z", miscTypes.wallbuy, [295.8011933010631, 273.74144329217023], "FFAR 1"),377 new Marker("jyPt2", miscTypes.wallbuy, [329.9425791075898, 236.51538664159438], "Diamatti"),378 new Marker("JFoDx", miscTypes.requiemRadio, [218.18265982443694, 262.5]),379 new Marker("SpPAk", miscTypes.omegaRadio, [292.4610125908848, 261.5]),380 new Marker("JG472", miscTypes.maxisRadio, [170.99728786132295, 358.5]),381 new Marker("uReU5", miscTypes.monkey, [182.73715299184204, 242], "On top of the small building"),382 new Marker("knmox", miscTypes.monkey, [339.4971340539545, 215.75], "On top of a stack of barrels."),383 new Marker("FIUz1", miscTypes.monkey, [358.4786674447592, 360.5], "At the back on top of the bus stop."),384 new Marker("P79of", miscTypes.monkey, [107.24119968079447, 330], "Behind the wall"),385 new Marker("d2US7", miscTypes.projector, [173.2474009132825, 354.5625]),386 new Marker("1q0fz", miscTypes.mysteryBox, [394.91828663236106, 377.7967404457413]),387 new Marker("Fps2a", miscTypes.mysteryBox, [244.24867769247766, 180.47068724767]),388 new Marker("Sniis", miscTypes.mysteryBox, [154.06970159807457, 395.86233538877013]),389 new Marker("K53yY", miscTypes.jumpPad, [148.54646545184332, 401.28777829579485]),390 new Marker("HxnzA", miscTypes.jumpPad, [257.9280438867792, 194.34102447516744]),391 new Marker("1ycSr", miscTypes.jumpPad, [359.0265436332714, 317.953126549139]),392 new Marker("k2jH1", miscTypes.arsenal, [326.5927368844101, 212.2958620188356]),393 new Marker("3Xjvq", miscTypes.arsenal, [196.6219646344271, 445.1421234611733]),394 new Marker("VIamS", miscTypes.craftingTable, [392.9834590571724, 252.98893825655972]),395 new Marker("cd9s4", miscTypes.craftingTable, [150.54000918056096, 262.26732211660993]),396 new Marker("gbIKf", miscTypes.papMachine, [254.77418243078154, 348.7609997299418]),397 new Marker("QU4JZ", miscTypes.trialComputer, [240.0005248924028, 315.2523023747949]),398 new Marker("kHQFd", miscTypes.trialComputer, [222.46786422999594, 251.42072927638944]),399 new Marker("svAvo", miscTypes.wunderFizz, [219.1693079026586, 260.3728463398107]),400 new Marker("ORM0f", miscTypes.redRift, [391.40929445880636, 252.02191837378084]),401];402miscPOI[mapDetails.ruka.id] = [403 new Marker("vi0sy", miscTypes.dementedEcho, [0, 0]),404 new Marker("JzRzZ", miscTypes.dementedEcho, [0, 0]),405 new Marker("Rek6g", miscTypes.dementedEcho, [0, 0]),406 new Marker("PZmtJ", miscTypes.dementedEcho, [0, 0]),407 new Marker("izKFx", miscTypes.dementedEcho, [0, 0]),408 new Marker("QaKjR", miscTypes.dementedEcho, [0, 0]),409 new Marker("3XNUe", miscTypes.dementedEcho, [0, 0]),410 new Marker("18A2Y", miscTypes.dementedEcho, [332.61885317644305, 225.16827101672993]),411 new Marker("NFpUv", miscTypes.dementedEcho, [146.8961039621756, 299.61206359787775]),412 new Marker("lWHWs", miscTypes.mysteryBox, [235.4553675253349, 249.47430038351064]),413 new Marker("yzLM0", miscTypes.mysteryBox, [207.93825237571295, 94.9904070205805]),414 new Marker("ed0yh", miscTypes.mysteryBox, [355.2101735577195, 227.85936691186168]),415 new Marker("rFqJg", miscTypes.arsenal, [347.15083903672115, 234.58658002443053]),416 new Marker("kaOkz", miscTypes.jumpPad, [392.29946958579256, 336.5463149934965]),417 new Marker("c4qex", miscTypes.jumpPad, [95.04671795003881, 281.07608728949407]),418 new Marker("tWNlC", miscTypes.jumpPad, [225.09835126041426, 382.40520100156704]),419 new Marker("S__Hp", miscTypes.craftingTable, [325.56003778629366, 355.70206934085627]),420 new Marker("lyrog", miscTypes.wunderFizz, [294.15625, 257.75]),421 new Marker("SKc7w", miscTypes.papMachine, [212.21101079768593, 112.00474522680605]),422 new Marker("eAhW4", miscTypes.trialComputer, [211.04576192475383, 282.0806769140612]),423 new Marker("oKjiO", miscTypes.rift, [235.467130697, 449.5]),424 new Marker("5IzIg", miscTypes.rift, [444.44909558432346, 244.5]),425 new Marker("kbFXC", miscTypes.rift, [287.1108249260276, 62]),426 new Marker("7jxeH", miscTypes.rift, [61.506318847812906, 204]),427 new Marker("KDAvD", miscTypes.redRift, [244.73564018442983, 88.5]), 428 new Marker("WD73g", miscTypes.fishing, [244.5885797297779, 319]),429 new Marker("qRfcl", miscTypes.fishing, [292.11059320523333, 226.5]),430 new Marker("osAam", miscTypes.fishing, [289.1092028804677, 101]),431 new Marker("51o_O", miscTypes.requiemRadio, [329.11800827064985, 336]),432 new Marker("rVWEx", miscTypes.omegaRadio, [152.53621083027343, 224.5]),433 new Marker("lPmDl", miscTypes.maxisRadio, [269.0902017753378, 126]),434 new Marker("X6iHS", miscTypes.monkey, [126.02392962817726, 148], "On the third shelf next to three boxed."),435 new Marker("NXZCq", miscTypes.monkey, [312.61036148443907, 345], "Behind some pallets next to the train platform."),436 new Marker("FqjzW", miscTypes.monkey, [366.728066736379, 131], "Leaning against the broken down car."),437 new Marker("SGa0I", miscTypes.monkey, [238.30978121120768, 448.3125], "At the end of the railroad, under rafters."),438 new Marker("fDb0E", miscTypes.projector, [0, 0]),439 new Marker("YeH4n", miscTypes.thermophasic, [94.0042121017423, 334.3317226785948]),440];441miscPOI[mapDetails.alpine.id] = [442 new Marker("yfDA4", miscTypes.dementedEcho, [0, 0]),443 new Marker("JnfGP", miscTypes.dementedEcho, [0, 0]),444 new Marker("sKxXQ", miscTypes.dementedEcho, [0, 0]),445 new Marker("aGYxW", miscTypes.dementedEcho, [0, 0]),446 new Marker("4XqSR", miscTypes.dementedEcho, [0, 0]),447 new Marker("vz5O2", miscTypes.dementedEcho, [0, 0]),448 new Marker("ny9d7", miscTypes.dementedEcho, [0, 0]),449 new Marker("Y5vqk", miscTypes.dementedEcho, [0, 0]),450 new Marker("BXDDX", miscTypes.dementedEcho, [367.45739492817876, 227.5]),451 new Marker("gWtba", miscTypes.rift, [410.72577141337115, 228.75]),452 new Marker("y5uTI", miscTypes.rift, [256.9818097180351, 38.5]),453 new Marker("RG6Zt", miscTypes.rift, [182.98968345451317, 425.75]),454 new Marker("3FXOt", miscTypes.rift, [387.9760374179819, 422.25]),455 new Marker("gtLZ1", miscTypes.fishing, [326.96170420287285, 91.5]),456 new Marker("1RmkQ", miscTypes.requiemRadio, [164.47899450257137, 203]),457 new Marker("UxCH9", miscTypes.omegaRadio, [266.4858529881185, 143.25]),458 new Marker("GH3ng", miscTypes.maxisRadio, [137.01459256960453, 347.625]),459 new Marker("EXt18", miscTypes.monkey, [256.4818629189573, 69.25], "On the balcony against the wall."),460 new Marker("VPl2_", miscTypes.monkey, [138.24444493704556, 195], "Upstairs on a shelf."),461 new Marker("VcAW0", miscTypes.monkey, [129.99532275226102, 339.5], "On top of some wall mounted cases."),462 new Marker("aFKUh", miscTypes.monkey, [409.2206641248448, 212.25], "Behind the porta-potties, by the gasoline tank."),463 new Marker("GpYuO", miscTypes.ammoCrate, [167.19038659224887, 208.25980211403822]),464 new Marker("qU6_R", miscTypes.ammoCrate, [187.46320676628696, 380.41400504320177]),465 new Marker("4Tlfm", miscTypes.ammoCrate, [120.37297507183676, 204.4570385411345]),466 new Marker("Oqkxy", miscTypes.ammoCrate, [211.8918399426303, 79.65858644459786]),467 new Marker("MKtmw", miscTypes.ammoCrate, [260.64986687396004, 79.03901174346548], "Upstairs"),468 new Marker("ppd1P", miscTypes.ammoCrate, [323.99058361102664, 73.98654040704174]),469 new Marker("_W3h7", miscTypes.ammoCrate, [312.8908638823932, 112.95741402764561]),470 new Marker("TEogm", miscTypes.ammoCrate, [362.8946598890521, 211.73032649058598]),471 new Marker("XyAgq", miscTypes.ammoCrate, [277.408394782328, 289.43138017987076]),472 new Marker("tUhu5", miscTypes.mysteryBox, [153.15666174952116, 338.3859439791644]),473 new Marker("nUB_M", miscTypes.trialComputer, [255.26086609890288, 217.57428329288462]),474 new Marker("lkjMr", miscTypes.trialComputer, [272.94284887125167, 155.35087050379542]),475 new Marker("s22Xu", miscTypes.wunderFizz, [244.61974027191252, 384.97768648319214]),476 new Marker("_V0IV", miscTypes.arsenal, [385.693026495192, 212.90464820808694]),477 new Marker("yM1S2", miscTypes.jumpPad, [278.45410886328614, 59.38781135361046]),478 new Marker("y7K2E", miscTypes.jumpPad, [111.80976958193502, 304.4770170013288]),479 new Marker("IRcNb", miscTypes.jumpPad, [377.01932066722077, 127.84632462506406]),480 new Marker("eAUAb", miscTypes.wallbuy, [237.5596066858896, 394.0444742792774], "Pellington"),481 new Marker("OUQrp", miscTypes.wallbuy, [216.02706746094876, 85.24573718234292], "Pellington"),482 new Marker("X6Bf3", miscTypes.wallbuy, [164.33578728860493, 343.10287670138746], "Gallo"),483 new Marker("31UO9", miscTypes.wallbuy, [317.30615777129947, 67.41337618919444], "Gallo"),484 new Marker("GpZS_", miscTypes.wallbuy, [139.88254903819504, 197.95937117870153], "AUG"),485 new Marker("K7ay6", miscTypes.wallbuy, [378.35148690180966, 214.6089341851221], "MP5"),486 new Marker("rYPHj", miscTypes.projector, [199.38751401269195, 138.7419183294555]),487];488miscPOI[mapDetails.golova.id] = [489 new Marker("_9qob", miscTypes.dementedEcho, [167.02309933760583, 326.8300791718768]),490 new Marker("1blw4", miscTypes.dementedEcho, [0, 0]),491 new Marker("qAgVa", miscTypes.dementedEcho, [0, 0]),492 new Marker("I5d6u", miscTypes.dementedEcho, [0, 0]),493 new Marker("Sjjf7", miscTypes.dementedEcho, [0, 0]),494 new Marker("NMtT4", miscTypes.dementedEcho, [0, 0]),495 new Marker("VZH6s", miscTypes.dementedEcho, [0, 0]),496 new Marker("ldlEI", miscTypes.dementedEcho, [0, 0]),497 new Marker("BVr7n", miscTypes.dementedEcho, [0, 0]),498 new Marker("jMyYI", miscTypes.rift, [165.47840929242773, 129]),499 new Marker("hVgX3", miscTypes.rift, [220.97891026777796, 422.75]),500 new Marker("5ySfH", miscTypes.rift, [424.9572042915411, 301]),501 new Marker("Pu7ID", miscTypes.rift, [81.49737098776382, 235.5]),502 new Marker("oI3EF", miscTypes.redRift, [92.49637125376842, 331.625]),503 new Marker("YRGBh", miscTypes.fishing, [399.0779840698966, 237]),504 new Marker("58PeR", miscTypes.fishing, [400.07822885871917, 258]),505 new Marker("IEzsn", miscTypes.fishing, [331.5614608243734, 99.5]),506 new Marker("a4_z1", miscTypes.jumpPad, [178.81075010907483, 269.78767029205784]),507 new Marker("9209C", miscTypes.jumpPad, [183.4066223421374, 416.5830049890631]),508 new Marker("Zp0WW", miscTypes.jumpPad, [363.1195255322712, 364.2038960046949]),509 new Marker("eZtvN", miscTypes.jumpPad, [277.9466975034903, 127.12073089134977]),510 new Marker("CGnf3", miscTypes.jumpPad, [65.96100379722746, 293.4287813490203]),511 new Marker("wmuWG", miscTypes.wallbuy, [391.01912850701865, 349.97680753791883]),512 new Marker("PHx0y", miscTypes.wallbuy, [259.9441282565234, 324.96215738223185], "Pellington"),513 new Marker("NUegF", miscTypes.wallbuy, [255.30544263370194, 278.5150283276749], "RPD"),514 new Marker("WgZlk", miscTypes.wallbuy, [247.78045977198417, 260.83585172484396], "Milano 821"),515 new Marker("EDdVd", miscTypes.wallbuy, [189.4695980177873, 406.4654447254141], "MP5"),516 new Marker("Cj7z7", miscTypes.wallbuy, [102.99143995016017, 332.67423226159815], "KSP 45"),517 new Marker("Sv2Mr", miscTypes.wallbuy, [133.40913902258612, 294.7666483087646], "AK-74u"),518 new Marker("lf_Z1", miscTypes.wallbuy, [213.79236709189115, 283.7899469967797], "M60 - Middle Floor"),519 new Marker("wY8A6", miscTypes.wallbuy, [175.03616784419052, 335.71818781886225], "QBZ-83"),520 new Marker("LO4ZZ", miscTypes.ammoCrate, [349.449295335965, 219.4854934108629]),521 new Marker("0COcP", miscTypes.ammoCrate, [391.0260080998486, 284.14556588589]),522 new Marker("9VzV4", miscTypes.ammoCrate, [390.81226196987603, 355.6863239630557]),523 new Marker("QkuGH", miscTypes.ammoCrate, [248.5964217690379, 293.38366916287623]),524 new Marker("K9jOB", miscTypes.ammoCrate, [210.66408576343133, 249.73160523453842]),525 new Marker("x8fiV", miscTypes.ammoCrate, [189.9127523456741, 208.92383078695119]),526 new Marker("ZRywH", miscTypes.ammoCrate, [316.8513073546179, 281.7996314785133]),527 new Marker("B_YJN", miscTypes.ammoCrate, [300.21661371850047, 354.27936803588216]),528 new Marker("yUofe", miscTypes.ammoCrate, [187.2444222254949, 398.55370857504107]),529 new Marker("o1J4W", miscTypes.ammoCrate, [126.62881961085267, 360.8765027033238]),530 new Marker("yTCA_", miscTypes.ammoCrate, [107.36873247991804, 328.4845379831156]),531 new Marker("ssewl", miscTypes.ammoCrate, [115.00205528402677, 270.95565007815117]),532 new Marker("AePXk", miscTypes.ammoCrate, [187.7860285988807, 290.0382231282173]),533 new Marker("qY_pY", miscTypes.ammoCrate, [169.37894486032135, 338.84232588458104]),534 new Marker("yYjve", miscTypes.trialComputer, [251.31629509255035, 307.3456855569068], "Possible Location"),535 new Marker("p_19C", miscTypes.trialComputer, [212.27251614100095, 336.3092409664307], "Possible Location"),536 new Marker("8Kc3K", miscTypes.trialComputer, [215.78102586982874, 241.93630173283827], "Possible Location"),537 new Marker("IlqAS", miscTypes.mysteryBox, [162.53961558131536, 289.1094253248955]),538 new Marker("2iQrl", miscTypes.mysteryBox, [357.2445605708355, 135.4251857136415]),539 new Marker("_xuqv", miscTypes.arsenal, [173.76893185342092, 349.62966512210227]),540 new Marker("X9QAq", miscTypes.papMachine, [171.8265448249648, 315.8620137043266]),541 new Marker("rI6qv", miscTypes.craftingTable, [211.81979569292037, 321.0915172424777]),542 new Marker("lbxwz", miscTypes.wunderFizz, [251.3789140415691, 294.7111497838819]),543 new Marker("pDoZ4", miscTypes.requiemRadio, [274.46979074303954, 119.5]),544 new Marker("vRPj2", miscTypes.omegaRadio, [166.4812821422238, 314]),545 new Marker("ksOb3", miscTypes.maxisRadio, [270.97016314949457, 359]),546 new Marker("QkQhl", miscTypes.monkey, [179.47691966660756, 151], "In the elevated building behind a chain link fence."),547 new Marker("mk0gS", miscTypes.monkey, [351.4586185493882, 227], "Up in the rafters."),548 new Marker("xsRN7", miscTypes.monkey, [106.49109327895019, 339.5], "On a pillar at the top of the scaffolding."),549 new Marker("8xhDt", miscTypes.monkey, [185.48268753325056, 416.75], "On the top shelf."),550 new Marker("iMHwr", miscTypes.projector, [177.0071341819346, 347.625]),551];552miscPOI[mapDetails.sanatorium.id] = [553 new Marker("ijcwV", miscTypes.dementedEcho, [0, 0]),554 new Marker("FpAjy", miscTypes.dementedEcho, [0, 0]),555 new Marker("H8LVB", miscTypes.dementedEcho, [0, 0]),556 new Marker("U0DjB", miscTypes.dementedEcho, [0, 0]),557 new Marker("p4_rK", miscTypes.dementedEcho, [0, 0]),558 new Marker("M16h3", miscTypes.dementedEcho, [0, 0]),559 new Marker("hrZGQ", miscTypes.dementedEcho, [0, 0]),560 new Marker("LOMUF", miscTypes.dementedEcho, [0, 0]),561 new Marker("rAys5", miscTypes.dementedEcho, [0, 0]),562 new Marker("Fgozl", miscTypes.wallbuy, [369.03998522090853, 182.79574040351952], "Diamatti"),563 new Marker("KKSy2", miscTypes.wallbuy, [240.2366599253267, 64.20726302897477], "XM4"),564 new Marker("RGkIq", miscTypes.wallbuy, [156.49071639701307, 125.97763641344636], "Pelington 703"),565 new Marker("wvhSe", miscTypes.wallbuy, [151.36399346608587, 385.4893157572437], "AK-47"),566 new Marker("wYhoP", miscTypes.wallbuy, [221.0869496733043, 267.7446709720566], "AUG"),567 new Marker("MWdg9", miscTypes.wallbuy, [257.38248348472337, 352.125], "MP5"),568 new Marker("Li3bP", miscTypes.wallbuy, [280.5175197881211, 200.75], "RPD"),569 new Marker("a_JVl", miscTypes.wallbuy, [260.2622177801051, 212], "Pelington 703"),570 new Marker("FLBef", miscTypes.wallbuy, [279.026156408071, 251], "Bullfrog"),571 new Marker("O6WkK", miscTypes.wallbuy, [309.86762509032627, 210.59375], "MP5"),572 new Marker("Gf_oJ", miscTypes.wallbuy, [283.2996720837837, 136.5767028690432], "Pelington 703"),573 new Marker("e1R7L", miscTypes.ammoCrate, [311.8518370977006, 151.75]),574 new Marker("X0w4K", miscTypes.ammoCrate, [322.73809256359897, 212.4375]),575 new Marker("ut4gA", miscTypes.ammoCrate, [303.614812816142, 223.5625]),576 new Marker("_aF_P", miscTypes.ammoCrate, [235.5625, 308.0625]),577 new Marker("VOQ1q", miscTypes.ammoCrate, [264.5133305472196, 203.125]),578 new Marker("mnjT9", miscTypes.ammoCrate, [183.13248348472337, 334.5625]),579 new Marker("ghKXO", miscTypes.ammoCrate, [149.3834540089827, 465.25]),580 new Marker("S1uXA", miscTypes.ammoCrate, [353.105542159303, 150.54136719631288]),581 new Marker("pma5h", miscTypes.ammoCrate, [291.1098592097075, 62.72816015083636]),582 new Marker("hTI7x", miscTypes.ammoCrate, [239.98703329184815, 68.58503883714185]),583 new Marker("S0dPc", miscTypes.ammoCrate, [137.48717330429372, 167.96648080703903]),584 new Marker("nXbSo", miscTypes.ammoCrate, [137.36867999377722, 280.17639676733165]),585 new Marker("3lKnY", miscTypes.jumpPad, [164.73460640945862, 371.98502111064556]),586 new Marker("mPRat", miscTypes.jumpPad, [140.72089296826385, 201.17866696747996]),587 new Marker("z4Nqp", miscTypes.jumpPad, [251, 302.50180499137497]),588 new Marker("wOx4g", miscTypes.jumpPad, [356.1360564854374, 153.00811122457864]),589 new Marker("QSYQG", miscTypes.jumpPad, [335.7934048316435, 264.48856377851973]),590 new Marker("1moS1", miscTypes.mysteryBox, [124.72686683260734, 136.90174686563316]),591 new Marker("fqc3I", miscTypes.mysteryBox, [335.982215715215, 149.75814251584396]),592 new Marker("HpgRm", miscTypes.mysteryBox, [244.99933781783668, 216.7945360007589]),593 new Marker("oTXPr", miscTypes.craftingTable, [126.86940339141258, 276.0485423985561]),594 new Marker("A1YB4", miscTypes.wunderFizz, [190.5554099253267, 262.79783535307956]),595 new Marker("EyYLJ", miscTypes.papMachine, [272.10535750680924, 208.98565144365352]),596 new Marker("pYGQX", miscTypes.arsenal, [343.21966426414184, 128.3551147724546]),597 new Marker("NCxrV", miscTypes.trialComputer, [257.4964994007296, 194.7729931364493], "Possible Location"),598 new Marker("7QLDs", miscTypes.trialComputer, [292.7496260332077, 140.65510404721564], "Possible Location"),599 new Marker("d3n29", miscTypes.rift, [262.46420464621383, 409]),600 new Marker("vLJwe", miscTypes.rift, [253.96510906189036, 15.5]),601 new Marker("VPGKZ", miscTypes.rift, [98.98160134775662, 241]),602 new Marker("VF463", miscTypes.rift, [391.4504788082993, 216]),603 new Marker("Slo09", miscTypes.fishing, [220.46867352367434, 439.5]),604 new Marker("SgHF_", miscTypes.fishing, [339.4560117042028, 273.5]),605 new Marker("oDnxX", miscTypes.fishing, [293.46090618904054, 271.5]),606 new Marker("yE4r8", miscTypes.fishing, [245.96596027664475, 332]),607 new Marker("43xpY", miscTypes.requiemRadio, [152.47590884908664, 380]),608 new Marker("K0GoW", miscTypes.omegaRadio, [315.458565348466, 212]),609 new Marker("of73n", miscTypes.maxisRadio, [168.48744901578294, 140.25]),610 new Marker("xpCIP", miscTypes.monkey, [317.4583525447774, 209.5], "In the Admins office on a bookshelf floor 2."),611 new Marker("nOKZv", miscTypes.monkey, [129.74498802979247, 278.375], "Up in the rafters."),612 new Marker("BDOca", miscTypes.monkey, [265.106262191878, 348], "Underneath the bridge, on a support pillar."),613 new Marker("bEmlA", miscTypes.monkey, [194.48468256783116, 67.75], "On the top shelf above the bed."),614 new Marker("ZO8MP", miscTypes.projector, [364.45335165809536, 179.5]),615 new Marker("SFmVd", outbreakEE2Steps.step2Helicopter, [178.2582145549112, 78.59647195866988]),616 new Marker("g0Vbn", outbreakEE2Steps.step3Orb, [128.51585279728454, 269.42304126372875], "Can spawn in 1 of 3 locations, this one is located on the roof"),617 new Marker("ecy3g", outbreakEE2Steps.step3Orb, [393.4503192055329, 163.5], "Can spawn in 1 of 3 locations, this one is located on the roof"),618 new Marker("brKfY", outbreakEE2Steps.step3Orb, [264.5128764056229, 197.08519448344717], "Can spawn in 1 of 3 locations, this one is located in the middle of the pool"),619 //Don't really need this for now, not until we re-work easter eggs620 //new Marker(new Item("oEPK3", "Chopper Gunner", "Hold out until the wave is dead to continue with the Easter Egg"), [-170.51300319205535, 39.25])621];622miscPOI[mapDetails.collateral.id] = [623 new Marker("LZtAf", miscTypes.dementedEcho, [302.1582217610988, 414.1356865122179]),624 new Marker("0FS1A", miscTypes.requiemRadio, [208.56446345433304, 185.99219645126215]),625 new Marker("W6wPV", miscTypes.omegaRadio, [205.64054514049639, 328.34673879951004]),626 new Marker("bUGza", miscTypes.maxisRadio, [296.69284893739234, 413.4940734223786]),627 new Marker("T42U3", miscTypes.projector, [276.52649758435535, 255.64213181187142]),628 new Marker("XLltd", miscTypes.redRift, [268.485236370739, 177.6590598896251]),629 new Marker("aCqDF", miscTypes.mysteryBox, [278.56354383919887, 398.8710380995699]),630 new Marker("lt6ZB", miscTypes.mysteryBox, [171.09686412283247, 178.85510249601353]),631 new Marker("2cDDN", miscTypes.mysteryBox, [337.46799316757017, 172.47532688497765]),632 new Marker("K1b_U", miscTypes.wallbuy, [274.1902735759488, 271.97980445743264], "Bullfrog"),633 new Marker("1NE2i", miscTypes.wallbuy, [329.35910463308284, 392.12343294135957], "Stoner 63"),634 new Marker("WfKIX", miscTypes.ammoCrate, [270.11233204955715, 273.39039433171195]),635 new Marker("Et8uN", miscTypes.ammoCrate, [342.8775753456348, 401.3405720635541]),636 new Marker("0P_Uk", miscTypes.ammoCrate, [366.0879054071596, 315.2256099277464]),637 new Marker("VuK7w", miscTypes.ammoCrate, [361.2630236225512, 154.59725384849298]),638 new Marker("4n8Cs", miscTypes.jumpPad, [244.23800218110284, 72.15445857118556]),639 new Marker("ZqhS_", miscTypes.jumpPad, [152.59236547842607, 341.9430405590901]),640 new Marker("dnh9f", miscTypes.jumpPad, [363.3237348993215, 357.49649577033546]),641 new Marker("XrSeO", miscTypes.arsenal, [316.7521870319834, 325.9648254914252]),642 new Marker("Rh08g", miscTypes.craftingTable, [212.93462384001523, 326.75507384946224]),643 new Marker("Udtir", miscTypes.trialComputer, [218.7558581608214, 303.77651731996417]),644 new Marker("kJ7vR", miscTypes.papMachine, [217.97483629430047, 226.51124543935873]),645 new Marker("BUlnd", miscTypes.wunderFizz, [239.15967566031475, 169.77687275024397]),646];647miscPOI[mapDetails.armada.id] = [648 new Marker("iC2vJ", miscTypes.requiemRadio, [314.4681601026199, 347.8060741618561]),649 new Marker("S1EN7", miscTypes.omegaRadio, [182.95659975912724, 183.2198466652555]),650 new Marker("G5tYA", miscTypes.maxisRadio, [251.6097221192863, 312.25]),651 new Marker("9ISs5", miscTypes.fishing, [274.48741453743673, 270.375], "Located at Launch Bay 3"),652 new Marker("DHE7r", miscTypes.fishing, [273.61241453743673, 229.75], "Located at Launch Bay 4"), 653 new Marker("CCX5S", miscTypes.fishing, [227.48741453743676, 278.375], "Located at Launch Bay 2"),654 new Marker("ztQiq", miscTypes.fishing, [228.11241453743676, 237], "Located at Launch Bay 1"),655 new Marker("ovGId", miscTypes.ammoCrate, [267.48741453743673, 208.875]),656 new Marker("mYafV", miscTypes.ammoCrate, [236.3490647755276, 307.25]),657 new Marker("p1HAx", miscTypes.ammoCrate, [197.10139704656206, 141]),658 new Marker("IBgQv", miscTypes.ammoCrate, [193.4875604491301, 85.875]),659 new Marker("iuxkU", miscTypes.ammoCrate, [323.1715400400215, 338.3125]),660 new Marker("EkOhG", miscTypes.ammoCrate, [311.71891617720627, 407.125]),661 new Marker("7dw4P", miscTypes.wallbuy, [273.61241453743673, 248.625], "QBZ-83"),662 new Marker("MplYv", miscTypes.wallbuy, [237.96560363435918, 272.5625], "Bullfrog"),663 new Marker("i2E9R", miscTypes.wallbuy, [175.35905393637324, 164], "AUG"),664 new Marker("K7xgo", miscTypes.wallbuy, [318.5914958959441, 382.375], "Stoner 63"),665 new Marker("wpiVY", miscTypes.arsenal, [251.33845954308796, 290.5]),666 new Marker("Has1o", miscTypes.trialComputer, [336.469312223231, 276.125]),667 new Marker("CKs1g", miscTypes.mysteryBox, [327.47248059142873, 280.5]),668 new Marker("UEsxf", miscTypes.mysteryBox, [203.36468434062894, 265.02048106003724]),669 new Marker("fOm12", miscTypes.mysteryBox, [244.86526700981926, 253.48678579054018]),670 new Marker("eGoUP", miscTypes.wunderFizz, [347.8323266198514, 283.65625]),671 new Marker("V7fzw", miscTypes.craftingTable, [310.5950163050527, 192.125]),672 new Marker("RlHu9", miscTypes.papMachine, [190.3367491337941, 261.0625]), ...

Full Screen

Full Screen

products.js

Source:products.js Github

copy

Full Screen

1const Product = require("../models/Product");2const { findByIdAndUpdate } = require("../models/User");3const { verifyToken, verifyTokenAndAuthorization, verifyTokenAndAdmin } = require("./verifyToken");4const router = require("express").Router();5// CREATE6router.post("/", verifyTokenAndAdmin, async (req, res) => {7 console.log(req.body);8 /* console.log(req.files)9 console.log(req.body);10 const encodeToBuffer = (pic) => {11 const picData = pic.data12 const encodedPic = picData.toString('base64')13 const image = Buffer.from(encodedPic, "base64")14 return image15 }16 const img1 = encodeToBuffer(req.files.img1)17 const img2 = encodeToBuffer(req.files.img2)18 const img3 = encodeToBuffer(req.files.img3)19 const images = {20 img1, img2, img321 }22 const addedProduct = {23 ...images,24 ...req.body25 } */26 const newProduct = new Product(req.body)27 try {28 const savedProduct = await newProduct.save();29 res.status(200).json(savedProduct)30 } catch (err) {31 res.status(500).json(err)32 }33})34//update stock35router.put("/find/:id", async (req, res) => {36 const stock = req.body.stock37 console.log(req.body);38 try {39 const updatedProduct = await Product.findByIdAndUpdate(req.params.id, {40 $set: { stock }41 }, { new: true })42 res.status(200).json(updatedProduct);43 } catch (err) {44 res.status(500).json(err)45 }46})47// UPDATE48router.put("/:id", verifyTokenAndAdmin, async (req, res) => {49 /* const encodeToBuffer = (pic) => {50 const picData = pic.data51 const encodedPic = picData.toString('base64')52 const image = Buffer.from(encodedPic, "base64")53 return image54 }55 const img1 = encodeToBuffer(req.files.img1)56 const img2 = encodeToBuffer(req.files.img2)57 const img3 = encodeToBuffer(req.files.img3)58 59 const images = {60 img1, img2, img361 }62 const updatedData = {63 ...images,64 ...req.body65 } */66 const updatedData = req.body67 try {68 const updatedProduct = await Product.findByIdAndUpdate(req.params.id, {69 $set: updatedData70 }, { new: true })71 res.status(200).json(updatedProduct);72 } catch (err) {73 res.status(500).json(err)74 }75})76// DELETE77router.delete("/:id", verifyTokenAndAdmin, async (req, res) => {78 try {79 await Product.findByIdAndDelete(req.params.id)80 res.status(200).json("Product has been deleted successfully!")81 } catch (err) {82 res.status(500).json(err)83 }84})85// GET Product86router.get("/find/:id", async (req, res) => {87 try {88 const product = await Product.findById(req.params.id)89 res.status(200).json(product);90 } catch (err) {91 res.status(500).json(err)92 }93})94// GET MysteryBox Product95router.get("/mystery", async (req, res) => {96 try {97 const mysteryBox = await Product.find({ mysterybox: true })98 res.status(200).json(mysteryBox);99 } catch (err) {100 res.status(500).json(err)101 }102})103router.get("/mystery/recent", async (req, res) => {104 try {105 const mysteryBox = await Product.find({ mysterybox: true }).limit(3)106 res.status(200).json(mysteryBox);107 } catch (err) {108 res.status(500).json(err)109 }110})111//Get All Products112router.get("/", async (req, res) => {113 try {114 const products = await Product.find()115 res.status(200).json(products);116 } catch (err) {117 res.status(500).json(err)118 }119})120//Find latest products121router.get("/latest", async (req, res) => {122 try {123 const products = await Product.find().sort({ createdAt: -1 }).limit(8)124 res.status(200).json(products);125 } catch (err) {126 res.status(500).json(err)127 }128})129// Find Product by Category130router.get("/:category", async (req, res) => {131 console.log(req.params.category);132 try {133 const productsByCategory = await Product.find({ category: req.params.category });134 res.status(200).json(productsByCategory)135 } catch (err) {136 res.status(500).json(err)137 }138})...

Full Screen

Full Screen

items.js

Source:items.js Github

copy

Full Screen

1import purpleDrip from './Photos/purpleBlock.jpeg';2import tenFold from './Photos/tenFold.jpeg';3import gemRush from './Photos/gemRush.jpeg';4import flash from './Photos/flash.jpeg';5import mysteryBox from './Photos/mysteryBox.jpeg';6export const items = [7 {8 id: 0,9 url: purpleDrip,10 name: 'purpleDrip',11 title: 'Purple Drip',12 description:13 "Bored of plain black text? Unlock a sleek-looking purple text that's easy on the eyes.",14 cost: 250,15 },16 {17 id: 1,18 url: tenFold,19 name: 'tenFold',20 title: 'Ten Fold',21 description:22 "Not earning gems as quick as you'd like? Unlock this ability to increase your future earnings and losses by a factor of 10.",23 cost: 1000,24 },25 {26 id: 2,27 url: flash,28 name: 'theFlash',29 title: 'The Flash',30 description:31 "Think you have fast fingers? Prove it. You'll have 60 seconds to type as many one word texts as you possibly can.",32 cost: 7500,33 },34 {35 id: 3,36 url: gemRush,37 name: 'gemRush',38 title: 'Gem Rush',39 description:40 "Feeling confident? Match or surpass your set goal in the next typing to earn 100 times the number of gems. Failure is not an option, or you'll lose all your gems and start all over!",41 cost: 60900,42 },43 {44 id: 4,45 url: mysteryBox,46 name: 'mysteryBox',47 title: 'Mystery Box',48 description:49 'Once you have 1 million gems, unlock the mystery box and claim your special prize!',50 cost: 1000000,51 },...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1const { expect, use } = require('chai');2const unexpected = require('unexpected');3const unexpectedMysteryBox = require('unexpected-mystery-box');4use(unexpectedMysteryBox);5const unexpectedSinon = require('unexpected-sinon');6use(unexpectedSinon);7const sinon = require('sinon');8const { EventEmitter } = require('events');9const { JSDOM } = require('jsdom');10const { window } = new JSDOM('<!doctype html><html><body></body></html>');11const { document } = window;12const { createInterface } = require('readline');13const { createReadStream } = require('fs');14const { join } = require('path');15const { createServer } = require('http');16const { createReadStream: createStream } = require('fs');17const { join: joinPath } = require('path');18const { createInterface: createInputInterface } = require('readline');19const { createReadStream: createFileReadStream } = require('fs');20const { join: joinPaths } = require('path');21const { createInterface: createReadLineInterface } = require('readline');22const { createReadStream: createFileReadInterface } = require('fs');23const { join: joinFilePaths } = require('path');24const { createInterface: createReadLineInterface } = require('readline');25const { createReadStream: createFileReadInterface } = require('fs');26const { join: joinFilePaths } = require('path');27const { createInterface: createReadLineInterface } = require('readline');28const { createReadStream: createFileReadInterface } = require('fs');29const { join: joinFilePaths } = require('path');30const { createInterface: createReadLineInterface } = require('readline');31const { createReadStream: createFileReadInterface } = require('fs');32const { join: joinFilePaths } = require('path');33const { createInterface: createReadLineInterface } = require('readline');34const { createReadStream: createFileReadInterface } = require('fs');35const { join: joinFilePaths } = require('path');36const { createInterface: createReadLineInterface } = require('readline');37const { createReadStream: createFileReadInterface } = require('fs');38const { join: joinFilePaths } = require('path');39const { createInterface: createReadLineInterface } = require('

Full Screen

Using AI Code Generation

copy

Full Screen

1const expect = require('unexpected')2 .clone()3 .use(require('unexpected-messy'));4const messy = require('messy');5const fs = require('fs');6describe('Test', () => {7 it('should have a header', () => {8 const html = fs.readFileSync('index.html', 'utf8');9 const message = new messy.HttpMessage({10 headers: {11 'Content-Type': 'text/html; charset=UTF-8',12 },13 });14 return expect(message, 'to have header', 'content-type');15 });16});17expect(message, 'to have header', 'content-type', 'text/html; charset=UTF-8');18I'm not sure what you are asking, but if you are asking why your test is failing, it's because the header name is case insensitive, so "Content-Type" is the same as "content-type". You can use the "with value" assertion to test the value of the header: expect(message, 'to have header', 'content-type', 'text/html; charset=UTF-8');

Full Screen

Using AI Code Generation

copy

Full Screen

1var expect = require('unexpected')2 .clone()3 .installPlugin(require('unexpected-mitm'));4var proxyquire = require('proxyquire');5var nock = require('nock');6var sinon = require('sinon');7var sinonChai = require('sinon-chai');8chai.use(sinonChai);9var chaiAsPromised = require('chai-as-promised');10chai.use(chaiAsPromised);11var chai = require('chai');12var expect = chai.expect;13var chaiHttp = require('chai-http');14chai.use(chaiHttp);15var chaiThings = require('chai-things');16chai.use(chaiThings);17var sinonAsPromised = require('sinon-as-promised');18sinonAsPromised(require('bluebird'));19var Promise = require('bluebird');20var mockery = require('mockery');21mockery.enable({22});23var rewire = require('rewire');24var mocha = require('mocha');25var jsdom = require('jsdom');26var cheerio = require('cheerio');27var jquery = require('jquery');28var lodash = require('lodash');29var underscore = require('underscore');30var fetch = require('node-fetch');31var request = require('request-promise');32var request = require('request');33var request = require('request-promise-native');34var request = require('request-promise-any');35var request = require('request-promise-core');36var request = require('

Full Screen

Using AI Code Generation

copy

Full Screen

1var expect = require('unexpected')2 .clone()3 .installPlugin(require('unexpected-mitm'));4var request = require('request');5describe('A request', function () {6 it('should return a 200', function () {7 expect(function (cb) {8 }, 'to call the callback without error');9 });10});11var expect = require('unexpected')12 .clone()13 .installPlugin(require('unexpected-mitm'));14var request = require('request');15describe('A request', function () {16 mitm();17 it('should return a 200', function () {18 expect(function (cb) {19 }, 'to call the callback without error');20 });21});22var expect = require('unexpected')23 .clone()24 .installPlugin(require('unexpected-mitm'));25var request = require('request');26describe('A request', function () {27 mitm({ port: 1234 });28 it('should return a 200', function () {29 expect(function (cb) {30 }, 'to call the callback without error');31 });32});

Full Screen

Using AI Code Generation

copy

Full Screen

1const expect = require('unexpected')2 .clone()3 .use(require('unexpected-mitm'))4 .use(require('unexpected-http'));5const app = require('./app');6describe('app', () => {7 it('should return 200', () => {8 return expect(9 {10 },11 );12 });13});14const expect = require('unexpected')15 .clone()16 .use(require('unexpected-mitm'))17 .use(require('unexpected-http'));18const app = require('./app');19describe('app', () => {20 it('should return 200', () => {21 return expect(22 {23 },24 );25 });26});27const expect = require('unexpected')28 .clone()29 .use(require('unexpected-mitm'))30 .use(require('unexpected-http'));31const app = require('./app');32describe('app', () => {33 it('should return 200', () => {34 return expect(35 {36 },37 );38 });39});

Full Screen

Using AI Code Generation

copy

Full Screen

1const mitm = require("unexpected-mitm");2const expect = require("unexpected");3const { createServer } = require("http");4describe("my test", () => {5 let server;6 beforeEach(() => {7 server = createServer((req, res) => {8 res.end("Hello, World!");9 });10 return mitm({ server });11 });12 afterEach(() => {13 return mitm.restore();14 });15 it("should work", () => {16 return expect(17 {18 request: {19 },20 response: {21 headers: {22 },23 },24 },25 {26 headers: {27 },28 }29 );30 });31});

Full Screen

Using AI Code Generation

copy

Full Screen

1const {createUnexpected} = require('unexpected');2const unexpected = createUnexpected();3unexpected.use(require('unexpected-messy'));4unexpected.use(require('unexpected-snapshot'));5unexpected.use(require('unexpected-resemble'));6unexpected.use(require('unexpected-dom'));7unexpected.use(require('unexpected-resemble'));8unexpected.use(require('unexpected-messy'));9unexpected.use(require('unexpected-snapshot'));10unexpected.use(require('unexpected-dom'));11unexpected.use(require('unexpected-resemble'));12unexpected.use(require('unexpected-messy'));13unexpected.use(require('unexpected-snapshot'));14unexpected.use(require('unexpected-dom'));15unexpected.use(require('unexpected-resemble'));16unexpected.use(require('unexpected-messy'));17unexpected.use(require('unexpected-snapshot'));18unexpected.use(require('unexpected-dom'));19unexpected.use(pluginModule, [options]);20[MIT](LICENSE)

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run unexpected automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful