haxball / haxball-issues

115 stars 43 forks source link

Game breaking BUG in Big Map #1116

Open supernatural88 opened 4 years ago

supernatural88 commented 4 years ago

https://thehax.pl/forum/powtorki.php?nagranie=97905ffb76c2efa2253342a0df3c8d21

Set record time to 2:23, the ball goes out of the pitch? How is this possible? @basro

It's default map, after it happened I write /checksum and I see map is default too.

supernatural88 commented 4 years ago

Anddy you better come here and tell us why did you changed ball properties secretly. If its not a bug from Haxball, its because you and tell us why you did this? Now I think this can be abused in league matches by you or people who knows this thing. Someone should come and explain whats going on here.

AnddyAnddy commented 4 years ago

A really easy way to reproduce this is to set the ball near a wall, press P, put 3 players to spec, put 3 players to one side, let them press x and a direction, unpause, align with the ball, pause to change direction, do that again, and go to the ball

You can even go through the kickoff wall with a version of that technique

Still very rare to have it unplanned though (and since it's my room I can precise that I havent changed the game-min.js just in case)

supernatural88 commented 4 years ago

In past we see 5 players spamming ball at the same time and this didn't happened, right here 2 people spamming the ball for very short amount of time. This is weird.

AnddyAnddy commented 4 years ago

This always rarely happened since haxball exists, stop blaming me.

iAmLuks commented 4 years ago

Ball properties on original maps can be modified secretly on headless hosts after modifying checksum stays the same.

In this video I demonstrate how it can be done : https://streamable.com/epru5e What I could do to take this further is make script that i activate when i'm holding the ball to gain more kick power and after i lose control of the ball i can revert it back to normal just by clicking the button or writing a command without being noticed.

This can indeed be bad in competitive plays or tournaments, so maybe implement some command that shows if stadium has been altered with headless host?

9999OldSchool commented 4 years ago

This always rarely happened since haxball exists, stop blaming me.

Not since HTML5 exists.

Wenamka commented 4 years ago

lol i saw it in 2011 and 10 times per 8 years what im playing this game on classic maps

67

with radius of the ball <10 you can see it constantly cuz segmets of boards so weakly

thenorthstar commented 4 years ago

It's a glitch of HaxBall. A ball can pass through a wall whose normal vector is parallel to its velocity vector if the velocity of the ball is equal or higher than its radius. For example:

-A ball of radius 10 can pass through a wall with [10,0] speed or more. You can try this by doing on HaxPuck and setting a room.

This glitch can be fixed by using bias. This link can be helpful if interested in: https://github.com/haxball/haxball-issues/wiki/Stadium-(.hbs)-File#bias--float