Hello,

I want to add a scroll ,player can use this scroll to add backpack's maxweight, but It seems this value is readonly on current ServUO, is there any way to do this?

thanks!
 
Not sure about weight, but when we changed the max items containers could hold, we had to recompile the server to get the change to take effect. I'm not sure if deeds or scrolls would work well as an increase in weight for backpacks. If you have to do a recompile every time someone uses a deed or scroll that could get a little bit exhausting.
 
For MaxWeight you would need to change it to behave the same as MaxItems since MaxItems already allows for custom values out of the box. You would probably need to recompile, after doing that, once.

That inclused making a variable that holds the amount of maxweight, a condition in the MaxWeight property and properly adding the maxweight variable into the serialize and deserialize methods.
 
Back