Page 1 of 1

Bouncy nodes are overpowered (FIXED!)

PostPosted: Mon Jul 14, 2014 00:50
by Wuzzy
The group “bouncy” is a special group which, when used, promises to make a node bouncy. This is true, the nodes are actually bouncy then. The value stands for the bouncyness in percent.
However, the current implementaion is broken.

If you hold the jump key pressed when you drop on such a bouncy node, you accellerate with a crazily high speed upwards. This speed is in no relation to the drop speed. You just have to drop from a height of 1 or two nodes and you jump about 100 nodes high. It does not seem to matter much how high the bouncyness is.

Here is a minimalist test code for a test mod which registers 10 bouncy nodes, ranging from 10 to 100 % bouncyness:
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
for i=10,100,10 do
   minetest.register_node("bouncytest:bouncy_"..i, {
      description = "bouncy test node ("..i.."%)",
      groups = { bouncy = i },
   })
end


Seen in Minetest 0.4.10 on a GNU/Linux computer. But I also have seen it on 0.4.9.

Re: Bouncy nodes are overpowered

PostPosted: Mon Jul 14, 2014 08:26
by rubenwardy
Have you made sure that it isnt a decimal, ie 0..1 rather than a percentage 0..100

Re: Bouncy nodes are overpowered

PostPosted: Mon Jul 14, 2014 09:32
by Calinou
This bug seems to be introduced by MirceaKitsune's physics changes (Q1 2013). Before, jumping on a bouncy node made you jump quite high, but not insanely high like it currently does.

Re: Bouncy nodes are overpowered

PostPosted: Mon Jul 14, 2014 20:30
by Wuzzy
rubenwardy wrote:Have you made sure that it isnt a decimal, ie 0..1 rather than a percentage 0..100

Of course I have. Haven’t you read the source code?

Re: Bouncy nodes are overpowered

PostPosted: Mon Aug 24, 2015 17:14
by Wuzzy
0.4.13 changelog:
Fix "bouncy" blocks (Miner59)


Bouncy has been fixed!

FINALLY!