Author Topic: ULX Error: Hook 'ULXDoCfg' Failed.  (Read 2734 times)

0 Members and 4 Guests are viewing this topic.

Offline nssltd

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ULX Error: Hook 'ULXDoCfg' Failed.
« on: November 06, 2011, 03:50:25 AM »
Hi, im new to the forums and wasn't sure where this post would go, bug report's or Help.
Anyway i put it in help because other's have experienced this issue. I've searched the forums and found users who have had this problem and have just not replied to the person helping them.

So then, my problem is that on my Source Dedicated Server, the console version, I have tried to add ULX, ULIB and what not. I downloaded the files via SVN and I am currently trying to use 3.52. It work's in a fashion, but is nothing like ULX in my old server.

You see whenever i type "!menu" in chat nothing appears. Same goes for "!Xgui". Too get up the menu i have to go into the console and type "ulx menu".
The add-on proceeds to say something about communicating with the server(Case D). It then tells me that ULX may not be installed properly or that i have had a fatal error during start up of SRCDS(Case E). When i trigger the menu through the "ULX menu" i get a limited gui, as you'd expect(Case F)

So about these errors. There's a few that i could think of during start up of SRCDS.
Firstly i get this error:
'ERROR: Hook 'ULXDoCfg' Failed: [addons\ulx\lua\ulx\end.lua:71] attempt to call field 'addKickReason' <a nil value>
Removing Hook 'ULXDoCfg'                   (CASE C)

Extra information:

I also get this when i type in ulx debuginfo.

[@addons\ulx\lua\ulx\modules\sh\util.lua:259] bad argument #1 to 'KeyValuesToTable' <string expected, got no value>

(Case B)

Also if it matters i have a screenshot of ULX and ULIB initialization

Case A

____________________-

Cases Images

 A = http://i40.tinypic.com/53s955.png

B = http://i43.tinypic.com/ot3z41.png

C = http://i43.tinypic.com/2ia537p.png

D = http://i40.tinypic.com/2nreuk1.jpg

E = http://i42.tinypic.com/w14h8w.jpg

F = http://i40.tinypic.com/29ws9bq.jpg

___________

Thanks for any help i can get. Sorry i wrote so much, i just want to help you as best as i can so that you can help me.

Thanks again,

NSSLTD
« Last Edit: November 06, 2011, 07:55:05 AM by nssltd »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Error: Hook 'ULXDoCfg' Failed.
« Reply #1 on: November 06, 2011, 01:46:01 PM »
I have tried to add ULX, ULIB and what not

Without looking closer at the screenshots, it sounds like you have a;
1) (somehow) corrupt installation of ULX and ULIB
- Have you tried removing any 'previous' installation of ULib and ULX during your troubleshooting and then gone to SVN?
Vice versa? If my next question/step 2 to try doesn't fix it for you, try totally deleting your /addons/ULib and /addons/ULX folders, in addition to backing up then deleting gmod/data/ULib and ULX folders. The data folder removal will 'forget' any temp bans/ulx added groups and users, but for troubleshooting, one file may be corrupt. Once deleted, you can test by adding yourself to superadmin by console or Gmod's standard /cfg/users.txt file.

2) Have you tried removing all addons (with exception of those that already come with Gmod) except for ULib and ULX?
No, we don't want to be the only addon one can run, but time and time again, we've seen other addons cause glitches with ours.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Error: Hook 'ULXDoCfg' Failed.
« Reply #2 on: November 06, 2011, 03:52:51 PM »
It's reporting issues reading some of your files. Is this a linux or windows box? Is this release version or SVN version?

Most prominently, it's reporting that "settings/users.txt" is missing. This is a default gmod file. Can you confirm that this file exists on your system?
Experiencing God's grace one day at a time.

Offline nssltd

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ULX Error: Hook 'ULXDoCfg' Failed.
« Reply #3 on: November 07, 2011, 09:04:55 AM »
None of the above fixes Work :( however i do have a full menu with commands just not in 'Online' Mode.
Im running windows 7 32 bit
Ive deleted your files and what not, reinstalled, re downloaded the installer revision
My user.txt file does exist and isnt read only.
No other addons but ULX, TTT server.

Thanks for any more help :)

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Error: Hook 'ULXDoCfg' Failed.
« Reply #4 on: November 07, 2011, 12:15:26 PM »
None of the above fixes Work :( however i do have a full menu with commands just not in 'Online' Mode.
Im running windows 7 32 bit
Ive deleted your files and what not, reinstalled, re downloaded the installer revision
My user.txt file does exist and isnt read only.
No other addons but ULX, TTT server.

Thanks for any more help :)

Even though it should be the same at the moment, I'd try downloading the SVN version and seeing if that fixes the issues you're experiencing. Please let us know either way. :)
Experiencing God's grace one day at a time.