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

[CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag]


Post New Thread Reply   
 
Thread Tools Display Modes
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 09-06-2021 , 14:08   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1611

Quote:
Originally Posted by deko_fps View Post
Looked up for this info, couldn't find: is it possible to change commands (!ws !knife !gloves)?
Yes, it is possible to change these commands, but they need to be edited in the plugins source file and then compile again.

Plugin [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag] in the lines:
Code:
	RegConsoleCmd("buyammo1", CommandWeaponSkins);
	RegConsoleCmd("sm_ws", CommandWeaponSkins);
	RegConsoleCmd("buyammo2", CommandKnife);
	RegConsoleCmd("sm_knife", CommandKnife);
	RegConsoleCmd("sm_nametag", CommandNameTag);
	RegConsoleCmd("sm_wslang", CommandWSLang);
	RegConsoleCmd("sm_seed", CommandSeedMenu);
https://github.com/kgns/weapons/blob...ons.sp#L93-L99

Plugin [CSGO] Gloves in the lines:
Code:
	RegConsoleCmd("sm_gloves", CommandGlove);
	RegConsoleCmd("sm_glove", CommandGlove);
	RegConsoleCmd("sm_eldiven", CommandGlove);
	RegConsoleCmd("sm_gllang", CommandGloveLang);
https://github.com/kgns/gloves/blob/...ves.sp#L55-L58

Remembering again, after editing these lines in both plugins (source file) compile again so that the changes work and don't forget to change the map.

Last edited by paulo_crash; 09-06-2021 at 14:11.
paulo_crash is offline
suki97
BANNED
Join Date: Sep 2021
Location: GB
Old 09-07-2021 , 12:54   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1612

Why does it reset everyone skins after the map change, what could be the problem? Seems like it doesn't store them after you pick your loadout, and then map changes and you have to do it over and over again
suki97 is offline
Send a message via ICQ to suki97 Send a message via AIM to suki97 Send a message via Yahoo to suki97 Send a message via Skype™ to suki97
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 09-07-2021 , 14:25   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1613

Quote:
Originally Posted by suki97 View Post
Why does it reset everyone skins after the map change, what could be the problem? Seems like it doesn't store them after you pick your loadout, and then map changes and you have to do it over and over again
Using SQLite or MySQL? Error logs?
paulo_crash is offline
suki97
BANNED
Join Date: Sep 2021
Location: GB
Old 09-07-2021 , 15:11   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1614

Quote:
Originally Posted by paulo_crash View Post
Using SQLite or MySQL? Error logs?
I guess it's SQLite, this is databases.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" "3306"
}

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

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

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


And error log :

https://github.com/suki971/Error-log...n/error%20logs
suki97 is offline
Send a message via ICQ to suki97 Send a message via AIM to suki97 Send a message via Yahoo to suki97 Send a message via Skype™ to suki97
vegeta1241
AlliedModders Donor
Join Date: Apr 2017
Location: Switzerland
Old 09-07-2021 , 15:16   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1615

!knife not working on classic DM csgo .. Someone have a fix ?

https://developer.valvesoftware.com/...es:_Deathmatch
__________________
IDEAS-GAMING.COM SERVERS ON CSGO :

- HIDE AND SEEK - SUPERHEROES
- BUNNY HOP
- KZ / CLIMB

---------------------------------------------------------------------
My steam link
Donate !
vegeta1241 is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 09-07-2021 , 15:43   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1616

Quote:
Originally Posted by suki97 View Post
I guess it's SQLite, this is databases.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" "3306"
}

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

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

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


And error log :

https://github.com/suki971/Error-log...n/error%20logs
Various errors, various plugins, including weapons, do the following.

Install PTaH again, attention, download the version to your server.

https://ptah.zizt.ru/

I left the default sourcemod databases.cfg:
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"
	}
}
Download the Weapon & Knives plugin again and leave it by default, I just uploaded it to the server.

https://build.kgns.dev/job/csgo-weap...weapons-40.zip

Done all this test again.

NOTE: Also check the permissions of your server folders, apparently the error you are giving is also write. (If you don't have access to this then only the host you hired the server can help)

Last edited by paulo_crash; 09-07-2021 at 15:46.
paulo_crash is offline
suki97
BANNED
Join Date: Sep 2021
Location: GB
Old 09-07-2021 , 15:54   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1617

Quote:
Originally Posted by paulo_crash View Post
Various errors, various plugins, including weapons, do the following.

Install PTaH again, attention, download the version to your server.

https://ptah.zizt.ru/

I left the default sourcemod databases.cfg:
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"
	}
}
Download the Weapon & Knives plugin again and leave it by default, I just uploaded it to the server.

https://build.kgns.dev/job/csgo-weap...weapons-40.zip

Done all this test again.

NOTE: Also check the permissions of your server folders, apparently the error you are giving is also write. (If you don't have access to this then only the host you hired the server can help)
Can you give me your discord, so i can share screen to you, seems like you can help ! Because idk what version is for my server

Last edited by suki97; 09-07-2021 at 15:54.
suki97 is offline
Send a message via ICQ to suki97 Send a message via AIM to suki97 Send a message via Yahoo to suki97 Send a message via Skype™ to suki97
suki97
BANNED
Join Date: Sep 2021
Location: GB
Old 09-07-2021 , 16:21   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1618

Quote:
Originally Posted by paulo_crash View Post
Various errors, various plugins, including weapons, do the following.

Install PTaH again, attention, download the version to your server.

https://ptah.zizt.ru/

I left the default sourcemod databases.cfg:
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"
	}
}
Download the Weapon & Knives plugin again and leave it by default, I just uploaded it to the server.

https://build.kgns.dev/job/csgo-weap...weapons-40.zip

Done all this test again.

NOTE: Also check the permissions of your server folders, apparently the error you are giving is also write. (If you don't have access to this then only the host you hired the server can help)
I did it all again, took your bases.cfg and it happens again, how i can check correct PTaH for server?

L 09/07/2021 - 22:28:52: Query failure: attempt to write a readonly database
L 09/07/2021 - 220:09: Query UPDATE weaponpaints SET last_accountuse = 1631046609, playername = '����������������' WHERE steamid = 'STEAM_1:1:569398269';
L 09/07/2021 - 220:09: Query failure: attempt to write a readonly database

Last edited by suki97; 09-07-2021 at 16:31.
suki97 is offline
Send a message via ICQ to suki97 Send a message via AIM to suki97 Send a message via Yahoo to suki97 Send a message via Skype™ to suki97
asdfxD
Veteran Member
Join Date: Apr 2011
Old 09-10-2021 , 00:44   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1619

Anyone know how to fix this error -> lost connection to mysql server during query <- when the layer7 protection is enabled at the gameservers host?

My dedicated server had the same issue when i enabled the layer7 protection, if i turn them off, it worked without any connection losses. Can i configure something at my own mysql vserver to fix this issue? The skins are working but this (false) error happens a lot and does not apply skins to players.

Last edited by asdfxD; 09-10-2021 at 00:45.
asdfxD is offline
hajrullah
Junior Member
Join Date: Nov 2008
Old 09-22-2021 , 03:46   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1620

Since Operation Riptide Update, plugin crashes server!
hajrullah is offline
Reply


Thread Tools
Display Modes

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 06:53.


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