Jump to content

[Updated][Share] Subclass Master Multi Skills by Allen (Interlude-H5)


Recommended Posts

Posted

hehehe

 

change this code:

elif info[1]!= player.getClassIndex(): return ERRORS_HTML(st,"13",even1)

 

to this:

elif info[1]!= player.getClassIndex(): return ERRORS_HTML(st,"13","0")

 

 

and now it works fine:)

 

Allen added this fix but first fijate if well what I did.

Thanks, yeah this line have a error, but the right fix is this:

elif info[1]!= player.getClassIndex(): return ERRORS_HTML(st,"13","event1")

 

I forgot the "t" xD even1 /= event1

 

Btw i havent the error bellow, did you change something?

i have find a new error in gameserver console.

 

This error refers to this line of code:

        elif event == "dorestart":
            if player.isTeleporting():
                player.abortCast()
                player.setIsTeleporting(false)
            if player.getActiveRequester() != None:
                player.getActiveRequester().onTradeCancel(player)
                player.onTradeCancel(player.getActiveRequester())
            if player.isFlying():
                player.removeSkill(SkillTable.getInstance().getInfo(4289, 1))
                st.exitQuest(1)
            client = player.getClient()
            player.setClient(None)
            player.deleteMe()
            client.setActiveChar(None)
            client.setState(GameClientState.AUTHED)
            client.sendPacket(RestartResponse.valueOf(True))
            cl = CharSelectionInfo(client.getAccountName(), client.getSessionId().playOkID1)
            client.sendPacket(cl)
            client.setCharSelection(cl.getCharInfo())
            return

and this is the error:

C:\Server\game\data\scripts\custom\855_SubclassNpc\__init__.py
Traceback (innermost last):
  File "__init__.py", line 589, in onAdvEvent
AttributeError: 'NoneType' object has no attribute 'setActiveChar'

        at org.python.core.Py.AttributeError(Unknown Source)
        at org.python.core.PyObject.noAttributeError(Unknown Source)
        at org.python.core.PyObject.__getattr__(Unknown Source)
        at org.python.core.PyObject.invoke(Unknown Source)
        at org.python.pycode.serializable._pyx1322229720855.onAdvEvent$32(__init
__.py:580)
        at org.python.pycode.serializable._pyx1322229720855.call_function(__init
__.py)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyTableCode.call(Unknown Source)
        at org.python.core.PyFunction.__call__(Unknown Source)
        at org.python.core.PyMethod.__call__(Unknown Source)
        at org.python.core.PyObject.__call__(Unknown Source)
        at org.python.core.PyObject._jcallexc(Unknown Source)
        at org.python.core.PyObject._jcall(Unknown Source)
        at org.python.proxies.main$Quest$386.onAdvEvent(Unknown Source)
        at com.l2jserver.gameserver.model.quest.Quest.notifyEvent(Quest.java:468
)
        at com.l2jserver.gameserver.model.quest.QuestTimer$ScheduleTimerTask.run
(QuestTimer.java:43)
        at com.l2jserver.gameserver.ThreadPoolManager$RunnableWrapper.run(Thread
PoolManager.java:86)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Traceback (innermost last):
  File "__init__.py", line 589, in onAdvEvent
AttributeError: 'NoneType' object has no attribute 'setActiveChar'

Posted

Thanks, yeah this line have a error, but the right fix is this:

elif info[1]!= player.getClassIndex(): return ERRORS_HTML(st,"13","event1")

 

I forgot the "t" xD even1 /= event1

 

Btw i havent the error bellow, did you change something?

 

hahaha you are the programmer :p I'm still a novice xD

 

I will add event1 would believe that the error is due to the change (of course fix xD)

 

then come back and report

 

thanks

 

P/D:

look, I use the most of your scripts, modifications are made ​​to l2jserver with some of your scripts and few. but I have a very serious problem with the freezing of the players might see this issue?

post:

