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
CoolFrans
Junior Member
Join Date: Sep 2020
Old 09-30-2020 , 10:23   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1421

Quote:
Originally Posted by kgns View Post
are you sure that it doesn't work? after a frag, did you try to get a fresh weapon of the same type and see the count not changed?
After refreshing the weapon it still stays 0, even after map change. If the Ptah_test.sp has any relevance, I could not compile it and thus I don't have the Ptah_test.smx but everything else works fine with the was plugin.
CoolFrans is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 09-30-2020 , 10:45   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1422

Quote:
Originally Posted by CoolFrans View Post
After refreshing the weapon it still stays 0, even after map change. If the Ptah_test.sp has any relevance, I could not compile it and thus I don't have the Ptah_test.smx but everything else works fine with the was plugin.
then you need to update sourcemod, you're using an old version
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net
kgns is offline
CoolFrans
Junior Member
Join Date: Sep 2020
Old 09-30-2020 , 10:45   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1423

Quote:
Originally Posted by kgns View Post
then you need to update sourcemod, you're using an old version
Ill try that and let you know
CoolFrans is offline
CoolFrans
Junior Member
Join Date: Sep 2020
Old 09-30-2020 , 10:59   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1424

Quote:
Originally Posted by CoolFrans View Post
Ill try that and let you know
It works now thank you kgns!
CoolFrans is offline
vijayar
Senior Member
Join Date: Sep 2020
Old 10-01-2020 , 09:23   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1425

Quote:
Originally Posted by kgns View Post
if you're doing everything correctly, then you should check if the mysql user has permission to create tables and such
Yes, it turned out to be the user permission issue, had to trace back step by step to identify the same.
All good and working great now.

Thanks for your support !
vijayar is offline
TigerXN
Junior Member
Join Date: Apr 2020
Old 10-02-2020 , 23:46   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1426

I recently updated the plugin along with sourcemod and the rest of the plugins I'm using, and now the plugin won't save players skins/knives to sqlite. I am very inexperienced with sqlite, but I figured how to view the data being stored, and it only adds players when they connect to the server then appears to delete the data after I restart the server or change maps. Any help would be greatly appreciated.
TigerXN is offline
TigerXN
Junior Member
Join Date: Apr 2020
Old 10-02-2020 , 23:56   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1427

I am also getting this error when I try to use !ws

Blaming: weapons.smx
L 10/02/2020 - 20:52:22: [SM] Call stack trace:
L 10/02/2020 - 20:52:22: [SM] [0] SetEntProp
L 10/02/2020 - 20:52:22: [SM] [1] Line 252, tmp/addons/sourcemod/scripting/weapons.sp::SetWeaponProps
L 10/02/2020 - 20:52:22: [SM] [2] Line 55, tmp/addons/sourcemod/scripting/weapons/hooks.sp::GiveNamedItemPost
L 10/02/2020 - 20:52:22: [SM] [4] GivePlayerItem
L 10/02/2020 - 20:52:22: [SM] [5] Line 331, tmp/addons/sourcemod/scripting/weapons.sp::RefreshWeapon
L 10/02/2020 - 20:52:22: [SM] [6] Line 39, tmp/addons/sourcemod/scripting/weapons/menus.sp::WeaponsMenuHandler
L 10/02/2020 - 20:52:22: [SM] Exception reported: Invalid data pack handle 726563 (error 4).
L 10/02/2020 - 20:52:22: [SM] Blaming: weapons.smx
L 10/02/2020 - 20:52:22: [SM] Call stack trace:
L 10/02/2020 - 20:52:22: [SM] [0] DataPack.WriteCell
L 10/02/2020 - 20:52:22: [SM] [1] Line 344, tmp/addons/sourcemod/scripting/weapons.sp::RefreshWeapon
L 10/02/2020 - 20:52:22: [SM] [2] Line 39, tmp/addons/sourcemod/scripting/weapons/menus.sp::WeaponsMenuHandler
L 10/02/2020 - 20:52:23: [SM] Exception reported: Data pack operation is out of bounds.
L 10/02/2020 - 20:52:23: [SM] Blaming: weapons.smx
L 10/02/2020 - 20:52:23: [SM] Call stack trace:
L 10/02/2020 - 20:52:23: [SM] [0] DataPack.ReadCell
L 10/02/2020 - 20:52:23: [SM] [1] Line 362, tmp/addons/sourcemod/scripting/weapons.sp::ReserveAmmoTimer
L 10/02/2020 - 20:52:49: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
TigerXN is offline
panikajo
Member
Join Date: Jan 2013
Old 10-03-2020 , 09:03   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1428

how fix double . triple knife?
panikajo is offline
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 10-03-2020 , 09:07   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1429

Quote:
Originally Posted by TigerXN View Post
I am also getting this error when I try to use !ws

Blaming: weapons.smx
L 10/02/2020 - 20:52:22: [SM] Call stack trace:
L 10/02/2020 - 20:52:22: [SM] [0] SetEntProp
L 10/02/2020 - 20:52:22: [SM] [1] Line 252, tmp/addons/sourcemod/scripting/weapons.sp::SetWeaponProps
L 10/02/2020 - 20:52:22: [SM] [2] Line 55, tmp/addons/sourcemod/scripting/weapons/hooks.sp::GiveNamedItemPost
L 10/02/2020 - 20:52:22: [SM] [4] GivePlayerItem
L 10/02/2020 - 20:52:22: [SM] [5] Line 331, tmp/addons/sourcemod/scripting/weapons.sp::RefreshWeapon
L 10/02/2020 - 20:52:22: [SM] [6] Line 39, tmp/addons/sourcemod/scripting/weapons/menus.sp::WeaponsMenuHandler
L 10/02/2020 - 20:52:22: [SM] Exception reported: Invalid data pack handle 726563 (error 4).
L 10/02/2020 - 20:52:22: [SM] Blaming: weapons.smx
L 10/02/2020 - 20:52:22: [SM] Call stack trace:
L 10/02/2020 - 20:52:22: [SM] [0] DataPack.WriteCell
L 10/02/2020 - 20:52:22: [SM] [1] Line 344, tmp/addons/sourcemod/scripting/weapons.sp::RefreshWeapon
L 10/02/2020 - 20:52:22: [SM] [2] Line 39, tmp/addons/sourcemod/scripting/weapons/menus.sp::WeaponsMenuHandler
L 10/02/2020 - 20:52:23: [SM] Exception reported: Data pack operation is out of bounds.
L 10/02/2020 - 20:52:23: [SM] Blaming: weapons.smx
L 10/02/2020 - 20:52:23: [SM] Call stack trace:
L 10/02/2020 - 20:52:23: [SM] [0] DataPack.ReadCell
L 10/02/2020 - 20:52:23: [SM] [1] Line 362, tmp/addons/sourcemod/scripting/weapons.sp::ReserveAmmoTimer
L 10/02/2020 - 20:52:49: [SM] Exception reported: Cannot set m_iItemIDLow with "FollowCSGOServerGuidelines" option enabled.
when you updated sourcemod, you seem to forgot about changing "FollowCSGOServerGuidelines" in core.cfg to "no"
__________________

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

Quote:
Originally Posted by panikajo View Post
how fix double . triple knife?
this happens because of 2 reasons:



1. the map you use uses a game_player_equip entity to give players a knife on round start

Solution A: you can use "mp_equipment_reset_rounds 1" cvar so that every round, all player equipments get reset, and the map gives all players necessary weapons to play in it. for example, awp_lego_2 map gives players an AWP, a deagle and a knife. if you use this cvar, equipment saved at the end of the round will be removed from all alive players, and the map will give them a brand new set of AWP+deagle+knife (which is the intended way of playing maps like these).

Solution B: if the map you're using uses game_player_equip entity to give players a knife at the round start, AND you do not want players equipment to reset at round start (i.e. let players save weapons), then you cannot use the cvar I mentioned in 1-A. you should either remove the game_player_equip entity that gives players a knife and recompile the map and use that version, or you should use Stripper to remove that game_player_equip entity from your map on-the-fly and keep using the same map version.



2. you have a plugin that gives players a knife for whatever reason

Solution: remove the plugin
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net

Last edited by kgns; 10-03-2020 at 09:18.
kgns 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 06:35.


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