SplitStackAt Bug

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

SplitStackAt Bug

Post by RusseL »

Agghhhrrr, so many bugs with SplitStackInto and SplitStackAt :x :x :x

If i use SplitStackAt(x,y,z,realm, AMOUNT) on a stack of items with AMOUNT items in it, this functions dupes this stack.
It creates one stack with AMOUNT of items on x,y,z and leaves old stack in game.

ps. if i use SplitStackAt(x,y,z,realm, AMOUNT-1) - it works correctly
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: SplitStackAt Bug

Post by Tomi »

oh damn, so you mean on non stackable using the amount of the stack ?
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: SplitStackAt Bug

Post by RusseL »

Tomi wrote:oh damn, so you mean on non stackable using the amount of the stack ?
i mean stack of reagents, for example. Stack of 20 reagents, SplitStackAt(x,y,z,realm, 20) - it will dupe this stack
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: SplitStackAt Bug

Post by Tomi »

I did not get this problem reproduced.
Yes it does clone the stack but it also destroyed the old one correctly
Post Reply