Raised This Month: $ Target: $400
 0% 

[CS:GO] Simple CSGO Ranks


Post New Thread Reply   
 
Thread Tools Display Modes
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 02-27-2016 , 17:51   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #71

Quote:
Originally Posted by Cosharek View Post
Hi I need help with this plugin especially with the MySQL part, okay so I have installed the plugin correct and everything, I am using a online hosting company called gametris.com and when i start my server ang go to the rcon console and type in sm plugins list i get this

<Error> "SimpleCSGORanks" (0.2.0) by Puppetmaster, Mehffort, Zipzip, Turtl, Fnz, Furreal

i then type in sm plugins load simplecsgoranks and i get this

Database: "default" Got:"default"
Could not connect: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Database setup has been called.
If you get an error here you probably need to fix your database.
Try changing your databases.cfg file
Adding database tables
L 02/27/2016 - 14:48:51: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 02/27/2016 - 14:48:51: [SM] Displaying call stack trace for plugin "simplecsgoranks.smx":
L 02/27/2016 - 14:48:51: [SM] [0] Line 329, simplecsgoranks.sp::newDB()
L 02/27/2016 - 14:48:51: [SM] [1] Line 527, simplecsgoranks.sp::OnPluginStart()
[SM] Loaded plugin simplecsgoranks.smx successfully.

if you are wondering how my database.cfg is set up then here you go (i changed some numbers around so people don't steal from me >)

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "the ip of my server"
"database" "01234"
"user" "01234"
"pass" "password"
//"timeout" "0"
"port" "01234"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}

and if you are wondering why my user, port, database are the same, its because they are all the same when i go to my control panel, my port is the same as my database name and as my username, the password i put in is 400% correct so i don't know why the plugin doesn't want to connect to my db pls help
Are you using windows or linux? What does the MySQL log say?
__________________

GZS Servers
Puppetmaster is offline
Cosharek
New Member
Join Date: Feb 2016
Old 02-27-2016 , 18:55   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #72

Quote:
Originally Posted by Puppetmaster View Post
Are you using windows or linux? What does the MySQL log say?
idk I cant really check because all I have access to is the admin panel on the hosting website, i can only check my MySQL on a web based adminer panel which doesn't show much useful stuff apart from the tables i have set up and also i can enter MySQL commands and that is about it, i hope that you do understand that i am not hosting the MySQL database on my pc I am using a hosting company. another thing i was thinking about is should i just get a separate MySQL database or what?
Cosharek is offline
Cosharek
New Member
Join Date: Feb 2016
Old 02-27-2016 , 18:56   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #73

if you don't understand what i mean i can add scrnshots to show you what i can do in the online admin panel
Cosharek is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 02-28-2016 , 16:26   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #74

Quote:
Originally Posted by Cosharek View Post
idk I cant really check because all I have access to is the admin panel on the hosting website, i can only check my MySQL on a web based adminer panel which doesn't show much useful stuff apart from the tables i have set up and also i can enter MySQL commands and that is about it, i hope that you do understand that i am not hosting the MySQL database on my pc I am using a hosting company. another thing i was thinking about is should i just get a separate MySQL database or what?
Getting different hosting would definitely be my suggestion. There is not much I can do if you do not have direct access to the log. The log usually contains all of the required information for fixing issues like this
__________________

GZS Servers
Puppetmaster is offline
bunso
New Member
Join Date: Mar 2016
Old 03-09-2016 , 20:46   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #75

I been trying to make this plugin to work on my linux dedicated server.
Until now I was not able to make this work.
Please help!! Below are the error.

L 03/09/2016 - 175:21: SourceMod error session started
L 03/09/2016 - 175:21: Info (map "de_dust2") (file "errors_20160309.log")
L 03/09/2016 - 175:21: [SM] Unable to load extension "dbi.steam.ext": /home/steam/steamcd/csgo/csgo/addons/sourcemod/extensions/dbi.steam.ext.so: cannot open shared object file: No such file or directory
L 03/09/2016 - 175:21: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 03/09/2016 - 175:21: [SM] Displaying call stack trace for plugin "simplecsgoranks.smx":
L 03/09/2016 - 175:21: [SM] [0] Line 329, simplecsgoranks.sp::newDB()
L 03/09/2016 - 175:21: [SM] [1] Line 527, simplecsgoranks.sp::OnPluginStart()
L 03/09/2016 - 175:22: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 03/09/2016 - 175:22: [SM] Displaying call stack trace for plugin "simplecsgoranks.smx":
L 03/09/2016 - 175:22: [SM] [0] Line 329, simplecsgoranks.sp::newDB()
L 03/09/2016 - 175:22: [SM] [1] Line 527, simplecsgoranks.sp::OnPluginStart()

Thank you in advance
bunso is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 03-09-2016 , 20:51   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #76

Quote:
Originally Posted by bunso View Post
I been trying to make this plugin to work on my linux dedicated server.
Until now I was not able to make this work.
Please help!! Below are the error.

L 03/09/2016 - 175:21: SourceMod error session started
L 03/09/2016 - 175:21: Info (map "de_dust2") (file "errors_20160309.log")
L 03/09/2016 - 175:21: [SM] Unable to load extension "dbi.steam.ext": /home/steam/steamcd/csgo/csgo/addons/sourcemod/extensions/dbi.steam.ext.so: cannot open shared object file: No such file or directory
L 03/09/2016 - 175:21: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 03/09/2016 - 175:21: [SM] Displaying call stack trace for plugin "simplecsgoranks.smx":
L 03/09/2016 - 175:21: [SM] [0] Line 329, simplecsgoranks.sp::newDB()
L 03/09/2016 - 175:21: [SM] [1] Line 527, simplecsgoranks.sp::OnPluginStart()
L 03/09/2016 - 175:22: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 03/09/2016 - 175:22: [SM] Displaying call stack trace for plugin "simplecsgoranks.smx":
L 03/09/2016 - 175:22: [SM] [0] Line 329, simplecsgoranks.sp::newDB()
L 03/09/2016 - 175:22: [SM] [1] Line 527, simplecsgoranks.sp::OnPluginStart()

Thank you in advance
Sounds like there is an issue with the sourcemod inbuilt extensions.
Have you checked the permissions on the dbi.steam.ext.so file?
__________________

GZS Servers
Puppetmaster is offline
bunso
New Member
Join Date: Mar 2016
Old 03-09-2016 , 21:02   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #77

Quote:
Originally Posted by Puppetmaster View Post
Sounds like there is an issue with the sourcemod inbuilt extensions.
Have you checked the permissions on the dbi.steam.ext.so file?
That file is not in the folder, don't know where to get it from.
bunso is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 03-10-2016 , 18:12   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #78

Quote:
Originally Posted by bunso View Post
That file is not in the folder, don't know where to get it from.
I dont think Ive ever seen that problem before, is your MySQL driver installed correctly?
__________________

GZS Servers
Puppetmaster is offline
bunso
New Member
Join Date: Mar 2016
Old 03-11-2016 , 01:22   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #79

Quote:
Originally Posted by Puppetmaster View Post
I dont think Ive ever seen that problem before, is your MySQL driver installed correctly?
Thank you for the help. Yes MYSQL was intalled correctly. I found out that MYSQL was bind to loopback address 127.0.0.1

Below are the configuration of the database.cfg that worked well with Ubuntu 14.04 server LTS

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "127.0.0.1"
"database" "steam"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "default"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}

Again Thank you for the wonderful plugin you have created.
bunso is offline
Unban
Junior Member
Join Date: Jul 2011
Location: Lithuania
Old 04-02-2016 , 15:49   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #80

Exception reported: Invalid database Handle 0 (error: 4)
Blaming: simplecsgoranks.smx()
Call stack trace:
[0] SQL_FastQuery
[1] Line 329, simplecsgoranks.sp::newDB()
[2] Line 527, simplecsgoranks.sp::OnPluginStart()
[SM] Unable to load plugin "simplecsgoranks.smx": Error detected in plugin startup (see error logs)

Could not connect: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"default"
{
"driver" "default"
"host" "localhost"
"database" "steam"
"user" "root"
"pass" "mypassword"
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" ""
"pass" ""
//"timeout" "0"
//"port" "0"
}
}

i have mysql and databases on phpmyadmin, but still get error.

someone help? please

P.S. im new on csgo ...

Last edited by Unban; 04-02-2016 at 16:38.
Unban is offline
Send a message via Skype™ to Unban
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 23:42.


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