[Help] GM-Admin Commands don't work~

Results 1 to 7 of 7
  1. #1
    Account Upgraded | Title Enabled! TacoBell is offline
    MemberRank
    Aug 2011 Join Date
    518Posts

    [Help] GM-Admin Commands don't work~

    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.

    PHP Code:
    public final class GeneralchatHandler extends net.AbstractMaplePacketHandler {

        public final 
    void handlePacket(SeekableLittleEndianAccessor sleaMapleClient 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(cspheading)) {
                    if (
    chr.isGM()) {
                        
    chr.addCommandToList(s);
                        if (!
    GMCommand.executeGMCommand(cspheading)) {
                            
    AdminCommand.executeAdminCommand(cspheading);
                        }
                    }
                }
            } else {
                if (!
    chr.isHidden())
                    
    chr.getMap().broadcastMessage(MaplePacketCreator.getChatText(chr.getId(), schr.isGM(), slea.readByte()));
                else
                    
    chr.getMap().broadcastGMMessage(MaplePacketCreator.getChatText(chr.getId(), schr.isGM(), slea.readByte()));
            }
        }

    My command files are untouched and only player commands seem to work and 1 command for GMs work which is "!maxskills".


  2. #2
    Apprentice iiLick is offline
    MemberRank
    May 2014 Join Date
    LocalhostLocation
    20Posts

    Re: [Help] GM-Admin Commands don't work~

    Quote Originally Posted by TacoBell View Post
    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.

    PHP Code:
    public final class GeneralchatHandler extends net.AbstractMaplePacketHandler {

        public final 
    void handlePacket(SeekableLittleEndianAccessor sleaMapleClient 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(cspheading)) {
                    if (
    chr.isGM()) {
                        
    chr.addCommandToList(s);
                        if (!
    GMCommand.executeGMCommand(cspheading)) {
                            
    AdminCommand.executeAdminCommand(cspheading);
                        }
                    }
                }
            } else {
                if (!
    chr.isHidden())
                    
    chr.getMap().broadcastMessage(MaplePacketCreator.getChatText(chr.getId(), schr.isGM(), slea.readByte()));
                else
                    
    chr.getMap().broadcastGMMessage(MaplePacketCreator.getChatText(chr.getId(), schr.isGM(), slea.readByte()));
            }
        }

    My command files are untouched and only player commands seem to work and 1 command for GMs work which is "!maxskills".
    Well, the most officiant way to fix this is replace this with a clean MapleCharacter.java or maybe if you adjusted things in Server Constants or maybe even Command Processor/Command ProcessorUtil make sure there is still Admin/GM still in those java files.

  3. #3
    Member Drum is offline
    MemberRank
    Jul 2013 Join Date
    80Posts

    Re: [Help] GM-Admin Commands don't work~

    officiant?!

    OT: Debug. If you've been messing around in MapleCharacter, maybe you're not set to be a GM when your character is loaded? Who knows.

  4. #4
    Omega sunnyboy is offline
    MemberRank
    Mar 2010 Join Date
    6,109Posts

    Re: [Help] GM-Admin Commands don't work~

    Quote Originally Posted by iiLick View Post
    Well, the most officiant way to fix this is replace this with a clean MapleCharacter.java or maybe if you adjusted things in Server Constants or maybe even Command Processor/Command ProcessorUtil make sure there is still Admin/GM still in those java files.
    Why are all your help thread posts about putting a clean MapleCharacter.java lol

    Check your command file, make sure if you've added any new commands that you didn't mess up any brackets cuz it will mess up commands

  5. #5
    Apprentice iiLick is offline
    MemberRank
    May 2014 Join Date
    LocalhostLocation
    20Posts

    Re: [Help] GM-Admin Commands don't work~

    Quote Originally Posted by sunnyboy View Post
    Why are all your help thread posts about putting a clean MapleCharacter.java lol

    Check your command file, make sure if you've added any new commands that you didn't mess up any brackets cuz it will mess up commands
    Damn Good Point .. Well they all do in a way involve something inside of Maplecharacter and dat stalk doe!

  6. #6
    Omega sunnyboy is offline
    MemberRank
    Mar 2010 Join Date
    6,109Posts

    Re: [Help] GM-Admin Commands don't work~

    Quote Originally Posted by iiLick View Post
    Damn Good Point .. Well they all do in a way involve something inside of Maplecharacter and dat stalk doe!
    Well this one doesn't and nobody is stalking you, you just like to put your filth on every help thread
    @TacoBell

    have you found your issue

  7. #7
    Account Upgraded | Title Enabled! TacoBell is offline
    MemberRank
    Aug 2011 Join Date
    518Posts

    Re: [Help] GM-Admin Commands don't work~

    I have, thank you.



Advertisement