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

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


Post New Thread Reply   
 
Thread Tools Display Modes
altair540
Member
Join Date: Dec 2012
Old 09-16-2017 , 08:59   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #211

Error log
Quote:
[SM] Exception reported: Client index 0 is invalid
[SM] Blaming: weapons.smx
[SM] Call stack trace:
[SM] [0] IsClientInGame
[SM] [1] Line 86, weapons/menus.sp::WeaponsMenuTimer
altair540 is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 09-16-2017 , 09:37   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #212

Quote:
Originally Posted by altair540 View Post
Error log
not helpful without the use case. this error should not happen when used properly
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
styllek
Junior Member
Join Date: Aug 2016
Location: Poland
Old 09-16-2017 , 17:01   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #213

Okay, the float problem has been resolved. But now I have noticed a few bugs and I do not know if only I have?
The problem is that the knives do not change, I have my own knife and example although is set to Bowie knife does not change. (ss: http://imgie.pl/image/WCYbJ )
In addition, in the skins menu appears twice the same knife. (ss: http://imgie.pl/image/WC6eI)

[PL] Nóż z hakiem = [ENG] Gut Knife

Last edited by styllek; 09-16-2017 at 18:31.
styllek is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 09-16-2017 , 18:34   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #214

can you post your sm plugins list and sm exts list ?
you might need to update your PTaH extension, or some other plugin conflict
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
styllek
Junior Member
Join Date: Aug 2016
Location: Poland
Old 09-17-2017 , 06:14   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #215

Quote:
Originally Posted by kgns View Post
can you post your sm plugins list and sm exts list ?
you might need to update your PTaH extension, or some other plugin conflict
Now, all working, my bad. I don't know why, but the version 1.0.7 PTaH didn't uploaded.

PS. I give u updated PL Translation to v. 1.1.1 ;]]
Attached Files
File Type: txt weapons.phrases.txt (3.6 KB, 148 views)
styllek is offline
tzzion
Member
Join Date: Oct 2016
Old 09-17-2017 , 22:00   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #216

Hi everybody, I'm kind of new so excuse my ignorance.

How can I reset skins saved by the players?

I'm using:

Quote:
sm_weapons_db_connection "storage-local"
I would be grateful if anyone could help me


And congratulations for the plugin, very well done! Very clean
tzzion is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 09-17-2017 , 22:07   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #217

Quote:
Originally Posted by tzzion View Post
Hi everybody, I'm kind of new so excuse my ignorance.

How can I reset skins saved by the players?

I'm using:



I would be grateful if anyone could help me


And congratulations for the plugin, very well done! Very clean
There are a few options for you;
1. If you can find a software to open SQLite database files and modify them, you can use it to open up sourcemod-local.sq3 file and drop the table named "weapons"
2. If you dont have the ability to do the above said thing, AND ONLY IF no other plugins use "storage-local" database, you can DOWNLOAD that file to your computer and delete or rename it on your server. This should reset the database for this plugin. If you see another plugin not working as usual (i.e. missing its data), you can re-upload that SQLite database file you downloaded as a backup back to the server, and see the 3rd option below.
3. You can add a new SQLite database description to databases.cfg (copy paste storage-local description, and then edit the name). Then point this plugin to this newly created SQLite database. This will make the plugin use the new database, effectively resetting it. (Old data will still be inside sourcemod-local.sq3 file, but it wont be used anymore)
4. Use MySQL
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
tzzion
Member
Join Date: Oct 2016
Old 09-17-2017 , 22:27   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #218

]Thanks for the quick answer !

I'm trying to use MySQL and it showed this error:

Quote:
L 09/17/2017 - 23:24:45: [SM] Exception reported: Invalid database Handle 0 (error: 4)

L 09/17/2017 - 23:24:45: [SM] Blaming: weapons.smx

L 09/17/2017 - 23:24:45: [SM] Call stack trace:

L 09/17/2017 - 23:24:45: [SM] [0] Database.Query

L 09/17/2017 - 23:24:45: [SM] [1] Line 24, weapons / database.sp :: GetPlayerData

L 09/17/2017 - 23:24:45: [SM] [2] Line 82, weapons / forwards.sp :: OnClientPostAdminCheck

Last edited by tzzion; 09-17-2017 at 22:28.
tzzion is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 09-17-2017 , 22:30   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #219

well to use mysql, you have to have access to a mysql database server
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
snoopy174
Member
Join Date: May 2016
Old 09-18-2017 , 12:10   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #220

and here who can add stickers I've seen what you can do
snoopy174 is offline
Send a message via Skype™ to snoopy174
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 06:12.


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