Author Topic: groups.txt keeps making backups  (Read 5325 times)

0 Members and 1 Guest are viewing this topic.

Offline Ghost :D

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
groups.txt keeps making backups
« on: July 11, 2010, 06:43:32 PM »
Alright, so I've been trying to get UTeam to work on my server. I do understand that it is now incorporated into ULX and I've been trying to follow the correct layout found here: http://forums.ulyssesmod.net/index.php/topic,4782.0.html

However, each time i start my server after placing my groups.txt file, it calls it the backup and creates a new groups.txt

Here is my groups.txt file
Code: [Select]
"owner"
{
"deny"
{
}
"team"
{
"color_red" "255"
"health" "1000"
"order" "1"
"color_green" "50"
"name" "Server Owner"
"color_blue" "50"
}
"allow"
{
"ulib_passtime"
"ulib_passtimeout"
"ulx adminmenu"
"ulx armor"
"ulx ban"
"ulx banid"
"ulx banmenu"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx clientmenu"
"ulx cloak"
"ulx cloakme"
"ulx csay"
"ulx exec"
"ulx freeze"
"ulx gag"
"ulx ghost"
"ulx gimp"
"ulx god"
"ulx godme"
"ulx goto"
"ulx hp"
"ulx hpme"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx map"
"ulx mapsmenu"
"ulx maul"
"ulx menu"
"ulx mute"
"ulx noclip"
"ulx playsound"
"ulx ragdoll"
"ulx ragdollme"
"ulx reservedslots"
"ulx rslots"
"ulx rslotsmode"
"ulx rslotsvisible"
"ulx send"
"ulx settitle"
"ulx showmotd"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx sslay"
"ulx strip"
"ulx teleport"
"ulx teleportme"
"ulx toolallow"
"ulx toolallowuser"
"ulx tooldeny"
"ulx tooldenyoverride"
"ulx tooldenyuser"
"ulx tsay"
"ulx tsay"
"ulx uberadminmenu"
"ulx unban"
"ulx unblind"
"ulx uncloak"
"ulx uncloakme"
"ulx unfreeze"
"ulx ungag"
"ulx unghost"
"ulx ungimp"
"ulx ungod"
"ulx ungodme"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx unragdollme"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx votemap2"
"ulx welcomemessage"
"ulx whip"
"ups disableplayers"
"ups globaldisable"
"ups miscdeletionaccess"
"ups_damage"
"ups_damage"
"ups_freeze"
"ups_physgun"
"ups_remove"
"ups_tool"
"ups_unfreeze"
"ups_use"
"ups_vehicle"
"urestrict allowspawn"
"urestrict denyspawn"
"urestrict npcs"
"urestrict props"
"urestrict ragdolls"
"urestrict sents"
"urestrict vehicles"
"ups_unfreeze" "!%superadmin"
"ulx banid" "!%vipp"
"ulx physgunplayer" "!%admin"
"ups_remove" "!%superdmin"
"ulx kick" "!%vipp"
"ulx map" "0"
"ups_use" "!%superadmin"
"ups_vehicle" "!%superadmin"
"ulx ban" "!%vipp"
"overcomeimmunity"
"physgunplayer"
"ulx adduser"
"ulx adduserid"
"ulx kick"
"ulx osi_immunize"
"ulx osi_overcome"
"ulx osi_rubberize"
"ulx rcon"
"ulx removeuser"
"ulx setgroupcantarget"
"ulx slap"
"xgui_gmsettings"
"xgui_managebans"
"xgui_managegroups"
"xgui_svsettings"
"ulx bring" "!%admin"
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx addgimpsay"
"ulx debuginfo"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapaddmap"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
}
"inherit_from" "player"
}
"superadmin"
{
"team"
{
"color_red" "255"
"health" "500"
"order" "2"
"color_green" "150"
"name" "Super Admin"
"color_blue" "0"
}
"allow"
{
"ulx armor"
"ulx blind"
"ulx ban"
"ulx banid"
"ulx bring"
"ulx adminmenu"
"ulx clientmenu"
"ulx banmenu"
"ulx cloak"
"ulx cloakme"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx godme"
"ulx goto"
"ulx ghost"
"ulx hp"
"ulx hpme"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx menu"
"ulx mute"
"ulx noclip"
"ulx ragdoll"
"ulx ragdollme"
"ulx send"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx strip"
"ulx teleport"
"ulx teleportme"
"ulx unblind"
"ulx uncloak"
"ulx uncloakme"
"ulx unfreeze"
"ulx ungag"
"ulx ungimp"
"ulx ungod"
"ulx unban"
"ulx ungodme"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx unragdollme"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx welcomemessage"
"ulx whip"
"ulx ban" "!%vipp"
"ulx kick" "!%admin"
"ulx votemap" "0"
"ulx" "unblind"
"ulx unblind" "0"
"ulx banid" "!%vipp"
}
"inherit_from" "player"
}
"admin"
{
"team"
{
"color_red" "255"
"health" "500"
"order" "3"
"color_green" "150"
"name" "Admin"
"color_blue" "0"
}
"allow"
{
"ulx bring"
"ulx clientmenu"
"ulx cloak"
"ulx cloakme"
"ulx freeze"
"ulx gag"
"ulx gimp"
"ulx god"
"ulx godme"
"ulx goto"
"ulx hp"
"ulx hpme"
"ulx ignite"
"ulx jail"
"ulx kick"
"ulx menu"
"ulx mute"
"ulx ragdoll"
"ulx ragdollme"
"ulx send"
"ulx slap"
"ulx slay"
"ulx spawnecho"
"ulx spectate"
"ulx strip"
"ulx teleport"
"ulx teleportme"
"ulx unblind"
"ulx uncloak"
"ulx uncloakme"
"ulx unfreeze"
"ulx ungag"
"ulx ungimp"
"ulx ungod"
"ulx ungodme"
"ulx unignite"
"ulx unigniteall"
"ulx unjail"
"ulx unmute"
"ulx unragdoll"
"ulx unragdollme"
"ulx vote"
"ulx voteban"
"ulx votekick"
"ulx whip"
"ulx kick" "!%admin"
"ulx votemap" "0"
}
"inherit_from" "player"
}
"player"
{
"deny"
{
}
"team"
{
"color_red" "0"
"health" "100"
"order" "4"
"color_green" "100"
"name" "Player"
"color_blue" "255"
}
"allow"
{
"ulx"
"ulx debuginfo"
"ulx help"
"ulx hpme"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx menu"
"ulx motd"
"ulx mytitle"
"ulx ragdollme"
"ulx teleportme"
"ulx thetime"
"ulx title"
"ulx unragdollme"
"ulx usermanagementhelp"
"ulx voteecho"
"ulx votemap"
"ulx who"
"ulx_cvar"
"ulx_getbans"
"ulx_getgamemodes"
"ulx_valueupdate"
"urequest"
"urequest help"
"urequest make"
"urequest makep"
"urequest view"
"ulx votekick" "!%admin"
"ulx voteban" "0"
"ulx teleport" "^"
"ulx goto" "!%superadmin"
}
}
"respected"
{
"team"
{
"color_red" "225"
"health" "250"
"order" "5"
"color_green" "200"
"name" "Respected Player"
"color_blue" "0"
}
"allow"
{
"ulx armor"
"ulx cloak"
"ulx god"
"ulx goto"
"ulx noclip"
"ulx spectate"
"ulx teleport"
"ulx uncloak"
"ulx ungod"
"ulx unignite"
"ulx voteban"
"ulx votekick"
"ulx ragdoll" "^"
"ulx seeasay" "0"
"ulx unragdoll" "^"
}
"inherit_from" "player"
}
"peniscupcake"
{
"deny"
{
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx addgimpsay"
"ulx debuginfo"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapaddmap"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
}
"team"
{
"runSpeed" "0"
"unDuckSpeed" "0"
"color_blue" "150"
"health" "1"
"name" "Penis Cupcake"
"duckSpeed" "0"
"maxSpeed" "0"
"color_red" "255"
"walkSpeed" "0"
"color_green" "150"
}
"allow"
{
}
"inherit_from" "player"
}

