ULX

Author Topic: Ulib Error  (Read 7467 times)

0 Members and 2 Guests are viewing this topic.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Ulib Error
« on: September 14, 2009, 06:16:49 AM »

"ERROR: GAMEMODE:'HUDPaint' Failed: ULib/shared/sh_ucl.lua:281: Invalid group ()"

I get this about 300 times when I join my server. It appears to only happen to the 2nd person who joins the server...

I've tried everything from making sure my users.txt file is all formatted correctly, I've uninstalled about 3 addons to make sure it wasn't them. I'm running the SVN version of ULX, does anybody know this problem?

I'm literally begging for help!

/begs

- Tom

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulib Error
« Reply #1 on: September 14, 2009, 06:44:44 AM »
Please attach your users.txt file and groups.txt file from garrysmod/data/ULib
Experiencing God's grace one day at a time.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #2 on: September 14, 2009, 06:48:22 AM »
Ive just noticed a possible problem.

"XXX"STEAM_0:0:00000000"
{
   "group"   "admin"
   "deny"   
   {
   }
   "allow"   
   {
   }
}

I used had had a " and a few weird characters in front of the "steamid". I have no idea when i might have done that. Would that most likely be the source of my problems?

EDIT: errors have gone. Thx megiddo :) Ive been thinking it was most likely an addon problem, when really im just an idiot who poorly modified his user file manually.
« Last Edit: September 14, 2009, 06:59:30 AM by comradeboris »

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #3 on: September 14, 2009, 09:02:50 AM »
ERROR: GAMEMODE:'HUDPaint' Failed: ULib/shared/sh_ucl.lua:281: Invalid group ()
ULib/shared/sh_ucl.lua:281: Invalid group ()

Is happening again, all seemed fine then i reset the server again and got the error above.

Groups:

Code: [Select]
"superadmin"
{
"allow"
{
"overcomeimmunity"
"ulx addgroup"
"ulx adduser"
"ulx adduserid"
"ulx cexec"
"ulx ent"
"ulx groupallow"
"ulx hiddenecho"
"ulx luarun"
"ulx rcon"
"ulx removegroup"
"ulx removeuser"
"ulx renamegroup"
"ulx userallow"
"ulx usermanagementhelp"
}
"inherit_from" "admin"
}
"admin"
{
"allow"
{
"ulx addadvert"
"ulx addcsayadvert"
"ulx addforceddownload"
"ulx addgimpsay"
"ulx adminmenu"
"ulx armor"
"ulx ban"
"ulx banid"
"ulx banmenu"
"ulx blind"
"ulx bring"
"ulx chattime"
"ulx clientmenu"
"ulx cloak"
"ulx csay"
"ulx debuginfo"
"ulx exec"
"ulx freeze"
"ulx gag"
"ulx ghost"
"ulx gimp"
"ulx god"
"ulx hp"
"ulx ignite"
"ulx logchat"
"ulx logdir"
"ulx logecho"
"ulx logevents"
"ulx logfile"
"ulx logspawns"
"ulx logspawnsecho"
"ulx map"
"ulx mapsmenu"
"ulx maul"
"ulx menu"
"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 toolallow"
"ulx toolallowuser"
"ulx tooldeny"
"ulx tooldenyoverride"
"ulx tooldenyuser"
"ulx tsay"
"ulx unban"
"ulx unblind"
"ulx uncloak"
"ulx unfreeze"
"ulx ungag"
"ulx unghost"
"ulx ungimp"
"ulx ungod"
"ulx unignite"
"ulx unmute"
"ulx unragdoll"
"ulx veto"
"ulx vote"
"ulx voteban"
"ulx votebanminvotes"
"ulx votebansuccessratio"
"ulx voteecho"
"ulx votekickminvotes"
"ulx votekicksuccessratio"
"ulx votemap2"
"ulx votemap2minvotes"
"ulx votemap2successratio"
"ulx votemapaddmap"
"ulx votemapenabled"
"ulx votemapmapmode"
"ulx votemapmintime"
"ulx votemapminvotes"
"ulx votemapsuccessratio"
"ulx votemapvetotime"
"ulx votemapwaittime"
"ulx welcomemessage"
"ulx whip"
"ulx_getbans"
"ulx_getgamemodes"
}
"inherit_from" "moderator"
}
"moderator"
{
"allow"
{
"ulx kick"
"ulx jail"
"ulx unjail"
}
"inherit_from" "goldmember"
}
"goldmember"
{
"allow"
{
"ulx votekick"
"ulx votemap"
}
"inherit_from" "member"
}
"member"
{
"allow"
{
"ulx goto"
}
"inherit_from" "respected"
}
"respected"
{
"allow"
{

}
}
"user"
{
"allow"
{
"ulx"
"ulx asay"
"ulx psay"
"ulx help"
"ulx motd"
"ulx thetime"
"ulx who"
"ulx_cvar"
"ulx_valueupdate"
}
}

and users:

Code: [Select]
"STEAM_XXXXXXXXXX"
{
"deny"
{
}
"group" "moderator"
"name" ""
"allow"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "moderator"
"deny"
{
}
"allow"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "goldmember"
"allow"
{
}
"deny"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "respected"
"allow"
{
}
"deny"
{
}
}
"\""STEAM_XXXXXXXXXX"
{
"group" "respected"
"allow"
{
}
"deny"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "respected"
"allow"
{
}
"deny"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "admin"
"allow"
{
"immunity"
}
"deny"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "goldmember"
"allow"
{
}
"deny"
{
}
}
"STEAM_XXXXXXXXXX"
{
"group" "respected"
"allow"
{
}
"deny"
{
}
}
"STEAM_XXXXXXXXXX"
{
"deny"
{
}
"group" "superadmin"
"name" ""
"allow"
{
"immunity"
}
}
"STEAM_XXXXXXXXXX"
{
"group" "moderator"
"allow"
{
}
"deny"
{
}
}

Notice the following:
Quote
"\""STEAM_XXXXXXXXXX"

This set of symbols before the steam id was removed but seems to have re-created its self.
« Last Edit: September 14, 2009, 09:09:05 AM by comradeboris »

Offline Dv2236

  • Jr. Member
  • **
  • Posts: 89
  • Karma: 0
    • MyGamingVoid
Re: Ulib Error
« Reply #4 on: September 14, 2009, 10:32:43 AM »
I get that problem every now and again as well, but with only 1 symbol "/" or "\" I cant recall right now.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulib Error
« Reply #5 on: September 14, 2009, 10:37:12 AM »
Did you modify the file while the server was running? Shut the server down, modify the file, then start it back up. Let us know if you have the problem again.
Experiencing God's grace one day at a time.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #6 on: September 14, 2009, 10:55:39 AM »
Did you modify the file while the server was running? Shut the server down, modify the file, then start it back up. Let us know if you have the problem again.

Yea I did once before edit the file when the server was running to find it resets.

I figured the server reads the file when it starts up and then saves back over when the game ends.

So yea, when I edited the file I was careful to make sure it was turned off.

When I turned the server on after I made the change everything was fine, then when I changed map all of a sudden I get the same error. I then went back in the file to find it had added the weird set of characters. I think (cant be 100%) that the error had appeared on the end of the same steamid as before, how about I remove the user all together?

EDIT: I've just noticed its adding the following:

Quote
"name"   ""

Should it be adding that?

« Last Edit: September 14, 2009, 11:38:31 AM by comradeboris »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulib Error
« Reply #7 on: September 14, 2009, 11:45:22 AM »
Yah, it should. Maybe names with special characters is throwing it off. I'll test after classes today.
Experiencing God's grace one day at a time.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #8 on: September 14, 2009, 11:57:22 AM »
Yah, it should. Maybe names with special characters is throwing it off. I'll test after classes today.

ah yea i might have to agree with you. It seems the logical reason this would happen.

So the answer is not to promote people with odd names?

EDIT: Did you realize when i said is it suppose to add the following: "name"   "".
I mean it literally, it doesnt save a name, it just adds a name field and enters no name.
« Last Edit: September 14, 2009, 11:59:45 AM by comradeboris »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulib Error
« Reply #9 on: September 14, 2009, 12:39:36 PM »
It should be adding an actual name, I'll check over the code for that.
Experiencing God's grace one day at a time.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #10 on: September 14, 2009, 12:43:54 PM »
It should be adding an actual name, I'll check over the code for that.

Ok ty for all your help. If you do find out whats going on, let me know in this post if possible:)

EDIT: If it helps, im very (99%) sure it only happens to the person who connects 2nd on the server. If your the first you dont get errors and if your the 3rd or more I dont get errors. - Very Weird:)
« Last Edit: September 14, 2009, 12:55:00 PM by comradeboris »

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulib Error
« Reply #11 on: September 14, 2009, 02:05:12 PM »
Please give me the full uncensored versions of your files, you can PM them to me if you'd like.
Experiencing God's grace one day at a time.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #12 on: September 14, 2009, 03:14:20 PM »
Please give me the full uncensored versions of your files, you can PM them to me if you'd like.

OK I'm not sure if it worked, you should have my uncensored files in your inbox.

- Tom

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Ulib Error
« Reply #13 on: September 15, 2009, 05:31:57 PM »
Oops, I made a very garry'ish mistake when I was changing how files were parsed in order to handle the new UCL. I wasn't handling different whitespace properly. (Don't hurt me JamminR! I'm sorry!)

I'll be pushing the fix ASAP. :)
Experiencing God's grace one day at a time.

Offline comradeboris

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Ulib Error
« Reply #14 on: September 15, 2009, 06:40:57 PM »
Oops, I made a very garry'ish mistake when I was changing how files were parsed in order to handle the new UCL. I wasn't handling different whitespace properly. (Don't hurt me JamminR! I'm sorry!)

I'll be pushing the fix ASAP. :)

So when you guys update we can SVN and it will fix? :D

If so this means I just helped you guys find an issue and fix it?  ;D

- Tom