Jump to content
  • 0

Compile Error


Question

Posted

eclipse compile error

Buildfile: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build.xml
clean:
   [delete] Deleting directory C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build
checkRequirements:
     [echo] Verification of your JDK version.
version:
     [echo] aCis gameserver revision: exported
init:
    [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build
    [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\classes
    [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\dist
    [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\dist\login
    [mkdir] Created dir: C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\dist\gameserver
compile:
    [javac] Compiling 1309 source files to C:\Users\Sario\workspace\aCis_300\aCis_gameserver\build\classes
    [javac] C:\Users\Sario\workspace\aCis_300\aCis_gameserver\java\net\sf\l2j\gameserver\handler\voicedcommandhandlers\Online.java:26: error: Online is not abstract and does not override abstract method useVoicedCommand(String,L2PcInstance) in IVoicedCommandHandler
    [javac] public class Online implements IVoicedCommandHandler
    [javac]        ^
    [javac] 1 error

online.java

package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import java.util.StringTokenizer;
import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

/**
*
* @author
*/
public class Online implements IVoicedCommandHandler
{
	private static String[] _voicedCommands =
	{
		"online"
	};


	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
	{
		if(command.equalsIgnoreCase("online"))
		{
			activeChar.sendMessage("======<Status Online>======");
			activeChar.sendMessage("Players Online: " + L2World.getInstance().getAllPlayers().size() + "");
			activeChar.sendMessage("=======================");
		}
		return true;
	}


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

9 answers to this question

Recommended Posts

  • 0
Posted

Do NOT checkout/import your source like a trunk, import both of them(gs & dp) one by one. Like that eclipse may help you with these errors before the compiling.

  • 0
Posted

Trance if you can post more info about your advice,

 

Eclipse can help you in real time, but for that you need to import them as projects. For instance you have imported the whole aCis_300 folder "C:\Users\Sario\workspace\aCis_300" instead of 1 by 1, something like that "C:\Users\Sario\workspace\aCis_gameserver", "C:\Users\Sario\workspace\aCis_datapack". with these two projects in eclipse.

 

http://www.youtube.com/watch?v=3gQ2yYH-F1Q

  • 0
Posted

Thanks to everyone who helps to solve the problem, but a problem with voicedcommandhandler, I am a novice and still can not install the voiced commands  in acis .

  • 0
Posted (edited)

Thanks to everyone who helps to solve the problem, but a problem with voicedcommandhandler, I am a novice and still can not install the voiced commands  in acis .

Ok create a new topic.

Edited by Nikoloudos7
Guest
This topic is now closed to further replies.


  • Posts

    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 冬天是享受优惠、省钱的好时机。 首次下单时使用促销码 SOCNET 即可获得 15% 折扣 ,适用于全场商品! 前往商店(网站) 前往商店(Telegram 机器人)
    • Winter is the time to save with benefits. Activate the promo code SOCNET on your first order and get a 15% discount on the entire assortment! Go to the store (website) Go to the store (Telegram bot)
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock