Archived Make D: Face Possible

This suggestion has been archived / closed and can no longer be voted on.
Status
Not open for further replies.
Joined
Jul 2, 2012
Messages
1,080
Reaction score
950
Points
0
Annoying as hell to try and type D: in chat and get a channel not found error. My suggestion:

In CapiPlayerListener.java this function exists:
Code:
private String extractChannelString(String message)
    {
        int index = message.indexOf(':');
        if (index == -1) return null;
        String channelString = message.substring(0, index);
        if(channelString.indexOf(' ') != -1) return null;
        if(channelString.length() == 0) return null; // For smileys to be possible
        return channelString;
    }

If you were to add:
Code:
if(channelString.startsWith("D:") return null;
or add an or statement like so:
Code:
if(channelString.length() == 0 || channelString.startsWith("D:")) return null; // For smileys to be possible
then it would be possible to type D: in chat without a problem.

I heard somewhere that Cay is making a custom chat plugin, and I would appreciate it if something along these lines was included.
 
This suggestion has been closed. Votes are no longer accepted.
I assure you, this is a very pressing issue and all other server problems should be put aside to enable the D: smiley face in chat.
 
D: will probably be reserved for chat channel allocation

so... no.
 
I would perhaps not priority this :-P
 
this is by far the greatest problem this server has EVER faced! save our frowns!
 
What? That never happens to me, then again, I don't have screwy ping[DOUBLEPOST=1357278659][/DOUBLEPOST]Pong
 
I found out a way to get around this. before you type D: you need to use the channel command that you want to use it in before it. for example, if I wanted to use it in the chat channel "say" I would type "s: D:" hope this helps
 
When i saw the code thingy i was like WAHT!? LOL! to me it's just giberish! D:
 
Status
Not open for further replies.