SeifUO

Member
ServUO Version
Publish 57
Ultima Expansion
Renaissance
I am not sure how the "MaxWeight" actually works
I tried tweaking it in BaseContainer (For the players backpack).. In Mobile.. In Playermobile.. In WeightOverload.. Nothings being updated & the old formula remains

Anyone managed to actually change MaxWeight? Thank you!
 
Container.cs [Global Containers]
Line #
1682: private static int m_GlobalMaxItems = 125;
1683: private static int m_GlobalMaxWeight = 400;

Containers.cs [Specified Containers] (Backpack: line 452)
public class Backpack : BaseContainer, IDyable
{
[Constructable]
public Backpack()
: base(0xE75)
{
Layer = Layer.Backpack;
Weight = 3.0;
}

public Backpack(Serial serial)
: base(serial)
{
}

public override int DefaultMaxWeight
{
get
{
Mobile m = ParentEntity as Mobile;
if (m != null && m.Player && m.Backpack == this)
{
return 550;
}
else
{
return base.DefaultMaxWeight;

}
}
}
 
Last edited:

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back