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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Czar_
Senior Member
Join Date: Nov 2016
Location: Moms Basement
Old 01-29-2017 , 17:10   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #101

L 01/29/2017 - 17:094: [SM] Exception reported: Invalid query Handle 0 (error: 4)
L 01/29/2017 - 17:094: [SM] Blaming: togsclantags.smx
L 01/29/2017 - 17:094: [SM] Call stack trace:
L 01/29/2017 - 17:094: [SM] [0] DBResultSet.RowCount.get
L 01/29/2017 - 17:094: [SM] [1] Line 241, C:\Users\Daniel\Downloads\CSS\Server Builds\SM\addons\sourcemod\scripting\scriptin g1_8\togsclantags.sp::SQLCallback_SetupsCnt

Any help for this error would be great
__________________
Czar_ is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 01-29-2017 , 18:53   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #102

Quote:
Originally Posted by Czar_ View Post
L 01/29/2017 - 17:094: [SM] Exception reported: Invalid query Handle 0 (error: 4)
L 01/29/2017 - 17:094: [SM] Blaming: togsclantags.smx
L 01/29/2017 - 17:094: [SM] Call stack trace:
L 01/29/2017 - 17:094: [SM] [0] DBResultSet.RowCount.get
L 01/29/2017 - 17:094: [SM] [1] Line 241, C:\Users\Daniel\Downloads\CSS\Server Builds\SM\addons\sourcemod\scripting\scriptin g1_8\togsclantags.sp::SQLCallback_SetupsCnt

Any help for this error would be great
The query failed to retrieve any results. The error should be handled once the pr gets merged.

Last edited by headline; 01-29-2017 at 18:54.
headline is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-29-2017 , 22:49   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #103

Quote:
Originally Posted by M4ketech View Post
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.
Chat is working but no tags showing.
This errors is produced by not having a setup defined in /addons/sourcemod/configs/databases.cfg. Please see example config here: https://github.com/ThatOneHomelessGu...%20example.txt

Then replace the database info with what applies to your setup.

Quote:
Originally Posted by Headline View Post
Quote:
Originally Posted by Czar_ View Post
L 01/29/2017 - 17:094: [SM] Exception reported: Invalid query Handle 0 (error: 4)
L 01/29/2017 - 17:094: [SM] Blaming: togsclantags.smx
L 01/29/2017 - 17:094: [SM] Call stack trace:
L 01/29/2017 - 17:094: [SM] [0] DBResultSet.RowCount.get
L 01/29/2017 - 17:094: [SM] [1] Line 241, C:\Users\Daniel\Downloads\CSS\Server Builds\SM\addons\sourcemod\scripting\scriptin g1_8\togsclantags.sp::SQLCallback_SetupsCnt

Any help for this error would be great
The query failed to retrieve any results. The error should be handled once the pr gets merged.
This has been merged, but wont solve the problem (i believe) as this seems to indicate (based on Headlines edit) that none of the setups created in the database apply to this server. Please verify that some of the setups apply to the server (server_ip field), or server_ip field is blank. If you still have problems, post your database setups and I will help you sort them out.
__________________

Last edited by ThatOneGuy; 01-29-2017 at 22:51.
ThatOneGuy is offline
M4ketech
Member
Join Date: Dec 2016
Location: Helsinki, Finland
Old 01-30-2017 , 00:08   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #104

Quote:
Originally Posted by ThatOneGuy View Post
This errors is produced by not having a setup defined in /addons/sourcemod/configs/databases.cfg. Please see example config here: https://github.com/ThatOneHomelessGu...%20example.txt

Then replace the database info with what applies to your setup.
So i need setup database even if i dont use it? How we can add players with tags etc. to database?
M4ketech is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-30-2017 , 20:27   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #105

Quote:
Originally Posted by M4ketech View Post
So i need setup database even if i dont use it? How we can add players with tags etc. to database?
Oh, i didnt notice that you had it set not to use a database. Was it set that one from the beginning? I recall that the default was to use a database, so it would have err'd out. If you changed the config file, rcon'd the cvar change and it still does it, then it is an issue on the plugin end. I'll look at the code.

EDIT: I looked at the line with your error, and the only way to get to that part in the code is to have mysql enabled. Simply changing the cvar in the file wont change the value that the server has cached. RCon the cvar change to the server to make the change take effect immediately.
__________________
ThatOneGuy is offline
M4ketech
Member
Join Date: Dec 2016
Location: Helsinki, Finland
Old 01-31-2017 , 03:14   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #106

Quote:
Originally Posted by ThatOneGuy View Post
Oh, i didnt notice that you had it set not to use a database. Was it set that one from the beginning? I recall that the default was to use a database, so it would have err'd out. If you changed the config file, rcon'd the cvar change and it still does it, then it is an issue on the plugin end. I'll look at the code.

EDIT: I looked at the line with your error, and the only way to get to that part in the code is to have mysql enabled. Simply changing the cvar in the file wont change the value that the server has cached. RCon the cvar change to the server to make the change take effect immediately.
Okey, i try once more, command is sm_cvar change togsclantags_use_mysql 0 in console?

BTW, how that database is working, how plugins adds players, tags or groups to database or do we need manually add them somehow? Im asking because we have multiple servers and adding everyone manually to each server is pain.

E: Working now, DB setup is still open how we do it and manage it.

Last edited by M4ketech; 01-31-2017 at 03:54.
M4ketech is offline
danyxcraft
Junior Member
Join Date: Aug 2016
Old 01-31-2017 , 20:23   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #107

could you make this compatible with csco
danyxcraft is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-31-2017 , 21:03   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #108

Quote:
Originally Posted by M4ketech View Post
Okey, i try once more, command is sm_cvar change togsclantags_use_mysql 0 in console?

BTW, how that database is working, how plugins adds players, tags or groups to database or do we need manually add them somehow? Im asking because we have multiple servers and adding everyone manually to each server is pain.

E: Working now, DB setup is still open how we do it and manage it.
You have to manually create entries if using the database. Yes, other plugins can add them as well using the database info, or can also just use the "external" tags native provided by the plugin. Since you are not using mysql, use the config file to create setups. Setups are exhaustively explained at the top of the config file. Use of mysql would provide cross-server support, else you would need to copy/paste your config file.
__________________
ThatOneGuy is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 01-31-2017 , 21:06   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #109

Quote:
Originally Posted by danyxcraft View Post
could you make this compatible with csco
I dont see what makes it incompatible. It works well for csgo, and it isnt checking for the folder names. Are you getting an error? Perhaps you just need to configure it, like the above person? Post any errors you have, and the the last few posts, in case you are in the same boat as that guy.
__________________
ThatOneGuy is offline
danyxcraft
Junior Member
Join Date: Aug 2016
Old 02-01-2017 , 16:24   Re: [CS:S/CS:GO] TOGs Clan Tags
Reply With Quote #110

i make a database for the tags and still not working, its working on my csgo server but not csco
danyxcraft 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 10:09.


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