Still need help with this.
I have added the NPC into definitions.
Im presented with this error:
I figured out that 3850 is the maximum NPC I can spawn.
[00:00:04]: java.lang.ArrayIndexOutOfBoundsException: 6260
[00:00:04]: at com.rs2.model.npc.NPCAttacks.getCombatType(NPCAttacks.java:14)
[00:00:04]: at com.rs2.model.combat.CombatEngine.getCombatType(CombatEngine.java:280)
[00:00:04]: at com.rs2.model.combat.CombatEngine.mainProcessor(CombatEngine.java:359)
[00:00:04]: at com.rs2.world.NPCManager.process(NPCManager.java:166)
[00:00:04]: at com.rs2.Process.run(Process.java:67)
[00:00:04]: at java.lang.Thread.run(Unknown Source)
Anything above that does nothing when I try to spawn it.
Example: 3851 will not spawn.
Problem is, When I search my project files for '3850' nothing comes up.
So i don't know what I need to edit to allow me to spawn higher NPC's.