Jump to content
  • 0

How To Create Xml With Space


Vegetta

Question

Hello, I saw on some servers something nice...

when you bypass to a multisell you see a list of items, the point is how to add spaces into the xml file !?

 

Example: 1 item one space 1 item one space and so on...

 

I know one way to create a custom item without name and client mod, but you can click/see it  dark icon but not for this i'm searching for... if someone know how to do it please explain me too :) thank you

 

 

Jekvoks.jpg

 

 

 

I try it with and is not working .... maybe must add an new item id with a space idk?

 

<?xml version='1.0' encoding='utf-8'?>
<list maintainEnchantment="true">

<item id="1">
<ingredient id="57" count="100"/>
<production id="5640" count="1"/>
</item>

<item id="5">
<ingredient id="57" count="100"/>
<production id="5641" count="1"/>
</item>

Edited by Vegetta
Link to comment
Share on other sites

Recommended Posts

  • 0

I try it also with this :

	<item id="14">
		<ingredient count="5500000" id="57" />
		<!-- Imperial Crusader Shield -->
		<production count="1" id="6377" />
	</item>
	
	<item id="15">
	</item>
	
	<item id="16">
		<ingredient count="5500000" id="57" />
		<!-- Imperial Crusader Shield -->
		<production count="1" id="12811" />
	</item>

and get : WARN MultiSell [989898] is empty!

Link to comment
Share on other sites

  • 0

I try it also with this :

	<item id="14">
		<ingredient count="5500000" id="57" />
		<!-- Imperial Crusader Shield -->
		<production count="1" id="6377" />
	</item>
	
	<item id="15">
	</item>
	
	<item id="16">
		<ingredient count="5500000" id="57" />
		<!-- Imperial Crusader Shield -->
		<production count="1" id="12811" />
	</item>

and get : WARN MultiSell [989898] is empty!

 

Told ya the way, make an item like this:

	<item id="1234" type="EtcItem" name="Empty">
		<set name="material" val="liquid" />
		<set name="weight" val="0" />
		<set name="price" val="0" />
		<set name="is_stackable" val="true" />
		<set name="is_oly_restricted" val="true" />
	</item>

Add it on your item xml and add it for empty box.

Edited by Stewie
Link to comment
Share on other sites

  • 0

is working to add br too ;)  but not what i need here

what ??

 

the xml is there only to parse IDS and Ammounts anything else will be ignored, unless you have costum code in the parser

Link to comment
Share on other sites

  • 0

Told ya the way, make an item like this:

	<item id="1234" type="EtcItem" name="Empty">
		<set name="material" val="liquid" />
		<set name="weight" val="0" />
		<set name="price" val="0" />
		<set name="is_stackable" val="true" />
		<set name="is_oly_restricted" val="true" />
	</item>

Add it on your item xml and add it for empty box.

 

Hello, I know about this to add a custom item but not this I am searching for... there is a secret somehow and i saw with my eyes on 2 servers but i do not remember where ... i just have the screen ...

Link to comment
Share on other sites

  • 0

 

did you try to insert item like this?

<item id="16">
        <ingredient count="1" id="0" />
        <production count="1" id="0" />
 </item>

Not working, try it too

Link to comment
Share on other sites

  • 0

So best answer is to create a custom item and don't mod the client, you will see that item with black color and you can make your xml to look how you like :)

 

 

Thank you guys.

 

 

/request close topic

 

If it doesn't include icon it will be empty.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...