Master Summoner
- Joined
- Apr 17, 2012
- Messages
- 508
- Reaction score
- 77
Hey Alex,
Nice that you'll continue with Icarus :laugh: Good 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...
@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++;
}
}
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.
-- video removed due to being big --
Wow, it looks great! I love the locale support thing; I know for some people it might seem useless but it's something I miss in a lot of emulators. Are you eventually going to open a test hotel or something or not?
Err butterfly had it iirc but people ended up Ducking over the source and hardcoding a strings.
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. :stupid:
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 witch.
You're correct, Butterfly did have locale. It made sense for it to because more than 1 hotel with different languages used it.Err butterfly had it iirc but people ended up Ducking over the source and hardcoding a strings.
I'm sure there is an easy explanation, but can someone help me fix the issue where if I click promote room it takes me to the front page of the catalogue? I'm not really sure how to make it show the intended panel/page.