PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
banks?

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
Poi



Joined: 14 Apr 2006
Posts: 240

PostPosted: Sat May 06, 2006 1:40 pm    Post subject: banks? Reply with quote

Hey for banks ive been looking around everyone all the bank files.. etc cnat find anything, where do i change the ammount of items and the wight they hold?

Author Message
Tritan



Joined: 04 Feb 2006
Posts: 136
Location: Illinois, USA

PostPosted: Sat May 06, 2006 2:27 pm    Post subject: Reply with quote

servspecopt.cfg file.

This is in your config folder, or should be. These are default for all containers though. I scripted a seperate routine into the banker scripts to adjust this with. It is more of a check for the number of items in the bank, not the weight of items.

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Sat May 06, 2006 5:01 pm    Post subject: Reply with quote

In objtypes.inc the bankbox is defined as using this obtype number for the container: 0x0e40.

If you look in the itemdesc.cfg file in the \pol\config directory you will see this entry:

Code:
Container 0x0E40
{
    Name                MetalChest
    desc                metal chest
    Gump                0x004A
    MinX                44
    MaxX                143
    MinY                65
    MaxY                140
    RequiresAttention   0
    movable             1
    MaxItems            125
    weight              5
    CanInsertScript     ::canInsert
    OnInsertScript      ::onInsert
    CanRemoveScript     ::canRemove
    OnRemoveScript      ::onRemove
}


By adding this line:

MaxWeight <an integer with the max weight you wish banks to hold goes here>

For example:

MaxWeight 10000

You will define the maximum weight the bankbox can hold.

Author Message
Poi



Joined: 14 Apr 2006
Posts: 240

PostPosted: Sat May 06, 2006 5:43 pm    Post subject: Reply with quote

Thanks.

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty