Project has been re-opened. I've gone back to Java, like how the project was originally.
I've formatted the absolute hell out of the source from the original Icarus Java project which I started in 2015. The revision has been upgraded from PRODUCTION version 2015 to 2017, and I've added some features that were missing.
I've also updated the main thread so I suggest people should check it out, I still have a long way to go before this can be considered complete.
No credits to me?Catalogue item discount
Just kidding, good to see the development thread up again. Cannot wait to see some cool shizzle even though I hate this version to be honest :p.
Hey Alex,
Nice that you'll continue with IcarusGood luck! Which things you're currently working on?
I don't know yet, i'm trying to make the dimmers work too. When i discover how it works i'll put here...
![]()
I figured out why the client wouldn't send the packet to save moodlight data, I had the wrong structure.
Basically, I forgot to increment the preset ID each loop.Code:@Override public void write() { this.response.init(Outgoing.MoodlightConfigMessageComposer); this.response.writeInt(this.data.getPresets().size()); this.response.writeInt(this.data.getCurrentPreset()); int id = 1; for (MoodlightPreset preset : this.data.getPresets()) { this.response.writeInt(id); if (preset.isBackgroundOnly()) { this.response.writeInt(2); } else { this.response.writeInt(1); } this.response.writeString(preset.getColorCode()); this.response.writeInt(preset.getColorIntensity()); id++; } }![]()
Last edited by Quackster; 16-05-17 at 12:01 AM.
Still about the dimmer... i would like to know what you think about to save the dimmer configuration data on the furni instead of to save in the room...
I'm planning to do this, saving the data on the furni extradata column (on db), using Json, and then, parsing to the game engine with its own class...
Spoiler:
So, the user can save the dimmer config data in the furni, pick up this item, put into another room and don't need to config them again...
You should look into the Habbo scripts and then you'll realize you've got over abstraction. There are only 7 types of extradata.
And that DimmerRoomItem constructor.
EDIT: I see you've split the inventory items and the room items. Seems like a really solid plan to strain your database and keeping everything synchronized properly will be a bitch.
Changelog
- Added locale support for different languages
- Added changing clothes
- Added moodlight support
- Added roller support (works for stacked items, and items that slide off the roller).
My first time doing both rollers and moodlights/dimmers, actually.