Raised This Month: $51 Target: $400
 12% 

[CS:S/CS:GO] TOGs Clan Tags


Post New Thread Reply   
 
Thread Tools Display Modes
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 10-16-2016 , 03:15   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #91

Updated to 2.2.0. Changelog:
Code:
	2.2.0:
		* Fixed an improper indexing of a_sSteamIDs in GetTags.
		* Added debug cvar and full debug code.
		* Converted several things to use 1.8 syntax classes (methodmaps) where they weren't before.
		* Modidied the GetTags function a bit.
		* Added IsValidClient check inside GetTags, though i believe it was filtered in the calling functions, but perhaps not each instance.
__________________
ThatOneGuy is offline
primofernando
Member
Join Date: Jun 2014
Old 10-16-2016 , 15:33   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #92

Quote:
Originally Posted by primofernando View Post
Idk if this helps but this happens in other teams too t and ct so it's not only a spec bug, if you join a team and you're dead the tag only change when you change the camera to another player or when you click space to change camera view
So it's game fault right, you can't do anything right?
primofernando is offline
Gambitt
New Member
Join Date: Nov 2016
Old 11-05-2016 , 11:49   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #93

Hey man im new to adding and configuring plugins to csgo servers and i must admit that i am at a loss regarding the installation of this plugin. So far ive:
1. put the smx file into the plugins folder
2. put the config file into the config folder
3. put the two inc files into the included folder

then im at a loss, by configuring my cvars, you do mean adding them to the server.cfg file right?
ive tried doing so like this:
Quote:
togsclantags_bots 0
togsclantags_use_mysql 0
togsclantags_admflag n b j a
togsclantags_updatefreq 0
togsclantags_enforcetags 2
and like this
Quote:
sm_togsclantags_bots 0
sm_togsclantags_use_mysql 0
sm_togsclantags_admflag n b j a
sm_togsclantags_updatefreq 0
sm_togsclantags_enforcetags 2
And here is how ive configured my config file:

Quote:
}
"Owner"
{
"flag" "n"
"tag" "[Owner]"
"exclude" "0"
}
"Developer"
{
"flag" "STEAM_1:0:28493992"
"tag" "[Developer]"
"exclude" "0"
}
"Admin"
{
"flag" "b"
"tag" "[Admin]"
"exclude" "0"
}
"Mod"
{
"flag" "j"
"tag" "[Mod]"
"exclude" "0"
}
"Vip"
{
"flag" "a"
"tag" "[Vip]"
"exclude" "0"
}
}
Either way, i cant get the plugin to work
Gambitt is offline
xWangan
Junior Member
Join Date: Jul 2016
Old 11-06-2016 , 04:06   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #94

Quote:
Originally Posted by Gambitt View Post
Hey man im new to adding and configuring plugins to csgo servers and i must admit that i am at a loss regarding the installation of this plugin. So far ive:
1. put the smx file into the plugins folder
2. put the config file into the config folder
3. put the two inc files into the included folder

then im at a loss, by configuring my cvars, you do mean adding them to the server.cfg file right?
ive tried doing so like this:

and like this


And here is how ive configured my config file:



Either way, i cant get the plugin to work
Try to set up the config file like this:
Code:
"Setups"
{
	"Owner"
	{
		"flag"	"n"
		"tag"	"[Owner]"
	}	
	"Developer"
	{
		"flag"	"STEAM_1:0:28493992"
		"tag"	"[Developer]"
	}
	"Admin"
	{
		"flag"	"b"
		"tag"	"[Admin]"
	}
	"Mod"
	{
		"flag"	"j"
		"tag"	"[Mod]"
	}
	"Vip"
	{
		"flag"	"a"
		"tag"	"[Vip]"
	}
}
Also, if you want to edit cvars instead of adding them to server.cfg, you should change them in /cfg/sourcemod/togclantags.cfg file.
xWangan is offline
Gambitt
New Member
Join Date: Nov 2016
Old 11-06-2016 , 17:46   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #95

Yo thx alot man! it works perfectly fine now , didnt realize some plugins make aditional configs in that folder, that will make future plugins alot easyer to figure out!

edit, i did put the Developer tag above the owner to make it work, since its flag is a steam id. else the dev would be given the Owner flag, becouse they have same permissions.

