ULX

Author Topic: Admin not working plz help  (Read 3586 times)

0 Members and 1 Guest are viewing this topic.

Gotron914

  • Guest
Admin not working plz help
« on: August 01, 2006, 11:32:00 PM »
Hello i tried adding myself admin on v1.13 it does not work can someone please help this is what it looks like in my users.ini

// Add users here, in the following format:
// "<steamid>" "<access flags>" //Optional comment ( You could say who this steamid belongs to in this comment )
//
// Example:
// "STEAM_0:1:1234567" "abcdefghijklmnopqrstuz"
// DO NOT INCLUDE THE '//' before the steamid, IT DENOTES A COMMENT
//
// Access flags:
// a - immunity (can't be kicked/banned/slayed/slapped and affected by other commmands)
// b - reservation (can join on reserved slots)
// c - ulx_kick command
// d - ulx_ban and ulx_unban commands
// e - ulx_slay and ulx_slap commands
// f - ulx_map command
// g - ulx_cvar command (not all cvars will be available)
// h - ulx_cfg command
// i - ulx_chat and other chat commands
// j - ulx_vote and other vote commands
// k - access to sv_password cvar (by ulx_cvar command)
// l - access to ulx_rcon command and rcon_password cvar (by ulx_cvar command)
// m - spawned props will be "protected", only other users with this access will be able to delete or move them ( ALSO UNAFFECTED BY PROP ANTI SPAM )
// n - ulx_ent command - CAUTION, PLAYERS MAY BE ABLE TO CRASH THE SERVER WITH THIS ACCESS
// o - custom level A
// p - custom level B
// q - custom level C
// r - custom level D
// s - custom level E
// t - custom level F
// u - custom level G
// z - custom level H
//
//
// TUTORIAL:
// Go to your server, type "status" without the quotes in either your console, or the server console
// Example output:
//
//] status
//hostname:  The Hut
//version   : 1.0.1.0/7 2707 insecure (secure mode enabled, disconnected from Steam3)
//udp/ip  :  192.168.0.51:27015
//map     :  gm_construct at: 1015 x, 21 y, -79 z
//players :  1 (16 max)
//
//# userid name uniqueid connected ping loss state adr
//#  2 "Joe" STEAM_0:1:123456 12:31 70 0 active 127.0.0.1:27005
//<end>
//
// Take your steamid. In this example, Joe's steamid is "STEAM_0:1:123456" without the quotes. Use this id as part of your access line.
// In this example, the server admin wants to grant Joe access to the slay-related and kick-related commands ONLY ( the admin looks at the access table listed above and sees that the wanted accesses respond to c and e, respectively ), so the following line ( without the '//' is added to users.ini )
// "STEAM_0:1:123456" "ce"

"STEAM_0:1:799799" "abcdefghijklmnopqrstuvwxyz"

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin not working plz help
« Reply #1 on: August 02, 2006, 04:33:07 AM »
It seems correct.
Please follow _every_ step in http://forums.ulyssesmod.net/index.php/topic,176.0.html

Not stated directly there, but important in step 1 of following the readme.txt from that link, is to make sure you have the files/folders in the proper paths.
gmod9/lua/init/ulx_init.lua
then the rest should be
gmod9/lua/ulx/blah

One error I've often seen is that many put ulx into /gmod9/ulx, not when it should be gmod9/lua/ulx
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Gotron12345

  • Guest
Re: Admin not working plz help
« Reply #2 on: August 02, 2006, 08:20:57 AM »
I'm not 100% sure but does this error here involve in any way of  me not getting admin because im kinda 99% sure it is but im not really sure please help me out

[LUA] Error calling 'DoEventHook' : 'Line 5: attempt to call global 'hasAccess'
(a nil value)'

Gotron34789

  • Guest
Re: Admin not working plz help
« Reply #3 on: August 02, 2006, 08:32:57 AM »
Ok, never mind i got it to work thank god >_<

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin not working plz help
« Reply #4 on: August 02, 2006, 09:46:54 AM »
We're glad.
What was broken?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Nothing

  • Guest
Re: Admin not working plz help
« Reply #5 on: August 03, 2006, 04:08:43 AM »
Nothing i feel kinda stupid but uh i forgot to include 1 number and it seemed impossible but... i forgot to include 1 number >_< =/

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Admin not working plz help
« Reply #6 on: August 03, 2006, 04:27:40 AM »
Not a big deal.
I don't go around memorizing my Steamid, so wouldn't have recognized it too quick either.
Many times, Source console doesn't seem to copy all of what you highlight when you copy and paste, skipping the last digit (I wonder if it skips first if you highlight right to left :D)
As that sticky post that Megiddo made, its #3 on the list.
Quote
3. Double check that you put your steamid in correctly

A lot of people accidently leave a number off of their steamid, ALWAYS DOUBLE CHECK
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming