Author Topic: ULX/ULib being just plain funny.  (Read 3239 times)

0 Members and 1 Guest are viewing this topic.

Offline BioShadow

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
ULX/ULib being just plain funny.
« on: December 18, 2006, 03:34:59 PM »
Okay. I've tried just about everything other than wiping Garry's Mod out and reinstalling it.
It worked before, I don't know what I did, if I even did anything.
But every time I start up ULX through a dedicated server, through a listen server, and (not like it would matter much) in Single player, I get this when I try to run a command:

Code: [Select]
LS: Error: ULib/concommand.lua:98: attempt to index upvalue 'ucl' (a nil value)
I believe it refers to line 98, which is (Not like I doubt you guys know your own mod  :))

Code: [Select]
if not ucl:query( userid, gCommands[ command ].access ) then
ULib.tsay( userid, "You do not have access to this command, " .. _PlayerInfo( userid, "name" ) .. "." )
-- Print their name to intimidate them :)
return
end
end
fn_call( userid, args, argv, argc )
end

I fear that something may not be starting properly, or perhaps I've even installed ULX/ULib wrong. Any suggestions? :'(


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX/ULib being just plain funny.
« Reply #1 on: December 18, 2006, 03:44:43 PM »
I'm betting its a misconfiguration of your /data/users.txt
Post it here please?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline BioShadow

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX/ULib being just plain funny.
« Reply #2 on: December 18, 2006, 06:47:22 PM »
Code: [Select]
// User configuration file

// Line starting with // are comments

// Access flags:
// a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
// b - reservation (can join on reserved slots)
// c - kick access
// d - ban and unban access
// e - slay and slap access
// f - map access
// g - cvar access
// h - ent access (could crash the server!)
// i - misc chat access
// j - vote access
// k - prop access
// l - rcon access
// m - player control access (things that affect clients)
// n - menu access
// Other letters may be used for additional plugins (access flags are caps-sensitive).

// Account flags:
// a - this is a playername
// b - this is a clan tag (partial playername)
// c - this is a steamid
// d - this is an ip
// e - this is a steam login (the username they log into steam with)
// f - disconnect player on invalid password. This MUST be used with another account flag. (It's the only flag that can be used with others)
//      (gives them 30 seconds to enter their pass, by default)

// Password:
// When asked for the password, use "_pw <password>" in console

// Format of admin account:
// "<name|ip|steamid|clantag|steamlogin>" "<password>" "<access flags>" "<account flags>"

// Examples of admin accounts:
// "STEAM_0:0:123456" "" "abcdefghijklmnopqrstuv" "c"
// "123.45.67.89" "" "abcdefghijklmnopqrstuv" "d"
// "My Name" "my_password" "abcdefghijklmnopqrstuv" "a"
// "MingeBag" "supah_pass" "abcdefghijklmnopqrstuv" "bf" // This will disconnect any mingebag who does not know the password.

"BioShadow" "Oops I changed this as not to reveal my actual pass" "abcdefghijklmn" "a"

//Made by armpit's easy access generator
Never thought of that one.  ???

I'll try deleting the
Code: [Select]
"BioShadow" "Oops I changed this as not to reveal my actual pass" "abcdefghijklmn" "a" And see if that helps.

Nnnoooo it didn't. Didn't change a thing.
« Last Edit: December 18, 2006, 07:02:09 PM by BioShadow »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX/ULib being just plain funny.
« Reply #3 on: December 18, 2006, 07:20:03 PM »
Bio, you _have_ to have yourself as a user. Deleting it def won't work.
However, I'm not sure Nickname/password combos work in ULX v2.9 (for GM10)
2.9 was a quick port...much isn't fully functional.

Let me look at the news for the release
Will edit or post new
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX/ULib being just plain funny.
« Reply #4 on: December 18, 2006, 08:08:10 PM »
Found this in another post about access problems.
Dont use Playername/Password in users.txt for dedicated servers. Use the STEAMID with no password option.

Not sure how you'd fix it for non-ded servers.
I use my steamid for everything, no password, access b through n, flag c
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline BioShadow

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX/ULib being just plain funny.
« Reply #5 on: December 19, 2006, 01:37:37 PM »
No, didn't work  :'(

faith

  • Guest
Re: ULX/ULib being just plain funny.
« Reply #6 on: December 26, 2006, 07:41:35 PM »
im having the same prob and im using a steam id :-[ :-[

"STEAM_0:1:4567321" "" "abcdefghijklmnopqr" "c"