Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- missingcorpses = {
- 111,
- 4015,
- 4019,
- 4023,
- 4028,
- 4107,
- 4108,
- 4111,
- 4129,
- 4136,
- 4182,
- 4183,
- 4184,
- 4221,
- 4222,
- 4223,
- 4243,
- 4244,
- 4245,
- 4246,
- 4251,
- 4252,
- 4258,
- 4272,
- 4273,
- 4290,
- 4292,
- 4299,
- 4301,
- 4302,
- 5526,
- 5527,
- 5762,
- 5965,
- 6020,
- 6022,
- 6033,
- 6068,
- 6080,
- 6081,
- 6082,
- 6083,
- 6084,
- 6560,
- 7535,
- 7538,
- 7539,
- 7540,
- 8132,
- 8133,
- 8134,
- 8135,
- 8866,
- 8867,
- 8868,
- 8869,
- 9695,
- 10382,
- 10383,
- 11317,
- 11319,
- 11320,
- 11321,
- 11322,
- 11323,
- 11324,
- 11325,
- 11326,
- 11327,
- 11589,
- 11590,
- 12816,
- 18098,
- 18099,
- 18100,
- 18101,
- 18274,
- 18275,
- 18276,
- 18277,
- 18294,
- 18295,
- 18296,
- 18297,
- 18298,
- 18299,
- 18300,
- 18301,
- 18310,
- 18311,
- 18312,
- 19051,
- 19055,
- 19056,
- 19057,
- 21863,
- 21864,
- 21865,
- 21866,
- 21887,
- 21913,
- 21940,
- 21941,
- 21942,
- 21943,
- 21960,
- 21961,
- 21978,
- 21980,
- }
- missingids = {
- 5008,
- 5952,
- 5956,
- 10866,
- 10867,
- 10868,
- 10869,
- 10971,
- 10972,
- 10973,
- 10974,
- 10980,
- 11150,
- 11151,
- 11214,
- 11215,
- 11216,
- 11217,
- 11218,
- 11219,
- 11380,
- 11381,
- 11382,
- 11383,
- 11384,
- 11385,
- 11386,
- 11387,
- 11388,
- 11389,
- 11390,
- 11391,
- 11392,
- 11393,
- 11542,
- 11543,
- 11698,
- 12420,
- 12510,
- 12734,
- 12794,
- 12815,
- 12820,
- 12962,
- 13026,
- 13027,
- 13028,
- 13138,
- 13139,
- 13140,
- 13141,
- 13145,
- 13146,
- 13147,
- 13148,
- 13337,
- 13338,
- 13339,
- 13340,
- 13368,
- 13369,
- 13370,
- 13371,
- 13372,
- 13373,
- 13374,
- 13375,
- 13398,
- 13399,
- 13401,
- 13402,
- 13403,
- 13404,
- 13405,
- 13406,
- 13407,
- 13408,
- 13409,
- 13410,
- 13411,
- 13412,
- 13494,
- 13495,
- 13496,
- 13497,
- 13498,
- 13895,
- 13896,
- 14065,
- 14072,
- 14073,
- 14205,
- 14206,
- 14207,
- 14208,
- 14209,
- 14210,
- 14211,
- 14212,
- 14213,
- 14214,
- 14215,
- 14216,
- 14217,
- 14218,
- 14226,
- 14227,
- 14228,
- 14229,
- 14230,
- 14231,
- 14232,
- 14233,
- 14234,
- 14235,
- 14236,
- 15601,
- 15602,
- 15603,
- 15604,
- 15609,
- 15610,
- 15697,
- 15699,
- 15700,
- 15827,
- 15902,
- 15903,
- 15904,
- 15905,
- 17113,
- 17511,
- 17512,
- 17520,
- 17521,
- 17522,
- 17523,
- 17524,
- 19065,
- 19066,
- 19246,
- 19247,
- 19249,
- 19400,
- 20129,
- 20136,
- 20232,
- 20265,
- 20325,
- 20326,
- 20327,
- 20358,
- 20359,
- 20360,
- 20361,
- 20362,
- 20363,
- 20367,
- 20368,
- 20369,
- 20370,
- 20372,
- 20889,
- 21047,
- 21049,
- 21141,
- 21142,
- 21147,
- 21150,
- 21154,
- 21155,
- 21156,
- 21159,
- 21161,
- 21212,
- 21213,
- 21214,
- 21215,
- 21216,
- 21278,
- 21279,
- 21280,
- 21281,
- 21282,
- 21283,
- 21301,
- 21335,
- 21336,
- 21387,
- 21392,
- 21393,
- 21395,
- 21396,
- 21397,
- 21398,
- 21399,
- 21402,
- 21419,
- 21420,
- 21421,
- 21422,
- 21423,
- 21424,
- 21425,
- 21426,
- 21438,
- 21443,
- 21462,
- 21463,
- 21464,
- 21465,
- 21468,
- 21488,
- 21489,
- 21490,
- 21491,
- 21492,
- 21493,
- 21494,
- 21495,
- 21496,
- 21497,
- 21498,
- 21499,
- 21500,
- 21501,
- 21504,
- 21506,
- 21554,
- 21572,
- 21573,
- 21706,
- 21707,
- 21708,
- 21709,
- 21710,
- 21711,
- 21737,
- 21743,
- 21744,
- 21748,
- 21752,
- 21772,
- 21773,
- 21774,
- 21778,
- 21779,
- 21780,
- 21781,
- 21782,
- 21783,
- 21784,
- 21785,
- 21786,
- 21788,
- 21789,
- 21790,
- 21792,
- 21793,
- 21802,
- 21806,
- 21807,
- 21808,
- 21809,
- 21810,
- 21811,
- 21813,
- 21815,
- 21817,
- 21818,
- 21826,
- 21827,
- 21828,
- 21829,
- 21830,
- 21831,
- 21832,
- 21833,
- 21834,
- 21835,
- 21836,
- 21838,
- 21840,
- 21842,
- 21843,
- 21844,
- 21845,
- 21846,
- 21847,
- 21848,
- 21849,
- 21851,
- 21852,
- 21854,
- 21855,
- 21858,
- 21867,
- 21871,
- 21878,
- 21880,
- 21881,
- 21934,
- 21938,
- 21939,
- 21945,
- 21950,
- 21964,
- 21965,
- 21967,
- 21968,
- 21971,
- 21972,
- 22058,
- 22059,
- 22063,
- 22064,
- 22075,
- 22076,
- 22077,
- 22088,
- 22113,
- 22114,
- 22115,
- 22116,
- 22117,
- 22127,
- 22128,
- 22129,
- 22130,
- 22134,
- }
- local huds = {}
- local hudcount = 0
- local alrdychecked = {}
- while true do
- for x = -7, 7, 1 do
- for y = -5, 5, 1 do
- local id = Map.GetTopMoveItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id
- if (table.contains(missingcorpses, id) or table.contains(missingids, id)) and not table.contains(alrdychecked, id) then
- alrdychecked[#alrdychecked+1] = id
- txt = (type(id) ~= nil and id.."" or "0") .. " ==> " .. Self.Position().x + x .. ", " .. Self.Position().y + y .. ", " .. Self.Position().z
- if not huds[txt] then
- alert()
- huds[txt] = HUD.New(30, 30 + hudcount * 40, id, 255, 255, 255):SetItemSize(32)
- huds[txt.."_sub"] = HUD.New(75, 43 + hudcount * 40, txt .. " (x-off: " .. x .. ", y-off: " .. y .. ")", 255, 255, 255)
- hudcount = hudcount + 1
- end
- end
- local id = Map.GetTopUseItem(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id
- if (table.contains(missingcorpses, id) or table.contains(missingids, id)) and not table.contains(alrdychecked, id) then
- alrdychecked[#alrdychecked+1] = id
- txt = (type(id) ~= nil and id.."" or "0") .. " ==> " .. Self.Position().x + x .. ", " .. Self.Position().y + y .. ", " .. Self.Position().z
- if not huds[txt] then
- alert()
- huds[txt] = HUD.New(30, 30 + hudcount * 40, id, 255, 255, 255):SetItemSize(32)
- huds[txt.."_sub"] = HUD.New(75, 43 + hudcount * 40, txt .. " (x-off: " .. x .. ", y-off: " .. y .. ")", 255, 255, 255)
- hudcount = hudcount + 1
- end
- end
- local id = Map.GetTopTargetObject(Self.Position().x + x, Self.Position().y + y, Self.Position().z).id
- if (table.contains(missingcorpses, id) or table.contains(missingids, id)) and not table.contains(alrdychecked, id) then
- alrdychecked[#alrdychecked+1] = id
- txt = (type(id) ~= nil and id.."" or "0") .. " ==> " .. Self.Position().x + x .. ", " .. Self.Position().y + y .. ", " .. Self.Position().z
- if not huds[txt] then
- alert()
- huds[txt] = HUD.New(30, 30 + hudcount * 40, id, 255, 255, 255):SetItemSize(32)
- huds[txt.."_sub"] = HUD.New(75, 43 + hudcount * 40, txt .. " (x-off: " .. x .. ", y-off: " .. y .. ")", 255, 255, 255)
- hudcount = hudcount + 1
- end
- end
- end
- end
- for index = 0, 15 do
- local container = Container.New(index)
- if container:isOpen() then
- for spot = 0, container:ItemCount() - 1 do
- local id = container:GetItemData(spot).id
- if (table.contains(missingcorpses, id) or table.contains(missingids, id)) and not table.contains(alrdychecked, id) then
- alrdychecked[#alrdychecked+1] = id
- txt = id .. " ==> in container '" .. container:Name() .. "'"
- if not huds[txt] then
- alert()
- huds[txt] = HUD.New(30, 30 + hudcount * 40, id, 255, 255, 255):SetItemSize(32)
- huds[txt.."_sub"] = HUD.New(75, 43 + hudcount * 40, txt, 255, 255, 255)
- hudcount = hudcount + 1
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement