Jump to content
  • 0

Request batch modification


Williams
 Share

Question

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0
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.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock