Hello! I found the source from _jordan, over at https://www.rune-server.ee/runescape...-features.html
I saw it doesn't come with NPC Combat definitions... Now I'm not looking for someone to give me all the combat definitions, but could someone help me understand how they are implemented?
I keep getting an error trying to enter a manual combat definition.
Code:
java.lang.RuntimeException: ERR1 Invalid NPC Combat Definitions line: 1 | 70, -1, -1, -1, 5, 1, 33, 0, 0, -1, -1, 0, 4,
at com.rs.utils.NPCCombatDefinitionsL.loadUnpackedNPCCombatDefinitions(NPCCombatDefinitionsL.java:53)
at com.rs.utils.NPCCombatDefinitionsL.init(NPCCombatDefinitionsL.java:26)
at com.rs.Launcher.main(Launcher.java:77)
Looking at the code, it's set up like:
Code:
public final static NPCCombatDefinitions DEFAULT_DEFINITION = new NPCCombatDefinitions(70, -1, -1, -1, 5, 1, 33, 0, NPCCombatDefinitions.MELEE, -1, -1, NPCCombatDefinitions.PASSIVE, 4);
So I've tried a few things, like:
Code:
70, -1, -1, -1, 5, 1, 33, 0, 0, -1, -1, 0, 4,
70, 2, -1, -1, -1, -1, -1, 60, 1, MELEE, -1, -1, PASSIVE, 4
No matter what I do, it's always throwing an error...
I was wondering if someone can help me figure out the proper set up to unpackednpccombatdefinitions for this server so I can manually add them for the npcs, and when/if I finish it, I'll post the file up for someone else to use or something
Cheers