Re: [Release] Mute a player
i get this erros
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:28: cannot find symbol
symbol : class Command
location: package net.sf.odinms.client.messages
import net.sf.odinms.client.messages.Command;
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:29: cannot find symbol
symbol : class CommandDefinition
location: package net.sf.odinms.client.messages
import net.sf.odinms.client.messages.CommandDefinition;
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:33: cannot find symbol
symbol: class Command
public class PunishmentCommands implements Command {
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:71: cannot find symbol
symbol : class CommandDefinition
location: class net.sf.odinms.client.messages.commands.PunishmentCommands
public CommandDefinition[] getDefinition() {
^
D:\PrivteMS\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:14: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
import com.sun.imageio.plugins.png.PNGImageReaderSpi;
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:26: cannot find symbol
symbol : static joinAfterString
location: class net.sf.odinms.client.messages.CommandProcessor
import static net.sf.odinms.client.messages.CommandProcessor.joinAfterString;
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:25: cannot find symbol
symbol : static getNamedIntArg
location: class net.sf.odinms.client.messages.CommandProcessor
import static net.sf.odinms.client.messages.CommandProcessor.getNamedIntArg;
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:34: method does not override or implement a method from a supertype
@Override
^
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:72: cannot find symbol
symbol : class CommandDefinition
location: class net.sf.odinms.client.messages.commands.PunishmentCommands
return new CommandDefinition[] {
^
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:73: cannot find symbol
symbol : class CommandDefinition
location: class net.sf.odinms.client.messages.commands.PunishmentCommands
new CommandDefinition("mute", "victim set", "Takes away or gives back a player's ability to talk.", 1000),
^
D:\PrivteMS\src\net\sf\odinms\client\messages\PunishmentCommands.java:70: method does not override or implement a method from a supertype
@Override
^
D:\PrivteMS\src\net\sf\odinms\net\channel\handler\GeneralchatHandler.java:37: cannot find symbol
symbol : method getInstance()
location: class net.sf.odinms.client.messages.CommandProcessor
if (!CommandProcessor.getInstance().processCommand(c, text)) {
^
D:\PrivteMS\src\net\sf\odinms\net\channel\handler\GeneralchatHandler.java:45: getChatText(int,java.lang.String,int) in net.sf.odinms.tools.MaplePacketCreator cannot be applied to (int,java.lang.String)
c.getPlayer().getMap().broadcastMessage(MaplePacketCreator.getChatText(c.getPlayer().getId(), text));
D:\PrivteMS\src\net\sf\odinms\provider\xmlwz\FileStoredPngMapleCanvas.java:47: warning: com.sun.imageio.plugins.png.PNGImageReaderSpi is Sun proprietary API and may be removed in a future release
ImageReaderSpi readerSpi = iioRegistry.getServiceProviderByClass(PNGImageReaderSpi.class);
^
Note: D:\PrivteMS\src\net\sf\odinms\net\channel\pvp\MaplePvp.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
12 errors
2 warnings
BUILD FAILED (total time: 1 second)
this how my client messages looks: