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

Detective Toy Car can't be entered #1627

Open
CivilWarBuff opened this issue Sep 22, 2024 · 4 comments
Open

Detective Toy Car can't be entered #1627

CivilWarBuff opened this issue Sep 22, 2024 · 4 comments
Milestone

Comments

@CivilWarBuff
Copy link

Your version of TTT2 (mandatory)

  • TTT2 v0.14.0b steam workshop

Video

2024-09-22.16-25-06.mp4

Describe the bug (mandatory)

  • When attempting to enter the toy car it seems to immediately exit you from the vehicle

To reproduce

Steps to reproduce the behaviour:

  1. Purchase Detective Toy Car
  2. Place it in the world
  3. Attempting to enter by pressing "e" will not have the intended effect

Expected behaviour

The expected behavior is to allow the player to enter the vehicle and drive it around

Context (please provide as much as you can)

@TimGoll TimGoll added the type/bug Something isn't working label Sep 22, 2024
@TimGoll TimGoll added this to the v0.14.1b milestone Sep 22, 2024
@TimGoll
Copy link
Member

TimGoll commented Sep 26, 2024

I don't understand why it isn't working. I just spent two hours debugging it and it doesn't make any sense. You are sure it worked in the previous TTT2 version, aren't you? Because I'm unable to find any issue in our code. The ent:Use function is properly called for the correct entity. But then your linked mod has the issue that it seems to interpret it as leaving the vehicle and therefore teleports you.

Right now I'm at my wits end, not sure how I can fix this. This is btw the only vehicle where it isn't working. I tested two other vehicles with TTT2 and it works just fine.

@CivilWarBuff
Copy link
Author

CivilWarBuff commented Sep 26, 2024 via email

@TimGoll
Copy link
Member

TimGoll commented Sep 26, 2024

I think it has something to do with the way how our use interaction is working. However this is the only entity where it breaks. And even though everything seems to work as intended, it just doesn't work

@Histalek
Copy link
Member

Short status update on this:

We now know where we have broken this but not exactly why/how.

Additionally this seems to happen to prop_vehicle_jeep vehicles, but not all of them which is why we haven't caught this sooner. (vehicle_prop_prisoner_pod doesn't seem to be affected)

So we definitely still need to find out why this happens before we can fix this

@Histalek Histalek removed the type/bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants