Stack limit

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Stack limit

Post 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
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Re: Stack limit

Post 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?
Tomi
POL Developer
Posts: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Stack limit

Post 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.
xeon
Forum Regular
Posts: 338
Joined: Fri Oct 31, 2008 3:18 am

Re: Stack limit

Post by xeon »

Well, I've put in a feature request.
Post Reply