Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
Ray_Anor

Chunk Calculating

17 posts in this topic

Hi there!

My Idea has a simply mathematic.

That if we add to each chunk variable that will hold the timestamp?

This value will mean a time that the chunk was inactive. After activation of the chunk to the basic elements that need it, it will be necessary to calculate that "happened" during the absence of the players in the chunk.

There is no need to count all the elements! Only the ones that are really important - the growth of grass, plants and trees, generation of new stones. etc.

=============

After some researching reasons why my crops and other things don't grows - found a problem. When operating my server used command /time set 0 and this was reseting date and time. After adding some time all things start work again. This feature already done.

Solved. Topic close.

Edited by Ray_Anor
1

Share this post


Link to post
Share on other sites

You should elaborate your idea a little more, but I think I know what you're saying, if you're not near a chunk the time seems to stop there and trees don't grow, so this could speed things up, BUT what if you pass thru many chunks, there would be too many variables to keep track at the same time and would lag.

0

Share this post


Link to post
Share on other sites

Wouldn't this cause lag? Like a lot?

Oooh, and...

WeLcOmE tO tHe FoRuMs!!!!!

0

Share this post


Link to post
Share on other sites

I know for a fact that animals already have this implemented and I'm fairly certain Bioxx implemented this everywhere else too. It may not be obvious at first, but you've just suggested something that's already implemented.

The way we handled it for animal growth (as baby animals will slowly grow from the moment they are born until they reach full size) is that when the unloaded baby reloads, it calculates it's current age based on the current game time and the gametime it was born at.

2

Share this post


Link to post
Share on other sites

I know for a fact that animals already have this implemented and I'm fairly certain Bioxx implemented this everywhere else too. It may not be obvious at first, but you've just suggested something that's already implemented.

The way we handled it for animal growth (as baby animals will slowly grow from the moment they are born until they reach full size) is that when the unloaded baby reloads, it calculates it's current age based on the current game time and the gametime it was born at.

I have to see this. Can you tell how it works (I'm not at home right now)?

0

Share this post


Link to post
Share on other sites

WeLcOmE tO tHe FoRuMs!!!!!

Dude just got the mother of all welcomes Ó.ò

1

Share this post


Link to post
Share on other sites

Dude just got the mother of all welcomes Ó.ò

Double rainbow...
0

Share this post


Link to post
Share on other sites

Double rainbow...

Aaaaallll the waaaay across the skyyy! What does it mean?

Aaaaahhh good times with old friends. My best friend and I didn't stop laughing for a good 2 hours ^_^

1

Share this post


Link to post
Share on other sites

Aaaaallll the waaaay across the skyyy! What does it mean?

Aaaaahhh good times with old friends. My best friend and I didn't stop laughing for a good 2 hours ^_^

http-~~-//www.youtube.com/watch?v=OQSNhk5ICTI

BOOM!

0

Share this post


Link to post
Share on other sites

http-~~-//www.youtube.com/watch?v=OQSNhk5ICTI

BOOM!

... the guys in the video are reaaaally stoned, or i'm just imaginating things?

0

Share this post


Link to post
Share on other sites

... the guys in the video are reaaaally stoned, or i'm just imaginating things?

Yuo're not the only one here immaginating things O_O
0

Share this post


Link to post
Share on other sites

Yuo're not the only one here immaginating things O_O

Yeah, for example, you seem to have imagined "immaginating" needed two "m"s instead of one ._.

EDIT: Or that "Yuo" had the letters in that order, now that i think about it...

0

Share this post


Link to post
Share on other sites

Yeah, for example, you seem to have imagined "immaginating" needed two "m"s instead of one ._.

EDIT: Or that "Yuo" had the letters in that order, now that i think about it...

Typing erorr, becuase I write fast and I don't check waht I wirte.
0

Share this post


Link to post
Share on other sites

Typing erorr, becuase I write fast and I don't check waht I wirte.

Sherlock says: Unacceptable! Always proof-read

achartran: (a muffled voice from the basement) Cut him some slack Sherlock, ya crazy bugger.

Sherlock: Silence man! Or you'll stay in there for longer! I can't think with you constantly yelling from down there.

0

Share this post


Link to post
Share on other sites

Sherlock says: Unacceptable! Always proof-read

achartran: (a muffled voice from the basement) Cut him some slack Sherlock, ya crazy bugger.

Sherlock: Silence man! Or you'll stay in there for longer! I can't think with you constantly yelling from down there.

... lol ._.

0

Share this post


Link to post
Share on other sites

Sherlock says: Unacceptable! Always proof-read

wrong, that's Lemongrab's line
0

Share this post


Link to post
Share on other sites

After some researching reasons why my crops and other things don't grows - found a problem. When operating my server used command /time set 0 and this was reseting date and time. After adding some time all things start work again. This feature already done.

Solved. Topic close.

1

Share this post


Link to post
Share on other sites