ULX

Author Topic: ULX ULIB fatal error  (Read 2479 times)

0 Members and 1 Guest are viewing this topic.

Offline 00face

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
ULX ULIB fatal error
« on: March 17, 2014, 06:48:03 PM »
Getting the following error, running a dedicated server:

[WAC Aircraft] lua/entities/wac_hc_base/cl_init.lua:429: attempt to index field 'wac' (a nil value)
  1. MovePlayerView - lua/entities/wac_hc_base/cl_init.lua:429
   2. fn - lua/autorun/client/wac_aircraft.lua:87
    3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Crashes me with too many errors.

Any help would be appreciated, please feel free to contact me via steam @  00face as I've been working on getting all this working for days x).

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX ULIB fatal error
« Reply #1 on: March 17, 2014, 08:09:28 PM »
Though I've no clue what wac is without seeing/knowing the code (and no, I don't want to see it), you'd likely get almost the exact same error, minus mention of ULib hook.lua, if you were to remove Ulib and ULX from your server addons.
The error is pretty precise.
The wac table index is blank when it's being run.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Mr582

  • Guest
Re: ULX ULIB fatal error
« Reply #2 on: March 18, 2014, 11:42:16 AM »
Though I've no clue what wac is without seeing/knowing the code (and no, I don't want to see it), you'd likely get almost the exact same error, minus mention of ULib hook.lua, if you were to remove Ulib and ULX from your server addons.
The error is pretty precise.
The wac table index is blank when it's being run.
WAC Community is a Addon on the workshop :)

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: ULX ULIB fatal error
« Reply #3 on: March 18, 2014, 12:52:00 PM »
This has nothing to do with ULib. The only reason you see it in the error is because ULib overrides the default hook system. This is an error with WAC.