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.


  • Posts

    • 🔶🔶🔶 LIMITED OFFERS EXPIRE 30th JUNE, COMPLETE L2 SERVER PACKS WITH ADDONS 🔶🔶🔶  Athena Project 🔥 June Offers for creating your successful server!   🔸 Interlude Custom PvP Servers: range from 199€ - 799€ 🔸 Interlude No Custom PvP Servers: range from 599€ - 999€ 🔸 Highfive No Custom Low/Mid/PvP Servers: range from 599€ - 999€   📌 All our packs include in this offer: Dedicated Server ✓ DDoS Protection ✓ Web Hosting ✓ Domain Name ✓ Website Design ✓ Automated Donation Panel ✓ Support 2 Weeks ✓ Free Installation and Guide ✓ Delivery in 48 hours ✓   Check our new offers here: https://athena-project.eu/l2j-packs
    • Welcome to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 60.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119 Welcome to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 60.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119 ULTRAS Store Back again For Discord Accounts With Cheap Prices    🎃 AGED OLD DISCORD ACCOUNTS [ AUTO-BUY ] 🎃   Ful Acces   INSTANT DELIVERY   2015 Discord Account : 50.99 $   2016 Discord Account : 10 $   2017 Discord Account :3.99 $   2018 Discord Account : 2.99 $   2019 Discord Account : 2.50$   2020 Discord Account :1.50$   2021 Discord Account :0.99$   2022 Discord Account :0.70$   PAYMENT METHODS : CRYPTO / paypal   You can buy here From our Store : ultrasstore11.mysellix.io   Or from my Telegram user :https://t.me/ultrastore11   Or from my Discord user : @ULTRASstore11 ULTRAS Store Back again For Discord Accounts With Cheap Prices     AGED OLD DISCORD ACCOUNTS [ AUTO-BUY ]    Ful Acces   INSTANT DELIVERY   2015 Discord Account : 50.99 $   2016 Discord Account : 10 $   2017 Discord Account :3.99 $   2018 Discord Account : 2.99 $   2019 Discord Account : 2.50$   2020 Discord Account :1.50$   2021 Discord Account :0.99$   2022 Discord Account :0.70$   PAYMENT METHODS : CRYPTO / paypal   You can buy here From our Store : ultrasstore11.mysellix.io   Or from my Telegram user :https://t.me/ultrastore11
    • Sorry for such late reply. But extender in this build is just bad. It will give you this random error and shut down your server once a day, maybe more often. And since we don't have any source code of it, the solution is to remove it from the L2Server.exe file. You can do it yourself with CFF_Explorer app. Or download mine with already removed extender. No more random shut downs. The only downside is you gonna lose auto loot ability.  L2Server.exe without extender
  • Topics

×
×
  • Create New...