MaxItems and MaxWeight for Containers

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

MaxItems and MaxWeight for Containers

Post by CrazyMan »

How i can change MaxItems and MaxWeight for containers in script?
Maybe need create object members?
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Post by DevGIB »

what scriptbase?

umm just a quick option to check out goto your main pol dir and open objtypes.txt i think it is, then do a find for chest and have a look at what its followed by eg it would generally give a package if its in one or it will just say config?? no i could be wrong im not sure, but then you can use that to look up the defined containers and they have props like MaxItems and MaxWeight... asfor defaults i think its is servspecopt.cfg or something.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

http://poldoc.fem.tu-ilmenau.de/pol095/configfiles.php

Look in itemdesc.cfg for per container entries explanation and servspecopt.cfg for default entries explanation.
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Post by DevGIB »

thats what i meant :P :wink:
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

This brings up an interesting question. CrazyMan asked:
How i can change MaxItems and MaxWeight for containers in script?
Are those r/w members? I didn't see any reference to them on containers in the POL Docs. They aren't even listed as a member of a container there.
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

That's because they are r/o, not r/w. No way to change them via scripts, only via itemdesc.cfg and a reload of POL
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

Post by CrazyMan »

So i say:
Shini, add new obj member for containers for change MaxItems and MaxWeight.

MoatDib:
I have bad english....
But i now about itemdesc.... i vont change maxitems online, ingame, from scripts
Post Reply