Jump to content

Question

Posted (edited)

I'm modifying my spawnlist and I would like to know if there is any program that will help me change the spawn without having to change it manually.

 

Spawn Original Link

New Spawn Link

 

KwmDuzR.png 

 

Edited by Williams

2 answers to this question

Recommended Posts

  • 0
Posted

What can be easier. Add into SpawnTable.java method who will be create XML line into StringBuilder with spawn properties. Make a HashMap like <String, StringBuilder> where String will be NPC instance (e.g. Monster, Teleporter, etc). This String use for XML filename after fully loading spawnlist. This method call each time before addition spawndata in spawn. And call in the end the method what store all prepared data into XML.

  • 0
Posted
25 minutes ago, Rootware said:

What can be easier. Add into SpawnTable.java method who will be create XML line into StringBuilder with spawn properties. Make a HashMap like <String, StringBuilder> where String will be NPC instance (e.g. Monster, Teleporter, etc). This String use for XML filename after fully loading spawnlist. This method call each time before addition spawndata in spawn. And call in the end the method what store all prepared data into XML.

It's an excellent idea, but I'll have to redo the entire list in the same way first I want to create the list then I'll update the entire method created I'll create the way you mentioned is very good.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..