View Issue Details

IDProjectCategoryView StatusLast Update
0002758The Dark ModGUIpublic08.12.2023 17:53
Reporterjacobalbano Assigned ToDaft Mugi  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Product VersionTDM 1.05 
Target VersionTDM 2.12 
Summary0002758: Arms detach from body on pause
DescriptionWhen pausing the game while an arrow is drawn, the player's arms detach from the camera for as long as the attack key is held down.
Steps To ReproduceSelect any arrow
Begin attack
Without releasing the attack key, open the pause menu
Still holding the attack key, press the pause button again to close the menu
Move the player around.
TagsNo tags attached.

Relationships

related to 0002509 new blackjack idle 
related to 0005001 resolvedstgatilov Glitch with sword renders weapons unusable 

Activities

nbohr1more

nbohr1more

15.12.2018 19:57

developer   ~0010938

Unable to reproduce:

1) There is no pause menu button other than escape (ESC) to menu
2) Escaping to menu with the weapon held at attack does not produce this issue when returning
3) The closest function we have to pause it g_stopTime and it does not cause the arm to become detached.

The only thing even close to this issue in current builds is issue 2509
jacobalbano

jacobalbano

15.12.2018 20:17

reporter   ~0010939

Last edited: 15.12.2018 20:38

With all due respect, unless this has been fixed in a version that has yet to be released, it's *not* "fixed". See below for a video that I just recorded minutes ago, on the most recent version of TDM.

https://www.youtube.com/watch?v=xHLMmA5J3l0

jacobalbano

jacobalbano

15.12.2018 20:29

reporter   ~0010940

This also happens with melee weapons:

https://www.youtube.com/watch?v=bbuM81VASCI

The only difference here is that your weapon is permanently locked a backswing and you can't even switch to another item.

> There is no pause menu button other than escape (ESC) to menu

This is the button I was referring to, yes.

Was there any attempt made to reproduce this or was it simply deemed unlikely to be valid?
grayman

grayman

15.12.2018 20:58

viewer   ~0010941

Haha! That's pretty funny.

greebo apparently was able to reproduce it originally, but he never fixed it.

Since then, it got covered over by the sands of time.

I reproduced it in the SVN version.

I don't know if I can fix it in 2.07, but if not, I'll put it on the 2.08 TODO list.
nbohr1more

nbohr1more

16.12.2018 02:25

developer   ~0010942

Thanks for the video.
It took a little fiddling but I can now reproduce this issue as well.
nbohr1more

nbohr1more

13.05.2020 04:53

developer   ~0012501

This still happens in 2.08 but I cannot reproduce the "locked" melee issue.

I can release the un-tethered sword-arm and everything returns to normal.

Can anyone reproduce the "lock" issue?
nbohr1more

nbohr1more

14.05.2020 19:40

developer   ~0012515

Shall I move this to 2.09?
grayman

grayman

15.05.2020 09:09

viewer   ~0012518

I have no time to look at this, so please move to 2.09.
grayman

grayman

26.10.2020 23:06

viewer   ~0012837

Removing myself as "Assigned To" because I doubt I will ever have time to work on it.
Daft Mugi

Daft Mugi

06.12.2023 21:35

developer   ~0016223

Fixed in code rev 10543.
Daft Mugi

Daft Mugi

07.12.2023 01:52

developer   ~0016224

Committed code rev 10546.

Cleaned up code.
stgatilov

stgatilov

08.12.2023 15:45

administrator   ~0016229

It is a bit sad when opening main menu affects gameplay.
I would be sad if opening menu sheathes weapon, uncrouches, and do whatever changes to my state.

I did some testing, and it seems the other part (force unpress attack button after menu closes) is enough to fix the issue.
Maybe remove this weapon sheathing?
Daft Mugi

Daft Mugi

08.12.2023 17:30

developer   ~0016233

Last edited: 08.12.2023 17:37

The reason for sheathing is that the player usually presses ESC in a panic to cancel shooting an arrow.

"I actually discovered it as I changed some of my default keys, then forgot what the key was to cancel my shot so I pressed escape hoping that would put the arrow down, then I returned from the main menu and noticed this occurs."
https://forums.thedarkmod.com/index.php?/topic/20824-public-access-to-development-versions/&do=findComment&comment=490139

