Bouncy nodes are overpowered (FIXED!)

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Bouncy nodes are overpowered (FIXED!)

by Wuzzy » Mon Jul 14, 2014 00:50

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.
Last edited by Wuzzy on Mon Aug 24, 2015 17:17, edited 1 time in total.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Bouncy nodes are overpowered

by rubenwardy » Mon Jul 14, 2014 08:26

Have you made sure that it isnt a decimal, ie 0..1 rather than a percentage 0..100
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Bouncy nodes are overpowered

by Calinou » Mon Jul 14, 2014 09:32

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.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Bouncy nodes are overpowered

by Wuzzy » Mon Jul 14, 2014 20:30

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?
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Bouncy nodes are overpowered

by Wuzzy » Mon Aug 24, 2015 17:14

0.4.13 changelog:
Fix "bouncy" blocks (Miner59)


Bouncy has been fixed!

FINALLY!
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 10 guests

cron