For the most part i stole DiscoBiscuit's code and changed some things. Could someone tell me what is going on? Is it ULX? or my Groups.txt...?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: groups.txt keeps making backups
« Reply #1 on: July 11, 2010, 06:57:41 PM »
We strongly recommend that you don't edit the groups.txt file by hand if you don't know what you're doing. In this case, you're missing the "user" group, which is required, so ULib figures your setup is totally screwed up and loads in the default file.
Experiencing God's grace one day at a time.

Offline Ghost :D

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: groups.txt keeps making backups
« Reply #2 on: July 11, 2010, 07:14:36 PM »
Wow, how did i miss that... lol  :o

Thanks, I will change it back to user and try it.

Offline matthall

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: groups.txt keeps making backups
« Reply #3 on: July 27, 2010, 12:55:16 AM »
I'm having the same problem
Code: [Select]
"owner" //Owner
{
"allow"
{
}
"inherit_from" "co_owner"

"team"
{
"name" "Owner"
"color_red" 255
"color_blue" 0
"color_green" 157
"armor"  2000
"health" 2000
}
}


"co_owner" //Co-Owner
{

"allow"
{

"ulx luarun"
"ulx logchat"
"ulx votebanminvotes"
"ulx votemapsuccessratio"
"ulx votemapmapmode"
"ulx votemapenabled"
"ulx votemapmintime"
"ulx logecho"
"ulx votemapminvotes"
"ulx logspawnsecho"
"ulx logspawns"
"ulx userallow"
"ulx rslots"
"ulx logfile"
"ulx renamegroup"
"ulx chattime"
"ulx logevents"
"ulx logdir"
"ulx rslotsmode"
}
"inherit_from" "es_super"

"team"
{
"name" "Co-Owner"
"color_red" 255
"color_blue" 0
"color_green" 179
"armor"  1500
"health" 1500
}
}