http://maxcheaters.com/forum/index.php?topic=225499.0

  • 2 weeks later...
  • 4 weeks later...
Posted

heya! nice update, little more difficult for me to edit it, but well, nice works.

Just a request, you added a list for disabled somes class, but can u add a list for allow only somes class for somes races?

Ex: before ur update, i added the class tyran only for dwarf race, and added BD only for sws (and sws for bd), but with the H5 version i dont know how add them...

thx

  • 4 weeks later...
Posted

[Hidden post: You need 50 posts to see it. You currently have 90.]

 

Hi guys, well this is my first share, is a Stackable subclass NPC, Made by me :P. This is not a AIO Grand Master that let add original game subclasses. Really this npc let stack skills from choose subclass to the Main or Retail class. Besides it let switch or delete these subclasses if you want. Also Has a system that automatically check and reset the skills that not belong to the choose classes, before taking any action.

 

BTW take some time to read the settings options into the script, so you can set the NPC to your liking.

#-------------------------------------------------------------------------------------------------------------------------------------
# SETTINGS
#-------------------------------------------------------------------------------------------------------------------------------------
#For more than 3 subclasses, you must increase the variable number into the SQL and add to the database. 
#inside the sql you will find some variables named SubclassidX. Just change the "X" increasing the number. 
#This value shouldn't be changed if you don't want to increase the subclasses number beyond 3. 
#Increase or decrease the "CONFIG_MAX_SUBS_IN_DB" value without make these changes, will cause errors. Be carefull!.
CONFIG_MAX_SUBS_IN_DB = 3

# Subclasses number that can be added. Must be less than or equal to "CONFIG_MAX_SUBS_IN_DB".
CONFIG_MAX_SUBS_A-beep-T = 3

#True, allows reloading the configuration script from the game, without restarting the server (for GMs only). False, disables it.
CONFIG_SHOW_RELOAD_PANEL = True

# True enable restart protection. Recommended Default: True
CONFIG_ENABLE_RESTART_PROTECTION = True

# Delay time in seconds before being restarted automatically. Not recommended a number bellow to 5 seconds. Default: 5 seconds
CONFIG_RESTART_TIME_PROTECTION = 10

# True: The user must wait a while before take any action. Default: True
# False: The user can do any action without time constraints. Not recommended
CONFIG_ENABLE_FLOOD_PROTECTION = True

#Blocking time in seconds before take any action.
CONFIG_FLOOD_PROTECTION_TIME = 20

#Subclass list that won't be able to choose. Default: [] Overlord and Warsmith
CONFIG_FORBBIDEN_SUBCLASSES = [57,51]

# True, allows add stackable subclasses in every original game subclass (Mainclass and every retails).
# False, allows add stackable subclasses in only one original game subclass or main class
CONFIG_ALLOW_MULT_SUBS = False

# True, allows any stackable subclass. False, allows add your own race's subclasses only.
CONFIG_UNLOCK_SUBS_FOR_EVERY_RACE = True

#This option work if "CONFIG_UNLOCK_SUBS_FOR_EVERY_RACE = False", Also you need to be using a original game subclass (Retail) to get available this.
#True, allow add a subclass with the same main class's race. False, allow add a subclass with the same Retail's race.
CONFIG_ALLOW_MUTANT_RETAIL = True

#The next three options work if "CONFIG_UNLOCK_SUBS_FOR_EVERY_RACE = True" only.
#True, allows everybody add Kamael subclass. False otherwise.
CONFIG_UNLOCK_KAMAEL_FOR_EVERY_RACE = False

#True, allows Dark Elf class do elf subclass, and Elf class do Dark Elf Subclass. False otherwise.
CONFIG_ALLOW_DELF_AND_ELF_EXCHANGE_SUBS = False

#True, allows Kamaels add any subclass. False, allows Kamaels to add their own race only.
CONFIG_UNLOCK_ALL_SUBS_FOR_KAMAEL = False

#True, allows delete the main class or any subclass added. False, allow to delete added subclasses only. Default: False
CONFIG_ALLOW_DELETE_MAIN_CLASS = False

#Allow to add subclasses already used in the original game subclasses (Retail). Default: False
CONFIG_ALLOW_SUBCLASS_DUPLICATION = False

#True, allows add subsclasses if the character is a Noblesse only. False, otherwise. Default: False
CONFIG_ALLOW_SUBS_FOR_NOBLESSE_ONLY = False

#True, allow to add subclass or any other actions if you have the required items only. False, otherwise
CONFIG_ENABLE_FEE_FOR_SUBCLASS = True

#Required Item to switch between the subclasses. Default: 57 (Adena)
#Required items number.
CONFIG_SWITCH_ITEM_REQUIRED = 57
CONFIG_SWITCH_ITEM_A-beep-T = 1000000

#Required Item to add a subclass.
#Required items number.
CONFIG_ADD_ITEM_REQUIRED = 3481
CONFIG_ADD_ITEM_A-beep-T = 100

#Required Item to delete subclasses.
#Required items number.
CONFIG_DELETE_ITEM_REQUIRED = 3481
CONFIG_DELETE_ITEM_A-beep-T = 10

# Minimum Level to add a subclass. Default: 76
CONFIG_MIN_LEVEL_FOR_SUBS = 76

# True:  Show 3rd Class trasfer to choose. False: Show 2nd Class trasfer to choose.
CONFIG_HTML_SHOW_3RD_TRANSFER_CLASS = True

#Disallow add subclasses if the user's class transfer level is lower than bellow option.
CONFIG_CLASS_TRANSFER_LEVEL = 2

# True: The user level will chang after add a subclass. False: User level won't change after add a subclass. Default: True
CONFIG_ENABLE_DECREASE_LEVEL = True

#Level at which the character will be changed after add a subclass. Default: 40
CONFIG_LEVEL_AFTER_ADD_A_SUBCLASS = 40

#-------------------------------------------------------------------------------------------------------------------------------------

 

Picture

 

subclassmasterbyallen.png

 

Link: Subclass Master By Allen (L2jServer H5)

 

Link: Subclass Master By Allen (L2jServer Gracia Freya)

 

Link: Subclass Master By Allen (L2jServer Gracia Epilogue)

 

Link: Subclass Master By Allen (L2jServer Gracia Final)

 

Link: Subclass Master By Allen (L2jServer-L2jFree Interlude)

 

Credits: Inspired by the foxer's NPC but Remade by Me  ;)

 

GMS haven't restrictions, so i recommend you test it as a gm and with a normal character.

This Npc was tested on L2jServerCT2.3, L2jOfficialCT2.3, L2emuCT2.3 and L2EmuCT2.2 successfully.

If you liked this Share a thanx is a nice answer. Well Enjoy it  ;D

 

Edit1: Added new option "AllowDelMainClass" check settings within the script

Edit2: Added new option "AllowMutantRetail" check settings within the script

Edit3: Added new option "AllowThirdJob" check settings within the script

Edit4: Added new option "ShowReloadScriptPanel" and now the file has english and Spanish Version to choose.

        fixed overflow with longs names at HTML

Edit5: Added new option "AllowMultiSubs" check settings within the script. Fixed problems with skills enchanted and gracia final skills.

        Added new table for skills exceptions.

Edit6: Updated to Gracia Epilogue. I will now only support epilogue client.

        Added new option "AllowDElfvsElfSubs" check settings within the script.

        Added new option "RestartDelay" check settings within the script. Really important option to avoid some buggers players.

        Added skill exceptions for Certification skills

        Delete some lines of code and Queries unnecessarily and remake some codes too, for improving the performance of NPC.

Edit7: Updated to Gracia Freya.

Edit8: Updated to H5 + some new configs.

 

[move]Plz look file not found For Freya PLZ LOOK[/move] :(

  • 3 weeks later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.



  • Posts

    • Hello everyone, Are you looking for a server where you can have fun with friends and relive the good old days of Lineage II? Join us for an enjoyable adventure, exciting battles, and a nostalgic old-school experience together with the community. Introducing a Gold-style fast progression gameplay experience — no more spending months in the same zone farming endlessly. Enjoy faster progress, more action, and a more rewarding adventure from the very beginning. For more information and updates, visit our Facebook page and join the community! Download patch:https://mega.nz/file/hEUAFIAY#8F5BMBRV_v-O1gjDTLsCkmFiWFMvT3hzVYSMdswm2rs
    • ⚡ PRIVATE L2 SOURCE CODE & CONTRACT BUILDS Essence / Classic / High Five / Main GOD Private enterprise-level Lineage 2 development for serious projects ENGLISH For many years our studio was known mostly for public Lineage 2 builds and public development services. However, for many years now our main focus has been private development for serious projects and investors. Over time we moved away from mass-market development and focused on quality, stability, deep detailing and long-term project support. This approach allowed us to create products of a completely different level designed for large live-projects and long-term operation. Today, in addition to our old public builds, we also offer private enterprise-level solutions developed by a full professional team with many years of Lineage 2 experience. We work only with serious teams, investors and projects that understand the value of quality private development. ◆ L2 Essence — Private Builds & Source Code Latest protocols: 557–559+ Available only on a long-term contract basis. Includes: • 100% official content implementation • Custom interface systems • Active protocol updates while the contract is active • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 10,000 USD Monthly contract: 3,000 USD / month Older Essence source code available for direct purchase: • Protocols 507–520 — 10,000 USD • Protocols 474–502 — 7,000 USD • Protocols 447–464 Seven Signs — 5,000 USD • Protocol 388 Crusade — 2,500 USD Full details: https://mmore.dev/en/essense2.html ◆ L2 Classic — Private Builds & Source Code Latest protocols: 557–559+ Available only on a long-term contract basis. Includes: • 100% official content implementation • Custom interface systems • Active protocol updates while the contract is active • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 10,000 USD Monthly contract: 3,000 USD / month Classic source code available for direct purchase: • Classic 542 protocol — 15,000 USD • Classic 520 protocol — 12,000 USD • Classic 507 protocol — 10,000 USD • Classic 286 protocol — 8,000 USD Negotiable. Contract support is available. Full details: https://mmore.dev/en/classic2.html ◆ High Five — Private Build Private High Five build with years of live-server experience. Includes: • 100% official content • Full access to the project source code • Full technical support for the project • Bug fixing and feature development • Help with launch and long-term server development • A full professional development team working on your project • Java developers, datapack developers and project management • Many years of experience with large live projects • Long-term private cooperation and support Contract terms: Start: 3,000 USD Monthly contract: 3,000 USD / month Full details: https://mmore.dev/en/hf2.html ◆ Main / GOD — In Development Development of the Main / GOD branch, protocol 559+, has started. Pre-orders and sponsorship discussions are open. We accept only a limited number of projects from different regions with maximum regional exclusivity for each partner. IMPORTANT The latest Essence and Classic protocols are available only through long-term private contracts. Direct source code sales are available only for older protocols. If you need the newest protocols, active development, updates and support — contract work is the correct option. РУССКИЙ Ранее наша студия в основном занималась публичными сборками Lineage 2 и массовыми услугами разработки. Однако уже много лет основное направление нашей работы — приватная разработка для серьёзных проектов и инвесторов. Со временем мы ушли от работы на массовость и сосредоточились на качестве, стабильности, глубокой детализации и долгосрочном развитии проектов. Именно такой подход позволил нам создать продукты совершенно другого уровня, рассчитанные на крупные live-проекты и долгосрочную эксплуатацию. Сегодня помимо наших старых публичных сборок мы также предлагаем приватные enterprise-level решения, над которыми работает полноценная команда профессиональных разработчиков с многолетним опытом работы в сфере Lineage 2. Мы работаем только с серьёзными командами, инвесторами и проектами, которые понимают ценность качественной приватной разработки. ◆ L2 Essence — приватные сборки и исходники Актуальные протоколы: 557–559+ Доступны только на контрактной основе. Входит: • 100% реализация официального контента • Кастомные интерфейсные системы • Обновления протоколов на время действия контракта • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 10,000 USD Ежемесячно: 3,000 USD / месяц Старые протоколы Essence для прямой покупки исходников: • Протоколы 507–520 — 10,000 USD • Протоколы 474–502 — 7,000 USD • Протоколы 447–464 Seven Signs — 5,000 USD • Протокол 388 Crusade — 2,500 USD Подробнее: https://mmore.dev/essense2.html ◆ L2 Classic — приватные сборки и исходники Актуальные протоколы: 557–559+ Доступны только на контрактной основе. Входит: • 100% реализация официального контента • Кастомные интерфейсные системы • Обновления протоколов на время действия контракта • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 10,000 USD Ежемесячно: 3,000 USD / месяц Исходники Classic для прямой покупки: • Classic 542 protocol — 15,000 USD • Classic 520 protocol — 12,000 USD • Classic 507 protocol — 10,000 USD • Classic 286 protocol — 8,000 USD Торг возможен. Контрактная поддержка доступна. Подробнее: https://mmore.dev/classic2.html ◆ High Five — приватная сборка Приватная High Five сборка с многолетним опытом работы на живых проектах. Входит: • 100% официальный контент • Полный доступ к исходному коду проекта • Полная техническая поддержка проекта • Исправление ошибок и доработка функционала • Помощь с запуском и развитием сервера • Работа целой команды профессионалов над вашим проектом • Java-разработчики, datapack-разработчики и project management • Многолетний опыт работы с крупными live-проектами • Долгосрочная приватная работа и сопровождение проекта Условия контракта: Стартовый взнос: 3,000 USD Ежемесячно: 3,000 USD / месяц Подробнее: https://mmore.dev/hf2.html ◆ Main / GOD — в разработке Мы начали разработку ветки Main / GOD, протокол 559+. Открыты предварительные обсуждения, предзаказы и спонсорские контракты. Принимается ограниченное количество проектов из разных регионов мира с максимальной региональной эксклюзивностью для каждого партнёра. ВАЖНО Самые актуальные протоколы Essence и Classic доступны только на долгосрочном контракте. Прямая продажа исходного кода доступна только для более старых протоколов. Если вам нужны самые свежие версии, развитие, обновления и поддержка — выбирайте контрактную работу с нашей командой. CONTACTS / КОНТАКТЫ Telegram:  @L2scripts Microsoft Teams:   l2-scripts.com@outlook.com      Old Skype account: Urchika E-mail:    L2scripts.com@gmail.com IMPORTANT All discussions, project details, examples, testing access, source code demonstrations, technical discussions and cooperation terms are discussed strictly in Telegram only. We do not discuss private development publicly on the forum. Telegram is the main and preferred communication platform for all serious inquiries. ВАЖНО Все обсуждения, детали проектов, примеры, предоставление тестирования, демонстрации исходников, технические вопросы и условия сотрудничества обсуждаются строго только в Telegram. Публично на форуме приватная разработка не обсуждается. Telegram — основная и приоритетная платформа для связи по всем серьёзным вопросам. All questions are discussable. We work for the best Lineage 2 projects in the world.
    • cRazy??? If i just say good job its not even fair....
    • τι εκανες εκει παλι ρε τρελάρα; 🤣   welcome back mate, happy seeing you online again, well thats beyond l2 needs for sure and It’s rare to see anyone pushing Interlude this far technically anymore without trying to monetize it. definitely interested in seeing the source whenever you're ready to share it! keep it up!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..