[Game] Minetest TNG [v16.08] - Free for backporting!

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Game] Minetest TNG [v16.07]

by Byakuren » Post

Thanks!
Every time a mod API is left undocumented, a koala dies.

ph8jPf9M
Member
Posts: 77
Joined: Sat Jul 16, 2016 10:29
GitHub: 22i

Re: [Game] Minetest TNG [v16.07]

by ph8jPf9M » Post

i love the black inventory theme! is there a way to make unified inventory mod look like that?

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.07]

by LNJ » Post

ph8jPf9M wrote:i love the black inventory theme! is there a way to make unified inventory mod look like that?
You could replace the background image, of unified inventory with TNG's one.

Here you can find TNG's:
https://github.com/Gamerbude/Minetest_T ... formbg.png

But I think, it could be a little bit brighter...
Storage Drawers - The simplest item storage in Minetest

ph8jPf9M
Member
Posts: 77
Joined: Sat Jul 16, 2016 10:29
GitHub: 22i

Re: [Game] Minetest TNG [v16.07]

by ph8jPf9M » Post

sweet what about the inventory slots is it the same picture?

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.07]

by LNJ » Post

ph8jPf9M wrote:sweet what about the inventory slots is it the same picture?
The inventory slots are done separately.
Storage Drawers - The simplest item storage in Minetest

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.07]

by LNJ » Post

And here is a small information:
I'm away for one week, so I can't fix anything in the game, but JBB (https://github.com/JBBgameich) has push privs for the TNG repository, so maybe he can help you for this time.
Storage Drawers - The simplest item storage in Minetest

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Farming] Rightclick to harvest

by azekill_DIABLO » Post

LNJ wrote:Did you know?

With the new update you can harvest mature plants with a simple rightclick! That should make many things easier! :)

Image
Finaly i can simply harvest crops! without destroying everything.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Game] Minetest TNG [v16.08]

by texmex » Post

Been greatly enjoying a sesh of TNG. It is pretty polished and applies sensible defaults to many things.

Discovered some bugs too of course.
  1. There's spawn cages generated in catacombs, should it be visible to player? Also, nothing spawns.
  2. Cobblestone award have over-sized graphics.
  3. There's a grave light bug, I think it's triggered when saplings grow into trees.
Image
Image
Image
Image

Thanks!

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Game] Minetest TNG [v16.08]

by azekill_DIABLO » Post

1 :the cages are spawners. with a torch near it, nothing will spawn. only works in dark

2 :the texture is too big needs to be smaller

3: mapgen bug with dungeons which tried to generate in air and then dissapeared. woerd bug, but usual with mapgen mods. cannot be alwas fixed for now.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

[Update] TNG v16.08 - The Delicious Update

by LNJ » Post

Changelog (v16.07 - v16.08):
  • Farming: Mature Plants are harvestable by a single rightclick now
  • Default: Added rounding helper function
  • Farming: Infotext displays the percent that the plant is grown
  • Increase uses of most tools
  • Default: Ladder recipe returns two, not only one
  • Default: Mese lamp recipe returns two, and needs obsidian glass
  • Add torch wield light (disabled by default)
  • Food: Add hamburger, clean up, add documentation
  • Hunger: Rewrite eating function partly
  • Farming: Add lettuce
  • Add 'Chessboard' from realchess mod by kilbith
  • Add Chairs, that are sittable
  • (Re)Add give initial stuff and enable with a crafting guide per default
  • Farming: Add gardens (and API) for seeds
Spoiler
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
Image
You can find the full changelog on github.

Version 16.08 Wallpaper:
Image
Storage Drawers - The simplest item storage in Minetest

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Game] Minetest TNG [v16.08]

by azekill_DIABLO » Post

i would have put the "16.08" into wter than in the sky.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.08]

by LNJ » Post

azekill_DIABLO wrote:i would have put the "16.08" into wter than in the sky.
Want to make a better one?
http://ge.tt/3I7jZwd2
Storage Drawers - The simplest item storage in Minetest

User avatar
pithy
Member
Posts: 251
Joined: Wed Apr 13, 2016 17:34
GitHub: pithydon

Re: [Game] Minetest TNG [v16.08]

by pithy » Post

I don't like getting stuck on chairs, it makes me feel old.
My furniture mod implements sitting a different way.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Game] Minetest TNG [v16.08]

by azekill_DIABLO » Post

xcf is a gimp file no?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
pithy
Member
Posts: 251
Joined: Wed Apr 13, 2016 17:34
GitHub: pithydon

Re: [Game] Minetest TNG [v16.08]

by pithy » Post

azekill_DIABLO wrote:xcf is a gimp file no?
.xcf opens with gimp.

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.08]

by LNJ » Post

pithy wrote:I don't like getting stuck on chairs, it makes me feel old.
My furniture mod implements sitting a different way.
I know your mod and I like your mod from the player-side, but I won't add this because it registers another globalstep and globalsteps will make the server slower and slower.
Globalsteps run all the time and that is unnecessary waste of resources (at least in this case).

But I would know a compromise:
Right-click to enter a chair, shift to leave it (completely without globalsteps).

So my idea (for devs):
- a on_rightclick function for chairs that'll let the player sit onto the chair
- after that, we'll start a minetest.after-loop it'll check if the player has pressed the shift key, if so the player will stand up again.

Code: Select all

function sit_up_on_shift(...)
        <check the controls>
        if shift_pressed then
                sit_up(...)
        else
                 minetest.after(.8, sit_up_on_shift, ...)
        end
end

on_rightclick = function(...)
        sit_down(...)
        sit_up_on_shift(...)
end
What do you think about that?
Storage Drawers - The simplest item storage in Minetest

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Game] Minetest TNG [v16.08]

by Byakuren » Post

globalsteps make the game "slower and slower", but so do minetest.after loops, anyway.

Adding a timer to the globalstep would probably be enough to make the cost negligible. If the timer hasn't elapsed, that's just an additional index to iterate over, a function call, a comparison, an addition, and an assignment, which together will have basically no footprint. When it has elapsed, it won't be any worse than a minetest.after loop, since it will have to do the processing in either case. minetest.after might even perform worse on a small step like 0.8, because it will have to mess with the queue each time the event occurs. A good argument for minetest.after though, would be that it's conceptually simpler to do a timed loop with minetest.after than with a globalstep, and also avoids doing all the processing for all players at once, which would cause (probably small) lag spikes every 0.8 seconds. It would be possible to stagger the processing, but that would require more complicated logic that minetest.after basically already does.

I think that furniture mod needs to move the sitting logic out of ABMs and into a globalstep or minetest.after loop though, checking for each player instead of for each node. This is because the number of chairs can in general be much higher than the number of players. A timer should also be added to the globalstep, or switch to a minetest.after loop.

Whether anything is really a significant performance drain, unless it is very obvious, requires profiling. It's not worth sacrificing functionality unless you have a good reason to think it will be significant.

As a note, you can implement anything that would ordinarily use globalsteps "completely without globalsteps" using minetest.after(0) and minetest.get_gametime() (if you require dtime), so it's not a great accomplishment.
Every time a mod API is left undocumented, a koala dies.

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.08]

by LNJ » Post

Byakuren wrote:globalsteps make the game "slower and slower", but so do minetest.after loops, anyway.
Yes, of course, but the minetest.after loop is ONLY called when a player is really sitting and not all the time, so even if the player is doing something else and nobody has ever built a chair.
Byakuren wrote: Adding a timer to the globalstep would probably be enough to make the cost negligible. If the timer hasn't elapsed, that's just an additional index to iterate over, a function call, a comparison, an addition, and an assignment, which together will have basically no footprint. When it has elapsed, it won't be any worse than a minetest.after loop, since it will have to do the processing in either case. minetest.after might even perform worse on a small step like 0.8, because it will have to mess with the queue each time the event occurs. A good argument for minetest.after though, would be that it's conceptually simpler to do a timed loop with minetest.after than with a globalstep, and also avoids doing all the processing for all players at once, which would cause (probably small) lag spikes every 0.8 seconds. It would be possible to stagger the processing, but that would require more complicated logic that minetest.after basically already does.
Maybe 0.01% (or even less) of the game time a player sits on a chair, so even if the minetest.after loop is worse in the time it's active than the globalstep, overall the minetest.after loop would perform much better.
Byakuren wrote: I think that furniture mod needs to move the sitting logic out of ABMs and into a globalstep or minetest.after loop though, checking for each player instead of for each node. This is because the number of chairs can in general be much higher than the number of players. A timer should also be added to the globalstep, or switch to a minetest.after loop.

Whether anything is really a significant performance drain, unless it is very obvious, requires profiling. It's not worth sacrificing functionality unless you have a good reason to think it will be significant.

As a note, you can implement anything that would ordinarily use globalsteps "completely without globalsteps" using minetest.after(0) and minetest.get_gametime() (if you require dtime), so it's not a great accomplishment.
I did not say that's a great accomplishment. I just wanted to offer a compromise, that would be ok about the performance and would not 'let the player stick in'.
But I would prefer it as it is.
Storage Drawers - The simplest item storage in Minetest

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: [Game] Minetest TNG [v16.07]

by hajo » Post

Byakuren wrote:Is there any documentation?
I think this game should be listed on the wiki,
and should also get its own page on that wiki.
What should I know about playing the game, other than craft recipes?
How to use the new items (armor, bonemeal, feathers, workbench...),
how to deal with the mobs (what's the point of taming sheep ...),
and maybe general advise (to put into a guidebook, to get noobs up to speed).

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.07]

by LNJ » Post

hajo wrote:
Byakuren wrote:Is there any documentation?
I think this game should be listed on the wiki,
and should also get its own page on that wiki.
What should I know about playing the game, other than craft recipes?
How to use the new items (armor, bonemeal, feathers, workbench...),
how to deal with the mobs (what's the point of taming sheep ...),
and maybe general advise (to put into a guidebook, to get noobs up to speed).
1. You can just craft armor and put it into the armor slots in the inventory and you will get less damage
2. Just rightclick with bonemeal wielded to let flowers, waterlilies and grass grow
3. feathers don't have any sense
4. You can use the workbench as decoration, (I thought about making the crafting field in the inventory 2x2)
5. Just give a sheep 4 wheat to tame it (4 wheat seeds to a chicken)

If you want you can create a page on the wiki, would be nice. :)

