The inventory display on the client already has a stack count and a displayed count that shows over the items upper left corner for stack-able items. Part of the problem is that I can't seem to get the system to recognize that an item is meant to be stack-able.
Also, several functions in the Mars routines are incomplete or broken. They only return a hard coded value like '0' (zero) or '1'. Ex. in MarsContainer, GetContainerItemInfo always returns a count of 1. But GetInventoryItemCount always returns 0.
I have managed to get item counts to show in the inventory item slots by changing the item count in the inventory slots from 0 to 1. But when I try to drop an item on top of another like item to stack them, the routines just swap the 2 items. The routines do not include include stacking of items, just dropping or swapping.
In my system, I've added, {put(...)}, 2 name/variables to each item that are the Stack_Limit and Stack_Count for stack-able items. I had hoped to just drop the Stack_Count into the Inventory slot's stack count for displaying the stack count on the inventory bag.
The routines I'm working with mostly is in the assets folders; Interface\FrameXML\MvContainer.py and scripts\MarsContainer.py . My items are defined in templates.py in the config folder.
On top of this problem is that I'm learning python at the same time. (I really wish I could re-write these python routines in C++. But I'm thinking that would open up a whole new can of worms.)
Did the Multiverse people write the Mars routines or did that come from someone else?
If no one else has done it yet, I suppose I just have to bite the bullet and figure it out myself. I'll try to keep track of the changes I make so I can post them here for others to use/fix/improve.
Again, thank for the help.