LeonHartley / Comet-Java

Habbo emulator written in Java.
Other
3 stars 4 forks source link

Request: whisper message #191

Open Twanvanl opened 5 years ago

Twanvanl commented 5 years ago

Instead of an alert at :points, :coins etc commands send a whisper message

nathansuk commented 5 years ago

use : player.send(new WhisperMessageComposer(); instead of player.send(new AdvancedAlertMessageComposer();

Twanvanl commented 5 years ago

'WhisperMessageComposer(int, java.lang.String)' in 'com.cometproject.server.network.messages.outgoing.room.avatar.WhisperMessageComposer' cannot be applied to '(java.lang.String, java.lang.String)'

dotmbf commented 5 years ago

I've taken the liberty to add "possible feature", as it could be changed to settings instead of hardcoding it.

LeonHartley commented 5 years ago

and what if the user isn't in a room? :p no notification? probably gonna need more than just change the alert..

dotmbf commented 5 years ago

@LeonHartley Hadn't thought of that, but maybe if (inRoom) or some shit..

billiboy commented 5 years ago

could use the composer notification

nathansuk commented 5 years ago

@LeonHartley Hadn't thought of that, but maybe if (inRoom) or some shit..

ye but its easier to just use alerts instead of whisper