[Mod] Snow Biomes [3.2] [snow]

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Tue May 05, 2015 18:06

paramat wrote:There's a new bug that was posted as an engine issue on Github https://github.com/minetest/minetest/issues/2672
The latest commit by melzua is wrong, 'get2D()' doesn't have the form '{x = ..., y = ...}':
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
if perlin1:get2d({x, y}) <= 0.53 then

2D noise always uses abstract variables x and y, these then represent world position x and z.

it should be fixed now
Ivà wrote "Changing the get_snow function code as below solves the crash", so l didn't look for such a mistake.

paramat wrote:You left x and z undefined when calculating noise3

l changed z to y when l did this commit https://github.com/Splizard/minetest-mo ... 65c046f500
and x and y are defined

Edit:l just tested falling snow and it worked for me.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Snow Biomes [3.2] [snow]

by paramat » Tue May 05, 2015 18:38

That will work, but is messy and has unnecessary code, faster to use pos.x and pos.z directly as in my post.

Splizard, please can you remove my push access to this repo? I don't have time to be involved as a mod dev anymore.

Optional snow biomes are now added to 0.4.12dev mgv6 C++ mapgen, add "mgv6_spflags = snowbiomes" to your minetest.conf file.
 

Ivà
Member
 
Posts: 115
Joined: Sun Feb 22, 2015 07:11
GitHub: melzua
IRC: melzua
In-game: melzua

Re: [Mod] Snow Biomes [3.2] [snow]

by Ivà » Tue May 05, 2015 20:16

Apologise for the mistake, was late at night for me and did a quick fix to solve the crash but I didn't dig more into the code.

So sorry.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Snow Biomes [3.2] [snow]

by paramat » Tue May 05, 2015 23:22

Hey no problem =)

The abstract internal variables x, y used by 2D perlin noise are often confused with world co-ordinates so it's best they only ever appear inside get2d() as [x = ..., y = ...}.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Wed May 06, 2015 15:40

paramat wrote:That will work, but is messy and has unnecessary code, faster to use pos.x and pos.z directly as in my post.

ok, l edited it.
 

User avatar
Splizard
Member
 
Posts: 220
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard

Re: [Mod] Snow Biomes [3.2] [snow]

by Splizard » Wed May 13, 2015 03:52

@Paramat I have removed your push access as you requested.
@Hybrid Dog nice to see you have been working on snow mod :)
let me know if you want me to release a new version!
Games: The Hungry Games.
Mods: Lifters (Simple Lifts), Snow Biomes and Gates.
Also checkout my texture pack Gridtoon!
View all of them plus more at http://minetest.splizard.com! (may not always be online).
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Wed May 13, 2015 13:08

ok
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Snow Biomes [3.2] [snow]

by Minetestforfun » Tue Jun 02, 2015 15:27

The Sled doesn't work for me, can you check it please ? :)
(i would create a event with it :p)
 

User avatar
Splizard
Member
 
Posts: 220
Joined: Wed Jan 25, 2012 07:20
GitHub: Splizard
IRC: Splizard
In-game: Splizard

Re: [Mod] Snow Biomes [3.2] [snow]

by Splizard » Wed Jun 03, 2015 22:45

@Minetestforfun
Sleds should be fixed in the latest development version :)
Games: The Hungry Games.
Mods: Lifters (Simple Lifts), Snow Biomes and Gates.
Also checkout my texture pack Gridtoon!
View all of them plus more at http://minetest.splizard.com! (may not always be online).
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Snow Biomes [3.2] [snow]

by Minetestforfun » Thu Jun 04, 2015 07:08

@Splizard
Thank you very much for this fix :)
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Thu Jun 04, 2015 12:29

automatic snowball throwing:
Image
Attachments
screenshot_20150604_141551.png
screenshot_20150604_141551.png (417.26 KiB) Viewed 2539 times
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [Mod] Snow Biomes [3.2] [snow]

by DS-minetest » Fri Jun 05, 2015 19:29

Hybrid Dog wrote:automatic snowball throwing:
Image

you need a snowball cannon
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Thu Jun 11, 2015 15:51

DS-minetest wrote:you need a snowball cannon

yes, and l need textures, sounds and a nodebox or mesh for it…




the generated snow does not have the same height everywhere but these heights:
Image
+ "a bit outdated"
Attachments
snh2.png
snh2.png (730.14 KiB) Viewed 2539 times
snh1.png
snh1.png (851.52 KiB) Viewed 2539 times
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [Mod] Snow Biomes [3.2] [snow]

by DS-minetest » Sat Jun 13, 2015 20:00

Hybrid Dog wrote:
DS-minetest wrote:you need a snowball cannon

yes, and l need textures, sounds and a nodebox or mesh for it…

pls do not use mesh, if it is not needed, nodebox is cooler
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Sat Jun 13, 2015 20:21

DS-minetest wrote:
Hybrid Dog wrote:
DS-minetest wrote:you need a snowball cannon

yes, and l need textures, sounds and a nodebox or mesh for it…

pls do not use mesh, if it is not needed, nodebox is cooler

ok
 

Diamond knight
Member
 
Posts: 262
Joined: Sun Apr 19, 2015 19:50
In-game: Diamondknight or diamond_knight

Re: [Mod] Snow Biomes [3.2] [snow]

