Jump to content
  • 0

How To Create Xml With Space


Question

Posted (edited)

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

Recommended Posts

  • 0
Posted

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!

  • 0
Posted (edited)

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

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

  • 0
Posted

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

  • 0
Posted

or maybe to edit in multisell ingrendient in java ?

public boolean isStackable()
	{
		return _itemId <= 0 || ItemHolder.getInstance().getTemplate(_itemId).isStackable();
	}
  • 0
Posted

 

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

  • 0
Posted

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.

Guest
This topic is now closed to further replies.


  • Posts

    • I had friends who played on Elegant and I can confirm it wasn't a bad server. I don't know about the AI bots running around, but in my opinion the price is simply too high. I don't think many people will spend that much money on Lineage 2 files when alternatives like L2Scripts already exist.   Of course it's all about personal preference, but for such an old chronicle the price seems ridiculously expensive. Modern chronicles usually offer more value.   Anyway, I wish you the best of luck with the sale. This is just my personal opinion. Whoever likes it, good for them, and whoever doesn't, that's fine too. Everyone has different preferences.
    • https://l2avokado.com/ Hello everyone,   After some time of development, we've decided to open L2Avokado to the public in its current development stage. We're looking for players who enjoy Interlude and would like to help shape the project before its official release.   This isn't a "launch" announcement. Instead, we're inviting the community to log in, explore the server, test the systems we've built, and provide honest feedback. Whether it's bug reports, balance suggestions, progression ideas, or quality-of-life improvements, we'd love to hear them.   Our goal has always been to create an Interlude server that feels familiar while offering a fresh progression experience. We've intentionally avoided custom weapons, armor, and client modifications. Instead, we've focused on redesigning progression through reworked hunting grounds, quests, crafting, and gameplay systems while remaining compatible with a clean Interlude client.   At this stage, the core progression path has been implemented, including the main hunting grounds, quests, custom systems, and events. However, as the project is still under active development, there will inevitably be bugs, balance issues, and areas that require further polishing.   This is exactly why we'd like your help.   We're looking for players who are willing to: Test gameplay and progression. Report bugs and exploits. Suggest balance improvements. Share ideas for new features or quality-of-life changes. Help us build a server that the community genuinely enjoys playing.   The Client and System downloads are already available on our website, so you can jump straight into the game. We're also working on a dedicated launcher that will simplify installation and future updates.   If you're interested in helping develop a unique Interlude project and want your feedback to genuinely influence the direction of the server, we'd love to have you with us.   We look forward to seeing you in-game and hearing your thoughts on Discord. https://l2avokado.com/
    • Mate your server used to play with full of bots, from where you find that revenue? 
  • Topics

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