[Mod]mymonths[mymonths]

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Jan 12, 2016 20:29

Because the weather is related to the nodes around you this mod will not work right with ethereal
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: [Mod]mymonths[mymonths]

by philipbenr » Wed Jan 13, 2016 02:07

Provided it works fully, then +100. I have been looking for something like this for a long time.
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Jan 13, 2016 04:18

Still have a few issues. Weather is still laggy. No one has come up with a solution for this yet. Besides that I don't know of any issues. Please report3any issues and I will try to fix them.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: [Mod]mymonths[mymonths]

by philipbenr » Wed Jan 13, 2016 04:41

Cool, will do.

Keep up the good work, Don.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod]mymonths[mymonths]

by amadin » Wed Jan 13, 2016 11:45

Don wrote:Because the weather is related to the nodes around you this mod will not work right with ethereal

If i will add nodes from ethereal to mymonths it will work right? Maybe reasonable rain fall for all nodes except snow? Because roads, buildings etc don't have rain now. Or use not nodes but biomes for rain and snow?
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Jan 13, 2016 13:21

amadin wrote:
Don wrote:Because the weather is related to the nodes around you this mod will not work right with ethereal

If i will add nodes from ethereal to mymonths it will work right? Maybe reasonable rain fall for all nodes except snow? Because roads, buildings etc don't have rain now. Or use not nodes but biomes for rain and snow?

I just did some testing with Ethereal. The rain seems to work but is really laggy. Weather is laggy on it's own but with Ethereal it is worse. Not much I can do about that. It is an issue with particles.

The rain will work in most biomes of Ethereal. If you want to change the snow/jungle/desert biomes then open weather.lua and add nodes to lines 125 - 127.

You could also try adjusting the particles code for rain to see if you can make it work better. I played with it a bit but could not get it much better. Rain particle code is in weather.lua lines 221 - 229.

@philipbenr - Thanks
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod]mymonths[mymonths]

by mahmutelmas06 » Thu Jan 14, 2016 21:50

There is rain inside a house ( It rains 10-15 secons after going inside the home )

screenshot_20160114_161615.png
screenshot_20160114_161615.png (852 KiB) Viewed 2621 times


And can u make rain more rare because the weather is rainy more then sunny.
or can you add options to settings.txt to set
1- how rare rain should be
2- how long should it lasts.
My Mods:

Beverage
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Thu Jan 14, 2016 22:35

The rain inside is usually because of lag.

I am planning on changing the amount of rain. I have been busy and haven't had time yet. I hope to do it soon.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Sun Jan 17, 2016 23:25

I've added initial support for the thirsty mod, I think I have it set right, you should get thirstier in the summer months and less in the winter months, of course this will only happen if you are using the thirsty mod. I haven't tested it in a multi-player environment yet so it may not work on a server.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Mod]mymonths[mymonths]

by benrob0329 » Mon Jan 18, 2016 00:57

@Nathan But you need equally as much water when it's cold as it is when it's hot. Getting less thirsty in the spring and fall would be more realistic.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Mon Jan 18, 2016 02:08

@Benrob0329, right now the levels are probably set to levels that won't even be noticeable, so I need to tweak them more yet.
I'd think that realistically speaking the amount of water you need to drink is more dependent on what you do than seasons of the year and temperature, though of course if it is hot and you are sweating it will be necessary to replenish that water.
I'm waiting to hear back on how the thirst_factor from the thirsty mod works and will be updating the values when I hear on that. I wanted this feature more for my survive subgame but thought if I was going to code it I may as well contribute to the upstream source.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Mon Jan 18, 2016 12:44

@ Nathan - Like what you did with thirst. +1
You could also check the time of day and require less water at night.

@ Benrod0329 - People usually require more water in warmer weather because they loose more through perspiration.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Mon Jan 18, 2016 14:55

I suppose I could do that, though if people are playing singleplayer and use a bed to pass the night the thirst wouldn't be effected anyway.
Using the current code can't change the thirst from night to day, but I could try to add some type of multiplier code so the thirst factor is a little lower during night time hours.


Completely off topic, would anybody be interested in having flowers, grass, and mushrooms disappear for the fall and winter months? It would of course be a configurable effect. I was looking at the code for flowers and it looks like they have an ABM that controls their growth/spreading, after the they get placed as mapgen decorations so they should grow back. I do have to do a little testing to see when/how fast they grow back but I think it should work.

I will be adding support for the aspen trees as soon as I get a chance, they are in the daily builds, and will be in the next stable. I still want to get support for moretrees and valleys_mapgen. Actually with that being added in as a C++ mapgen I don't know if all the trees it adds will be added to default or not, I guess time will tell.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Wed Jan 20, 2016 17:10

I am 95% sure that the integration with the thirst mod should be working for multiplayer.
If you have the thirsty mod enabled mymonths will automagically make players thirstier in the summer, and less thirsty in the winter. The thirst factor is set every morning so a player that connects will have the first day at default thirst levels. I don't know if there is anything that could be done to change their thirst factor upon joining, and furthermore I don't know if it would even be worth the trouble of coding as the changes aren't that drastic.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Wed Jan 20, 2016 20:13

Well as it turns out the thirst integration I did crashed the game on singleplayer, and doubtless multiplayer too, so I've removed that for the time being.

I did add flowers dying in the fall/winter and growing in the spring, by default it is turned on, but can be turned off in the init.lua file with the rest of the settings.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod]mymonths[mymonths]

by amadin » Tue Feb 16, 2016 17:07

Can players on public server see the same weather in one place (rain, snow) if raining only for non-snow areas and snow fall only for snow areas?
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Feb 16, 2016 20:23

The players will see the same weather.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

OldCoder
Administrator
 
Posts: 346
Joined: Mon Oct 01, 2012 14:59

Re: [Mod]mymonths[mymonths]

by OldCoder » Tue Mar 08, 2016 09:08


1. Presently, in the git version of MyMonths, if the month is set to December, leaves don't change to sticks. Instead, CONTENT_IGNORE error messages are printed.

This happens due to inconsistent naming of "sticks" nodes. To correct the problem, edit the file "leaves.lua" and do a global replace to change "stick_" to "sticks_" everywhere. Be sure to include the underscore in both strings.

The result is our picks for a fix that makes sticks right quicks. For the results, see the screenshot below.

2. As a separate issue, the following line in "init.lua" is presently outdated:

minetest.register_alias("mymonths:leaves_sticks", "default:leaves")

It should probably be replaced with the following two lines:

minetest.register_alias("mymonths:sticks_aspen", "default:leaves")
minetest.register_alias("mymonths:sticks_default", "default:leaves")


This assumes that the change in point #1 has been made.


Image

 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod]mymonths[mymonths]

by Nathan.S » Tue Mar 08, 2016 14:06

Fixed and pushed.
Thanks for the heads up.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod]mymonths[mymonths]

by KCoombes » Tue Mar 08, 2016 14:51

Testing this with chat command "date"

2016-03-08 09:49:26: ERROR[Main]: ServerError: Lua: Runtime error from mod 'mymonths' in callback on_chat_message(): ...r\Desktop\Minetest 4.13\bin\..\mods\mymonths/command.lua:129: attempt to perform arithmetic on local 'tt' (a nil value)
2016-03-08 09:49:26: ERROR[Main]: stack traceback:
2016-03-08 09:49:26: ERROR[Main]: ...r\Desktop\Minetest 4.13\bin\..\mods\mymonths/command.lua:129: in function 'func'
2016-03-08 09:49:26: ERROR[Main]: ...sktop\Minetest 4.13\bin\..\builtin\game\chatcommands.lua:42: in function <...sktop\Minetest 4.13\bin\..\builtin\game\chatcommands.lua:30>
2016-03-08 09:49:26: ERROR[Main]: ...r\Desktop\Minetest 4.13\bin\..\builtin\game\register.lua:361: in function <...r\Desktop\Minetest 4.13\bin\..\builtin\game\register.lua:341>
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Mar 08, 2016 15:31

I just pushed a fix for that.Thank you for reporting the error.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod]mymonths[mymonths]

by KCoombes » Tue Mar 08, 2016 18:09

Worse now - no error message, just crash to desktop with "Minetest engine has stopped working"

2016-03-08 13:04:33: WARNING[Main]: Irrlicht: Could not open file of texture: character.png
2016-03-08 13:04:35: WARNING[Main]: Map::getNodeMetadata(): Block not found
2016-03-08 13:05:56: ACTION[Server]: singleplayer digs mymonths:sticks_default at (-34,19,66)

That's all she wrote...
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Tue Mar 08, 2016 18:45

I can not replicate it.
What version of Minetest? Also can you tell me the day and month?

Edit - I just found and fixed an error.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod]mymonths[mymonths]

by KCoombes » Wed Mar 09, 2016 01:49

9am on December 1 :P that works!
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Mar 09, 2016 01:52

KCoombes wrote:9am on December 1 :P that works!

I realized I had a line of code in there that I should have taken out with the last changes.

Thanks for reporting the problem. It helps to have feed back like this.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod]mymonths[mymonths]

by KCoombes » Wed Mar 09, 2016 01:56

Thanks for all your hard work - I have a ton of your excellent mods and am thrilled to add this one!
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Mar 09, 2016 01:59

KCoombes wrote:Thanks for all your hard work - I have a ton of your excellent mods and am thrilled to add this one!

Nathan and I have put a lot of work into it and continue to try to make it better.
I am glad you like it.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: [Mod]mymonths[mymonths]

by MineYoshi » Wed Mar 09, 2016 02:06

This mod is very great and cool , after all everything that you do Don is very good!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod]mymonths[mymonths]

by Don » Wed Mar 09, 2016 02:09

Thanks MineYoshi. Thank Nathan too. He was a big part of this mod.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: [Mod]mymonths[mymonths]

by MineYoshi » Wed Mar 09, 2016 02:16

You could add the equinox, An equinox is an astronomical event in which the plane of Earth's equator passes through the center of the Sun, which occurs twice each year, around 20 March and 23 September. (i think you know!)

Info Here: https://en.wikipedia.org/wiki/Equinox

I give the idea, because that is a little detail, but makes a more like real month cycle!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

PreviousNext

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 19 guests

cron