Author Topic: I keep crashing  (Read 2566 times)

0 Members and 2 Guests are viewing this topic.

Offline Dr_cheese

  • Newbie
  • *
  • Posts: 9
  • Karma: -2
I keep crashing
« on: October 29, 2016, 08:40:52 PM »
so i keep getting this error

 [ERROR] lua/autorun/sh_legs.lua:371: attempt to call method 'InVehicle' (a nil value)
  1. fn - lua/autorun/sh_legs.lua:371
   2. unknown - addons/ulib/lua/ulib/shared/hook.lua:110


And it crashes me every 5 minutes from my server, i highly doubt its an addon and ive run virus scans, can someone help me out

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: I keep crashing
« Reply #1 on: October 29, 2016, 09:12:52 PM »
Your issue is with whatever addon you've added or subscribed to that has something with "legs", per the sh_legs file mentioned.
Likely this one I found using Google searching for "Gmod sh_legs.lua InVehicle"
https://steamcommunity.com/sharedfiles/filedetails/?id=112806637
That release is over 4 years old. It's likely not compatible with newer Gmod.
Whether you subscribed or downloaded one like it, it's not our product causing the issue.
Remove that old one.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Dr_cheese

  • Newbie
  • *
  • Posts: 9
  • Karma: -2
Re: I keep crashing
« Reply #2 on: November 12, 2016, 03:47:40 PM »
It happens (to only yourself) when you are burned while ragdolled via !ragdoll (running on ulx and ulib on latest versions).

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: I keep crashing
« Reply #3 on: November 12, 2016, 04:16:03 PM »
What are you burning ragdolls with?
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: I keep crashing
« Reply #4 on: November 12, 2016, 05:51:42 PM »
Megiddo, no matter what he's burning himself with, if he's getting the same error and same crash, the legs addon is crashing him.

I could easily imagine that, if you're dead, player can't be valid, and therefore, can't be InVehicle.

If he removed/had Legs repaired, and are now getting a different error, then by all means, we need to know.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Dr_cheese

  • Newbie
  • *
  • Posts: 9
  • Karma: -2
Re: I keep crashing
« Reply #5 on: November 18, 2016, 08:01:26 PM »
Megiddo, no matter what he's burning himself with, if he's getting the same error and same crash, the legs addon is crashing him.

I could easily imagine that, if you're dead, player can't be valid, and therefore, can't be InVehicle.

If he removed/had Legs repaired, and are now getting a different error, then by all means, we need to know.

I have a TTT server, and on any map while player is ragdolled via !ragdoll (not killed) and is burned, the player receives the error and immediately crashes. Nothing was done to the legs/removed. Same error still applies

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: I keep crashing
« Reply #6 on: November 18, 2016, 09:06:57 PM »
If you removed the legs addon, you wouldn't be getting the same legs error.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming