Out of nowhere after editing some MapleCharacter files and new columns I suddenly can't use GM or Admin commands. I can only use player commands and this has NEVER happened to me so I don't know how to resolve it. Here's my generalchat in case that is the problem.
My command files are untouched and only player commands seem to work and 1 command for GMs work which is "!maxskills".PHP Code:public final class GeneralchatHandler extends net.AbstractMaplePacketHandler {
public final void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
String s = slea.readMapleAsciiString();
MapleCharacter chr = c.getPlayer();
char heading = s.charAt(0);
if (heading == '/' || heading == '!' || heading == '@') {
String[] sp = s.split(" ");
sp[0] = sp[0].toLowerCase().substring(1);
if (!PlayerCommand.executePlayerCommand(c, sp, heading)) {
if (chr.isGM()) {
chr.addCommandToList(s);
if (!GMCommand.executeGMCommand(c, sp, heading)) {
AdminCommand.executeAdminCommand(c, sp, heading);
}
}
}
} else {
if (!chr.isHidden())
chr.getMap().broadcastMessage(MaplePacketCreator.getChatText(chr.getId(), s, chr.isGM(), slea.readByte()));
else
chr.getMap().broadcastGMMessage(MaplePacketCreator.getChatText(chr.getId(), s, chr.isGM(), slea.readByte()));
}
}
}



Reply With Quote![[Help] GM-Admin Commands don't work~](http://ragezone.com/hyper728.png)


