Author Topic: ULX not working  (Read 3518 times)

0 Members and 1 Guest are viewing this topic.

Offline nayrb

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ULX not working
« on: September 19, 2009, 11:24:03 PM »
Alright. Before updating and upgrading to SVN ULib and ULX, I had what I'm thinking is 3.40 if I'm not mistaken and 2.30 ULib(?). After updating, ULX would not start and my console is getting Unknown Command:ulx.

This is what my console has(ulx related)

Code: [Select]
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/misc.lua          //
//  shared/util.lua          //
//  server/upgrade.lua       //
//  server/hook.lua          //
//  server/gamemode_hooks.lua//
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/concommand.lua    //
//  shared/commands.lua      //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
ULib/shared/sh_ucl.lua:88: attempt to concatenate local 'group' (a table value)
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading SHARED module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  lib.lua                  //
//  base.lua                 //
Warning! Called deprecated function ULib.begin_subconcommand. Use the functions under ULib.cmds.* now
Warning! Called deprecated function ULib.concommand. Use the functions under ULib.cmds.* now
ULib/shared/concommand.lua:65: attempt to call field 'registerAccess' (a nil value)
//  log.lua                  //
ulx\log.lua:1: attempt to call field 'convar' (a nil value)
//  MODULE: chat.lua         //
ulx\modules/chat.lua:2: attempt to call field 'setCategory' (a nil value)
//  MODULE: fun.lua          //
ulx\modules/fun.lua:6: attempt to call field 'setCategory' (a nil value)
//  MODULE: menus.lua        //
ulx\modules/menus.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: rcon.lua         //
ulx\modules/rcon.lua:2: attempt to call field 'setCategory' (a nil value)
//  MODULE: slots.lua        //
ulx\modules/slots.lua:2: attempt to call field 'setCategory' (a nil value)
//  MODULE: teleport.lua     //
ulx\modules/teleport.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: toolmode.lua     //
ulx\modules/toolmode.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: user.lua         //
ulx\modules/user.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: util.lua         //
ulx\modules/util.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: vote.lua         //
ulx\modules/vote.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: votemap.lua      //
ulx\modules/votemap.lua:1: attempt to call field 'setCategory' (a nil value)
//  MODULE: xgui_server.lua  //
///////////////////////////////
// ULX GUI -- by Stickly Man //
///////////////////////////////
// Adding GUI Modules..      //
//  1players.lua             //
//  2groups.lua              //
//  3maps.lua                //
//  4settings.lua            //
//  module_examples.lua      //
// GUI Modules Added!        //
///////////////////////////////
ulx\modules/xgui_server.lua:20: attempt to call field 'registerAccess' (a nil value)
//  MODULE: userhelp.lua     //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////

Code: [Select]
Timer Error: ULib/shared/player.lua:9: attempt to call field 'registerAccess' (a nil value)

Code: [Select]
You are running ULib version 2.40.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: adminmenu.lua
[ULX] Loading CLIENT module: banmenu.lua
[ULX] Loading CLIENT module: clientmenu.lua
[ULX] Loading CLIENT module: mainmenu.lua
[ULX] Loading CLIENT module: mapsmenu.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: xgui_client.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading SHARED module: userhelp.lua

Any help would be appreciated.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX not working
« Reply #1 on: September 20, 2009, 06:45:26 AM »
If you use a fastdownload url, make sure the cache is updated there after a total hlds server restart (not just a map restart).
The errors about depreciation in ULX are 'ok' and it should still work. We've not caught up yet with ULX to match the sweeping changes we've made in ULib.

Also, regarding the ULib error you're getting;
From the time you first got ULib/ULX until now, have you added custom groups?
If you did; How did you add them? Manually using a text editor? If an editor, what path/file did you edit?
Or did you use "ulx addgroup"?
« Last Edit: September 20, 2009, 06:56:01 AM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline nayrb

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ULX not working
« Reply #2 on: September 20, 2009, 10:14:50 AM »
I haven't added any groups whatsoever to ULX but if I did and can't recall it, it was to data\ulx\groups.txt

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX not working
« Reply #3 on: September 20, 2009, 12:29:52 PM »
it was to data\ulx\groups.txt
There is no data/ulxgroups.txt, as least shouldn't be.
Should be a gmod/data/ULib/groups.txt (Never edit gmod/addons/ULib/data/ULib/groups.txt)

How did you add yourself as superadmin?
If you followed the instructions using our readme and edited the default gmod/settings/users.txt , cheers. Thats our most recommended method.

For now, since you're pretty sure you haven't edited anything in a while, try (moving/deleting, your choice) gmod/data/ULib/groups.txt and gmod/data/ULib/misc_registered.txt
Make sure you're server is shut down while doing that, then restart it after making sure those files no longer reside there.
(I recommend moving/backing up the two files. If you end up losing some groups, I wouldn't copy them back, but at least open the files and see what groups I had and re-create them using ulx addgroup)
"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 not working
« Reply #4 on: September 20, 2009, 02:17:39 PM »
I'd like to see your groups.txt and users.txt. As best as I can figure, you've got a table for a groupname... which shouldn't be possible.
Experiencing God's grace one day at a time.