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.

 

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
Answer this question...

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