Author Topic: ulib Error  (Read 2218 times)

0 Members and 1 Guest are viewing this topic.

Offline Brofessor Potato

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ulib Error
« on: September 21, 2021, 05:48:04 AM »
Hey, I am having some trouble in my server. It is not breaking things, but the console is being spammed. Every time someone types something in chat, the following error appears (bottom of thread).
I don't know what causes this, I believe some addon is calling a function wrongfully. What would be a good way to find it?

My ULib/ULX versions (run "ulx version" in console):
ULib v2.70d (05/12/18)
ULX v3.73d (05/21/18)

Game mode(s) I am having this problem on:
DarkRP

Lua errors shown in SERVER console:
Code: [Select]
[ulib] attempt to index a string value
1. fn - [C]:-1
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulib Error
« Reply #1 on: September 23, 2021, 06:51:42 PM »
Unless you remember what adddons you added when this started, remove/unsubscribe all addons but ulib and ulx and then add one or two addons back at a time. 
Start with anything that watches/modifies chat, including chat commands.
The only reason ulib is even mentioned is because we enhanced hook capabilities.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Brofessor Potato

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ulib Error
« Reply #2 on: September 24, 2021, 01:08:38 PM »
Unless you remember what adddons you added when this started, remove/unsubscribe all addons but ulib and ulx and then add one or two addons back at a time. 
Start with anything that watches/modifies chat, including chat commands.
The only reason ulib is even mentioned is because we enhanced hook capabilities.

Alright, thanks. Will do.