Page 1 of 1

Stackable items "feature"

Posted: Sat Feb 11, 2006 10:52 am
by Nuuf
From: grouped-core-changes095.txt
Changed: renaming a stackable item a specific name will now prepend the amount to the single-click description.
i.e. rename 2 items 'sucky item', then stack will produce a desc of '2 sucky items'.

Is there any way to turn this off?
I've been using POL94 for over 3 years. Recently, I have decided to switch to POL95 and found it impossible because of the above-mentioned change.

A simple example of how it works:
There is a stack of 10 apples. A player eats one apple. The script uses SubtractAmount(apples, 1) function. Now, there are 9 apples. The new core feature renames "10 apples" to "9 10 appless". Now, the player eats another apple... and the stack is renamed to "8 9 10 applesss". After eating 5 apples, the player has a stack of 5 apples named "5 6 7 8 9 10 applessssss".

It happens with all stackable items and is really annoying.
As far as I'm concerned, this is a bug, not a feature.
Do you possibly know of any solution to this problem?

Regards
Nuuf

Posted: Sat Feb 11, 2006 1:44 pm
by itec
My guess is that your eating script is renaming the food also, in addition to the core. Try removing all renaming in your eat script.

Posted: Sun Feb 12, 2006 12:36 am
by Nuuf
It is not renaming the food.
The same thing happens with ingots used for blacksmithy, which also does not rename them. The only thing it does with ingots is SubtractAmount.

Posted: Tue Feb 21, 2006 4:55 pm
by Madman
Can anyone else confirm this problem? If it's a bug with SubtractAmount then we need to fix it, if not... well, then it'll depend on what it is. ;)

Posted: Tue Feb 21, 2006 7:02 pm
by Mithril
Its been working perfectly fine for me running pol096.

Posted: Wed Feb 22, 2006 7:52 pm
by Danielle
I've never had an issue with it using 95 or 96.

Posted: Thu Feb 23, 2006 5:35 am
by MontuZ
Never had it this problem either using 95.

Posted: Thu Feb 23, 2006 11:39 am
by Tritan
I have not had this problem either with 95. It almost sounds like the script set you are using is causing this somplace when you add an item to the stack.

Do you get the same non-sense when you try to add to the stack? How is that naming taking place?

That is where you should start looking for the renaming issue you are talking about.