Jump to content
  • 0

Compile Error


ciortas

Question

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;
	}
}
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • not just a waste of time ..even waste of money ...  
    • Heya! I was looking for someone who can provide me with any solution for FPS increase on Interlude Client. I was interested in a working Clear Cache button and/or any patch that will increase the FPS of each player. Playing on Interlude for many years now, I can understand that a crowded place will drop your FPS by a lot which is making the game unplayable and unenjoyable. For example, Baium Epic Boss always had issues (not only) with FPS drops sometimes players are playing with pixels (images). If anyone has the expertise and knowledge about those things I would like him to contact me via Discord xthedarknessfear so we can discuss further because I obviously have some questions about Client Modification and how it's done. Will not answer anything here, hit me up on disc and let's discuss it! P.S: I'm also looking for a custom simple interface (small edits). If you can do both, you are my guy! Cheers!
    • //request   Can anyone rework this for aCis 401? personally, one of the best features to have in a L2 server.
    • i have this feature: https://prnt.sc/rD9BYOi7QPB6 there is edited interface and one dll to make it working.
    • Whatever @Tryskell said...   Unfortunately it is not 2005-2010 anymore... Most of the community from those days is "grown up" and probably does not play games anymore (or at least no MMOs). I think anything related to MMOs will be a nail in the coffin.   I understand that it is hard to let the thing you've built for years to "just die". I assume most people got into programming, so maybe you can try something in that direction. But then again, this is a very niche community.   We need to think of something to bring the people together. I think events may be really fun, but then you would probably need to add prizes n order for the people to participate.   So yea, just my 2 cents. Hopefully somebody can come up with some great idea so we can revive this place. I've already forgotten it for the last couple (5-6) years...
  • Topics

×
×
  • Create New...