If the bow is not sheathed when the bow is drawn back, the player will shoot the arrow after returning from the main menu, which is not desirable or likely intended. They could hold the attack button when closing the main menu to keep the bow drawn back, but then they must remember to do so, and if they were trying to cancel their shot, that won't help them.

Also, Thief solves this problem the same way. It sheathes the bow if the bow is drawn back, canceling the shot, when the player presses ESC to go to the main menu.
stgatilov

stgatilov

08.12.2023 17:43

administrator   ~0016234

Or, the bow.
Yes, I shooting is less desirable than anything else.

Maybe cancel attack/shot but not remove weapon?
Daft Mugi

Daft Mugi

08.12.2023 17:52

developer   ~0016235

I did experiment with just lowering the weapon instead, but my efforts weren't successful and so I gave up on that solution.

The player presses the sheathe key to cancel shooting an arrow, so at least it is consistent with that behavior.
stgatilov

stgatilov

08.12.2023 17:53

administrator   ~0016236

Oh, OK.
Maybe we don't even have a way to cancel bow shot without sheathing it.

Thanks!

Issue History

Date Modified Username Field Change
15.05.2011 13:27 jacobalbano New Issue
16.05.2011 04:49 greebo Status new => acknowledged
15.12.2018 19:54 nbohr1more Relationship added related to 0002509
15.12.2018 19:57 nbohr1more Note Added: 0010938
15.12.2018 19:59 nbohr1more Assigned To => grayman
15.12.2018 19:59 nbohr1more Status acknowledged => closed
15.12.2018 19:59 nbohr1more Resolution open => unable to reproduce
15.12.2018 19:59 nbohr1more Fixed in Version => TDM 2.07
15.12.2018 19:59 nbohr1more Target Version => TDM 2.07
15.12.2018 20:17 jacobalbano Note Added: 0010939
15.12.2018 20:17 jacobalbano Status closed => feedback
15.12.2018 20:17 jacobalbano Resolution unable to reproduce => reopened
15.12.2018 20:29 jacobalbano Note Added: 0010940
15.12.2018 20:29 jacobalbano Status feedback => assigned
15.12.2018 20:38 jacobalbano Note Edited: 0010939
15.12.2018 20:58 grayman Note Added: 0010941
15.12.2018 20:59 grayman Fixed in Version TDM 2.07 =>
16.12.2018 02:25 nbohr1more Note Added: 0010942
18.12.2018 05:26 grayman Assigned To grayman =>
18.12.2018 05:26 grayman Status assigned => acknowledged
30.12.2018 10:23 STiFU Target Version TDM 2.07 => TDM 2.08
04.01.2020 04:56 stgatilov Relationship added related to 0005001
13.05.2020 04:53 nbohr1more Note Added: 0012501
14.05.2020 19:39 nbohr1more Assigned To => grayman
14.05.2020 19:39 nbohr1more Status acknowledged => assigned
14.05.2020 19:40 nbohr1more Note Added: 0012515
15.05.2020 09:09 grayman Note Added: 0012518
15.05.2020 14:05 nbohr1more Target Version TDM 2.08 => TDM 2.09
26.10.2020 23:06 grayman Assigned To grayman =>
26.10.2020 23:06 grayman Note Added: 0012837
14.12.2020 17:13 nbohr1more Target Version TDM 2.09 =>
24.12.2022 10:27 Dragofer Status assigned => new
06.12.2023 21:35 Daft Mugi Note Added: 0016223
06.12.2023 21:36 Daft Mugi Status new => resolved
06.12.2023 21:36 Daft Mugi Resolution reopened => fixed
06.12.2023 21:36 Daft Mugi Target Version => TDM 2.12
07.12.2023 01:52 Daft Mugi Note Added: 0016224
07.12.2023 18:20 Daft Mugi Assigned To => Daft Mugi
08.12.2023 15:45 stgatilov Note Added: 0016229
08.12.2023 17:30 Daft Mugi Note Added: 0016233
08.12.2023 17:37 Daft Mugi Note Edited: 0016233
08.12.2023 17:43 stgatilov Note Added: 0016234
08.12.2023 17:52 Daft Mugi Note Added: 0016235
08.12.2023 17:53 stgatilov Note Added: 0016236