Updated the Error Message.
This commit is contained in:
parent
629727be3a
commit
5015935cda
@ -58,7 +58,8 @@ public class CameraRoomPictureEvent extends MessageHandler
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
} catch (IllegalArgumentException e) {
|
} 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));
|
this.client.sendResponse(new CameraURLComposer(URL));
|
||||||
|
@ -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"));
|
ImageIO.write(theImage, "png", new File(Emulator.getConfig().getValue("imager.location.output.thumbnail") + room.getId() + ".png"));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
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());
|
this.client.sendResponse(new CameraRoomThumbnailSavedComposer());
|
||||||
|
Loading…
Reference in New Issue
Block a user