Garry's Mod

Garry's Mod

Ragdoll Mover
 This topic has been pinned, so it's probably important
dim sum un  [developer] Dec 9 @ 6:05am
Selection troubleshooting
Hey all:

It appears that there is a bug related to selecting ragdolls with this tool. That is, the gizmo does not appear when one left clicks on a part of the ragdoll.

The most recent cases of this bug is resolved when one disables collisions on the ragdoll using the context menu. However, this solution may not fix other selection issues that I’ve seen in the past

There seems to be other side effects:
  • Bone name not showing up
  • Lua error with gizmo
  • Props only selectable
  • “Probability” of selection (works half the time, etc.)

I suspect that this bug is introduced from another addon (or set of addons). If you do experience this bug, please reply to this thread with the following information:

  • A link to a workshop collection of all your addons
  • GMod branch (None or x86-64 Chromium or dev)
  • Map where this issue has occurred

The first point is crucial for me to help figure out the issue. I’ll be able to sort out the common addons between affected people and hopefully find the addons (or set of addons) which cause this issue. The last two points help describe where the bug occurs

We plan to put this fix into the beta version of Ragdoll Mover, which you can test. This will eventually roll out to the main version, along with some new features
Last edited by dim sum un; Dec 9 @ 6:06am
< >
Showing 1-6 of 6 comments
dim sum un  [developer] Dec 9 @ 9:22am 
Thanks! Would you happen to be running GMod on the 64-bit Chromium branch?
Originally posted by dim sum un:
Thanks! Would you happen to be running GMod on the 64-bit Chromium branch?
well yes:bricktherat:
For me the issue started in around mid-November.
One day it worked fine, but few days later (after x64-branch update) the gizmos stopped appearing and console showed an error everytime I tried to select a ragdoll. I don't have the error saved anymore so I can't show it to you right now but I will post it later on when I try to use the tool again.
saiko boy Dec 12 @ 10:00am 
lua/ragdollmover/rgm_gizmos.lua:553: attempt to index field 'collpositions' (a nil value)
This is the error that comes up whenever I try to select any ragdoll or prop with the tool.
dim sum un  [developer] Dec 12 @ 1:44pm 
Could you show the full lua error? There should be a traceback which shows the sequence of functions called to cause the error. For example, using your lua error:

[Ragdoll Mover] lua/ragdollmover/rgm_gizmos.lua:553: attempt to index field 'collpositions' (a nil value) 1. TestCollision - lua/ragdollmover/rgm_gizmos.lua:553 2. SomeFunctionCallingTestCollision - lua/ragdollmover/which_script.lua:1337 3. AnotherFunctionCallingTheAboveFunction - lua/ragdollmover/which_script.lua:69 (Numbers 2 or 3 of the message above may tell me more about what behavior is happening as you left click an entity)

Seeing only the line of code in that error, I only suspect this error happens when the mouse is hovering over the orange square of the arrow gizmos as the selection happens while the gizmos are “not ready to be used.” (I define that as Ragdoll Mover skipping a step when it performs the entity selection on left click, but anything could happen if one has a custom version of RGM overriding the workshop version)

What happens if you change the gizmo scale to a nonzero value? Does that fix the issue and allow the gizmos to reappear?

Also, what color text are you seeing from this error? Blue (from server) or yellow (from client)? Normally the full lua error should give me a clue on this, but this information also will help me
Last edited by dim sum un; Dec 12 @ 1:46pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50