Praxiiz
Sorceror
This is going to be a new lumber harvesting system that builds on UltimaLive. Please add your ideas and feedback.
The idea is simple. I would like a system where players actually chop down the trees and they disappear. A map has countless trees in it. To add them all as dynamic items or as dynamic statics would waste a lot of memory considering RunUO already stores that information in the statics file. So to avoid tracking millions of tree objects, I am thinking that the system would just use information stored in the statics files and use UltimaLive to update it.
A sequence could go something like this:
A tree progresses from stage 1 to stage 3 exactly as shown. Stages 4 to 6 can be done in any order, and results in a bundle of logs on the ground, which is a dynamic item that can be picked up.
Once a tree reaches stage 6, it is gone permanently.
That's the basic idea, now the next part is where things get a bit interesting. Once the tree is gone, how do new trees get introduced into the world? The server could keep a simple count of destroyed trees and replenish them every day or every world save. That would ensure there is always a good amount of trees in the world.
Another idea is to have players plant trees, or have some kind of other event that introduces new saplings into the world. I think it's important to avoid having the server track tons of tree states or iterating over the entire map file to update the trees as they grow.
The idea is simple. I would like a system where players actually chop down the trees and they disappear. A map has countless trees in it. To add them all as dynamic items or as dynamic statics would waste a lot of memory considering RunUO already stores that information in the statics file. So to avoid tracking millions of tree objects, I am thinking that the system would just use information stored in the statics files and use UltimaLive to update it.
A sequence could go something like this:
A tree progresses from stage 1 to stage 3 exactly as shown. Stages 4 to 6 can be done in any order, and results in a bundle of logs on the ground, which is a dynamic item that can be picked up.
Once a tree reaches stage 6, it is gone permanently.
That's the basic idea, now the next part is where things get a bit interesting. Once the tree is gone, how do new trees get introduced into the world? The server could keep a simple count of destroyed trees and replenish them every day or every world save. That would ensure there is always a good amount of trees in the world.
Another idea is to have players plant trees, or have some kind of other event that introduces new saplings into the world. I think it's important to avoid having the server track tons of tree states or iterating over the entire map file to update the trees as they grow.