ULX

Author Topic: broken ulx  (Read 7140 times)

0 Members and 1 Guest are viewing this topic.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
broken ulx
« on: September 21, 2009, 09:47:06 AM »
Recently my ulx has broken. I had it on a server where it was working great! But then when I moved it to another server I only transfered the groups file from data and now ulx won't work on that one. Is my groups file incorrect?

Code: [Select]
"operator"
{
"allow"
{
"ulx seeasay"
}
"inherit_from"
{
}
}
"superadmin"
{
"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"
}
"inherit_from"
{
admin
}
}
"admin"
{
"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 vote"
"ulx votemap2"
"ulx votekick"
"ulx voteban"
"ulx veto"
}
"inherit_from"
{
operator
}
}
"owner"
{
"allow"
{
"overcomeimmunity"
}
"inherit_from"
{
superadmin
}
}
"trialadmin"
{
"allow"
{
"ulx gag"
"ulx ungag"
"ulx mute"
"ulx unmute"
"ulx gimp"
"ulx ungimp"
"ulx clientmenu"
"ulx bring"
"ulx noclip"
"ulx goto"
"ulx kick"
"ulx voteban"
}
"inherit_from"
{
user
}
}
"user"
{
"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 votemap"
}
"inherit_from"
{
}
}

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: broken ulx
« Reply #1 on: September 21, 2009, 09:49:38 AM »
No matter what version of ULX and ULib you're using, that file is horribly formatted. Do not edit these files by hand unless you know what you're doing. In your case, I'd just remove the ulib folder from garrysmod/data and let ulib regenerate the files itself.
Experiencing God's grace one day at a time.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #2 on: September 21, 2009, 10:18:28 AM »
Can you please explain what is wrong? I hate asking you guys for help because I know how many people come in here completly making stuff wrong (like me) and you having to fix it all. If you could just explain or get me a small help guide that would be great.Thanks

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: broken ulx
« Reply #3 on: September 21, 2009, 10:57:20 AM »
What version are you running? Your file looks like you tried to hybrid the formats between two versions.
Experiencing God's grace one day at a time.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #4 on: September 21, 2009, 11:49:44 AM »
im using the most updated of svn

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: broken ulx
« Reply #5 on: September 21, 2009, 11:54:05 AM »
Again, your file is so badly formatted that it would be 10x easier to just let it regenerate.
Experiencing God's grace one day at a time.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #6 on: September 21, 2009, 12:20:52 PM »
well i did what you told me to and when i did that I remade my groups through console and now i get the same error


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: broken ulx
« Reply #7 on: September 21, 2009, 12:45:15 PM »
You never told us what error you were getting in the first place. Also post your new groups.txt.
Experiencing God's grace one day at a time.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #8 on: September 21, 2009, 01:24:11 PM »
Code: [Select]
"superadmin"
{
"allow"
{
"overcomeimmunity"
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx cexec"
"ulx ent"
"ulx exec"
"ulx groupallow"
"ulx hiddenecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx renamegroup"
"ulx userallow"
}
"inherit_from" "admin"
}
"admin"
{
"allow"
{
"ulx armor"
"ulx ban"
"ulx banid"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx cloak"
"ulx csay"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx goto"
"ulx hp"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mute"
"ulx noclip"
"ulx physgunplayer"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx thetime"
"ulx tooldenyoverride"
"ulx tsay"
"ulx unban"
"ulx unigniteall"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"user"
{
"allow"
{
"ulx help"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx usermanagementhelp"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx who"
"ulx_cvar"
"ulx_getbans"
"ulx_getgamemodes"
"ulx_valueupdate"
}
}
"owner"
{
"allow"
{
"overcomeimmunity"
}
"inherit_from" "superadmin"
}
"trialadmin"
{
"allow"
{
"ulx clientmenu"
"ulx gag"
"ulx gimp"
"ulx kick"
"ulx mute"
"ulx noclip"
"ulx ungag"
"ulx ungimp"
"ulx unmute"
"ulx voteban"
}
"inherit_from" "user"
}
"operator"
{
"allow"
{
"ulx seeasay"
}
"inherit_from" "user"
}
« Last Edit: September 21, 2009, 01:26:10 PM by YoUrWoRsTnIgHtMaRe »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: broken ulx
« Reply #9 on: September 21, 2009, 01:31:02 PM »
You're missing something

Code: [Select]
"superadmin"
{
"allow"
{
"overcomeimmunity"
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx cexec"
"ulx ent"
"ulx exec"
"ulx groupallow"
"ulx hiddenecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx renamegroup"
"ulx userallow"
}
"inherit_from" "admin"
}
"admin"
{
"allow"
{
"ulx armor"
"ulx ban"
"ulx banid"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx cloak"
"ulx csay"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx goto"
"ulx hp"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mute"
"ulx noclip"
"ulx physgunplayer"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx thetime"
"ulx tooldenyoverride"
"ulx tsay"
"ulx unban"
"ulx unigniteall"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"user"
{
"allow"
{
"ulx help"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx usermanagementhelp"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx who"
"ulx_cvar"
"ulx_getbans"
"ulx_getgamemodes"
"ulx_valueupdate"
}
}
"owner"
{
"allow"
{
"overcomeimmunity"
}
"inherit_from" "superadmin"
}
"trialadmin"
{
"allow"
{
"ulx clientmenu"
"ulx gag"
"ulx gimp"
"ulx kick"
"ulx mute"
"ulx noclip"
"ulx ungag"
"ulx ungimp"
"ulx unmute"
"ulx voteban"
}
"inherit_from" "user"
}
"operator"
{
"allow"
{
"ulx seeasay"
}
"inherit_from" "user"
}
Experiencing God's grace one day at a time.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #10 on: September 21, 2009, 01:39:14 PM »
ERROR: GAMEMODE:'HUDPaint' Failed: ULib/shared/sh_ucl.lua:281: Invalid group (owner)



and my menu doesn't work
what am i missing
« Last Edit: September 21, 2009, 02:39:46 PM by YoUrWoRsTnIgHtMaRe »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: broken ulx
« Reply #11 on: September 21, 2009, 03:19:38 PM »
It would really help if you were more specific instead of forcing me to dredge every single detail out of you. Read this if you want to know how to tell us about a problem in a way that we can help you: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
Experiencing God's grace one day at a time.

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #12 on: September 21, 2009, 07:26:10 PM »
Heres how I made the groups (console info)
Code: [Select]
[12:47:43]=(e)=™The Avenger: !menu
[12:48:05]=(e)=™The Avenger: !menu
[12:48:33](Console) added user =(e)=™The Avenger to group admin
[12:48:51](Console) added user =(e)=™The Avenger to group superadmin
[12:48:54]=(e)=™The Avenger: !menu
[12:52:25]=(e)=™The Avenger created group owner which inherits rights from group superadmin
[12:52:51]=(e)=™The Avenger granted group owner access to overcomeimmunity
[12:54:45]=(e)=™The Avenger created group trialadmin which inherits rights from group user
[12:55:02]=(e)=™The Avenger granted group trialadmin access to ulx kick
[12:55:38]=(e)=™The Avenger granted group trialadmin access to ulx with access tag voteban
[12:56:51]=(e)=™The Avenger granted group trialadmin access to ulx gag
[12:57:02]=(e)=™The Avenger granted group trialadmin access to ulx ungag
[12:57:15]=(e)=™The Avenger granted group trialadmin access to ulx clientmenu
[12:57:41]=(e)=™The Avenger granted group trialadmin access to ulx mute
[12:57:49]=(e)=™The Avenger granted group trialadmin access to ulx unmute
[12:58:18]=(e)=™The Avenger granted group trialadmin access to ulx noclip
[12:58:36]=(e)=™The Avenger granted group trialadmin access to ulx gimp
[12:58:44]=(e)=™The Avenger granted group trialadmin access to ulx ungimp
[12:59:17]=(e)=™The Avenger: !menu
[12:59:19]=(e)=™The Avenger: !clientmenu
[13:01:29]Dropped "=(e)=™The Avenger" from server
[13:05:42]Client "=(e)=™The Avenger{|DeG|}" connected (71.218.211.42:27005).
[13:07:34]Client "" spawned in server (71.218.211.42:27005)<STEAM_0:0:19671587>.
[13:07:46]=(e)=™The Avenger ran rcon command: rcon_password p/k(E^q]
[13:10:56]=(e)=™The Avenger: !menu
« Last Edit: September 21, 2009, 07:27:55 PM by YoUrWoRsTnIgHtMaRe »

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #13 on: September 21, 2009, 07:30:21 PM »
Then the groups looks like this

Code: [Select]
"superadmin"
{
"allow"
{
"overcomeimmunity"
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx cexec"
"ulx ent"
"ulx exec"
"ulx groupallow"
"ulx hiddenecho"
"ulx luarun"
"ulx maul"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx renamegroup"
"ulx userallow"
}
"inherit_from" "admin"
}
"admin"
{
"allow"
{
"ulx armor"
"ulx ban"
"ulx banid"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx cloak"
"ulx csay"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx goto"
"ulx hp"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mute"
"ulx noclip"
"ulx physgunplayer"
"ulx playsound"
"ulx ragdoll"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx thetime"
"ulx tooldenyoverride"
"ulx tsay"
"ulx unban"
"ulx unigniteall"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
}
"inherit_from" "operator"
}
"user"
{
"allow"
{
"ulx help"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx usermanagementhelp"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx who"
"ulx_cvar"
"ulx_getbans"
"ulx_getgamemodes"
"ulx_valueupdate"
}
}
"owner"
{
"allow"
{
"overcomeimmunity"
}
"inherit_from" "superadmin"
}
"trialadmin"
{
"allow"
{
"ulx clientmenu"
"ulx gag"
"ulx gimp"
"ulx kick"
"ulx mute"
"ulx noclip"
"ulx ungag"
"ulx ungimp"
"ulx unmute"
"ulx voteban"
}
"inherit_from" "user"
}
"operator"
{
"allow"
{
"ulx seeasay"
}
"inherit_from" "user"
}]

Edit by Megiddo: Fixed BBC tags
« Last Edit: September 21, 2009, 07:58:22 PM by Megiddo »

Offline YoUrWoRsTnIgHtMaRe

  • Newbie
  • *
  • Posts: 18
  • Karma: 0
Re: broken ulx
« Reply #14 on: September 21, 2009, 07:31:28 PM »
and when I made myself owner this spammed completely
every time i typed !menu
ERROR: GAMEMODE:'HUDPaint' Failed: ULib/shared/sh_ucl.lua:281: Invalid group (owner)