Sourcemod error logs (adminflatfile)

Post Reply
User avatar
ren3gade
This is my homepage
This is my homepage
Posts: 87
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Jun 05, 2012 5:43 pm
Location: USA

Sourcemod error logs (adminflatfile)

Post by ren3gade »

L 01/07/2014 - 15:36:22: SourceMod error session started
L 01/07/2014 - 15:36:22: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 01/07/2014 - 15:36:22: [admin-flatfile.smx] (line 7) Invalid flag detected: 5
L 01/07/2014 - 15:36:22: [admin-flatfile.smx] (line 7) Invalid flag detected: 0
L 01/07/2014 - 15:36:22: [admin-flatfile.smx] (line 7) Invalid flag detected: :
[/code]

and this is my admins.cfg

Code: Select all

"Admins"
{
	"STEAM_0:1:63624664"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:1:63624664"
		"flags"		"50:abcdefgjkopqrst"
	}
	"STEAM_0:1:70764647"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:1:70764647"
		"flags"		"50:abcdefgjkopqrst"
	}
	"STEAM_0:0:69863888"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:0:69863888"
		"flags"		"50:abcdefgjkopqrst"
	}
	"STEAM_0:1:42560465"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:1:42560465"
		"flags"		"50:abcdefgjkopqrst"
	}
	"STEAM_0:0:49357998"
	{
		"auth"		"steam"
		"identity"		"STEAM_0:0:49357998"
		"flags"		"50:abcdefgjkopqrst"
	}
}
It looks fine to me. or am I missing something?
User avatar
Madhavok
This is my homepage
This is my homepage
Posts: 83
Joined: Wed Nov 20, 2013 12:40 pm
Location: Houston, TX
Contact:

Re: Sourcemod error logs (adminflatfile)

Post by Madhavok »

Take away the 50:

That is not needed on the flags. Make a new one named "immunity" and add that. So the modified version will look like this.

Code: Select all

