ULX

Author Topic: Old, minor !ragdoll bug.  (Read 2290 times)

0 Members and 1 Guest are viewing this topic.

Offline Insano-Man

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • A leader among mice.
    • Gatorspin Industries Forums
Old, minor !ragdoll bug.
« on: June 02, 2010, 12:27:59 AM »
After a lot of headaches and facedesking over what the GMod update did to ULX, I've finally gotten it back to a stable, functional point. So far, everything's working just as it should.

However, there's still an old bug present in it, which started about a year or two ago (it's been so long that I can't remember):
When you try to ragdoll a player using Eli Vance as their model, it works only halfway; a ragdoll is spawned, but the player isn't "removed" and bound to the ragdoll. The player can still move around on their own and use their weapons, but "moves like jello", as described by my friend and confirmed by myself. The player is still partially bound to the ragdoll, however, but only when it is in motion. When the ragdoll is disturbed, the player's angle and position update according to the ragdoll's, but they still retain control over themselves. Another oddity is that the spawn position of the player is moved backwards from the normal spawn positions by quite a distance.

Now, we're sure this only affects Eli. We've tested it with a number of other models, including Grigori, the Combine Elite, and a few citizens. The only reason I can think of is that Eli is missing his left foot bone and this causes a bug for whatever reason.

Here's the LUA error it reports when an Eli player is ragdolled, although I am doubtful of how helpful it may be:
Code: [Select]
addons\ulx\lua\ulx\modules\sh\fun.lua:520: attempt to index a nil value
I am running a listen server with a (mostly) fresh SVN installation. I have seen no other problems with ULX on its own thus far.
Why is everyone staring at me?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Old, minor !ragdoll bug.
« Reply #1 on: June 02, 2010, 07:02:37 PM »
ULX rev 107:

Quote
* [FIX] Ragdolling a player with the Eli Vance model no longer throws an error (Thanks Insano-Man).
Experiencing God's grace one day at a time.

Offline Insano-Man

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
  • A leader among mice.
    • Gatorspin Industries Forums
Re: Old, minor !ragdoll bug.
« Reply #2 on: June 02, 2010, 07:23:19 PM »
Glad to hear you've fixed it. Keep up the great work!
Why is everyone staring at me?

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: Old, minor !ragdoll bug.
« Reply #3 on: June 03, 2010, 05:20:26 PM »
This spawns an idea...
Circle reasoning works because circle reasoning works because...