Jump to content

Recommended Posts

Posted

i have this error when i compile,its from register:

    [javac] Compiling 1264 source files to C:\Users\george\workspace\L2Dot\trunk\L2Dot_IL_GameServer\build\classes

    [javac] C:\Users\george\workspace\L2Dot\trunk\L2Dot_IL_GameServer\java\com\l2dot\gameserver\handler\VoicedCommandHandler.java:66: cannot find symbol

    [javac] symbol  : class Heal

    [javac] location: class com.l2dot.gameserver.handler.VoicedCommandHandler

    [javac]   registerVoicedCommandHandler(new Heal());

    [javac]                                   ^

    [javac] 1 error

can help me?

Posted

i have this error when i compile,its from register:

can help me?

 

Where is the dificult think? the error it saw you ... just register the voice command...

 

At VoicedCommandHandler.java ...

 

 

Posted

i registered it,here:

if(Config.BANKING_SYSTEM_ENABLED)

registerVoicedCommandHandler(new Banking());

        registerVoicedCommandHandler(new Heal());

  _log.config("VoicedCommandHandler: Loaded " + _datatable.size() + " handlers.");

 

is that right?

Posted

this is the code voicedcommandhandler:

 

/*

* 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 2, 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, write to the Free Software

* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA

* 02111-1307, USA.

*

* http://www.gnu.org/copyleft/gpl.html

*/

package com.l2dot.gameserver.handler;

 

import java.util.Map;

import java.util.logging.Logger;

 

import com.l2dot.Config;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Away;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Banking;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Cl;

import com.l2dot.gameserver.handler.voicedcommandhandlers.OnlinePlayers;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Res;

import com.l2dot.gameserver.handler.voicedcommandhandlers.VoiceInfo;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Wedding;

import com.l2dot.gameserver.handler.voicedcommandhandlers.pmoff;

import com.l2dot.gameserver.handler.voicedcommandhandlers.stat;

import com.l2dot.gameserver.handler.voicedcommandhandlers.stats;

import com.l2dot.gameserver.handler.voicedcommandhandlers.tradeoff;

import com.l2dot.gameserver.handler.voicedcommandhandlers.tvtcmds;

import com.l2dot.gameserver.handler.voicedcommandhandlers.version;

 

import javolution.util.FastMap;

 

/**

* This class ...

*

* @version $Revision: 1.1.4.5 $ $Date: 2005/03/27 15:30:09 $

*/

public class VoicedCommandHandler

{

private static Logger _log = Logger.getLogger(ItemHandler.class.getName());

 

private static VoicedCommandHandler _instance;

 

private Map<String, IVoicedCommandHandler> _datatable;

 

public static VoicedCommandHandler getInstance()

{

if (_instance == null)

{

_instance = new VoicedCommandHandler();

}

return _instance;

}

 

private VoicedCommandHandler()

{

_datatable = new FastMap<String, IVoicedCommandHandler>();

  registerVoicedCommandHandler(new stats());

if(Config.L2JMOD_ALLOW_WEDDING)

  registerVoicedCommandHandler(new Wedding());

if(Config.ALLOW_RES_COMMAND)

      registerVoicedCommandHandler(new Res()); 

  if (Config.ALLOW_AWAY_STATUS)

                {

                        registerVoicedCommandHandler(new Away());

                }

if(Config.ALLOW_TRADEOFF_COMMAND)

        registerVoicedCommandHandler(new tradeoff()); 

if(Config.ALLOW_CLAN_LEADER_COMMAND)

        registerVoicedCommandHandler(new Cl()); 

if(Config.ALLOW_INFO_COMMAND)

registerVoicedCommandHandler(new VoiceInfo());

if(Config.ALLOW_TVTCMDS_COMMAND)

registerVoicedCommandHandler(new tvtcmds());  

if (Config.ALLOW_STAT_COMMAND)

registerVoicedCommandHandler(new stat()); 

if (Config.ALLOW_VERSION_COMMAND)

registerVoicedCommandHandler(new version());

if(Config.ALLOW_PLAYERS_REFUSAL)

registerVoicedCommandHandler(new pmoff());

if(Config.ONLINE_VOICE_ALLOW)

registerVoicedCommandHandler(new OnlinePlayers());

if(Config.BANKING_SYSTEM_ENABLED)

registerVoicedCommandHandler(new Banking());

  registerVoicedCommandHandler(new Heal());

  _log.config("VoicedCommandHandler: Loaded " + _datatable.size() + " handlers.");

}

 

    public void registerVoicedCommandHandler(IVoicedCommandHandler handler)

{

String[] ids = handler.getVoicedCommandList();

for (int i = 0; i < ids.length; i++)

{

if (Config.DEBUG) _log.fine("Adding handler for command "+ids);

_datatable.put(ids, handler);

}

}

 

public IVoicedCommandHandler getVoicedCommandHandler(String voicedCommand)

{

String command = voicedCommand;

if (voicedCommand.indexOf(" ") != -1) {

command = voicedCommand.substring(0, voicedCommand.indexOf(" "));

}

if (Config.DEBUG)

_log.fine("getting handler for command: "+command+

" -> "+(_datatable.get(command) != null));

return _datatable.get(command);

}

 

    /**

    * @return

    */

    public int size()

    {

        return _datatable.size();

    }

}

 

?

Posted

try this;

 

/*

* 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 2, 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, write to the Free Software

* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA

* 02111-1307, USA.

*

* http://www.gnu.org/copyleft/gpl.html

*/

package com.l2dot.gameserver.handler;

 

import java.util.Map;

import java.util.logging.Logger;

 

import com.l2dot.Config;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Away;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Banking;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Cl;

import com.l2dot.gameserver.handler.voicedcommandhandlers.OnlinePlayers;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Res;

import com.l2dot.gameserver.handler.voicedcommandhandlers.VoiceInfo;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Wedding;

import com.l2dot.gameserver.handler.voicedcommandhandlers.pmoff;

import com.l2dot.gameserver.handler.voicedcommandhandlers.stat;

import com.l2dot.gameserver.handler.voicedcommandhandlers.stats;

import com.l2dot.gameserver.handler.voicedcommandhandlers.tradeoff;

import com.l2dot.gameserver.handler.voicedcommandhandlers.tvtcmds;

import com.l2dot.gameserver.handler.voicedcommandhandlers.version;

import com.l2dot.gameserver.handler.voicedcommandhandlers.Heal;

 

import javolution.util.FastMap;

 

/**

* This class ...

*

* @version $Revision: 1.1.4.5 $ $Date: 2005/03/27 15:30:09 $

*/

public class VoicedCommandHandler

{

  private static Logger _log = Logger.getLogger(ItemHandler.class.getName());

 

  private static VoicedCommandHandler _instance;

 

  private Map<String, IVoicedCommandHandler> _datatable;

 

  public static VoicedCommandHandler getInstance()

  {

      if (_instance == null)

      {

        _instance = new VoicedCommandHandler();

      }

      return _instance;

  }

 

  private VoicedCommandHandler()

  {

      _datatable = new FastMap<String, IVoicedCommandHandler>();

        registerVoicedCommandHandler(new stats());

        registerVoicedCommandHandler(new Heal());

      if(Config.L2JMOD_ALLOW_WEDDING)

        registerVoicedCommandHandler(new Wedding());

      if(Config.ALLOW_RES_COMMAND)

        registerVoicedCommandHandler(new Res());

        if (Config.ALLOW_AWAY_STATUS)

                                {

                                    registerVoicedCommandHandler(new Away());

                                }

      if(Config.ALLOW_TRADEOFF_COMMAND)

          registerVoicedCommandHandler(new tradeoff());

      if(Config.ALLOW_CLAN_LEADER_COMMAND)

          registerVoicedCommandHandler(new Cl()); 

      if(Config.ALLOW_INFO_COMMAND)

        registerVoicedCommandHandler(new VoiceInfo());

      if(Config.ALLOW_TVTCMDS_COMMAND)

        registerVoicedCommandHandler(new tvtcmds());     

      if (Config.ALLOW_STAT_COMMAND)

        registerVoicedCommandHandler(new stat()); 

      if (Config.ALLOW_VERSION_COMMAND)

        registerVoicedCommandHandler(new version());

      if(Config.ALLOW_PLAYERS_REFUSAL)

        registerVoicedCommandHandler(new pmoff());

      if(Config.ONLINE_VOICE_ALLOW)

        registerVoicedCommandHandler(new OnlinePlayers());

      if(Config.BANKING_SYSTEM_ENABLED)

        registerVoicedCommandHandler(new Banking());

        _log.config("VoicedCommandHandler: Loaded " + _datatable.size() + " handlers.");

  }

 

