Author Topic: Help installing Ulib and Ulx  (Read 3995 times)

0 Members and 1 Guest are viewing this topic.

Offline drake90001

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
  • Formerly xXMyFateXx
Help installing Ulib and Ulx
« on: June 05, 2010, 11:03:11 AM »
I have Ulib here:
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib
with these folders inside: Data, lua, info.txt, ULib_readme.txt

I have ulx:
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx
With this inside: cfg, lua, info.txt, ulx_motd.txt, and ulx_readme.txt

I have a user,txt inside the Gmod setting folder.

The user.txt says
"Users"
{
   //
   // This is your users file
   //
   // You can use this file to add people as admins on your server
   // Add them to the relevant section
   //
   // If you're a Lua coder you can add your own sections and use them
   // in your script by doing pl:IsUserGroup( "admin" ) etc
   //

   "superadmin"
   {
      //"20_below_Drake"         "STEAM_0:1:29763930"
   }
   
   "admin"
   {
      //"20_below_Drake"         "STEAM_0:1:29763930"
   }

}

Whats wrong? I type ulx in ther console and it says
Unknown command "ulx"

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Help installing Ulib and Ulx
« Reply #1 on: June 05, 2010, 11:46:00 AM »
Did you restart garrysmod? And are you hosting a listen server?
Experiencing God's grace one day at a time.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Help installing Ulib and Ulx
« Reply #2 on: June 05, 2010, 12:49:08 PM »
If you want the users.txt to work, take out the // in front of their names.

Offline drake90001

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
  • Formerly xXMyFateXx
Re: Help installing Ulib and Ulx
« Reply #3 on: June 05, 2010, 07:52:29 PM »
I am using srcds.exe to host it

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Help installing Ulib and Ulx
« Reply #4 on: June 05, 2010, 08:03:31 PM »
You need to install ulx and ulib on your server then, not your client.
Experiencing God's grace one day at a time.

Offline drake90001

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
  • Formerly xXMyFateXx
Re: Help installing Ulib and Ulx
« Reply #5 on: June 05, 2010, 08:28:25 PM »
How would I do that?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help installing Ulib and Ulx
« Reply #6 on: June 05, 2010, 09:42:23 PM »
Fate, not trying to sound rude, but it's difficult in text not to.
We include with both ULib and ULX a <x>_readme.txt file. That file shows where the files you extract or SVN should go.
If you don't know the basics of hosting a Gmod server, many of us really don't have the patience to give instructions.
It's not that we won't help, it's just that too many articles can be found at the Gmod wiki, Facepunch forums, and other sites (using Google perhaps) that talk about hosting and addons.
I strongly recommend starting at the following - http://wiki.garrysmod.com/?title=Dedicated_Server_Setup
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline drake90001

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
  • Formerly xXMyFateXx
Re: Help installing Ulib and Ulx
« Reply #7 on: June 06, 2010, 06:49:41 AM »
Ok, I did what the readme said,
"To install ULib, simply extract the files from the archive to your garrysmod/addons folder.
When you've done this, you should have a file structure like this--
<garrysmod>/addons/ulib/lua/ULib/init.lua
<garrysmod>/addons/ulib/lua/ULib/server/util.lua
<garrysmod>/addons/ulib/lua/autorun/ulib_init.lua
<garrysmod>/addons/ulib/data/ULib/users.txt
etc.."

Same with Ulx, and still, nothing works, I did restart the server several times

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Help installing Ulib and Ulx
« Reply #8 on: June 06, 2010, 07:16:41 AM »
Do the same with ULX of course. /addons/ulx
Those files go on your dedicated server addons, not your local game.
When your server starts up your server console will show loading of ULib and then any ulib modules (like ULX).
If you use a sv_downloadurl location, you'll need to put your server's /cache folder on the fastdl server.

Did you add yourself as a superadmin like the readme for ulx gives a link on how to do?
The link I gave in above post has info on how to do it too.

Also, we are easily irritated as developers with saying "it doesn't work" without already having context of what 'it' is.
We know ULX works or we'd have many more people here saying it didn't.
Please give detail as to what you are doing that doesn't work.
Error messages you are getting. What version of ULX you're trying to use. We have 'release' which can be downloaded from our www.ulyssesmod.net downloads link, and we have 'svn' which is our beta code that can be obtained following instructions from our SVN forum area.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline drake90001

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
  • Formerly xXMyFateXx
Re: Help installing Ulib and Ulx
« Reply #9 on: June 06, 2010, 07:27:56 AM »
ulx-v3_40.zip

ULib-v2_30.zip

I downloaded them, opened them and now I have this for Ulib:
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\data
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\data\ULib
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\data\ULib\format.txt
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\data\ULib\groups.txt
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\data\ULib\users.txt

F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\lua
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\lua\autorun
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\lua\autorun\ulib_init.lua
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulib\lua\ULib

and in that last folder, there are 5 more folders and 2 lua's

for ulx:
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\cfg
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\cfg\gamemodes
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\cfg\maps
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua\ULib
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua\ULib\modules
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua\ulx
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua\ulx\modules
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua\ulx\modules\cl
F:\Program Files\Steam\steamapps\drake90001\garrysmod\garrysmod\addons\ulx\lua\ulx\modules\sh

Is I play singel player, ulx works, but online, it dosnt seem to see the folders

also, in my ulx folder, there were many lua and other files I didnt feel like typing






Offline drake90001

  • Newbie
  • *
  • Posts: 33
  • Karma: 0
  • Formerly xXMyFateXx
Re: Help installing Ulib and Ulx
« Reply #10 on: June 06, 2010, 08:05:58 AM »
Never mind, I have fixed it, I never realized I had to put it in the srcds folder, now I have it working and am Very happy, sorry for having this be a problem.