explain me please

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
mangdar
Posts: 68
Joined: Tue May 11, 2010 7:22 am

explain me please

Post by mangdar »

I'm new begin for L2server.
can you explain me how different of import net.sf.l2j.gameserver and import com.l2jserver.gameserver?

Ex.
import net.sf.l2j.gameserver.xxxxxxx;
import com.l2jserver.gameserver.model.xxxxxxx;

Thank you
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7008
Joined: Tue Aug 11, 2009 3:36 am

Re: explain me please

Post by Zoey76 »

net.sf.l2j.gameserver is the packet declaration for Gracia Final and previous L2J revisions.
And com.l2jserver.gameserver is the current declaration for Freya also it was for Epilogue.

If you are moving code from Gracia Final to Epilogue or Freya you can try replace those declarations, if you are using Eclipse you can try deleting the whole line and go to the suggestions tool tips how to fix that unknown type/class/method and click on Import ClassName.java from...
Powered by Eclipse 4.34 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.3.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
mangdar
Posts: 68
Joined: Tue May 11, 2010 7:22 am

Re: explain me please

Post by mangdar »

Thank you zoey
Post Reply