Added scripts from C:\Users\ploet\Desktop\Habbo\Xabbo Scripte: - 39 KI/Chatbot scripts (ChatGPT, Gemini, Grok, DeepSeek, Ollama) - Game solvers (Domino, Dodgeball, Obsidian Maze, IceBall) - Collision avoidance bots (5 versions) - Plant/breeding automation (12 scripts) - Trading tools, packet debuggers, room utilities - Navigation & teleport helpers Removed: 9 files (3 empty, 2 trivial, 4 cross-duplicates) Updated README with full categorized index of all 230+ scripts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
int? selectedUserId = null;
|
|
bool waitingForTileClick = false;
|
|
|
|
OnIntercept(Out["GetSelectedBadges"], e => {
|
|
int userId = e.Packet.ReadInt();
|
|
selectedUserId = userId;
|
|
waitingForTileClick = true;
|
|
var user = Users.FirstOrDefault(u => u.Id == userId);
|
|
if (user != null) {
|
|
Log($"Selected user ID: {userId}, Index: {user.Index}");
|
|
}
|
|
e.Block();
|
|
});
|
|
|
|
OnIntercept(Out["Move"], e => {
|
|
if (waitingForTileClick && selectedUserId.HasValue) {
|
|
int x = e.Packet.ReadInt();
|
|
int y = e.Packet.ReadInt();
|
|
|
|
var user = Users.FirstOrDefault(u => u.Id == selectedUserId);
|
|
if (user != null) {
|
|
int userIndex = user.Index;
|
|
Log($"Teleporting user Index: {userIndex} to position: {x}, {y}");
|
|
|
|
Send(Out["WiredSetObjectVariableValue"], 1, userIndex, "-270", userIndex);
|
|
Delay(250);
|
|
Send(Out["WiredSetObjectVariableValue"], 1, userIndex, "-230", x);
|
|
Delay(250);
|
|
Send(Out["WiredSetObjectVariableValue"], 1, userIndex, "-231", y);
|
|
}
|
|
|
|
selectedUserId = null;
|
|
waitingForTileClick = false;
|
|
e.Block();
|
|
}
|
|
});
|
|
|
|
Log("User teleport script started.");
|
|
Wait(); |