Ulysses
General => Off-Topic => Topic started by: dakilla345 on July 23, 2013, 11:37:11 AM
-
I need help
[ERROR] lua/skins/cl_init.lua:32: attempt to index global 'GM' (a nil value)
1. unknown - lua/skins/cl_init.lua:32
2. include - [C]:-1
3. unknown - addons/ulx/lua/ulx/xgui/settings/client.lua:99
4. include - [C]:-1
5. fn - addons/ulx/lua/ulx/modules/cl/xgui_client.lua:119
6. Call - addons/ulib/lua/ulib/shared/hook.lua:183
7. fn - addons/ulib/lua/ulib/cl_init.lua:45
8. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
-
This isn't 8 errors. It's simply a stack trace of a single error. We can't help you unless you provide the code that is causing errors though. Namely the skins/cl_init.lua file.
Also, this isn't related to ULib or ULX so I'm moving this thread to off topic.
-
acutually it is caused by ulix or ulib cuz if I uninstall it the server works just fine
-
acutually it is caused by ulix or ulib cuz if I uninstall it the server works just fine
Last time I checked ULX did not have a file called cl_init.lua under the skins folder. I would say its an error with a custom player model due the location of the file but I am not quite sure.
-
acutually it is caused by ulix or ulib cuz if I uninstall it the server works just fine
To give more detail on what Hellfox and MrP have already said, though you may experience the error with ULX installed, it's not directly caused by Ulib or ULX.
ULib enhances Gmod's hooks...we allow for setting a parameter along with the hook that, simplified, sets it a priority, makes it read-only if needed. Can't be overwritten.
It seems you have an addon, that uses hooks, that is probably written in such a way that flips out.
The error you're getting seems to indicate it's written in a way that's not quite right, and are lucky to have it run most times until some other addon tries to use hooks like we do.
-
Are you using a custom skin and getting this error when opening XGUI? I think Stickly Man said somewhere that XGUI doesn't support custom skins...