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

    • ⚡ Weekend special! Upgrade your personal Google account with 5TB storage and Gemini Pro in under 60 seconds.
    • Don't cry, it's a game. If it makes you cum on your monitor, of course, enjoy it. My business has been running for years and will continue to do so. No matter what happens here, the dogs bark, the caravan moves on. Start developing game engines - post them too - after all, I create them too) Salvation:Arena (MOBA) Unreal Engine RED-TEAM REVERSECODE Аліса займається розробкою ще з часів створення денді та сеги-діти які створюють шум для мене просто діти) За ці роки роботи я бачила багато різних людей у цій сфері все що я думаю про це не плачте та насолоджуйтесь життям слава ураїне - котись на свій бразильський форум)   If you'd simply asked me in a private message on the forum to be reinstated, you'd have been unblocked without a problem. I have no enemies—it's just business. I can make any product on the market, models and effects, copyrights—complex tools—at my age, people run large companies. I'm pleased that our beloved MXC* forum will now have a lot of free products. I earn a maximum of $200-$300 a year from this industry. If that excites you, well, have fun with us.       I moderate many gaming communities, here's one of them  if I hated you, you'd be out of here in a minute, brother  so don't get carried away with your wet dreams. On the topic of free work, start doing it yourself—the forum needs good free stuff. Someone will definitely like you here and throw a flower on your grave. Besides, you're forgetting that half the forum is involved in this interface development business and for many developers, it's a good income. So, you want to make life sweeter for them all, not just for me it's actually nice that you're such a noble young man.   Besides, I usually work from behind the scenes and don't move anywhere in the market but nothing stops me from doing what others do - working from the shadows  you won't even see that I'm doing it, it's so funny.   Start doing free work. You promised to do it well and post it to communities on time. Good luck! We'll have fun, that's great!🥰   завжди приємно поспілкуватися з веселими людьми              
    • Complete development packages for Lineage 2 UI development, across all chronicles and an automated tool to update and patch Interface.u & Interface.xdat What I Offer Clean Sources: 100% clean, retail-based interface source code with zero unwanted custom modifications. Interface.u Update Tool: A standalone tool designed to patch, rebuild, and update Interface.u efficiently. Custom Modifications: Custom UI features and tailoring can be implemented upon request. Turnaround Time: Most major versions and protocols are ready for immediate delivery; other versions take up to 1 week. How It Works Let me know the specific chronicle or protocol version you are targeting. I will provide the tool, which is HWID-bound to your machine, for your setup. Once satisfied with the results, we finalize the deal. Pricing & Notes Both products are priced separately based on the target protocol and requirements. Package deals are negotiable if purchasing both. DM for inquiries, demos, and pricing quotes.    
    • Well u need to change when sm1 press exit it keeps it in game..  
    • That’s just part of buying and selling; if your service didn't appeal to me at the time, there's no reason for me to force myself to buy it. After all, I regularly buy other interfaces and clients from other users mostly Russians using USDT. But *I'm* the child here, even though *you're* the incredibly arrogant one.   The payment method or the amounts were never the problem you were. But life goes on; you’d rather stay caught up in your delusions, thinking you’re the protagonist of some anime. Princess Alice 😂   I have all the interfaces for the 474/506/509/520/542/563/557. and olds too.  Some were created by me, including the ARENA P140 interface, which will soon be released for free. This includes everything you make available. It will no longer be a monopoly held by just a few people.   Including your clients with system. like  
  • 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..