Page 1 of 1

[1.2.2] Fix for the falling-through-the-floor bug

Posted: Thu Sep 03, 2015 1:36 am
by juanjp600
I decided to write a ton of code that checks if the player will spawn in a valid location after quickloading and tries its best to correct the player's position so they can't fall through the floor.
If the player falls into the void for any reason other than quickloading, the game will teleport them to the last valid position they had.

https://www.dropbox.com/s/bxe2gy6jgkpjh ... x.zip?dl=1

HAIL JUAN

Posted: Thu Sep 03, 2015 1:45 am
by CLgaming
Spoiler
[youtube]IUZEtVbJT5c[/youtube]
[youtube]xBlQZyTF_LY[/youtube]
[youtube]4x9QIt_fqQE[/youtube]
[youtube]FJbmB9k2Y88[/youtube]
Our Juan who art in heaven,
hallowed be thy name.
Thy forum board come.
Thy will be done
on earth as it is in Site-[REDACTED].
Give us this day our daily hotfixes,
and forgive us our whining,
as we don't forgive those who commit treason against us,
and lead us not into temptation,
but deliver us from evil.
For thine is the forum,
and the code, and the juan,
forever.
Amen.

Re: [1.2.2] Fix for the falling-through-the-floor bug

Posted: Thu Sep 03, 2015 3:39 pm
by juanjp600
Updated because rooms.ini had to be modified for this fix to work.

Re: [1.2.2] Fix for the falling-through-the-floor bug

Posted: Wed Sep 09, 2015 2:29 pm
by SCP-Draconist
Brilliant OP and brilliant first reply by CLgaming :D

Gonna test this soon :)

Re: [1.2.2] Fix for the falling-through-the-floor bug

Posted: Thu Sep 10, 2015 8:34 pm
by SCP-Draconist
I couldn`t get it to work under 1.2.2 somehow?

Re: [1.2.2] Fix for the falling-through-the-floor bug

Posted: Mon Sep 14, 2015 8:37 pm
by Hisamera
juanjpro wrote:I decided to write a ton of code that checks if the player will spawn in a valid location after quickloading and tries its best to correct the player's position so they can't fall through the floor.
If the player falls into the void for any reason other than quickloading, the game will teleport them to the last valid position they had.

https://www.dropbox.com/s/bxe2gy6jgkpjh ... x.zip?dl=1
Ohhh i wanted to do it too... :'( Why you are always faster than me?

PS: Great job :wink: