Config Database problem
Issue #952
closed
Description: I'm having some problems with Arcturus, because, i change some values of database and don't affect the hotel.
Long Description: Well, it's been a while since I've been noticing that some changes I make in the database, does not affect the hotel such as group badges, on my emulator_settings the imager.internal.enabled is 1, but at the start of emulator says: Badge Imager -> Disabled! Please check your configuration!, I've try everything, but nothing happens, even put these keys on config.ini... Changed the value of imager.location.output.badges and imager.location.badgeparts too
Code:
java.io.FileNotFoundException: D:\Xampp\htdocs\game\c_images\Badgeparts\generated/b017034s212134s210240.png (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:69)
at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:55)
at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:419)
at javax.imageio.ImageIO.write(ImageIO.java:1530)
at com.eu.habbo.util.imager.badges.BadgeImager.generate(BadgeImager.java:193)
at com.eu.habbo.messages.incoming.guilds.GuildChangeBadgeEvent.handle(GuildChangeBadgeEvent.java:65)
at com.eu.habbo.messages.PacketManager.handlePacket(PacketManager.java:150)
at com.eu.habbo.threading.runnables.ChannelReadHandler.run(ChannelReadHandler.java:27)
at com.eu.habbo.threading.ThreadPooling$1.run(ThreadPooling.java:52)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
at java.lang.Thread.run(Thread.java:748)
Comments (3)
-
-
reporter - changed status to closed
Nevermind, i figure out what's happened xD
-
repo owner - removed version
Removing version: 1.11.0 (automated comment)
- Log in to comment
Hi there,
I had this problem but only when trying to save group badges, make sure that you update your Badgeparts on your c_images folder with the ones on the Arcturus mirror site ( http://arcturus.pw/mirrors/ ) and once you've done it, change the values on emulator_settings of imager.location.badgeparts to the place of said folder and then imager.location.output.badges to the \generated folder inside Badgeparts.
So lets say you have XAMPP installed on C:\ and your c_images is on swfs inside of htdocs, both values should look like this: imager.location.badgeparts: C:\xampp\htdocs\swfs\c_images\Badgeparts image.location.output.badges: C:\xampp\htdocs\swfs\c_images\Badgeparts\generated
Once both values are correctly added (so they are existing folders, right now this error shows that said directory doesn't exist) then restart your server and try to save the group badge. This is how I fixed it :)