xabbo-scripts/Furniture Position Debug.csx
Administrator 7bfc390ed6 Initial commit: 68 Xabbo Scripter scripts
Habbo Hotel automation scripts including:
- Game solvers (Snake, Color Puzzle, Tetris, Flappy Bird, Flood-IT)
- Room utilities (Autogate, One-Way Door, Furni Scanner)
- Bot tools (Heal Bot, Pet Trainer, User Collector)
- Trading & economy (Furni-Matic, Seed Trade, Trade Spam)

Cleaned up: removed 5 duplicates and 2 broken scripts,
renamed 37 gibberish filenames to descriptive names.
2026-03-16 09:38:59 +01:00

60 lines
1.9 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
// ═══════════════════════════════════════════════════════════════════════════════
// DEBUG - ZEIGT ALLE POSITIONEN
// ═══════════════════════════════════════════════════════════════════════════════
const int PILLOW_ID = 893412986;
const int GATE_ID = 2147418143;
HashSet<int> greenRollers = new HashSet<int> {
2147418115, 2147418119, 2147418133,
2147418134, 2147418135, 2147418136
};
int GetId(dynamic item) { try { return (int)item.Id; } catch { return 0; } }
Log("═══════════════════════════════════════");
Log(" DEBUG - POSITIONEN");
Log("═══════════════════════════════════════");
while (Run)
{
Delay(1000);
Log("--- SCAN ---");
// Meine Position
try
{
Log($"ICH: ({Self.Location.X}, {Self.Location.Y})");
}
catch { Log("ICH: nicht gefunden"); }
// Kissen
foreach (var item in FloorItems)
{
if (item == null) continue;
if (GetId(item) == PILLOW_ID)
{
Log($"KISSEN: ({item.Location.X}, {item.Location.Y})");
}
}
// Alle grünen Roller
foreach (var item in FloorItems)
{
if (item == null) continue;
int id = GetId(item);
if (greenRollers.Contains(id))
{
Log($"ROLLER {id}: ({item.Location.X}, {item.Location.Y})");
}
if (id == GATE_ID)
{
Log($"GATE: ({item.Location.X}, {item.Location.Y})");
}
}
}