empty 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
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

empty containers?

Post by qrak »

Hi. Im using perl script to remove empty containers in storage.txt because storage is expanding after some weeks with some crap. Is there other way to prevent that expansion? maybe scripting way? Could someone tell me why it happens?

Here is a link to perl script: http://qrak.lanet.wroc.net/cleanup.txt
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Then you are actually cleaning up the old abandoned merchant stuff and so forth.

Yes, look into the 097 Distro, there is a new storage system in there, that would help you cycle through it and remove "abandoned" storage devices, to help the same as the perl script.
qrak
Grandmaster Poster
Posts: 198
Joined: Sun Feb 05, 2006 4:35 pm

Post by qrak »

ok i've used storage.inc and storageAreas.inc include functions in npc death script and in ondelete.src. Is it enought? (i don't have merchants on my shard).
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Unsure, Easiest way to find out is trial and error. Let it run and see if it's still finding abandoned ones. If it does, find out why and script for it.
Post Reply