GM Chat?

Re: [Release] GM Chat?

Where is this Also PLEASE Read my DEV Thread where it says i got idea from you.
@Yeeha Don't post then cause like thats totally spam...
 
Re: [Release] GM Chat?

^.^


so... change it? i think this guy doesnt like me btw, every thread ive ever made hes like yelled at me...
 
Re: [Release] GM Chat?

can u like put
Code:
else if (splitted[0].equals("!gmsg")) {
                        String gmMSG = StringUtil.joinStringFrom(splitted, 1);
                        for (ChannelServer cservs : ChannelServer.getAllInstances()){
                                for (MapleCharacter players : cservs.getPlayerStorage().getAllCharacters()) {
                                        if (players.isGM() && players.getGmChatEnabled()) {
                                                players.getClient().getSession().write(MaplePacketCreator.serverNotice(2, player.getName() + " : " + gmMSG));
                                        }

this in Generalchathandler.java?
 
Re: [Release] GM Chat?

can u like put
Code:
else if (splitted[0].equals("!gmsg")) {
                        String gmMSG = StringUtil.joinStringFrom(splitted, 1);
                        for (ChannelServer cservs : ChannelServer.getAllInstances()){
                                for (MapleCharacter players : cservs.getPlayerStorage().getAllCharacters()) {
                                        if (players.isGM() && players.getGmChatEnabled()) {
                                                players.getClient().getSession().write(MaplePacketCreator.serverNotice(2, player.getName() + " : " + gmMSG));
                                        }

this in Generalchathandler.java?

Thats a command lulz.
 
Re: [Release] GM Chat?

1. This will not work on multihost. But I guess that doesn't matter to most people.

2. This will be extremely inefficient to people who have a larger user count, as it will have to iterate through every single one of the user when you use one of these commands. But again it doesn't matter to most people.

I'm not trying to be negative. Just pointing out some possible issues with it.

Can't their be a way to just use a GM's ign? like let's say you want to use the function couldn't you just input name like bob or w/e so it checks if bob is online if so it sends message to them?
 
Re: [Release] GM Chat?

Can't their be a way to just use a GM's ign? like let's say you want to use the function couldn't you just input name like bob or w/e so it checks if bob is online if so it sends message to them?
Whisper...
 
Back