Keeps the repo root clean - only README.md visible on landing page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
31 lines
936 B
C#
31 lines
936 B
C#
const string SearchItemName = "duck_vipwhite";
|
|
|
|
var userNames = new List<string> {
|
|
"spextor", "audrey", "clepsidra", "polandiaa",
|
|
"Kampagne21", "Kampagne22", "Holperik", "Iz-nogoud", "vampireacco"
|
|
}.Distinct();
|
|
|
|
Log("Starting room checks...");
|
|
|
|
foreach (var userName in userNames) {
|
|
try {
|
|
var rooms = SearchNavByOwner(userName)
|
|
.Where(x => x.IsOpen)
|
|
.ToArray();
|
|
|
|
foreach (var room in rooms) {
|
|
if (EnsureEnterRoom(room.Id) == RoomEntryResult.Success) {
|
|
var searchFurni = FurniData.FindFloorItem(SearchItemName);
|
|
if (Furni.OfKind(searchFurni).Any()) {
|
|
Log($"Item \"{SearchItemName}\" found in room \"{room.Name}\".");
|
|
}
|
|
}
|
|
Delay(2500);
|
|
}
|
|
} catch (Exception ex) {
|
|
Log($"Error while processing user \"{userName}\": {ex.Message}");
|
|
}
|
|
}
|
|
|
|
Log("Room checks completed.");
|