Updated the Error Message.

This commit is contained in:
KrewsOrg 2019-06-12 00:18:34 +01:00
parent 629727be3a
commit 5015935cda
2 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,8 @@ public class CameraRoomPictureEvent extends MessageHandler
} catch (IOException e) {
e.printStackTrace();
} catch (IllegalArgumentException e) {
System.out.println("YOU ARE NOT USING A PATCHED HABBO.SWF. Run HabKit to patch the camera to use PNG encoding.");
System.out.println("[Apollyon] You are using a Habbo.swf that has not been patched to work with Apollyon. Please read the read me on a guide to patching your swf, or download a prepatched one on our git at:");
System.out.println("[Apollyon] https://git.krews.org/morningstar/apollyon");
}
this.client.sendResponse(new CameraURLComposer(URL));

View File

@ -56,6 +56,9 @@ public class CameraRoomThumbnailEvent extends MessageHandler
ImageIO.write(theImage, "png", new File(Emulator.getConfig().getValue("imager.location.output.thumbnail") + room.getId() + ".png"));
} catch (IOException e) {
e.printStackTrace();
} catch (IllegalArgumentException e) {
System.out.println("[Apollyon] You are using a Habbo.swf that has not been patched to work with Apollyon. Please read the read me on a guide to patching your swf, or download a prepatched one on our git at:");
System.out.println("[Apollyon] https://git.krews.org/morningstar/apollyon");
}
this.client.sendResponse(new CameraRoomThumbnailSavedComposer());