Jump to content
  • 0

[help] Npc Stuck Subclass ERROR - Interlude


claww

Question

10 answers to this question

Recommended Posts

  • 0

all imported files

import sys
from java.lang import System
from java.util import Iterator
from com.l2jfrozen.util.database import L2DatabaseFactory
from com.l2jfrozen.gameserver.model.quest import State
from com.l2jfrozen.gameserver.model.quest import QuestState
from com.l2jfrozen.gameserver.model.quest.jython import QuestJython as JQuest
from com.l2jfrozen.gameserver.network.serverpackets import CharInfo
from com.l2jfrozen.gameserver.network.serverpackets import UserInfo
from com.l2jfrozen.gameserver.network.serverpackets import SetupGauge
from com.l2jfrozen.gameserver.model.base import ClassId
from com.l2jfrozen.gameserver.datatables.xml import ExperienceData
from com.l2jfrozen.gameserver.model.actor.instance import L2PcInstance
from com.l2jfrozen.gameserver.datatables import SkillTable
from com.l2jfrozen.gameserver.datatables.sql import SkillTreeTable
from com.l2jfrozen.gameserver.model import L2Skill

 

if i try import

from com.l2jfrozen.gameserver.model.base import Experience

i get error... 

ImportError: cannot import name Experience

npc work if i set it to dont delevel...  but i wanna make it to delevel after adding subclass

Link to comment
Share on other sites

  • 0

Dude, L2JFrozen changed Experience system (you can to thank / curse Zoey for this).

 

As you can see Experience.java doesn't exist anymore, it's ExperienceData. You have to find the method to calculate needed XP according to level, it's probably existing under another format.

Link to comment
Share on other sites

  • 0

Dude, L2JFrozen changed Experience system (you can to thank / curse Zoey for this).

 

As you can see Experience.java doesn't exist anymore, it's ExperienceData. You have to find the method to calculate needed XP according to level, it's probably existing under another format.

 

do you have any ideea  how to do it ?

Link to comment
Share on other sites

  • 0

You open the file I said, and you read / try to udnerstand method names.

 

On latest L2J, there is the following :

ExperienceTable.getInstance().getExpForLevel(

Link to comment
Share on other sites

  • 0

You open the file I said, and you read / try to udnerstand method names.

 

On latest L2J, there is the following :

ExperienceTable.getInstance().getExpForLevel(

 

yeah.. i tryed but failed... damn...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock