Raised This Month: $32 Target: $400
 8% 

[CS:GO] Weapon Stickers (!stickers)


Post New Thread Reply   
 
Thread Tools Display Modes
NightFury9955
New Member
Join Date: Sep 2020
Old 09-16-2020 , 07:31   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #131

Quote:
Originally Posted by quasemago View Post
Thanks, ripext link changed to 1.2.1 release.


You probably haven't set up the database. Anyway, check error logs.
have this error

HTML Code:
L 09/16/2020 - 12:57:55: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 09/16/2020 - 12:58:00: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 09/16/2020 - 12:58:05: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
HTML Code:
L 09/15/2020 - 00:55:32: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:37: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:42: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:47: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:53: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...

Last edited by NightFury9955; 09-16-2020 at 08:25.
NightFury9955 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 09-16-2020 , 12:26   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #132

Quote:
Originally Posted by NightFury9955 View Post
have this error

HTML Code:
L 09/16/2020 - 12:57:55: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 09/16/2020 - 12:58:00: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 09/16/2020 - 12:58:05: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
HTML Code:
L 09/15/2020 - 00:55:32: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:37: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:42: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:47: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/15/2020 - 00:55:53: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
Database configuration error, paste your database.cfg config here.
paulo_crash is offline
NightFury9955
New Member
Join Date: Sep 2020
Old 09-16-2020 , 12:56   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #133

Quote:
Originally Posted by paulo_crash View Post
Database configuration error, paste your database.cfg config here.
BTW i dont have a MySQL database and I think it is necessary, there is a video or toturial that you can send me as I have the MySQL database.
PS: my server is not being hosted on my pc, I have access from a portal

HTML Code:
"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"
	}
    "csgo_weaponstickers"
    {
        "driver"            "mysql"
        "host"                "localhost"
        "database"            "mydb"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        "port"                "3306"
    }
}
NightFury9955 is offline
quasemago
Senior Member
Join Date: Dec 2018
Location: Brazil
Old 09-18-2020 , 05:51   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #134

Quote:
Originally Posted by NightFury9955 View Post
BTW i dont have a MySQL database and I think it is necessary, there is a video or toturial that you can send me as I have the MySQL database.
PS: my server is not being hosted on my pc, I have access from a portal
https://www.google.com/search?q=set+up+mysql+database

Then, edit databases.cfg.
__________________
I accept requests for plugins and configuration of servers.


If you liked my work, consider making a donation via PayPal.
quasemago is offline
gildevanaraujo
Senior Member
Join Date: Oct 2018
Location: Brazil
Old 09-21-2020 , 15:33   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #135

I'm having problems with the sticker plugin.

The plugin does not present any type of error in the log, it works and applies the stickers normally, however, it only applies with the z flag, with the 'a' flag that was configured, it applies normal, it registers in the database, but when the player leaves the server and comes back the sticker disappears.

I checked the database and still continues the player data with the selected sticker.

Can someone help me?
gildevanaraujo is offline
quasemago
Senior Member
Join Date: Dec 2018
Location: Brazil
Old 09-21-2020 , 23:39   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #136

Quote:
Originally Posted by gildevanaraujo View Post
I'm having problems with the sticker plugin.

The plugin does not present any type of error in the log, it works and applies the stickers normally, however, it only applies with the z flag, with the 'a' flag that was configured, it applies normal, it registers in the database, but when the player leaves the server and comes back the sticker disappears.

I checked the database and still continues the player data with the selected sticker.

Can someone help me?
I did several tests on my server and it worked correctly. Do you use another plugin to add the flag? (tVip, sourcebans, etc).

If yes, then the sticker is probably checking the player before he receives the flag.
Create an issue in the github repository (https://github.com/quasemago/CSGO_WeaponStickers) and there we can discuss in portuguese.
__________________
I accept requests for plugins and configuration of servers.


If you liked my work, consider making a donation via PayPal.
quasemago is offline
pedro33
New Member
Join Date: Sep 2020
Old 09-24-2020 , 09:25   uhm...
Reply With Quote #137

Quote:
Originally Posted by flashing View Post
if you have a MySQL server locally try using 127.0.0.1 instead of localhost
L 09/07/2020 - 14:110: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on '127.0.0.1' (10061)
L 09/07/2020 - 14:110: [weapons.smx] SQLite DB connection successful
L 09/07/2020 - 14:110: [weapons.smx] Inactive players' data has been deleted
L 09/07/2020 - 14:115: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/07/2020 - 14:119: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on '127.0.0.1' (10061)
[eItems] Downloading eItems data from API failed! Local backup will be used instead!
[eItems] 878 paints synced successfully!
[eItems] 79 weapons synced successfully!
[eItems] 7 gloves synced successfully!
[eItems] 48 music kits synced successfully!
[eItems] 45 pins synced successfully!
[eItems] 223 coins (in 16 sets) synced successfully!
[eItems] 4286 stickers (in 16 sets) synced successfully!
[eItems] Items synced successfully in 0.01351 seconds
[eItems] Hibernation returned back to default
Server is hibernating
pedro33 is offline
pedro33
New Member
Join Date: Sep 2020
Old 09-24-2020 , 09:26   ...
Reply With Quote #138

Quote:
Originally Posted by pedro33 View Post
L 09/07/2020 - 14:110: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on '127.0.0.1' (10061)
L 09/07/2020 - 14:110: [weapons.smx] SQLite DB connection successful
L 09/07/2020 - 14:110: [weapons.smx] Inactive players' data has been deleted
L 09/07/2020 - 14:115: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
L 09/07/2020 - 14:119: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on '127.0.0.1' (10061)
[eItems] Downloading eItems data from API failed! Local backup will be used instead!
[eItems] 878 paints synced successfully!
[eItems] 79 weapons synced successfully!
[eItems] 7 gloves synced successfully!
[eItems] 48 music kits synced successfully!
[eItems] 45 pins synced successfully!
[eItems] 223 coins (in 16 sets) synced successfully!
[eItems] 4286 stickers (in 16 sets) synced successfully!
[eItems] Items synced successfully in 0.01351 seconds
[eItems] Hibernation returned back to default
Server is hibernating
i always get this error, my stickers dont save, i already have put a database.cfg
pedro33 is offline
pedro33
New Member
Join Date: Sep 2020
Old 09-24-2020 , 10:50   my database.cfg
Reply With Quote #139

Quote:
Originally Posted by pedro33 View Post
i always get this error, my stickers dont save, i already have put a database.cfg

"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"
}

"csgo_weaponstickers"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "mydb"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}
pedro33 is offline
Daniel Alexandru
Member
Join Date: Jul 2020
Old 09-24-2020 , 13:38   Re: my database.cfg
Reply With Quote #140

Quote:
Originally Posted by pedro33 View Post
"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"
}

"csgo_weaponstickers"
{
"driver" "mysql"
"host" "127.0.0.1"
"database" "mydb"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}
you have to create a mysql database and the database has some credentials
Daniel Alexandru 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 18:24.


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