• Print

Author Topic: Unable To "admin" On a Dedicated Server I created...  (Read 7909 times)

0 Members and 1 Guest are viewing this topic.

Shadow

  • Guest
Unable To "admin" On a Dedicated Server I created...
« on: July 22, 2006, 04:42:01 pm »
Ok lets see, Ill go down the list
  • Read-me (Check)
  • User's Ini (Check)
  • User-ID Correct (check)
  • User-ID Double Check (Check)

I AM Running a dedicated server, I have the latest verision, and Here is ALL the info

hostname:  The newest Dedicated server out there!
version : 1.0.1.0/7 2782 insecure (secure mode enabled, connected to Steam3)
udp/ip  :  192.168.0.100:27015
map     :  gm_construct at: 0 x, 0 y, 0 z
players :  4 (6 max)

# userid name uniqueid connected ping loss state adr
#  3 "PN" STEAM_0:1:8486892 10:53 92 0 active 68.73.4.90:27005
#  6 "eXoDuS" STEAM_0:1:2282356 03:25 96 0 active 70.173.187.174:25169
#  7 "Shadow" STEAM_0:1:11162802 03:17 32 0 active 192.168.0.100:27006
#  8 "MingeBag" STEAM_0:1:11330829 02:50 176 75 spawning 72.135.56.201:27005

] lua tprint (  gUsers  )
STEAM_0:0:9037962=abcdefghijklmnopqrstuvwxyz
STEAM_0:0:5743964=abcdefghijklmnopqrstuvwxyz
STEAM_0:0:1234567=abcdefghijklmnopqrstuvwxyz

[And Incase you needed this too...]
(Whats at the VERY BOTTOM of my Users in the configuration folder)
//"STEAM_ID_LAN" "bcdefghijklmnopqrstuz" //Uncomment this if you want to give people on LAN access, or if you're using the listen server fix
"STEAM_0:1:11162802" "admin"
"STEAM_0:1:11162802" "abcdefghijklmnopqrstuz"

I hope thats all you need :/

shadow

  • Guest
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #1 on: July 22, 2006, 05:39:21 pm »
[Whoops :-\] I forgot to say, it worked when I started it w/ gmod, (I was admin) But now...Well im not "admin"

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #2 on: July 22, 2006, 06:57:26 pm »
Give us your whole users.ini, the ones loaded in gUsers don't seem to match up with your file.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #3 on: July 22, 2006, 09:14:13 pm »
Shadow,
Megiddo's right..according to your own tprint line, _other_ users are being loaded. Perhaps from another file.
Some quick things to check...

1) Are you running latest version of ULX? As of this post, its 1.13, and, versions previous to 1.13 had an error where they wrote access to, and loaded from, file(s) other than just ulx\configs\users.ini
(If you downloaded the ded server from the FP forums, its not the latest I'm pretty sure)

2) 'admin' isn't actually an special access level. That would be same as giving yourself just
a=invincibility
d=ulx_ban and ulx_unban commands
m=spawned props will be "protected"
i=ulx_chat and other chat commands
n=ulx_ent command
Though, you (attenpt to) load yourself twice, I'm not sure which of your listings would take precedence.

3) Make sure you don't have some malicious LUA 'virus/worm'. ULM is a big one. Check your lua/init folder on your dedicated folder. Make sure you don't have any files there you didn't put. Or edits to the default ones that you didn't make. See the FacePunch forums for more tips. There's been quite a bit of discussion about LUA worms. There's even some anti-lua worm protection scripts, though I don't know how well these work
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Shadow

  • Guest
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #4 on: July 22, 2006, 10:27:50 pm »
Ok, I fixed the "admin" Problem [by that I mean the a=invincibility, d=ulx_ban, Etc.] and I checked for worms/viruses [and I USED To have some, but not this time] and it still didnt work!, so here is my "users" thing...

// 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_ID_LAN" "abcdefghijklmnopqrstuz"//Uncomment this if you want to give people on LAN

access, or if you're using the listen server fix

