Page 1 of 1

Stack limit

Posted: Sun Nov 01, 2009 3:27 pm
by xeon
Hello at all,
apart from writing a custom OnInsertScript, is there a way to set the max amount of a stack, in other words, to a value less than 60000?

I'm (still) using POL096.

Thanks

Re: Stack limit

Posted: Mon Nov 02, 2009 11:34 am
by xeon
Argh...
I didn't recalled that OnInsertScript is valid for the containers, not the single items...

In the case, I should modify the /scripts/control/OnInsertScript for all the containers. Not really nice :/

Any suggestion?

Re: Stack limit

Posted: Mon Nov 02, 2009 12:20 pm
by Tomi
to implement fully a limit like that, you also need to hook dropitem and pick up item packets to check the single item stuff...

ofcourse you could add a feature request for that ( because the devs are planning to do other things with stacking items aswell ( serverside fix for certain items stacking with wrong graphic etc ) so they could possible add some cfg option for max stack aswell.

Re: Stack limit

Posted: Tue Nov 03, 2009 11:40 am
by xeon
Well, I've put in a feature request.