Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require "../core.php";
- require "../tasks.php";
- $Username = "Hyper bot 86"; // Sets a variable for your username.
- $Password = "bluefire"; // Sets a variable for your password.
- $ServerID = 211;
- $TargetID = 39242937;
- if (connect($ServerID, $Username, $Password, true)) {
- echo "your bot has logged in";
- }
- gotoRoom(805, 0, 0);
- while(true){
- $rawPack = readRawPacket();
- if (stripos($rawPack, "xt%pm%$myRoomID")) {
- $ID = stribet($rawPack, "%xt%pm%$myRoomID%", "%");
- }
- if (stripos($rawPack, "xt%sp%$myRoomID%$TargetID")) {
- $x = stribet($rawPack, "%xt%sp%$myRoomID%$TargetID%", "%");
- $y = stribet($rawPack, "%xt%sp%$myRoomID%$TargetID%$x%", "%");
- sendRawPacket("%xt%pm%$myRoomID%$ID%$x%$y%.");
- }
- if (stripos($rawPack, "xt%rp%-1%" . $TargetID)){
- findBuddy($TargetID);
- }
- elseif (stripos($rawPack, "xt%bf%" . $myRoomID . "%")){
- $RoomID = stribet($rawPack, "%xt%bf%" . $myRoomID . "%","%");
- gotoRoom($RoomID);
- echo"Penguin $TargetID moved to room $RoomID";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement