Ulysses

General => Developers Corner => Topic started by: 00face on March 17, 2014, 06:48:03 PM

Title: ULX ULIB fatal error
Post by: 00face 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).
Title: Re: ULX ULIB fatal error
Post by: JamminR 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.
Title: Re: ULX ULIB fatal error
Post by: Mr582 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 :)
Title: Re: ULX ULIB fatal error
Post by: Cobalt 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.