Shadin Posted May 13, 2024 Posted May 13, 2024 (edited) How can I make available for all classes to do kamael subclasses and viceversa in High Five? Thanks in advance Edited May 13, 2024 by Shadin Quote
ratchet Posted May 13, 2024 Posted May 13, 2024 (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 May 13, 2024 by ratchet Quote
Shadin Posted May 14, 2024 Author Posted May 14, 2024 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? Quote
ratchet Posted May 14, 2024 Posted May 14, 2024 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 Quote
Shadin Posted May 14, 2024 Author Posted May 14, 2024 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 These are the folders I have and the project I use... couldn't find the folder you say u_u Quote
ratchet Posted May 14, 2024 Posted May 14, 2024 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 Quote
Shadin Posted May 15, 2024 Author Posted May 15, 2024 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... Quote
ratchet Posted May 15, 2024 Posted May 15, 2024 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. Quote
Shadin Posted May 15, 2024 Author Posted May 15, 2024 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... Quote
Recommended Posts
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.