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

Error in relation with usable map entities #1626

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

Error in relation with usable map entities #1626

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

Comments

@mexikoedi
Copy link
Contributor

mexikoedi commented Sep 22, 2024

Your version of TTT2 (mandatory)

  • TTT2 v0.14.0b Workshop version from Steam

Describe the bug (mandatory)

This error only occured on one map. I don't remember on which one but it occured if you try to interact with something or something in that direction. Maybe because of weird usable map entities like levers or chests which are not correct placed on the map or something like that.

To reproduce

Steps to reproduce the behaviour:

  1. Go onto some maps (maybe Minecraft maps)
  2. Interact with usable entities like levers, chests, ...
  3. See error

Expected behaviour

This error shouldn't happen.

Context (please provide as much as you can)

[TTT2 (Base) - v0.14.0b] gamemodes/terrortown/gamemode/server/sv_entity.lua:88: Tried to use a NULL entity!
  1. ObjectCaps - [C]:-1
   2. IsUsableEntity - gamemodes/terrortown/gamemode/server/sv_entity.lua:88
    3. func - gamemodes/terrortown/gamemode/server/sv_player.lua:533
     4. unknown - lua/includes/extensions/net.lua:38
@TimGoll
Copy link
Member

TimGoll commented Sep 22, 2024

I will keep this in mind and take a look at the code. But it is probably hard to debug if I can't reproduce it. I tested A LOT of minecraft maps in the last two weeks, without this error ever appearing

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

mexikoedi commented Sep 22, 2024

I will keep this in mind and take a look at the code. But it is probably hard to debug if I can't reproduce it. I tested A LOT of minecraft maps in the last two weeks, without this error ever appearing

I looked through the logs and it happened on the map "ttt_troubleisland". So the "Minecraft" part is not important.
Here the link: https://steamcommunity.com/sharedfiles/filedetails/?id=365484855

@TimGoll
Copy link
Member

TimGoll commented Sep 22, 2024

ttt_troubleisland

That helps a lot, thanks. Do you have any idea where on this map this happened?

@mexikoedi
Copy link
Contributor Author

ttt_troubleisland

That helps a lot, thanks. Do you have any idea where on this map this happened?

I don't know. It was another player who caused this error. The map has teleporters so maybe that's the origin of this error.

@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