Last edited by Gambitt; 11-06-2016 at 17:47.
Gambitt is offline
fiftyreignz
New Member
Join Date: Nov 2016
Old 11-08-2016 , 04:04   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #96

Hi guys i'm quite new to the hosting server and sourcemod generally. I'm just wondering if I could put few players in a same group to get the same tag quicker rather put each individual steamid to get the clantag? Thanks
fiftyreignz is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-10-2017 , 10:43   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #97

Moved plugin to Github. Version unchanged.
__________________
ThatOneGuy is offline
NoobScripter
Member
Join Date: Dec 2016
Old 01-11-2017 , 09:36   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #98

Does it play without databases?
NoobScripter is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-11-2017 , 17:47   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #99

Quote:
Originally Posted by NoobScripter View Post
Does it play without databases?
Yes, set cvar togsclantags_use_mysql to 0.

RCon the cvar change to the server and change in cvar cfg file: cfg/sourcemod/togsclantags.cfg (autogenerated file the first time you run the plugin).

Then, use the cfg file for your setups in addons/sourcemod/configs/togsclantags.cfg (This is the cfg you download as part of the package - i realize now that it has the same name as the other cfg - they are different files though).
__________________
ThatOneGuy is offline
M4ketech
Member
Join Date: Dec 2016
Location: Helsinki, Finland
Old 01-29-2017 , 02:33   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #100

Weird, its not working and error shows:

Code:
L 01/29/2017 - 08:25:52: [SM] Exception reported: Error connecting to main database. Could not find database conf "togsclantags"
L 01/29/2017 - 08:25:52: [SM] Blaming: togsclantags.smx
L 01/29/2017 - 08:25:52: [SM] Call stack trace:
L 01/29/2017 - 08:25:52: [SM]   [0] SetFailState
L 01/29/2017 - 08:25:52: [SM]   [1] Line 166, C:\Users\Daniel\Downloads\CSS\Server Builds\SM\addons\sourcemod\scripting\scripting1_8\togsclantags.sp::SQLCallback_Connect
L 01/29/2017 - 08:25:52: [SM]   [3] Database.Connect
L 01/29/2017 - 08:25:52: [SM]   [4] Line 275, C:\Users\Daniel\Downloads\CSS\Server Builds\SM\addons\sourcemod\scripting\scripting1_8\togsclantags.sp::LoadSetups
L 01/29/2017 - 08:25:52: [SM]   [5] Line 214, C:\Users\Daniel\Downloads\CSS\Server Builds\SM\addons\sourcemod\scripting\scripting1_8\togsclantags.sp::OnMapStart
L 01/29/2017 - 08:26:35: Error log file session closed.
And cvars:
Code:
// This file was auto-generated by SourceMod (v1.8.0.5969)
// ConVars for plugin "togsclantags.smx"


// Admin flag(s) used for sm_rechecktags command.
// -
// Default: "z"
togsclantags_admflag "z"

// Do bots get tags? (1 = yes, 0 = no)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
togsclantags_bots "0"

// Enable debug mode? (1 = Yes, produce debug files (note, this can produce large files), 0 = Disable debug mode)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
togsclantags_debug "0"

// If no matching setup is found, should their tag be forced to be blank? (0 = allow players setting any clan tags they want, 1 = if no matching setup found, they can only use tags found in the cfg file, 2 = only get tags by having a matching setup in cfg f
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "2.000000"
togsclantags_enforcetags "2"

// Frequency to re-load clients from cfg file (0 = only check once). This function is namely used to help interact with other plugins changing admin status late.
// -
// Default: "0"
// Minimum: "0.000000"
togsclantags_updatefreq "0"

// Use mysql? (1 = Use MySQL to manage setups, 0 = Use cfg file to manage setups)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
togsclantags_use_mysql "0"
Setups:
Code:
"Setups"
{
    "M4ketech"
    {
        "flag"        "STEAM_1:1:13326992"
        "tag"        "[ADMIN]"
    }
    "TMc"
    {
        "flag"        "STEAM_1:0:120838122"
        "tag"        "[PREMIUM]"
    }
}
Chat is working but no tags showing.
M4ketech is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode