SokolovPavel / helicopter

Mod that adds helicopter to the Minetest
GNU General Public License v2.0
4 stars 16 forks source link

Can't enter vehicle #2

Open lightonflux opened 10 years ago

lightonflux commented 10 years ago

Every time i want to enter the helicopter i get teleported somewhere. If i try to move i sometimes get back inside the vehicle (second try in the video).

I got into the vehicle one time after around 10 - 15 tries, since then it works. Only other mods: beds.

It might be a problem with the fast and/or fly mode.

I can't reproduce the bug at the moment, but you might get an idea from the movement in the video (11MB).

If you need something (world) for debugging or have ideas how to reproduce the bug, please ask.

SokolovPavel commented 10 years ago

It`s very strange bug. I use

self.model:set_attach(self.object, "", {x=0,y=-5,z=0}, {x=0,y=0,z=0})

for attaching player. May be empty parent bone name makes this.

Whose build do you use? I tested my mod on PilzAdam and Fess builds.

lightonflux commented 10 years ago

Whose build do you use?

Self compiled upstream dev build.

SokolovPavel commented 10 years ago

If you on Windows, could you upload your built? Or try to launch my mod on Fess built.

lightonflux commented 10 years ago

I don't run windows.

Which versions are PilzAdams and Fess' builts? Have you tried building upstream from the git repo? I would recommend a windows package manager like Chocolatey so you don't have to download the dependencies manually.

SokolovPavel commented 10 years ago

I use: "Latest build of minetest 0.4.9-dev, commit 65d1cb8321, from 28.03.2014 http://yadi.sk/d/OHouQc7xLLc4t" Ok. I will try to compile it.

lightonflux commented 10 years ago

Your build is recent enough. Our versions just have few different lines.

I compiled the newest version so there shouldn't be a difference now.

NyankoSensei commented 10 years ago

I have the same problem with latest git, i'm hable to solve by changing "function heli:" " if not clicker or not clicker:is_player() then return end local pos = self.object:getpos() " " clicker:set_attach(self.object, "", {x=0,y=14,z=0}, {x=0,y=0,z=0}) "

I'm not a coder and i don't know if is the right way for fix it i have only watched others mods

SokolovPavel commented 10 years ago

lightonflux and NyankoSensei, please download changed Helicopter mod. and check is there this problem. https://www.dropbox.com/s/9vuv13yjompi8qh/helicopter_issue.zip

NyankoSensei commented 10 years ago

With this fix work fine to me,

Thanks for your work

SokolovPavel commented 10 years ago

It`s not a fix(hint.try to see yourself in local multuplayer) it was a test. But it says that attaching to attached entity, works not very well.