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

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

  • 0
Posted (edited)

did u try leaving the items with id=""? or jumping from id 3 to id 5?

have no clue.

Edited by ^Wyatt
  • 0
Posted (edited)

did u try leaving the items with id=""? or jumping from id 3 to id 5?

 

do you actually know how the parser or the packet works ?

 

the first will give NumberFormatException or npe and the second will be a normal multisell

Edited by xdem
  • 0
Posted (edited)

do you actually know how the parser or the packet works ?

 

the first will give NumberFormatException or npe and the second will be a normal multisell

nope, thats why I'm asking it and that's why i said "no clue" but ur rage comes out too fast. Keep calm and try to help him.

Edited by ^Wyatt
  • 0
Posted (edited)

no... is not working ^Wyatt ...

 

look I try it but is not working ... is something else.... i didn't find it ....

<?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
  • 0
Posted (edited)

 

no... is not working ^Wyatt ...

 

look I try it but is not working ... is something else.... i didn't find it ....

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

 

I don't really understand what you are asking for but i will shoot with closed eyes, you wanna add comment after/before each item included in multisell so you can identify the item?

If yes, here is example:

        <!-- The item name or whatever -->
Edited by Stewie
  • 0
Posted (edited)

lol Stewie.. :troll:

 

Uff...

Create a custom item, add it in xml and wohooo.

You don't need client modifications, just empty item w/o icon etc etc.

Edited by Stewie
  • 0
Posted

have you actually tried <br> tags? It's xml afterall

 

:) XML is just to parse the values in the ram xD, has nothing to do with L2Client or packets

Guest
This topic is now closed to further replies.


×
×
  • 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 Disabled AdBlock