"es_super" //ES Superadmin
{
"allow"
{
"ulx cexec"
"ulx ent"
"ulx groupallow"
"ulx votekickminvotes"
"ulx votemapwaittime"
"ulx votekicksuccessratio"
"ulx votebansuccessratio"
"ulx removeuserid"
"ulx usermanagementhelp"
"ulx removeuser"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapvetotime"
}
"inherit_from" "superadmin"

"team"
{
"name" "VIP Super"
"color_red" 141
"color_blue" 86
"color_green" 196
"armor"  1350"
"health" 1350
}
}

"superadmin" //Superadmin
{

"allow"
{
"ulx banid"
"ulx welcomemessage"
"ulx rcon"
"ulx addgroup"
"ulx reservedslots"
"ulx exec"
"ulx removegroup"
"ulx setgroupcantarget"
"ulx adduserid"
"ulx rslotsvisible"
}
"inherit_from" "es_admin"

"team"
{
"name" "Superadmin"
"color_red" 97
"color_blue" 0
"color_green" 194
"armor"  1000
"health" 1000
}
}

"es_admin" //ES Admin
{

"allow"
{
"ulx sslay"
"ulx playsound"
}
"inherit_from" "admin"

"team"
{
"name" "ES Admin"
"color_red" 41
"color_blue" 67
"color_green" 196
"armor"  850
"health" 850
}
}

"admin" //Admin
{

"allow"
{
"ulx gag"
"ulx adminmenu"
"ulx physgunplayer"
"ulx god"
"ulx maul"
"ulx bring"
"ulx ban"
"ulx kick"
"ulx unragdoll"
"ulx ungod"
"ulx teleport"
"ulx jail"
"ulx unjail"
"ulx unban"
"ulx ungimp"
"ulx ignite"
"ulx adduser"
"ulx banmenu"
"ulx freeze"
"ulx unfreeze"
"ulx noclip"
"ulx map"
"ulx unblind"
"ulx blind"
"ulx gimp"
"ulx ungag"
"ulx unmute"
"ulx unigniteall"
"ulx whip"
"ulx tsay"
"ulx uncloak"
"ulx ragdoll"
"ulx unignite"
"ulx strip"
"ulx csay"
"ulx seeasay"
"ulx hp"
"ulx mapsmenu"
"ulx send"
"ulx spawnecho"
"ulx veto"
"ulx armor"
"ulx voteecho"
"ulx asay"
"ulx hiddenecho"
"xgui_managebans"
"xgui_managegroups"
"xgui_gmsettings"
"xgui_svsettings"
"overcomeimmmunity"
}
"inherit_from" "vip"

"team"
{
"name" "Admin"
"color_red" 30
"color_blue" 60
"color_green" 212
"armor"  750
"health" 750
}
}

"vip" //VIP
{

"allow"
{
"ulx vote"
"ulx slap"
}
"inherit_from" "honored"

"team"
{
"name" "VIP"
"color_red" 150
"color_blue" 45
"color_green" 64
"armor"  500
"health" 500
}
}

"honored" //Honored
{

"allow"
{
"ulx slay"
}
"inherit_from" "respected"

"team"
{
"name" "Honroed"
"color_red" 92
"color_blue" 255
"color_green" 100
"armor"  400
"health" 400
}
}

"respected" //Respected
{

"allow"
{
"ulx goto"
"ulx cloak"
"ulx spectate"
}

"inherit_from" "regular"

"team"
{
"name" "Respected"
"color_red" 212
"color_blue" 70
"color_green" 188
"armor"  300
"health" 300
}
}


