Ulysses

General => Developers Corner => Topic started by: Toast Is Good on February 06, 2019, 01:17:19 PM

Title: Unknown Server Error (Any help is appreciated.)
Post by: Toast Is Good on February 06, 2019, 01:17:19 PM
So to give a quick summary of my issue: I have a DarkRP server I'm working on with some friends. I noticed a lua error being spammed in the console. This error seems to break the game in many areas that not only make the mod in question (Jewelry Robbery System) useless but make the game unplayable in a practical sense.
Quote
[ERROR]
  1. unknown - [C]:-1

Error in hook PostDrawOpaqueRenderables: addons/jewelry_robbery_system/lua/jewelry_robbery/client/cl_jewelry_robbery.lua:518: attempt to index field 'DrawHUD' (a nil value)
stack traceback:
   addons/jewelry_robbery_system/lua/jewelry_robbery/client/cl_jewelry_robbery.lua:518: in function 'fn'
   addons/ulib-master/lua/ulib/shared/hook.lua:109: in function <addons/ulib-master/lua/ulib/shared/hook.lua:92>
   [C]: in function ' '
I checked the directories and lines mentioned in the error message but didn't find what was causing the issue and don't have many ideas as of yet.

Any ideas?
Title: Re: Unknown Server Error (Any help is appreciated.)
Post by: BlueNova on February 06, 2019, 01:43:24 PM
It's likely that it's conflicting with another addon you have on your server. You may just have to remove it.
Title: Re: Unknown Server Error (Any help is appreciated.)
Post by: Toast Is Good on February 06, 2019, 01:50:18 PM
That's a bummer. Paid for this mod too.
Title: Re: Unknown Server Error (Any help is appreciated.)
Post by: JamminR on February 06, 2019, 02:07:17 PM
Some script writers who sell scripts support them.
Perhaps find out if the author has a support contact/forum/etc.

Title: Re: Unknown Server Error (Any help is appreciated.)
Post by: Toast Is Good on February 06, 2019, 03:00:10 PM
I ended up reinstalling it and it seems to work now, I'll try to be more careful when I edit the config.
Hopefully it doesn't happen again.
Thanks for the tips.