Jump to content

Recommended Posts

Posted (edited)

How can I make available for all classes to do kamael subclasses and viceversa in High Five?

 

Thanks in advance

Edited by Shadin
Posted (edited)

In l2j? There is probably something in the config files to allow all subclasses, i'm pretty sure. If not,
one way is to go in the VillageMaster.java and check the function getSubclasses().
Then comment out the part where it removes all the kamael subclasses from the list.


 

 

Edited by ratchet
Posted
21 hours ago, ratchet said:

In l2j? There is probably something in the config files to allow all subclasses, i'm pretty sure. If not,
one way is to go in the VillageMaster.java and check the function getSubclasses().
Then comment out the part where it removes all the kamael subclasses from the list.


 

 

Yes in l2j, where can I find such file?

Posted
1 hour ago, Shadin said:

Yes in l2j, where can I find such file?

Which project are you using?
In standard l2j it's called L2VillageMasterInstance.java and it's found in gameserver->model->actor->instance

 

Check for getAvailableSubclasses if i recall correctly, then cancel out the part where it removes values from the list, but careful not to remove overlord and warsmith and other conditions like elf into d.elf etc

Posted
35 minutes ago, ratchet said:

Which project are you using?
In standard l2j it's called L2VillageMasterInstance.java and it's found in gameserver->model->actor->instance

 

Check for getAvailableSubclasses if i recall correctly, then cancel out the part where it removes values from the list, but careful not to remove overlord and warsmith and other conditions like elf into d.elf etc

image.png.0730236531ef63470ef58037d1955928.pngThese are the folders I have and the project I use... couldn't find the folder you say u_u

Posted

I think it's better if you import the sources into an ide (eclipse or intellij) rather than messing with the compiled packages.

Probably l2jmobius is more user friendly than standard l2j for newbies

Posted
17 hours ago, ratchet said:

I think it's better if you import the sources into an ide (eclipse or intellij) rather than messing with the compiled packages.

Probably l2jmobius is more user friendly than standard l2j for newbies

I don't know how to do that and find really easy to customize my server directly from these files...

Posted
1 hour ago, Shadin said:

I don't know how to do that and find really easy to customize my server directly from these files...

The problem is that many changes are not directly doable from the datapack scripts (or not easily doable), you need to put your hands in the core.

So I suggest you look some guide on how to import the project on intellij and start from that. It will be worth in the long run.

Posted
2 hours ago, ratchet said:

The problem is that many changes are not directly doable from the datapack scripts (or not easily doable), you need to put your hands in the core.

So I suggest you look some guide on how to import the project on intellij and start from that. It will be worth in the long run.

But I have many servers, wouldn't changing what you say change it for all of them?

 

Anyway, thanks for the help...

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
Reply to this topic...

×   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...