by Diamond knight » Sat Jun 13, 2015 22:18

moresnow has a snowball cannon already coded if you want to download the mod
I can never get enough MESE!!!!!!!!!

my subgame: https://forum.minetest.net/viewtopic.php?f=50&t=11901
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Sun Jun 14, 2015 10:29

Diamond knight wrote:moresnow has a snowball cannon already coded if you want to download the mod

l first need to test it, thanks for informing me
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Sun Nov 22, 2015 19:13

Image
l added a few normalmap textures
Attachments
screenshot_20151121_223026.png
screenshot_20151121_223026.png (435.64 KiB) Viewed 2539 times
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Snow Biomes [3.2] [snow]

by SaKeL » Fri Feb 12, 2016 22:39

im getting this error, is it something what you are aware of ?

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-02-12 23:28:37: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2016-02-12 23:28:37: ERROR[main]: Lua: OOM error from mod 'snow' in callback environment_OnGenerated(): not enough memory
2016-02-12 23:28:37: ERROR[main]: Current Lua memory usage: 867 MB

In thread 7f94719a67c0:
/build/minetest-5EsLJt/minetest-0.4.13/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: OOM error from mod 'snow' in callback environment_OnGenerated(): not enough memory
Current Lua memory usage: 867 MB
Debug stacks:
DEBUG STACK FOR THREAD 7f94575fe700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(13,433,8), create_blank=0)
(Leftover data: #2  ServerMapSector* ServerMap::createSector(v2s16): p2d=(13,8))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f9457fff700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f946657d700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(float))
(Leftover data: #3  void Server::SendBlockNoLock(irr::u16, MapBlock*, irr::u8, irr::u16))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
(Leftover data: #6  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
(Leftover data: #7  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f94719a67c0:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
(Leftover data: #4  void Server::SendAccessDenied_Legacy(irr::u16, const wstring&))



maybe something related to this ?
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Sat Feb 13, 2016 12:33

It looks like snow takes too much memory when generating.
When exactly did you get this error and which mapgen version were you using?
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Snow Biomes [3.2] [snow]

by SaKeL » Sat Feb 13, 2016 14:21

mapgen v6
it happens randomly i.e. when flying around but it also happened when the player walked trough the snow biomes/forest
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Snow Biomes [3.2] [snow]

by Hybrid Dog » Sat Feb 13, 2016 18:12

l made it execute the collectgarbage function, does if fix the crashes?
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Snow Biomes [3.2] [snow]

by SaKeL » Sat Feb 13, 2016 19:30

i will pull the changes and give it a test.... will let you know
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [Mod] Snow Biomes [3.2] [snow]

by SaKeL » Sun Feb 14, 2016 18:25

it's working for now...no crashes ...if it appears again i will let you know ;) thanks
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

PureTryOut
Member
 
Posts: 12
Joined: Fri Oct 16, 2015 10:17
GitHub: PureTryOut
IRC: PureTryOut
In-game: PureTryOut

Re: [Mod] Snow Biomes [3.2] [snow]

by PureTryOut » Sat Oct 22, 2016 21:38

Just a note, the images on the frontpage are down. Please use an image host like Imgur, or some other reliable host.
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: [Mod] Snow Biomes [3.2] [snow]

by Andrey01 » Fri Dec 02, 2016 17:11

The mod don`t work, i was getting error when installed game:
"Failed to load and run script from /home/administrator/.minetest/mods/snow/init.lua:
/home/administrator/.minetest/mods/snow/src/mapgen.lua:61: attempt to call field 'get_mapgen_setting' (a nil value) stack traceback:
/home/administrator/.minetest/mods/snow/src/mapgen.lua:61: in main chunk [C]: in function 'dofile'
/home/administrator/.minetest/mods/snow/init.lua:69: in main chunk"
Maybe did i rename the mod incorrect?
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

by Hybrid Dog » Sun Dec 04, 2016 09:40

l guess you need a new version of minetest.
https://github.com/Splizard/minetest-mo ... 318aaf08ff
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: [Mod] Snow Biomes [3.2] [snow]

by Andrey01 » Sun Dec 04, 2016 15:00

Hybrid Dog wrote:l guess you need a new version of minetest.
https://github.com/Splizard/minetest-mo ... 318aaf08ff

A new version?New version of minetest hasn`t come yet, last version was 0.4.14
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Snow Biomes [3.2] [snow]

by Krock » Sun Dec 04, 2016 15:27

Andrey01 wrote:A new version?New version of minetest hasn`t come yet, last version was 0.4.14

Versions between each release are so-called in-development versions and contain newer features, bugfixes but also new bugs.
There are precompiled (PPA) versions for Ubuntu/Mint and Arch Linux here. For a different distribution, you will need to compile it on your machine.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: [Mod] Snow Biomes [3.2] [snow]

by Andrey01 » Sun Dec 04, 2016 15:36

Krock wrote:
Andrey01 wrote:A new version?New version of minetest hasn`t come yet, last version was 0.4.14

Versions between each release are so-called in-development versions and contain newer features, bugfixes but also new bugs.
There are precompiled (PPA) versions for Ubuntu/Mint and Arch Linux here. For a different distribution, you will need to compile it on your machine.

I have deleted line:61 in the mapgen.lua and it is worked, finally
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 48 guests

cron