Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't enter vehicle #2

Open
lightonflux opened this issue Mar 28, 2014 · 10 comments
Open

Can't enter vehicle #2

lightonflux opened this issue Mar 28, 2014 · 10 comments

Comments

@lightonflux
Copy link
Contributor

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
Copy link
Owner

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
Copy link
Contributor Author

Whose build do you use?

Self compiled upstream dev build.

@SokolovPavel
Copy link
Owner

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

@lightonflux
Copy link
Contributor Author

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
Copy link
Owner

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
Copy link
Contributor Author

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
Copy link

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
Copy link
Owner

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

@NyankoSensei
Copy link

With this fix work fine to me,

Thanks for your work

@SokolovPavel
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants