FIXED *NEW* Aquarium Bugs (large, wall etc)

Mrriots

Apprentice II
In this thread we have two bugs,


1) When, in this example a Large Aquarium is created, it retains the material color.
1608153306808.png
This can easily be fixed, when you redeed it the item loses the original color and goes back to looking like a normal aquarium.
This item should not retain the color of used material.


2)
Content in Large Aquariums are way off.
Below you can see my UOHeritage Large Aquarium:
1608153402388.png
As you can see it can hold 7 creatures.
Below you see the OSI Aquarium:
1608153431662.png

It can hold 30
 

Bob

Journeyman
The Legend
i noticed the large , live creature count seems to drop with water state.
Mine started out at 30, but now says 27 .
Will know if it goes back to 30 after next cycle,

1608173725667.png

1608173775751.png
 

Dan

Staff Member
Administrator
Game Master
TrueUO/Aquarium.cs at master · TrueUO/TrueUO (github.com)
Code:
        [CommandProperty(AccessLevel.GameMaster)]
        public int MaxLiveCreatures
        {
            get
            {
                int state = (m_Food.State == (int)FoodState.Overfed) ? 1 : (int)FoodState.Full - m_Food.State;

                state += (int)WaterState.Strong - m_Water.State;

                state = (int)Math.Pow(state, 1.75);

                return MaxItems - state;
            }
        }

It appears to be a mix of the food and water state.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
22 hours
Players Online
15
Houses
875
Vendors
282
Gold
5,413,249,690gp
Top Bottom