Jump to content

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


Recommended Posts

Posted

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.

Posted

Do you mean if this npc can replace the grand masters npc system ???    :D no, this npc has nothing to do with the game's original subclass system. It only let stack skills from choice subclass at main class.

Guest
This topic is now closed to further replies.



  • Posts

    • Classic move "its not a virus, all antiviruses are just wrong." The moment someone starts yelling "FIND THE MALICIOUS CODE" and mocking heuristic detection, its usually because there is something shady in there… or they have no clue what heuristic detection even is. If your files was clean, you wouldn’t be this defensive or getting personal.   when half the AV vendors are throwing out names like Trojan.Win32.Kasidet, Trj/Chgt.AD, and Gen:Variant.Tedy.537463, maybe it’s not "heuristics", maybe its just a shady-ass .rar. If there is smoke you don't argue with the smoke detector, you check the kitchen. But hey, maybe they all got paid too, right? 🤷‍♂️ the argue comes down to trusting you (a nobody) versus AV vendors   Popular threat label trojan.tedy Threat categories trojan  Family labels tedy   can i call you Teddy from now on? yes i can Teddy               Dont forget it was not something generic or maybe suspicious it just got detected with its specific version. and not only Teddy's Teddy some others too Kaspersky says Kasidet trojan keylogger, spyware, classic nasty stuff. Bitdefender, GData, VIPRE? Tedy variant, an actual known malware family. Panda, QuickHeal, Sophos, Fortinet everyone sees something dirty in there. But sure, they’re all wrong, and you’re the cybersecurity messiah who cracked the code. You really expect people to believe that 10 independent vendors with zero incentive to conspire against your .rar just happened to flag your file as malware… by accident? Maybe try this next time: instead of uploading garbage and calling people “idiots” when they don’t trust it, just don’t upload malware. Problem solved.
    • https://github.com/gawric/Guide-L2Unity/blob/main/Guide/Pakets/Blowfish/General description.md   Perhaps you will find it useful piece of encryption and decryption code from Acis Interlude   I transferred these methods to Unity c# and everything works fine   https://ibb.co/DHhP0JYr   I think the first 2 bytes are the packet size. Third byte packet id And then the information itself   It's all there in l2j servers  
    • Hello everyone, I'm facing exactly the same issue mentioned in this topic. I've correctly implemented several new mounts in my Lineage 2 Interlude server, but whenever I use the ride/mount action, the client always displays the default strider animation (lineagemonster.strider_m00), even though in my npcgrp.dat everything is correctly referenced to my custom ride.u files (e.g., ride.wolfhound_m00).   90102 Rider.wing_hound_vehicle Riders.wing_hound_vehicle_m00 2 RidersTex.wing_hound_t00 RidersTex.wing_hound_t01 0 1 0 1.00000000 0 1 4 ItemSound.armor_metal_weak_1 ItemSound.armor_leather_3 ItemSound.armor_metal_weak_3 ItemSound.armor_metal_weak_5 3 MonSound12.w_hound_dmg_1 MonSound12.w_hound_dmg_2 MonSound12.w_hound_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41000 Rider.gray_horse Riders.gray_horse_m00 3 RidersTex.gray_horse.gray_horse_t00 RidersTex.gray_horse.gray_horse_t01 RidersTex.gray_horse.gray_horse_t02 0 1 0 1.05882394 0 1 4 MonSound.Hit_Shell_1 MonSound.Hit_normal_3 MonSound.Hit_Wood_3 MonSound.Hit_normal_12 3 MonSound.unicorn_b_dmg_1 MonSound.unicorn_b_dmg_2 MonSound.unicorn_b_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41001 Rider.tawny_maned_lion Riders.tawny_maned_lion_m00 3 RidersTex.tawny_maned_lion.tawny_maned_lion_t00 RidersTex.tawny_maned_lion.tawny_maned_lion_t01 RidersTex.tawny_maned_lion.tawny_maned_lion_t02 0 1 0 1.50000000 0 1 5 MonSound.Hit_normal_12 MonSound.Hit_Normal_1 MonSound.Hit_Shell_3 MonSound.Hit_Shell_4 MonSound.Hit_Wet_4 3 MonSound.strider_dmg_1 MonSound.strider_dmg_2 MonSound.strider_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41002 Rider.steam_sledge Riders.steam_sledge_m00 4 RidersTex.steam_sledge.steam_sledge_t00 RidersTex.steam_sledge.steam_sledge_t01 RidersTex.steam_sledge.steam_sledge_t02 RidersTex.steam_sledge.steam_sledge_t03 0 1 0 1.50000000 0 1 5 ItemSound.armor_metal_weak_3 ItemSound.armor_metal_weak_5 ItemSound.armor_metal_weak_10 ItemSound.armor_metal_alt_1 ItemSound.armor_metal_alt_6 3 MonSound.iron_golem_breathe MonSound.iron_golem_dmg_2 MonSound.iron_golem_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41003 Rider.br_z_bike Riders.br_z_bike_m00 1 RidersTex.npc.br_z_bike_t00 0 1 0 1.00000000 0 1 5 MonSound.Hit_wood_1 MonSound.Hit_Wood_2 MonSound.Hit_Wood_3 MonSound.Hit_Wood_4 MonSound.Hit_Wood_5 0 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41004 Rider.br_g_ant_princess Riders.g_ant_princess_m00 3 RidersTex.Npc.g_ant_princess_t00 RidersTex.Npc.g_ant_princess_t01 RidersTex.Npc.g_ant_princess_t02 0 1 0 1.39999998 0 1 4 MonSound.Hit_Normal_10 MonSound.Hit_Shell_2 MonSound.Hit_Wet_5 ItemSound.shield_bone_1 3 MonSound.queen_ant_dmg_1 MonSound.queen_ant_dmg_2 MonSound.queen_ant_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41005 Rider.br_g_black_bear Riders.g_black_bear 2 RidersTex.Npc.g_black_bear_t00 RidersTex.Npc.g_black_bear_t01 0 1 0 1.39999998 0 1 4 MonSound.Hit_Normal_11 MonSound.Hit_Normal_13 MonSound.Hit_Wet_5 ItemSound.shield_bone_3 3 MonSound11.Kerberos_dmg01 MonSound11.Kerberos_dmg02 MonSound11.Kerberos_dmg03 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41006 Rider.br_g_halloween_flying_broom Riders.g_halloween_flying_broom_m00 1 RidersTex.Npc.g_halloween_flying_broom 0 1 0 1.39999998 0 1 5 MonSound.Hit_wood_1 MonSound.Hit_Wood_2 MonSound.Hit_Wood_3 MonSound.Hit_Wood_4 MonSound.Hit_Wood_5 0 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41007 Rider.illusion_vehicle Riders.illusion_vehicle_m00 2 RidersTex.bird_vehicle.bird_vehicle_t00 RidersTex.bird_vehicle.bird_vehicle_t01 0 1 0 1.05882394 0 1 4 MonSound.Hit_normal_3 MonSound.Hit_Wet_1 MonSound.Hit_Bone_2 MonSound.Hit_normal_12 0 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41008 Rider.vehicle_lindvior Riders.vehicle_lindvior_m00 2 RidersTex.Vehicle_Lindvior.Vehicle_Lindvior_t00 RidersTex.Vehicle_Lindvior.Vehicle_Lindvior_t01 0 1 0 1.05882394 0 1 4 MonSound.Hit_Normal_1 MonSound.Hit_Wet_3 MonSound.Hit_Bone_8 MonSound.Hit_Wet_5 3 MonSound3.dragon_mage_dmg_1 MonSound3.dragon_mage_dmg_2 MonSound3.dragon_mage_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41009 Rider.craft_vehicle_dwarf Riders.craft_vehicle_dwarf_m00 2 RidersTex.craft_vehicle_dwarf.craft_vehicle_dwarf_t00 RidersTex.craft_vehicle_dwarf.craft_vehicle_dwarf_t01 0 1 0 1.05882394 0 1 4 MonSound.Hit_Normal_1 MonSound.Hit_Wood_2 MonSound.Hit_Wood_3 MonSound.Hit_Normal_7 0 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41010 Rider.eligor_vehicle Riders.eligor_vehicle_m00 2 RidersTex.eligor_vehicle.eligor_vehicle_t00 RidersTex.eligor_vehicle.eligor_vehicle_t01 0 1 0 1.00000000 0 1 4 MonSound.Hit_normal_3 MonSound.Hit_Wet_1 MonSound.Hit_Bone_2 MonSound.Hit_normal_12 3 MonSound16.kanilof_dmg_1 MonSound16.kanilof_dmg_2 MonSound16.kanilof_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41011 Rider.elder_pegasus_vehicle Riders.elder_pegasus_vehicle_m00 2 RidersTex.elder_pegasus_vehicle.elder_pegasus_event_vehicle_t00 RidersTex.elder_pegasus_vehicle.elder_pegasus_event_vehicle_t01 0 1 0 1.00000000 0 1 5 MonSound.Hit_Normal_1 MonSound.Hit_Normal_6 MonSound.Hit_Normal_7 MonSound.Hit_Normal_8 MonSound.Hit_normal_12 3 MonSound12.cobalt_horse_dmg_1 MonSound12.cobalt_horse_dmg_2 MonSound12.cobalt_horse_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41012 Rider.wing_hound_vehicle Riders.wing_hound_vehicle_m00 2 RidersTex.wing_hound_t00 RidersTex.wing_hound_t01 0 1 0 1.00000000 0 1 4 ItemSound.armor_metal_weak_1 ItemSound.armor_leather_3 ItemSound.armor_metal_weak_3 ItemSound.armor_metal_weak_5 3 MonSound12.w_hound_dmg_1 MonSound12.w_hound_dmg_2 MonSound12.w_hound_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 41013 Rider.sp_griffin_vehicle Riders.sp_griffin_vehicle_m00 3 RidersTex.griffin_vehicle.griffin_vehicle_t00 RidersTex.griffin_vehicle.griffin_vehicle_t01 RidersTex.griffin_vehicle.griffin_vehicle_t02 0 1 0 1.00000000 0 1 5 MonSound.Hit_Normal_1 MonSound.Hit_Normal_6 MonSound.Hit_Normal_7 MonSound.Hit_Normal_8 MonSound.Hit_normal_12 3 MonSound23.sp_griffin_dmg_1 MonSound23.sp_griffin_dmg_2 MonSound23.sp_griffin_dmg_3 0 1 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 70.00000000 0 1 I've examined the server-side code and realized the problem likely comes from the client only looking at the _rideType (which is 1 for STRIDER) and ignoring the _rideNpcId when determining which animation to load. @Banshee Garnet mentioned an "extended dll" - does this involve modifying the L2.dll or L2Client.dll so it checks the NpcId in addition to the rideType? Has anyone already made this modification and could share more details on how to proceed? Looking at l2royale.com, I can see they indeed have multiple functional mounts in their Interlude client. I'd like to understand which approach they used: Is it indeed a DLL modification? Which specific parts of the DLL need to be modified? Are there already patches or tools that allow adding this functionality? If anyone has successfully implemented multiple mounts in Interlude or knows the precise technical solution, I would be very grateful for any information or help. Thanks in advance!
    • Hello, I’m working on decrypting the Init packet that the server sends to the client during login. This packet is treated specially and contains the Blowfish keys used to encrypt and decrypt subsequent packets. Although it isn’t encrypted irreversibly and should be reversible, I haven’t succeeded yet. My goal is to extract the Blowfish key to decrypt certain client packets without disrupting the normal session flow. I can inject a DLL to sniff the packets, and with that I plan to develop a module that extends the client’s functionality. For example, after logging in, this module would capture all the data the client receives (character data, etc.). Additionally, it could listen for real-time server events, enabling integrations with Discord SDKs or other systems, thereby expanding Lineage 2’s capabilities. Init packet(0x00) LoginServer. Currently in the java Cores I checked there is no decode function for this package, only encript.
  • Topics

×
×
  • Create New...