SphereCommunity
How to prevent TAG delete due stacking? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: How to prevent TAG delete due stacking? (/Thread-How-to-prevent-TAG-delete-due-stacking)



How to prevent TAG delete due stacking? - Gil Amarth - 07-05-2012 12:36 PM

I have one problem with TAGs in my items.

If I have two items who are stackable and they have differents TAGs, when I casually stack them, only the minor TAG prevails over the new pile.

If I have a shaft with tag....=50, and other shaft with tag...=100, when I merge them, i Have only two shafts with tag...=50.

Is there any form to avoid stack items with different tags?


RE: How to prevent TAG delete due stacking? - Anarch Cassius - 07-05-2012 12:41 PM

I believe if you turn on EF_Strict_Item_Comparision in the ini this will stop. If not then it probably should and you report this as a bug.


RE: How to prevent TAG delete due stacking? - Gil Amarth - 07-05-2012 12:48 PM

Yes, they continue stacking even with EF_Item_Strict_Comparison enabled.


RE: How to prevent TAG delete due stacking? - Anarch Cassius - 07-05-2012 12:53 PM

Yeah, I'm pretty sure we can call that a bug.


RE: How to prevent TAG delete due stacking? - Shaklaban - 07-06-2012 09:47 PM

as i remember EF_Strict_Item_Comparision is about the boards can used about logs like things. so don't enable it for tag thing.


RE: How to prevent TAG delete due stacking? - Anarch Cassius - 07-07-2012 04:18 AM

Strict Item Comparision stops the stacking of nearly identical items. Many items store a few extra bits of information in the MORES or somesuch that most servers never use. For example meat and hides store the animals they come from and won't stack with Strict Item Comparision on.


RE: How to prevent TAG delete due stacking? - Gil Amarth - 07-07-2012 04:49 AM

Finally I have used MOREM to prevent item stacking, but it´s not a good solution because I have only one variable to use and it´s limited from 0 to 255.

But it´s better than nothing. xD
Anarch Cassius:

From your script at SphereCommunityPack: [FUNCTION f_material_i_ingot_aurichalcum]

I have testing what avoid to stack this ingots, and the responsible are the differents Colors of thouse ingots, not the name, nor the tags. Only the color avoids undesirable merging of items. It´s another possibility for me, thanks. Veryhappy