ULX

Author Topic: Installation Help  (Read 3018 times)

0 Members and 3 Guests are viewing this topic.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Installation Help
« on: October 21, 2007, 09:47:33 AM »
Ok, i have been using ULX/ULib for a while now, but the new versions do not seem to work.  I have read the readme multiple times.  It says to simply place the ulib and ulx folder into addons folder and that make sure you have the same tree structure, which i dont.  Then I restart my dedicated server completely, not just a map change and then proceed to join the server and type ulx in the console.  It says unknown command.

I had the older version of ulx and ulib before and i completely removed all reference to them, unless i needed something from them.

I noticed that under the readme it says this:
"When you've done this, you should have a file structure like this--
<garrysmod>/addons/ulx/lua/ULib/modules/ulx_init.lua
<garrysmod>/addons/ulx/lua/ulx/fun.lua"

My fun.lua,chat,menus, etc... are all under the modules folder, straight from the archive.  I am not sure if that matters though.  In the end though, ulx does not even load since i never get a message in the console saying it has.


Thanks


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Installation Help
« Reply #1 on: October 21, 2007, 03:09:12 PM »
When you start your server, do you see in server console that ULib loads, and then ULX?
ULX requires ULib. Sounds like you're missing it.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Installation Help
« Reply #2 on: October 21, 2007, 05:17:31 PM »
This is the error i get, i just now noticed it.

SERVER: -----------------------------------------
SERVER: - RUN ERROR
SERVER: - File: ULib/init.lua
SERVER: - Path: ULib
SERVER: - ULib/init.lua:6: attempt to call field 'pluginLoaded' (a nil value)
SERVER: -----------------------------------------
« Last Edit: October 21, 2007, 05:25:59 PM by Avien »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Installation Help
« Reply #3 on: October 21, 2007, 10:11:37 PM »
Oh noes! You're having the same problem JamminR was a while ago. I'll let him explain so he can vent his pent-up rage. ;)
Experiencing God's grace one day at a time.

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Installation Help
« Reply #4 on: October 21, 2007, 10:13:24 PM »
Hopefully it has nothing to do with me?

I also noticed after i installed ulib and ulx, the motd doesn't show up anymore.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Installation Help
« Reply #5 on: October 22, 2007, 03:42:37 PM »
* JamminR glares at Megiddo.

No Avien. Nothing at all you've done...at least to cause my rage.

I spent several days, a few hours a day, trying to figure out why the error you're having was occurring.
NO one else seemed to be having it, so it wasn't a ULX/ULib issue per say...at least...this current version.

It ended up that the NEW ULib didn't like an old dll file that Megiddo wrote and used (as did I for old UMotd) for various 'HTML' projects.
The past few versions of ULX didn't use it, and happily let it sit and be ignored. I think a recent version of ULX started using a similar function name, and that error started popping up. Took me a week, even bugging Megiddo, to find out the problem.

Anyway..to bring make my long frustration story to an end (at least for now), here is how to fix it.
Go into your /addons folder. If there is a ulib.vtf or motd.vtf file there, delete it.
THEN, go into gmod/lua/includes/modules, look for gm_motd.dll or gm_ulib.dll and delete it. Your server/game will need to be closed to accomplish this.
Then try restarting your server.


Oh, and thanks for sticking with Team Ulysses so long.
I can tell by the fact you even have that problem that you've been with our products for quite a while.
« Last Edit: October 22, 2007, 03:44:18 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Installation Help
« Reply #6 on: October 22, 2007, 06:43:53 PM »
Well that fixed it.  Thanks again for a fine product and for helping me solve this.