Ver um Único Post
Antigo 18-05-2010, 04:24 AM   #1 (permalink)
out
Amigo SE
 
Avatar de out
 
Registrado em: Oct 2009
Posts: 906
Agradeceu: 256
Agradecido 810 Vezes em 341 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Enviar mensagem via Windows Live Messenger para out

Inventório de out

Padrão Possível erro ao compilar.

Sempre que vou compilar da esse erro:
Citação:
[mkdir] Created dir: D:\workspace\L2JTeon-Project\L2JTeon\build
[mkdir] Created dir: D:\workspace\L2JTeon-Project\L2JTeon\build\classes
[mkdir] Created dir: D:\workspace\L2JTeon-Project\L2JTeon\build\dist
[mkdir] Created dir: D:\workspace\L2JTeon-Project\L2JTeon\build\dist\L2JTeon_login
[mkdir] Created dir: D:\workspace\L2JTeon-Project\L2JTeon\build\dist\L2JTeon_gameserver
version:
compile:
[javac] Compiling 1398 source files to D:\workspace\L2JTeon-Project\L2JTeon\build\classes
[javac] D:\workspace\L2JTeon-Project\L2JTeon\java\net\sf\l2j\gameserver\handler \voicedcommandhandlers\PlayersWithdrawCWH.java:36: warning: unmappable character for encoding UTF8
Alguém saberia o que seria isso? Sugestões?

Aqui ta o arquivo voicedcommandhandlers:

Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
* This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see <http://www.gnu.org/licenses/>.
 */
package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import net.sf.l2j.Config;
import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

/**
 * VoicedCommand Handler Allows clan leaders the power allow clan members withdraw items from clan warehouse. Syntax : .cwh_withdraw_on/off Author : Sergey V Chursin WWW : www.gludin.ru Email : schursin@gmail.com
 */
public class PlayersWithdrawCWH implements IVoicedCommandHandler
{
	private static final String[] VOICED_COMMANDS = { "cwh_withdraw_on", "cwh_withdraw_off" };

	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String targetTxt)
	{
		if (!command.startsWith("cwh_withdraw_on") && !command.startsWith("cwh_withdraw_off"))
		{
			return false;
		}
		if (!Config.ALLOW_WITHDRAW_CWH_CMD)
		{
			activeChar.sendMessage("Êîìàíäà îòêëþ÷åíà àäìèíèñòðàòîðîì.");
			return true;
		}
		if (!activeChar.isClanLeader())
		{
			activeChar.sendMessage("Âû íå ìîæåòå èñïîëüçîâàòü ýòó êîìàíäó! Âû íå êëàí ëèäåð.");
			return true;
		}
		if (activeChar.getTarget() == null)
		{
			activeChar.sendMessage("Ïåðåä èñïîëüçîâàíèåì êîìàíäû - âûáåðèòå èãðîêà.");
			return true;
		}
		if (!(activeChar.getTarget() instanceof L2PcInstance))
		{
			activeChar.sendMessage("Ïåðåä èñïîëüçîâàíèåì êîìàíäû - âûáåðèòå èãðîêà.");
			return true;
		}
		L2PcInstance target = (L2PcInstance) activeChar.getTarget();
		if (activeChar.getObjectId() == target.getObjectId())
		{
			activeChar.sendMessage("Âû è òàê èìååòå ïîëíûé äîñòóï ê êëàí-ñêëàäó.");
			return true;
		}
		if (activeChar.getClanId() != target.getClanId())
		{
			activeChar.sendMessage("Âûáåðèòå èãðîêà èç ñâîåãî êëàíà.");
			return true;
		}
		if (command.startsWith("cwh_withdraw_on"))
		{
			target.setCanWithdrawCWH(1);
			activeChar.sendMessage(target.getName() + " ïîëó÷èë ïîëíûé äîñòóï ê êëàí-ñêëàäó.");
			target.sendMessage("Êëàí ëèäåð ðàçðåøèë âàì ïîëíûé äîñòóï ê êëàí-ñêëàäó.");
		}
		else if (command.startsWith("cwh_withdraw_off"))
		{
			target.setCanWithdrawCWH(0);
			activeChar.sendMessage(target.getName() + " ëèøåí ïîëíîãî äîñòóïà ê êëàí-ñêëàäó.");
			target.sendMessage("Êëàí ëèäåð ëèøèë âàñ ïîëíîãî äîñòóïà ê êëàí-ñêëàäó.");
		}
		return true;
	}

	public String[] getVoicedCommandList()
	{
		return VOICED_COMMANDS;
	}
}

out está offline   Responder com Citação
Links Patrocinados
 

Search Engine Optimization by vBSEO 3.3.0