TotalyMeow wrote:Your idea is actually really close to what is happening
TotalyMeow wrote:I suspect you have no idea what is happening and therefore no idea what is required to make it work.
Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
TotalyMeow wrote:Yes... and I'm pointing out that your idea to fix it is pretty close to what is already happening. So, it's not a fix and you clearly don't know what's happening in there. You might know a little something about code but Salem's code is very much customized right down to the very basic parts of the engine running it. And some of it is not what we'd like it to be, but we have to be very careful in making changes to it. It's like if we could manipulate the physical constants of the universe and we decided to lower G a tiny bit so the Earth's gravity would be a little lighter and we could launch rockets more easily, and then suddenly the sun balloons into a giant and the Earth is hurtled out to the orbit of Saturn. Oops.
TotalyMeow wrote:Yes... and I'm pointing out that your idea to fix it is pretty close to what is already happening. So, it's not a fix and you clearly don't know what's happening in there. You might know a little something about code but Salem's code is very much customized right down to the very basic parts of the engine running it. And some of it is not what we'd like it to be, but we have to be very careful in making changes to it. It's like if we could manipulate the physical constants of the universe and we decided to lower G a tiny bit so the Earth's gravity would be a little lighter and we could launch rockets more easily, and then suddenly the sun balloons into a giant and the Earth is hurtled out to the orbit of Saturn. Oops.
Taipion wrote:I just did not think it would be that complex in this case.
So it is not like other things, like determining when a wall old enough to do splash, or when a berry bush replenishs it's berries?
Icon wrote:This isn't Farmville with fighting, its Mortal Kombat with corn.
nosfirebird wrote:if you dont want clutter but want fruit trees make 10 alts and cycle them out with teddybears
(a person who plays online games since the 1980s about salem) laywn wrote:I have never seen anything so down right dirty!
TotalyMeow wrote:Taipion wrote:I just did not think it would be that complex in this case.
So it is not like other things, like determining when a wall old enough to do splash, or when a berry bush replenishs it's berries?
A wall is a simple timer which ends and isn't random. Berry bushes won't replenish if they get picked and then the tile never loads again. It all relies on 'decay' ticks, which only happen while a tile is loaded. Putting actual random event ticks on the trees themselves is something John wanted to do, but from what he told me, combining that with the season check, the bee check, and everything else it would have had to check for every fruit tree, and the added complications of tracking that while the tile is unloaded and having it update correctly even if the tile didn't load until After these things happened, would have created bullet-time levels of lag across the server.
Right now the 'tree' object doesn't even know what time it is. As far as I know, when it gets a decay tick it checks its species for the right behavior, checks the season if it's a fruit species, checks if it's already bloomed, blooms if it needs to, checks for bees, sets the necessary tags in preparation for the next tick, switches on or off the textures, and then waits for the next tick to go to the next step. It doesn't do any of that unless it's randomly selected for 'decay' so most of the time it's just sitting there dormant. Minimal lag.
And if the tile isn't loaded, no ticks happen in that tile at all. Unclaimed buildings don't decay, trees don't update, bushes don't update, stumps and logs don't update. Things on solid timers that don't need to check surrounding conditions, like maturing crops, maturing walls, board piles, DO update on loading of the tile, but that's it. I'm actually not even sure if maybe a dry board pile won't mold if it never loads from the time it's built to the time it completes because initial mold infection, I think, relies on decay ticks and then the ratio depends on when the infection occurred.
Users browsing this forum: Google [Bot] and 29 guests