"STEAM_0:1:11162802" "abcdefghijklmnopqrstuz"

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #5 on: July 22, 2006, 10:44:45 pm »
looks like some stuff got uncommented though it might be because of the forum overlap, try this:
Or you could use ULX Builder
Code: Lua
  1. // Add users here, in the following format:
  2. // "<steamid>" "<access flags>" //Optional comment ( You could say who this steamid belongs to in this comment )
  3. //
  4. // Example:
  5. // "STEAM_0:1:1234567" "abcdefghijklmnopqrstuz"
  6. // DO NOT INCLUDE THE '//' before the steamid, IT DENOTES A COMMENT
  7. //
  8. // Access flags:
  9. // a - immunity (can't be kicked/banned/slayed/slapped and affected by other commmands)
  10. // b - reservation (can join on reserved slots)
  11. // c - ulx_kick command
  12. // d - ulx_ban and ulx_unban commands
  13. // e - ulx_slay and ulx_slap commands
  14. // f - ulx_map command
  15. // g - ulx_cvar command (not all cvars will be available)
  16. // h - ulx_cfg command
  17. // i - ulx_chat and other chat commands
  18. // j - ulx_vote and other vote commands
  19. // k - access to sv_password cvar (by ulx_cvar command)
  20. // l - access to ulx_rcon command and rcon_password cvar (by ulx_cvar command)
  21. // 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 )
  22. // n - ulx_ent command - CAUTION, PLAYERS MAY BE ABLE TO CRASH THE SERVER WITH THIS ACCESS
  23. // o - custom level A
  24. // p - custom level B
  25. // q - custom level C
  26. // r - custom level D
  27. // s - custom level E
  28. // t - custom level F
  29. // u - custom level G
  30. // z - custom level H
  31. //
  32. //
  33. // TUTORIAL:
  34. // Go to your server, type "status" without the quotes in either your console, or the server console
  35. // Example output:
  36. //
  37. // 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.
  38. // 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 )
  39. // "STEAM_0:1:123456" "ce"
  40.  
  41. //"STEAM_ID_LAN" "bcdefghijklmnopqrstuz" //Uncomment this if you want to give people on LAN access, or if you're using the listen server fix
  42.  
  43. "STEAM_0:1:11162802" "abcdefghijklmnopqrstuz"
  44.  
  45.  
  46.  


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #6 on: July 22, 2006, 10:46:56 pm »
Thats your gmod9/ulx/configs/users.ini correct?
Check and see if you have a gmod9/ulx/ulx_users.lua ... if you do, check if
"STEAM_0:0:9037962" "abcdefghijklmnopqrstuvwxyz"
"STEAM_0:0:5743964" "abcdefghijklmnopqrstuvwxyz"
"STEAM_0:0:1234567" "abcdefghijklmnopqrstuvwxyz"

are in there.
If they ARE...I think you have an old version of ULX.
Make sure you get the latest.
If you don't, well, hmm, NEXT helper?
"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: Unable To "admin" On a Dedicated Server I created...
« Reply #7 on: July 23, 2006, 08:36:07 am »
Hmm... did a search for the steamids you got from gUsers and I came up with Patrick's ids. Maybe he made a virus?
Experiencing God's grace one day at a time.

Shadow

  • Guest
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #8 on: July 23, 2006, 11:33:20 am »
Code: [Select]
// 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_ID_LAN" "abcdefghijklmnopqrstuz"//Uncomment this if you want to give people on LAN access, or if you're using the listen server fix

"STEAM_0:1:11162802" "abcdefghijklmnopqrstuz"

(I was going to do this the first time but I realized this when it was too late and did not want to double post)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Unable To "admin" On a Dedicated Server I created...
« Reply #9 on: July 23, 2006, 02:53:50 pm »
Megiddo,
 I don't think Patrick created a virus.
There is a post, at the very top of Facepunch Garry's mod Help and Support forum for a 'dedicated' server.
http://forums.facepunchstudios.com/showthread.php?t=45451
Within that is a premade download that includes, among several admin type lua helpers, ULX v1.11 (.11 I think, its definitely older)
Within that is the old ULX_USERS.LUA file, and the people that made the post are there as admin.
(Armpit, and one or two others I don't remember from when I downloaded it)
(Though not maliciously I would hope, accidentally perhaps, definitely rude if left there on purpose)

That is why I think Shadow is using an old version, and hasn't updated to the latest.

Shadow, I recommend deleting all of your ULX files/folder from the LUA directory, and downloading a fresh copy from http://www.ulyssesmod.net
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

  • Print