Coder Social home page Coder Social logo

[CS:GO] mmrank about noxus HOT 7 CLOSED

laam4 avatar laam4 commented on September 15, 2024
[CS:GO] mmrank

from noxus.

Comments (7)

laam4 avatar laam4 commented on September 15, 2024
"elorank"
{
	"driver"                        "mysql"
	"host"                          "127.0.0.1"
	"database"                      "hlstatsx"
	"user"                          "hlxuser"
	"pass"                          "password"
}

from noxus.

eXplode82 avatar eXplode82 commented on September 15, 2024
L 01/11/2017 - 18:06:18: SourceMod error session started
L 01/11/2017 - 18:06:18: Info (map "de_dust2") (file "errors_20170111.log")
L 01/11/2017 - 18:06:18: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 01/11/2017 - 18:06:18: [SM] Blaming: elorank.smx
L 01/11/2017 - 18:06:18: [SM] Call stack trace:
L 01/11/2017 - 18:06:18: [SM]   [0] SQL_TQuery
L 01/11/2017 - 18:06:18: [SM]   [1] Line 71, elorank.sp::setRank
L 01/11/2017 - 18:06:18: [SM]   [2] Line 119, elorank.sp::EloHandler

from noxus.

laam4 avatar laam4 commented on September 15, 2024

did you change "default" to "elorank" in databases.cfg?

from noxus.

eXplode82 avatar eXplode82 commented on September 15, 2024

Yes... and server restarted

	"elorank"
	{
		"driver"			"mysql"
		"host"				"127.0.0.1"
		"database"			"hlstatsx"
		"user"				"user"
		"pass"				"*********"

from noxus.

laam4 avatar laam4 commented on September 15, 2024

Check that your databases.cfg is formatted properly and isn't missing any brackets.

"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"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"elorank"
	{
		"driver"			"mysql"
		"host"				"127.0.0.1"
		"database"			"hlstatsx"
		"user"				"hlxuser"
		"pass"				"password"
	}
}

from noxus.

eXplode82 avatar eXplode82 commented on September 15, 2024

My database.cfg

"Databases"
{
	"driver_default"		"mysql"
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"user"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"

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

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

	"sourcebans"
	{
		"driver"			 "default"
		"host"				"127.0.0.1"
		"database"			"sourcebans"
		"user"				"user"
		"pass"				"******"
		//"timeout"			"0"
		"port"				"3306"
	}

	"elorank"
	{
		"driver"			 "mysql"
		"host"				"127.0.0.1"
		"database"			"hlstatsx"
		"user"				"user"
		"pass"				"******"
		//"timeout"			"0"
		"port"				"3306"
	}

}

from noxus.

eXplode82 avatar eXplode82 commented on September 15, 2024

Finally started working after several restarts ;)

from noxus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.