ULX

Author Topic: ULib Hook Lua Error  (Read 2890 times)

0 Members and 1 Guest are viewing this topic.

Offline Curry

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ULib Hook Lua Error
« on: October 14, 2016, 12:21:10 AM »
This sub-forum is only for help or discussion regarding projects created by Team Ulysses.

My ULib/ULX versions (run "ulx version" in console):
ULib v.. (LATEST) ( I dont actually know because my host installs it for me | SVN )
ULX v..  (LATEST)

Game mode(s) I am having this problem on:
DarkRP/ (Renamed to MilitaryRP)

Lua errors shown in console, if any:

Screenshot Below

Offline iViscosity

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 803
  • Karma: 58
Re: ULib Hook Lua Error
« Reply #1 on: October 14, 2016, 07:18:34 AM »
See if this helps. Afaik, GetScriptedVehicle isn't a ULib hook, just the hook handler freaked out.

EDIT: According to this post, GetScriptedVehicle was removed in GM13.
« Last Edit: October 14, 2016, 07:22:16 AM by iViscosity »
I'm iViscosity. I like gaming and programming. Need some help? Shoot me PM.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULib Hook Lua Error
« Reply #2 on: October 14, 2016, 02:32:41 PM »
Though Iviscosity states it pretty clearly - I'll say it differently.
This is not a ULib issue.
ULib includes some hook functions that override Gmod's default. (And they're 100% compatible with normal)
Remove ULX/ULib, you'd still be getting errors, but instead, pointing to the gmod hook handler.

Additionally, telling us "LATEST - my host installed it for me" doesn't mean anything at all helpful.
Your host could have grabbed from our github days/months/years ago.
In the future (you don't need to now, it's not a ULib error, its whatever addon is in the first line, flir.lua), make sure to run "ulx version" as requested.


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Curry

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ULib Hook Lua Error
« Reply #3 on: October 15, 2016, 01:22:29 AM »
I found the Issue,

It was Caused by a Addon called "Inline Depth Hud"

Upon removing "Depth Hud" everything went to normal.

Link: http://steamcommunity.com/sharedfiles/filedetails/?id=420804290&searchtext=Hud