ULX

Author Topic: ulx/ulib client problems.  (Read 4201 times)

0 Members and 1 Guest are viewing this topic.

JerryTheStampede

  • Guest
ulx/ulib client problems.
« on: July 02, 2008, 12:31:55 PM »
My game was affected by the recent update. After reinstalling everything, and remaking our server from the ground up I am error free except for ulx

Whenever I join the server I have to download 24 lua files, all of which are ulx/ulib. I get this message in my console "  Warning: Unhandled usermessage 'ulib_init'  "

When I am in the server none of my ulx console commands work such as ulx noclip... etc. Typing them out still works but that is expected.

We are using ulx 3.31 with 2.20 ulib.

So far I've tried installing ulx/ulib on my own machine in addons... tried putting it in various ways directly into the game directory.
I tried disabling all downloads so I wouldn't download those lua files.

Supposedly you don't need the ulib lua to use ulx. Other admins in our server have ulx working.

One last thing. I've tried connecting with a completely vanilla client. Fresh install and i still have to download the ulib.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: ulx/ulib client problems.
« Reply #1 on: July 02, 2008, 01:18:34 PM »
Try updating with svn
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ulx/ulib client problems.
« Reply #2 on: July 02, 2008, 05:12:26 PM »
Supposedly you don't need the ulib lua to use ulx. Other admins in our server have ulx working.
ULib is an absolute requirement for ULX on the server.
Both also require some client side files, so both will require download when you connect.

You do not need to install Ulib OR ulx locally if you're running a ded server.
Listen server, absolutely will need them.

I do not know why you keep having to redownload them, other than you'd have to redownload each time you reinstalled your client.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ulx/ulib client problems.
« Reply #3 on: July 02, 2008, 07:37:27 PM »
Are you using sv_downloadurl? If so, did you upload your lua cache to the download server?
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

JerryTheStampede

  • Guest
Re: ulx/ulib client problems.
« Reply #4 on: July 02, 2008, 08:44:41 PM »
ulx/ulib are on the dedicated server.
I keep having to download them to my client.


There is no sv_downloadurl yet. We just remade the server, I had this problem with and without the sv_downloadurl, however when we did have the sv_downloadurl I would download the ulx files and it would start to give me the nil value errors from a fresh install of gmod(when I would disable downloads and I didn't download the 24 lua files I would not get the nil value errors). After remaking the server completely I have none of those errors after downloading.


Also, if I type retry I will have to download the 24 ulx/ulib lua files. Even if I had just downloaded them a minute ago.


Does "Warning: Unhandled usermessage 'ulib_init'" mean anything? I can post an entire condump of me joining a server but I think this is the only ulx related line in the bunch.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ulx/ulib client problems.
« Reply #5 on: July 02, 2008, 09:03:13 PM »
The fact that you have to redownload them every time tells me that they are actually not downloading at all, but just saying that they are. This is often what shows up when you do set up a sv_downloadurl w/o copying over the lua cache, which is why it was my first suggestion. If sv_downloadurl is set to "" then there must be something else preventing the download. I'm not entirely sure what it is though.

Unhandled usermessage 'ulib_init' means that the client wasn't ready to load ulib when the server told it to (possibly because it never got the files to load).

You said that it is working for some admins on your server, can you check to see if they have ULib/ULX installed on their client? I'm guessing this will likely be the case.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

JerryTheStampede

  • Guest
Re: ulx/ulib client problems.
« Reply #6 on: July 02, 2008, 11:44:06 PM »
The other players don't have ulx/ulib installed they just downloaded it from the server i'll go into more detail with them later...

is there a way i can manually put the ulx data into my comp?
like where would it normally download to?

Can have a friend download the ulx lua i'm missing from a game server and then put it into the correct spot. OR can I put the ulx/ulib files from the zip directly into my gmod folder somewhere.

The files not downloading at all makes the most sense I never thought of it that way.

JerryTheStampede

  • Guest
Re: ulx/ulib client problems.
« Reply #7 on: July 03, 2008, 12:07:45 AM »
Does anyone know where it downloads to?

I can delete all the temp internet stuff... have my friend clear his... have him join the server... and then I can take all his downloads and happy day for me?

\garrysmod\garrysmod\downloads
???

If I don't get a response I'll try it Friday anyways.

Offline spbogie

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 456
  • Karma: 41
Re: ulx/ulib client problems.
« Reply #8 on: July 03, 2008, 10:16:16 AM »
the cached lua downloads are stored in the /garrysmod/cache folder. You could try deleting the folder, it is possible you got a corrupt download that is preventing them from loading properly. When you reconnect to your server, it will recreate the folder, and re-download all clientside Lua scripts that are on the server.
I have not failed. I've just found 10,000 ways that won't work. - Thomas A. Edison
I reject your reality and substitute my own. - Adam Savage

JerryTheStampede

  • Guest
Re: ulx/ulib client problems.
« Reply #9 on: July 05, 2008, 03:49:43 PM »
still have all the same errors... but now i have about a hundred more.

If you want a condump I could post it but it doesn't have me joining because i'm getting like 200 errors a second so the console does not have everything.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ulx/ulib client problems.
« Reply #10 on: July 05, 2008, 04:18:31 PM »
You don't have your download server set up properly.
Experiencing God's grace one day at a time.