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

[CSGO] Gloves


Post New Thread Reply   
 
Thread Tools Display Modes
EMINEM_FB
Senior Member
Join Date: Dec 2010
Location: Czech republic
Old 10-29-2019 , 05:15   Re: [CSGO] Gloves
Reply With Quote #111

My gloves are not saving into sql :/ I think its problem of plugin :/ After map change I still have my gloves but after restart server I must select them in menu again :/


I have this in my database
Code:
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
And also this in my config
Code:
// Prefix for chat messages
// -
// Default: "[wasdzone]"
sm_gloves_chat_prefix "[TrueRussians]"

// Database connection name in databases.cfg to use
// -
// Default: "storage-local"
sm_gloves_db_connection "storage-local"

// Enable/Disable gloves float options
// -
// Default: "1"
sm_gloves_enable_float "1"

// Increase/Decrease by value for gloves float
// -
// Default: "0.05"
sm_gloves_float_increment_size "0.2"

// Prefix for database table (example: 'xyz_')
// -
// Default: ""
sm_gloves_table_prefix ""

// Enable/Disable gloves to be seen by other living players
// -
// Default: "1"
sm_gloves_enable_world_model "0"
__________________

Last edited by EMINEM_FB; 10-29-2019 at 05:17.
EMINEM_FB is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-29-2019 , 05:19   Re: [CSGO] Gloves
Reply With Quote #112

Quote:
Originally Posted by EMINEM_FB View Post
My gloves are not saving into sql :/ I think its problem of plugin :/ After map change I still have my gloves but after restart server I must select them in menu again :/


I have this in my database
Code:
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
And also this in my config
Code:
// Prefix for chat messages
// -
// Default: "[wasdzone]"
sm_gloves_chat_prefix "[TrueRussians]"

// Database connection name in databases.cfg to use
// -
// Default: "storage-local"
sm_gloves_db_connection "storage-local"

// Enable/Disable gloves float options
// -
// Default: "1"
sm_gloves_enable_float "1"

// Increase/Decrease by value for gloves float
// -
// Default: "0.05"
sm_gloves_float_increment_size "0.2"

// Prefix for database table (example: 'xyz_')
// -
// Default: ""
sm_gloves_table_prefix ""

// Enable/Disable gloves to be seen by other living players
// -
// Default: "1"
sm_gloves_enable_world_model "0"
i guess the problem is with the sqlite not the plugin
try using mysql if you have a huge database
__________________
8guawong is offline
EMINEM_FB
Senior Member
Join Date: Dec 2010
Location: Czech republic
Old 10-29-2019 , 05:23   Re: [CSGO] Gloves
Reply With Quote #113

Quote:
Originally Posted by 8guawong View Post
i guess the problem is with the sqlite not the plugin
try using mysql if you have a huge database
I disabled all custom plugins and I run only gloves plugin, weapon plugin and sourcemod plugins and now it works... I will find that plugin what create that issue
__________________

Last edited by EMINEM_FB; 10-29-2019 at 05:24.
EMINEM_FB is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 10-29-2019 , 05:24   Re: [CSGO] Gloves
Reply With Quote #114

Quote:
Originally Posted by EMINEM_FB View Post
I disabled all custom plugins and I run only gloves plugin, weapon plugin and sourcemod plugins and now it works... I will find that plugin what create that issue
ok thats good to hear
__________________
8guawong is offline
EMINEM_FB
Senior Member
Join Date: Dec 2010
Location: Czech republic
Old 10-29-2019 , 05:29   Re: [CSGO] Gloves
Reply With Quote #115

Is in this plugin way to give random gloves to new player after he join to server please?



This do not work
__________________

Last edited by EMINEM_FB; 10-29-2019 at 05:30.
EMINEM_FB is offline
EMINEM_FB
Senior Member
Join Date: Dec 2010
Location: Czech republic
Old 10-29-2019 , 05:40   Re: [CSGO] Gloves
Reply With Quote #116

If someone use this plugin [CS:GO] AUTOMATIC VIP (flags) - !testvip he will have issue. Gloves plugin will not save informations into SQL database
__________________

Last edited by EMINEM_FB; 10-29-2019 at 05:45.
EMINEM_FB is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 11-22-2019 , 18:27   Re: [CSGO] Gloves
Reply With Quote #117

Code:
L 11/22/2019 - 21:51:42: SourceMod error session started
L 11/22/2019 - 21:51:42: Info (map "am_inferno_2019") (file "/home/data/csgo/addons/sourcemod/logs/errors_20191122.log")
L 11/22/2019 - 21:51:42: [SM] Exception reported: Entity 425 (425) is invalid
L 11/22/2019 - 21:51:42: [SM] Blaming: csgo_gloves.smx
L 11/22/2019 - 21:51:42: [SM] Call stack trace:
L 11/22/2019 - 21:51:42: [SM]   [0] SetEntPropEnt
L 11/22/2019 - 21:51:42: [SM]   [1] Line 108, E:\Source\include\gloves/menus.sp::ResetGlovesTimer
L 11/22/2019 - 21:54:57: Error log file session closed.
Please fix it. menus.sp:

SetEntPropEnt(clientIndex, Prop_Send, "m_hActiveWeapon", activeWeapon);
BeNq! is offline
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 11-24-2019 , 15:16   Re: [CSGO] Gloves
Reply With Quote #118

Quote:
Originally Posted by BeNq! View Post
Code:
L 11/22/2019 - 21:51:42: SourceMod error session started
L 11/22/2019 - 21:51:42: Info (map "am_inferno_2019") (file "/home/data/csgo/addons/sourcemod/logs/errors_20191122.log")
L 11/22/2019 - 21:51:42: [SM] Exception reported: Entity 425 (425) is invalid
L 11/22/2019 - 21:51:42: [SM] Blaming: csgo_gloves.smx
L 11/22/2019 - 21:51:42: [SM] Call stack trace:
L 11/22/2019 - 21:51:42: [SM]   [0] SetEntPropEnt
L 11/22/2019 - 21:51:42: [SM]   [1] Line 108, E:\Source\include\gloves/menus.sp::ResetGlovesTimer
L 11/22/2019 - 21:54:57: Error log file session closed.
Please fix it. menus.sp:

SetEntPropEnt(clientIndex, Prop_Send, "m_hActiveWeapon", activeWeapon);
That error seems more as if your Sourcemod isn't up to date..
Notifications is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 11-24-2019 , 16:04   Re: [CSGO] Gloves
Reply With Quote #119

Quote:
Originally Posted by Notifications View Post
That error seems more as if your Sourcemod isn't up to date..
nah it was a known issue with the plugin that didnt even caused any problems. just error logs
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-01-2019 , 08:28   Re: [CSGO] Gloves
Reply With Quote #120

Suggestions for future updates:
- Add option to automatically remove gloves after X days;
- Add the option to block the use of commands after X seconds;
paulo_crash 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 20:35.


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