    public void registerVoicedCommandHandler(IVoicedCommandHandler handler)

  {

      String[] ids = handler.getVoicedCommandList();

      for (int i = 0; i < ids.length; i++)

      {

        if (Config.DEBUG) _log.fine("Adding handler for command "+ids);

        _datatable.put(ids, handler);

      }

  }

 

  public IVoicedCommandHandler getVoicedCommandHandler(String voicedCommand)

  {

      String command = voicedCommand;

      if (voicedCommand.indexOf(" ") != -1) {

        command = voicedCommand.substring(0, voicedCommand.indexOf(" "));

      }

      if (Config.DEBUG)

        _log.fine("getting handler for command: "+command+

              " -> "+(_datatable.get(command) != null));

      return _datatable.get(command);

  }

 

    /**

    * @return

    */

    public int size()

    {

        return _datatable.size();

    }

}

 

Posted

i have this error:

 

compile:

    [javac] Compiling 1263 source files to C:\Users\george\workspace\L2Dot\trunk\L2Dot_IL_GameServer\build\classes

    [javac] C:\Users\george\workspace\L2Dot\trunk\L2Dot_IL_GameServer\java\com\l2dot\gameserver\handler\VoicedCommandHandler.java:104: put(java.lang.String,com.l2dot.gameserver.handler.IVoicedCommandHandler) in java.util.Map<java.lang.String,com.l2dot.gameserver.handler.IVoicedCommandHandler> cannot be applied to (java.lang.String[],com.l2dot.gameserver.handler.IVoicedCommandHandler)

    [javac]          _datatable.put(ids, handler);

    [javac]                    ^

    [javac] 1 error

Posted

i have this error:

 

 

omg man... go there IVoicedCommandHandler.java and see what's wrong....

 

WTF You want all ready?

 

//The End

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • L2-LORENA x100 MID RATE   Interlude Nostalgia Meets Modern Gameplay   OFFICIAL OPENING:  April 4 (Saturday)  19:00 UTC+1 ⸻  MAIN INFORMATION  Adena: x5  Drop: x10  Spoil: x10  Raid Boss: x10  Seal Stones: x2  Quests: x10 ⸻  FEATURES  GM Shop up to B-Grade  Full Buffer  Premium System (x2 bonuses)  AutoFarm – FREE for everyone ⸻  SERVER CONCEPT  Classic Interlude nostalgia  Enhanced with modern interface & mechanics  Balanced PvP & PvE gameplay  Active development & custom features ⸻  WHY JOIN L2-LORENA?  No Pay-to-Win  Smooth gameplay & stable server  Competitive PvP environment  Friendly & active community ⸻  JOIN US NOW L2-LORENA 100X <<< LINK Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr   L2-LORENA Link << Discord: https://discord.gg/TYZ88Tgx4b  Facebook: https://www.facebook.com/share/18kwbkaYZY/?mibextid=wwXIfr
    • https://web.archive.org/web/20260306183214/https://maxcheaters.com/topic/241828-l2j-l2damage/page/3/ https://l2topzone.com/forum/l2-server-support-problems/9/l2damage-stopped/30514 Also we will try to push longer seasons ever ! (1135-100)/9 = 115 online
    • ONE SIDE – AND EVERYTHING BREAKS ▪ Looks like a simple case: Florida DL, back side, barcode – “clean and minimal”. ▪ In reality, these are exactly the tasks that fail most often. – data provided as plain text – request only for the back side – focus on the barcode (PDF417) ▪ And here’s the key point: ▪ A barcode is not just a “picture on the back”. It’s compressed logic of the entire document. ▪ If it doesn’t match the front, format, and data structure – the system flags it instantly. ▪ Many create a “similar-looking” code. But systems don’t read “similar” – they read by specification. ▪ In cases like this, it’s not about design. It’s about correct data assembly and how it behaves inside the format. ▪ Today only – 15% off for verification cases. ▪ Want it to pass, not just look right? Describe your case – we’ll show where even clean files break. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #editing #photoshop #documents #verification #case
  • 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..