Skip to content

[question] adapt this import

Featured Replies

hello mxc i wanted to ask you a question to be sure.

 

import net.sf.l2j.gameserver.model.L2Skill;

 

in freya l2j server this import is this?

com.l2jserver.gameserver.templates.skills.L2SkillType

 

or this

com.l2jserver.gameserver.model.L2Skill

 

thanks for reply!

l2skilltype is something different from l2skill.

its this

com.l2jserver.gameserver.model.L2Skill

  • Author

l2skilltype is something different from l2skill.

its this

com.l2jserver.gameserver.model.L2Skill

 

sorry forget to place a portion of import at the end. I wanted to ask was which.

import net.sf.l2j.gameserver.model.L2Skill.SkillType;

 

then this is

com.l2jserver.gameserver.templates.skills.L2SkillType

or not?

  • Author

i need some help with adapt this to l2jserver freya.

 

Index: java/net/sf/l2j/gameserver/GameServer.java
===================================================================
--- java/net/sf/l2j/gameserver/GameServer.java	(revision 5263)
+++ java/net/sf/l2j/gameserver/GameServer.java	(working copy)
@@ -199,6 +199,7 @@
import net.sf.l2j.gameserver.handler.usercommandhandlers.PartyInfo;
import net.sf.l2j.gameserver.handler.usercommandhandlers.Time;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.Wedding;
+import net.sf.l2j.gameserver.handler.voicedcommandhandlers.sellbuff;
import net.sf.l2j.gameserver.handler.voicedcommandhandlers.stats;
import net.sf.l2j.gameserver.idfactory.IdFactory;
import net.sf.l2j.gameserver.instancemanager.AuctionManager;
@@ -592,6 +593,7 @@

		_voicedCommandHandler = VoicedCommandHandler.getInstance();
		_voicedCommandHandler.registerVoicedCommandHandler(new stats());
+		_voicedCommandHandler.registerVoicedCommandHandler(new sellbuff());

		if(Config.L2JMOD_ALLOW_WEDDING)
			_voicedCommandHandler.registerVoicedCommandHandler(new Wedding());

I have no idea how to adapt to the gameserver.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.