"Admins"
{
   "STEAM_0:1:63624664"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:1:63624664"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:1:70764647"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:1:70764647"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:0:69863888"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:0:69863888"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:1:42560465"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:1:42560465"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:0:49357998"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:0:49357998"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
}
Also, you can changed that immunity (from 1-99, 99 being the highest and immune to others lower.)
Image[url=steam://friends/add/76561197986357938]Image[/url]
User avatar
ren3gade
This is my homepage
This is my homepage
Posts: 87
Joined: Tue Jun 05, 2012 5:43 pm
Location: USA

Re: Sourcemod error logs (adminflatfile)

Post by ren3gade »

Madhavok wrote:Take away the 50:

That is not needed on the flags. Make a new one named "immunity" and add that. So the modified version will look like this.

Code: Select all

"Admins"
{
   "STEAM_0:1:63624664"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:1:63624664"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:1:70764647"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:1:70764647"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:0:69863888"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:0:69863888"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:1:42560465"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:1:42560465"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
   "STEAM_0:0:49357998"
   {
      "auth"      "steam"
      "identity"      "STEAM_0:0:49357998"
      "flags"      "abcdefgjkopqrst"
      "immunity"    "50"
   }
}
Also, you can changed that immunity (from 1-99, 99 being the highest and immune to others lower.)
Ahh okay, I will give this a shot! Thanks man!
User avatar
Madhavok
This is my homepage
This is my homepage
Posts: 83
Joined: Wed Nov 20, 2013 12:40 pm
Location: Houston, TX
Contact:

Re: Sourcemod error logs (adminflatfile)

Post by Madhavok »

Just checking up, making sure that worked for you.
Image[url=steam://friends/add/76561197986357938]Image[/url]
User avatar
ren3gade
This is my homepage
This is my homepage
Posts: 87
Joined: Tue Jun 05, 2012 5:43 pm
Location: USA

Re: Sourcemod error logs (adminflatfile)

Post by ren3gade »

Madhavok wrote:Just checking up, making sure that worked for you.
e.smx] (line 13) Invalid flag detected: 5
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 13) Invalid flag detected: 0
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 13) Invalid flag detected: :
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 19) Invalid flag detected: 5
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 19) Invalid flag detected: 0
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 19) Invalid flag detected: :
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 25) Invalid flag detected: 5
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 25) Invalid flag detected: 0
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 25) Invalid flag detected: :
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 31) Invalid flag detected: 5
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 31) Invalid flag detected: 0
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 31) Invalid flag detected: :
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 37) Invalid flag detected: 5
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 37) Invalid flag detected: 0
L 01/07/2014 - 21:01:32: [admin-flatfile.smx] (line 37) Invalid flag detected: :
L 01/07/2014 - 21:29:37: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/07/2014 - 21:29:37: [SM] Native "ShowActivity2" reported: Language phrase "Toggled respawn on target" not found
L 01/07/2014 - 21:29:37: [SM] Displaying call stack trace for plugin "respawn.smx":
L 01/07/2014 - 21:29:37: [SM] [0] Line 123, /home/groups/alliedmodders/forums/files/2/7/4/6/4/120720.attach::Command_Respawn()
L 01/07/2014 - 21:36:49: Error log file session closed.
L 01/07/2014 - 21:36:49: SourceMod error session started
L 01/07/2014 - 21:36:49: Info (map "jb_confinement_b1") (file "errors_20140107.log")
L 01/07/2014 - 21:36:49: [SM] Fatal error encountered parsing translation file "respawn.phrases.txt"
L 01/07/2014 - 21:36:49: [SM] Error (line 0, column 0): Stream failed to open
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 7) Invalid flag detected: 5
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 7) Invalid flag detected: 0
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 7) Invalid flag detected: :
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 13) Invalid flag detected: 5
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 13) Invalid flag detected: 0
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 13) Invalid flag detected: :
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 19) Invalid flag detected: 5
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 19) Invalid flag detected: 0
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 19) Invalid flag detected: :
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 25) Invalid flag detected: 5
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 25) Invalid flag detected: 0
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 25) Invalid flag detected: :
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 31) Invalid flag detected: 5
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 31) Invalid flag detected: 0
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 31) Invalid flag detected: :
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 37) Invalid flag detected: 5
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 37) Invalid flag detected: 0
L 01/07/2014 - 21:36:49: [admin-flatfile.smx] (line 37) Invalid flag detected: :
L 01/07/2014 - 22:04:14: Error log file session closed.
L 01/07/2014 - 22:04:14: SourceMod error session started
L 01/07/2014 - 22:04:14: Info (map "jb_legojail_b1") (file "errors_20140107.log")
L 01/07/2014 - 22:04:14: [SM] Fatal error encountered parsing translation file "respawn.phrases.txt"
L 01/07/2014 - 22:04:14: [SM] Error (line 0, column 0): Stream failed to open
L 01/07/2014 - 22:23:35: SourceMod error session started
L 01/07/2014 - 22:23:35: Info (map "jail_minecart_b7_tf2jail") (file "errors_20140107.log")
L 01/07/2014 - 22:23:35: [SM] Fatal error encountered parsing transl
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Sourcemod error logs (adminflatfile)

Post by soja »

Doesn't sound like you properly edited your file. It is detecting :50 as flags, when it needs to be in a separate immunity section like in the example posted.
Not a NFO employee
User avatar
Madhavok
This is my homepage
This is my homepage
Posts: 83
Joined: Wed Nov 20, 2013 12:40 pm
Location: Houston, TX
Contact:

Re: Sourcemod error logs (adminflatfile)

Post by Madhavok »

Did you put what I told you to in the immunity line? Because it seems like you are still trying to use the :50 in the flags, which isn't working.
Image[url=steam://friends/add/76561197986357938]Image[/url]
User avatar
ren3gade
This is my homepage
This is my homepage
Posts: 87
Joined: Tue Jun 05, 2012 5:43 pm
Location: USA

Re: Sourcemod error logs (adminflatfile)

Post by ren3gade »

Madhavok wrote:Did you put what I told you to in the immunity line? Because it seems like you are still trying to use the :50 in the flags, which isn't working.
Nope, I did EXACTLY what you said. In fact I even read over what you posted above to check it was all corresponding with my admins and flags, and it was.. so I even copy and pasted it in. Exactly like above. Didn't change a thing.
User avatar
Madhavok
This is my homepage
This is my homepage
Posts: 83
Joined: Wed Nov 20, 2013 12:40 pm
Location: Houston, TX
Contact:

Re: Sourcemod error logs (adminflatfile)

Post by Madhavok »

Post the updated config for me please. And sorry for the delayed response, we're getting ready to move.
Image[url=steam://friends/add/76561197986357938]Image[/url]
Post Reply