Thanks for playing. (I don't play Minetest at the moment, so I also don't update this game, but feel free to make pull requests if you updated something locally)
Storage Drawers - The simplest item storage in Minetest

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: [Game] Minetest TNG [v16.08]

by hajo » Post

LNJ wrote:
hajo wrote: should also get its own page on that wiki.
If you want you can create a page on the wiki, would be nice. :)
Already done, but that page needs a description for TNG, and more text...
hajo wrote:how to deal with the mobs (what's the point of taming sheep ...),
and maybe general advise (to put into a guidebook, to get noobs up to speed).
1. You can just craft armor and put it into the armor slots in the inventory and you will get less damage
2. Just rightclick with bonemeal wielded to let flowers, waterlilies and grass grow
I found that out, but that kind of thing should be in a welcome-text / survival-guide.
LNJ wrote:3. feathers don't have any sense
Maybe add bows to the game, and make arrows with sticks+feather+(stone/steel/etc)
Setting up a shooting gallery, for sniping at zombies, might be fun :-)
I noticed some spot in my game where mobs often get stuck until morning...
LNJ wrote:5. Just give a sheep 4 wheat to tame it (4 wheat seeds to a chicken)
I can rightclick sheep while wielding wheat, the wheat vanishes, the sheep
follows me for some time, but I see no effect or message that taming was successful.
And they still die in the evening - so I might be missing something.

With debug, it always shows hp=8, but then, they die from one punch too many.
Perhaps hp for sheep are not updated correctly ?

Also, "what's the point" - how do I use all that wool, after bed and carpets are done ?
And fighting mobs doesn't give much benefit, with the current poor drops.

BTW, putting a chair or table onto a carpet looks goofy :)
Can Zombies spawn in a room of height 2 with carpets ?
Can they climb ladders ?
LNJ wrote:Thanks for playing.
I'm still in "stoneage", i.e. I haven't found ore yet.
I added a mod to get coal from wood, to make at least torches.
LNJ wrote:feel free to make pull requests if you updated something locally)
I'd need a github-account for that ?

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.08]

by LNJ » Post

hajo wrote: Can Zombies spawn in a room of height 2 with carpets ?
Can they climb ladders ?
I'm not sure if they'll spawn, try it out. (CME was written by BlockMen, I have only made some fixes and improved it a bit)
No, they can't climb ladders.
hajo wrote: I'd need a github-account for that ?
Yes (and maybe minimal git-knowledge). Just watch a tutorial on YouTube, for that. (you won't need more than an hour to make your first PR)
It also would be great if someone would keep the game up to date, there are many things that were added in MTG, but are still missing in TNG.

As I said I don't play Minetest at the moment and I also don't have much time (school :( ), so I won't do much in the next time. It would be nice if somone would maintain this game a bit, so all my work is not "lost".
Storage Drawers - The simplest item storage in Minetest

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: [Game] Minetest TNG [v16.08]

by hajo » Post

LNJ wrote:As I said I don't play Minetest at the moment and I also don't have much time (school :( ),
so I won't do much in the next time.
It would be nice if somone would maintain this game a bit, so all my work is not "lost".
Ok, I also put up a talk-page on the wiki for comments and ideas about TNG.

I found 2 different bow-mods, still testing...

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Re: [Game] Minetest TNG [v16.08]

by LNJ » Post

hajo wrote:
LNJ wrote:As I said I don't play Minetest at the moment and I also don't have much time (school :( ),
so I won't do much in the next time.
It would be nice if somone would maintain this game a bit, so all my work is not "lost".
Ok, I also put up a talk-page on the wiki for comments and ideas about TNG.

I found 2 different bow-mods, still testing...
The most bow mods are somewhat buggy.

A talk page on the wiki for ideas, is really not need. GitHub is a much better place for that. :)
Storage Drawers - The simplest item storage in Minetest

LNJ
Member
Posts: 252
Joined: Tue Sep 23, 2014 16:02
GitHub: lnjX
IRC: LNJ
In-game: LNJ
Location: Europe/Berlin

Please help to backport this game to MTG! :)

by LNJ » Post

This game is currently getting more and more outdated ... I have spent not little time on it, but I'm currently not maintaining it ... :(

So .. I would like to see the good features of this game not being lost. Now it's up to you! If you want to backport some features, you can ask me (under this topic) and use my code as LGPLv2.1 and merge it into MTG (or any other game, licensed under a LGPL-compatible license).

The asking is to prevent that code is used, that was written by somebody else, e.g. kilbith, BlockMen (I can't relicense that parts!) and so I and everybody else knows which PRs for which parts exist.

<ads>
I'm currently working on a jabber client in C++/QML: https://github.com/KaidanIM/Kaidan
</ads>

PS: This is the 100th post on this topic :D
Storage Drawers - The simplest item storage in Minetest

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests