Jump to content
  • 0

[help] need someone ho explain about importing system.


Question

Posted

hello my friends ;).. i have question how the importing system works ? like for example for buffer first lines in __init__ file you add something like this

 

from com.l2jfree.gameserver.model.actor.instance import L2PcInstance

 

so that means he look the information about that code in these folders

com.l2jfree.gameserver.model.actor.instance

com/l2jfree/gameserver/model/actor/instance

but if i don't have that kind of folder in my server folders?

or he reads them from .jar files?

1 answer to this question

Recommended Posts

  • 0
Posted

Its reading those classes from core - and its .jar file.

 

To make sure that your imports are correct, compare them with class pathes from core.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...