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

    • Very nice attempt and good luck with your sales.   Don't let the voices in this topic discourage you. Most of those people are just flexing. So if Celestine decides to write a bootkit or hook system calls or whatever and false-feed your anti-cheat fake info just because it sits in user mode just to go play in a private server with 100 people, I'll tell you one thing:   Who the fuck cares ... 😛   The average player won't / can't make these things, the big players like adrenaline won't bother (yet) (they don't have signed drivers do they ? They also run in user mode I believe). And even if they somehow manage to do so, there's a minority of players who would trust putting this thing on their pc. I wouldn't let anyone tamper with my kernel mode even if he had a signed certificate from Microsoft.    Also, in a scene where collusion has been brought out between bot makers and cheat guards, having many options is a blessing regardless of their strength. It makes colusion, conflict of interest and cartel more difficult, it drains from cheating software creators more resources to focus on more cheat guards, and it gives server owners plurality.    This arms race is a numbers game, you stop 90% of the cheaters you add value to all of us.    A couple of senior devs flexing their powers in a forum are not a concern.   If i'd ever make a server, I would definitelly buy from you, not because you have the best anti-cheat, but because you are not well known yet to be the focus of counter measures.     
    • TILL OPENING LEFT LESS THAN - 2 DAYS ! GRAND OPENING FROM - 10/07/2026, FRIDAY, 20:00 +3 GMT !
    • Add me on discord, lets talk   Discord: splicho
    • Add more information about your project, client, rates etc, this can help you find a developer more easily on your needs!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..