Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: rathat on August 25, 2009, 12:23:46 AM
-
First off, I go into my server and into the server consol and type ulx debuginfo, so i cant show it to you guys, but it says access denied. I have added a new rank order with owner,superadmin, admin, vip, regualr, and user, which im sure is my problem but i cant understand why im not set to owner. These are the text files thanks for reading and your help.
"Owner"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx adduserid"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
"overcomeimmunity"
}
"inherit_from"
{
"SuperAdmin"
}
}
"SuperAdmin"
{
"deny"
{
}
"allow"
{ "ulx adduser"
"ulx adduserid"
}
"inherit_from"
{
"Admin"
}
}
"Admin"
{
"deny"
{
}
"allow"
{"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx physgunplayer"
"ulx voteban"
"ulx veto"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
"ulx seeasay"
}
"inherit_from"
{
"VIP"
}
}
"VIP"
{
"deny"
{
}
"allow"
{
"ulx votekick"
"ulx csay"
}
"inherit_from"
{
"Regular"
}
}
"Regular"
{
"deny"
{
}
"allow"
{
"ulx vote"
"ulx votemap2"
"ulx votemap"
}
"inherit_from"
{
"user"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx motd"
"ulx_getbans"
"ulx usermanagementhelp"
"ulx who"
"ulx debuginfo"
}
"inherit_from"
{ none
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
}
"inherit_from"
{
}
this is the users file from when before i changed the groups but i have changed it from superadmin to owner since in my line up superadmin is second
"[PS] rathat"
{
"deny"
{
}
"type" "steamid"
"groups"
{
"owner"
}
"id" "STEAM_0:1:11814400"
"pass" ""
"allow"
{
"ulx hasreadhelp"
}
}
not sure if this helps but the uteams file
"Out"
{
"teams"
{
"1"
{
"name" "Owner"
"group" "Owner"
"armor" "2000"
"hp" "2000"
"color"
{
"a" "255"
"B" "61"
"g" "61"
"r" "61"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "SuperAmins"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "255"
}
}
"3"
{
"name" "Admin"
"group" "Admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "0"
"g" "153"
"r" "255"
}
}
"4"
{
"name" "VIP"
"group" "VIP"
"armor" "250"
"hp" "250"
"color"
{
"a" "255"
"B" "204"
"g" "0"
"r" "0"
}
}
"5"
{
"name" "Regular"
"group" "Regular"
"armor" "175"
"hp" "175"
"color"
{
"a" "255"
"B" "255"
"g" "102"
"r" "0"
}
}
"6"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "153"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}
thank you so much for reading and helping me out. I have been working non stop for 2 days on this server to set it up. and sorry again that I can't get the debug info, it just wont let me, I tried putting the debug info in the user allows but it didnt help after a restart. thank you. :) :) :) :)
-
In your group set "Owner" as "owner" since it's case sensitive. Also edit your UTeam file so that "group" is set to "owner". Try that and let me know what happens. If you type ulx debuginfo into server console it HAS to work, if it doesn't some thing is wrong with your ulx (unless you are doing it client side)... but try the first step first..
-
case sensitive?...... I wish i had known that lol. also when i type it, I don't have admin so thats why it wont work. :-\
-
Well if ulx debuginfo is run via the server console, you dont have to be an admin, you dont even need to be connected to the server ;) So i take it the groups worked fine?
-
nope still the same, like its not even there
-
So in server console you type "ulx adduser rathat owner" ? Through the server console in the Game Panel, not in your garrys mod game.
-
yes, it says "Invalid group!" dont know why.
-
"Owner" or "owner"? You you need to make the group name in the groups.txt file lower case. Idk if it still causes conflict after the recent updates, but if you running the latest stable release (not svn) you need to make it lower case.
-
Its all lowercase now, tripple checked. Still says invalid group is something wrong with the way the groups in the file are set up?
-
also do i need to do something with this? saw it in the gmod wiki but not sure what it is
"If you wish, you may also add non-standard groups. Any group added to users.txt can be detected using Player.IsUserGroup()"
this is the users.txt from gmod settings "Users"
{
"owner"
{
"[PS]rathat" "STEAM_0:1:11814400"
}
}
-
Make a backup of your groups.txt file. Remove the groups.txt file and misc_registered.txt from data/ulib then restart the server. Try and add your self to "superadmin" and check that works...
EDIT: The user.txt file doesn't have to be filled in.
-
After reviewing your code again, i found that there was no closing braket '}' at the end of your group file for the group "none". I fixed your file, and changed the group names to lowercase:
"owner"
{
"deny"
{
}
"allow"
{
"ulx hiddenecho"
"ulx rcon"
"ulx luarun"
"ulx cexec"
"ulx ent"
"ulx adduser"
"ulx adduserid"
"ulx removeuser"
"ulx userallow"
"ulx userdeny"
"ulx addgroup"
"ulx removegroup"
"ulx groupallow"
"ulx groupdeny"
"overcomeimmunity"
}
"inherit_from"
{
"superadmin"
}
}
"superadmin"
{
"deny"
{
}
"allow"
{ "ulx adduser"
"ulx adduserid"
}
"inherit_from"
{
"admin"
}
}
"admin"
{
"deny"
{
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx spawnecho"
"ulx tsay"
"ulx csay"
"ulx gimp"
"ulx mute"
"ulx ungimp"
"ulx unmute"
"ulx gag"
"ulx ungag"
"ulx chattime"
"ulx welcomemessage"
"ulx slap"
"ulx whip"
"ulx slay"
"ulx sslay"
"ulx ignite"
"ulx unignite"
"ulx playsound"
"ulx freeze"
"ulx unfreeze"
"ulx god"
"ulx ungod"
"ulx noclip"
"ulx hp"
"ulx armor"
"ulx cloak"
"ulx uncloak"
"ulx blind"
"ulx unblind"
"ulx jail"
"ulx unjail"
"ulx ghost"
"ulx unghost"
"ulx ragdoll"
"ulx unragdoll"
"ulx maul"
"ulx strip"
"ulx adminmenu"
"ulx clientmenu"
"ulx mapsmenu"
"ulx showmotd"
"ulx banmenu"
"ulx exec"
"ulx rslotsmode"
"ulx rslots"
"ulx rslotsvisible"
"ulx reservedslots"
"ulx bring"
"ulx goto"
"ulx send"
"ulx teleport"
"ulx tooldeny"
"ulx toolallow"
"ulx tooldenyuser"
"ulx toolallowuser"
"ulx tooldenyoverride"
"ulx map"
"ulx kick"
"ulx ban"
"ulx banid"
"ulx unban"
"ulx spectate"
"ulx physgunplayer"
"ulx voteban"
"ulx veto"
"ulx voteecho"
"ulx votemap2successratio"
"ulx votemap2minvotes"
"ulx votekicksuccessratio"
"ulx votekickminvotes"
"ulx votebansuccessratio"
"ulx votebanminvotes"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx votemapwaittime"
"ulx votemapsuccessratio"
"ulx votemapminvotes"
"ulx votemapvetotime"
"ulx votemapmapmode"
"ulx votemapaddmap"
"ulx seeasay"
}
"inherit_from"
{
"vip"
}
}
"vip"
{
"deny"
{
}
"allow"
{
"ulx votekick"
"ulx csay"
}
"inherit_from"
{
"regular"
}
}
"regular"
{
"deny"
{
}
"allow"
{
"ulx vote"
"ulx votemap2"
"ulx votemap"
}
"inherit_from"
{
"user"
}
}
"user"
{
"deny"
{
}
"allow"
{
"ulx"
"ulx help"
"ulx psay"
"ulx asay"
"ulx thetime"
"ulx menu"
"ulx_valueupdate"
"ulx_cvar"
"ulx_getgamemodes"
"ulx motd"
"ulx_getbans"
"ulx usermanagementhelp"
"ulx who"
"ulx debuginfo"
}
"inherit_from"
{ none
}
}
"none"
{
"deny"
{
}
"allow"
{
"ulx logecho"
"ulx logfile"
"ulx logevents"
"ulx logchat"
"ulx logspawns"
"ulx logspawnsecho"
"ulx logdir"
"ulx addgimpsay"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
}
"inherit_from"
{
}
}
and Uteam file:
"Out"
{
"teams"
{
"1"
{
"name" "Owner"
"group" "owner"
"armor" "2000"
"hp" "2000"
"color"
{
"a" "255"
"B" "61"
"g" "61"
"r" "61"
}
"plytable"
{
"1" "SprintSpeed:1000"
"2" "WalkSpeed:500"
}
}
"2"
{
"name" "SuperAmins"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "0"
"g" "0"
"r" "255"
}
}
"3"
{
"name" "Admin"
"group" "admin"
"armor" "500"
"hp" "500"
"color"
{
"a" "255"
"B" "0"
"g" "153"
"r" "255"
}
}
"4"
{
"name" "VIP"
"group" "vip"
"armor" "250"
"hp" "250"
"color"
{
"a" "255"
"B" "204"
"g" "0"
"r" "0"
}
}
"5"
{
"name" "Regular"
"group" "regular"
"armor" "175"
"hp" "175"
"color"
{
"a" "255"
"B" "255"
"g" "102"
"r" "0"
}
}
"6"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "255"
"r" "153"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}
Let me know what happens.
-
There is an error in your superadmin group.
"superadmin"
{
"deny"
{
}
"allow"
{ "ulx adduser"
"ulx adduserid"
}
"inherit_from"
{
"admin"
}
}
Needs to be changed to
"superadmin"
{
"deny"
{
}
"allow"
{
"ulx adduser"
"ulx adduserid"
}
"inherit_from"
{
"admin"
}
}
-
Yup, bennie and [WCA] are both correct on their finds :D
-
It works! thank you guys so much for your help I really appreciate it. :) :) :) :) :) :)