"regular" //Regular
{

"allow"
{
"ulx votemap2"
"ulx votemap"
}

"inherit_from" "user"

"team"
{
"name" "Regular"
"color_red" 44
"color_blue" 189
"color_green" 212
"armor"  200
"health" 200
}
}

"user" //Player
{

"allow"
{
"ulx voteban"
"ulx who"
"ulx votekick"
"ulx menu"
"ulx help"
"ulx showmotd"
"ulx clientmenu"
}

"inherit_from" "Demoted"

"team"
{
"name" "Player"
"color_red" 62
"color_blue" 139
"color_green" 150
"armor"  100
"health" 100
}
}

"demoted" //Demoted
{

"allow"
{
"ulx psay"
}

"inherit_from" "minge"

"team"
{
"name" "Demoted"
"color_red" 190
"color_blue" 204
"color_green" 165
"armor"  75
"health" 75
}
}

"minge" //Minge
{

"allow"
{
"ulx motd"
"ulx thetime"
}

"inherit_from" "minge"

"team"
{
"name" "Minge"
"color_red" 255
"color_blue" 204
"color_green" 0
"armor"  45
"health" 45
}
}

And i do have user
Code: [Select]
"user" //Player
{

"allow"
{
"ulx voteban"
"ulx who"
"ulx votekick"
"ulx menu"
"ulx help"
"ulx showmotd"
"ulx clientmenu"
}

"inherit_from" "Demoted"

"team"
{
"name" "Player"
"color_red" 62
"color_blue" 139
"color_green" 150
"armor"  100
"health" 100
}
}



Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: groups.txt keeps making backups
« Reply #4 on: July 27, 2010, 04:52:46 AM »
Comments are only accepted at the top of the file to avoid problems with people who have '//' in their name.
Experiencing God's grace one day at a time.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: groups.txt keeps making backups
« Reply #5 on: July 27, 2010, 04:02:31 PM »
Comments are only accepted at the top of the file to avoid problems with people who have '//' in their name.

You can't make it ignore // within quoted strings?
Circle reasoning works because circle reasoning works because...

Offline matthall

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: groups.txt keeps making backups
« Reply #6 on: July 27, 2010, 04:29:50 PM »
I removed the comments and it is still reverting.

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: groups.txt keeps making backups
« Reply #7 on: July 27, 2010, 05:34:12 PM »
Dunno if this causes the problem, but your "minge" group shouldn't have a inherit_from "minge" line, you need to remove it.
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline matthall

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: groups.txt keeps making backups
« Reply #8 on: July 27, 2010, 06:57:36 PM »
No that didnt help

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: groups.txt keeps making backups
« Reply #9 on: July 27, 2010, 07:10:36 PM »
You can't make it ignore // within quoted strings?

I could, but it would require a tokenizer which would make it quite a bit slower. I figured using a comment header was a cleaner approach.

Also matthall, if you look at the console it will tell you what you have formatted incorrectly.
Experiencing God's grace one day at a time.

Offline matthall

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: groups.txt keeps making backups
« Reply #10 on: July 27, 2010, 07:38:31 PM »
Also matthall, if you look at the console it will tell you what you have formatted incorrectly.

I can't see console. It is on Xenon Servers

EDIT

i tried on my own srcds, and it gives me no messages.
« Last Edit: July 27, 2010, 07:45:47 PM by matthall »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: groups.txt keeps making backups
« Reply #11 on: July 27, 2010, 07:45:31 PM »
Thirty seconds of googling brought this up: http://www.xenonservers.com/forums/showthread.php?203-Server-Console

Ironically, they recommend using ULX to see the logs, but the condebug flag there is the real winner. I never knew about that before, seems pretty neat.
Experiencing God's grace one day at a time.

Offline matthall

  • Newbie
  • *
  • Posts: 12
  • Karma: 1
Re: groups.txt keeps making backups
« Reply #12 on: July 27, 2010, 08:27:49 PM »
Ok. Got it fixed. But now UPS says not loaded on this server :/. Off to the UPS help i guess

xD

Thanks guys

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: groups.txt keeps making backups
« Reply #13 on: July 29, 2010, 02:13:45 PM »
My groups.txt was full of outdated and unused commands :p

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: groups.txt keeps making backups
« Reply #14 on: July 29, 2010, 03:18:59 PM »
Hey, we back it up and convert it, not clean it (which would leave room for lots of errors if you use many custom ULX scripts which don't register ULX commands)
:P :D
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming