thebigsleepjoe / TTT-Bots-2

Player bots for Garry's Mod TTT
Creative Commons Attribution Share Alike 4.0 International
11 stars 4 forks source link

[Bug]: Bots can open/close locked doors #64

Closed Will7029 closed 1 week ago

Will7029 commented 4 weeks ago

Server hosting type

ALL

TTT Type

TTT2

Version of Bots

1.3.2

Describe the bug

Bots can open and close locked doors in any map which can't normally be opened or closed. This bug appeared after door fix. https://github.com/thebigsleepjoe/TTT-Bots-2/issues/60

This bug can be easly be seen from ttt_summit https://steamcommunity.com/sharedfiles/filedetails/?id=344953351 Here is the navmesh for this map ttt_summit.zip

Stack trace/error

None

Reproducing the bug

  1. Open ttt_summit map with my navmesh
  2. Go to meeting room and see bots open and close locked doors.

Expected behavior

Locked doors should not be opened or closed as players normally can't interact them

Screenshots

door_bug

Additional context

No response

GitHub Username Credit (NOT REQUIRED)

No response

thebigsleepjoe commented 2 weeks ago

Gah, I should've seen this coming because of #60.

The fix should be relatively easy, at least. I'll publish a patch when I can

Will7029 commented 2 weeks ago

Hello!

I'm using version 1.3.3 and this still happens. I tested in listen and dedicated server in TTT2. Maps ttt_summit and ttt_halflife. TTT2 version is v0.14.0b. bug

thebigsleepjoe commented 1 week ago

I see. I thought this issue was for locked doors--though this is also a valid bug that needed to be fixed.

This is actually a more specific case. I'm putting out a patch that appears to fix the issue at least on ttt_summit. For some reason the mapper made these literal doors that you can't +use... they should've just been brushes! Expect a fix out shortly.