AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag] (https://forums.alliedmods.net/showthread.php?t=298770)

kgns 06-22-2017 09:09

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

This plugin USED TO get your GSLT (token) banned!
Valve stopped banning GSLT (token) a long time ago for some reason

Description
This plugin allows you to;
  • Use any knife that is available inside CS:GO environment
  • Apply any skin that is available inside CS:GO environment (including new cases' skins)
  • Change the wear/float value of your skins
  • Enable/Disable StatTrak technology on your weapons and knives
  • Add name tags to your weapons and knives (with color options)

CVars
You can modify the CVars below in cfg/sourcemod/weapons.cfg file
  • sm_weapons_db_connection - Database connection name in databases.cfg to use
    Default: "storage-local"
  • sm_weapons_table_prefix - Prefix for database table (example: "xyz_")
    Default: ""
  • sm_weapons_chat_prefix - Prefix for chat messages
    Default: "[oyunhost.net]"
  • sm_weapons_knife_stattrak_mode - 0: All knives show the same StatTrak counter (total knife kills) 1: Each type of knife shows its own separate StatTrak counter
    Default: "0"
  • sm_weapons_enable_float - Enable/Disable weapon float options
    Default: "1"
  • sm_weapons_enable_nametag - Enable/Disable name tag options
    Default: "1"
  • sm_weapons_enable_stattrak - Enable/Disable StatTrak options
    Default: "1"
  • NEW sm_weapons_enable_seed - Enable/Disable skin seed options
    Default: "1"
  • sm_weapons_float_increment_size - Increase/Decrease by value for weapon float
    Default: "0.05"
  • sm_weapons_enable_overwrite - Enable/Disable players overwriting other players' weapons (picked up from the ground) by using !ws command
    Default: "1"
  • sm_weapons_grace_period - Grace period in terms of seconds counted after round start for allowing the use of !ws command. 0 means no restrictions
    Default: "0"
  • sm_weapons_inactive_days - Number of days before a player (SteamID) is marked as inactive and his data is deleted. (0 or any negative value to disable deleting)
    Default: "30"

Requirements
Installation
  • Use this without a GSLT token (LAN server), or use a token service for your servers, or your account will be banned from operating game servers, and a month cooldown from playing the game.
  • Edit csgo/addons/sourcemod/configs/core.cfg => Change "FollowCSGOServerGuidelines" "yes" to "no"
  • Install PTaH 1.1.0+ (DOWNLOAD PTaH)
  • Copy the folder structure to your gameserver.
  • (OPTIONAL) If you want to use MySQL instead of SQLite (storage-local), edit addons/sourcemod/configs/databases.cfg file and add the MySQL db connection details under "weapons" title, then change "sm_weapons_db_connection" cvar inside cfg/sourcemod/weapons.cfg file to "weapons"
  • Restart server.

Notes
  • StatTrak counts do not apply immediately after a kill, it will refresh when you get a new weapon.
  • No options for non-premium/vip usage restriction will be added. Do not request it, do it yourself if you want to.
  • I've coded a small utility in java to parse game files to create skins config file to be used with this plugin. You can find the source and executable here. If there happens an update with new skins/cases added, you can use this tool to create new config files in every language and use new skins from that update.

Screenshots
Changelog
  • v1.5.0 (20 November 2019)
    - Operation Shattered Web skins and knives are added
    - Changed database structure migration logic
  • v1.4.2 (19 October 2019)
    - Database fixes for SQLite users
    - Chinese translation update by Roy47Zhang
  • v1.4.1 (19 October 2019)
    - Added CS20 case skins and knife
    - Added P250 X-Ray
    - Added seed options for skins per weapon/knife (thanks to Shane1390)
  • v1.4.0 (27 July 2019)
    - Simplified Chinese translation added by LemonPAKA, later improved by Roy47Zhang
    - PTaH version 1.1.0 support (by komashchenko)
  • v1.3.3 (14 March 2019)
    - Added Prisma Case skins
  • v1.3.2 (9 December 2018)
    - Apply deathmatch fix for only deathmatch servers as WeaponCanUse hook can cause crashes. Deathmatch servers are untested atm
  • v1.3.1 (7 December 2018)
    - Danger Zone Case skins are added
    - Small fix for deathmatch server owners
  • v1.3.0 (12 October 2018)
    - MP5-SD weapon added
    - 2018 Inferno Collection and 2018 Nuke Collection skins are added to English and Turkish config files (copy the new skins from English files or generate them yourself using CSGOItemParserForWeaponsPlugin)
  • v1.2.0 (3 August 2018)
    - Config update for Horizon Case
    - Code update to support 4 new knives released within Horizon Case
    - Removed colored name tags until further notice
  • v1.1.2 (15 February 2018)
    - Updated config files for the newly released Clutch Case
    - Added a cvar to automatically remove inactive player data from the database. Set 0 to disable it. After you update the plugin, every player in your database will be marked as last seen at the time of the update. This means, auto deletion will be effective X (cvar) days after you update the plugin.
    - Small tweaks to grace period handling
    - Plugin now ignores golden knife. This means that if a player with a custom knife selected, receives a golden knife (weapon_knifegg), golden knife will be untouched i.e. players knife settings won't be applied to it.
    - Updated weapon skin translations with the latest game files
  • v1.1.1 (16 September 2017)
    - Fixed the bug causing wear/float settings to not work
    - Menus will now close when the grace period ends every round if enabled
    - Chat commands will not be shown in chat to avoid unnecessary spam
    - Updated French translation by Cripix
  • v1.1.0 (15 September 2017)
    - Changed nametag system, you don't use !nametag command now, but use the menus you get by using !ws command. Nametags won't be shown on chat while setting them.
    - Small stability improvements
    - Added a cvar to restrict the use of !ws command after X seconds into every round
    - Added a cvar to enable/disable overwriting !ws information of a weapon that was dropped by another player
    - Added new Spectrum 2 Case skin configs
  • v1.0.11 (04 September 2017)
    - PTaH 1.0.7 integration
  • v1.0.9 (29 July 2017)
    - Small bug fix for disabling skin options of default knives
  • v1.0.8 (25 July 2017)
    - Reverted a commit for DeathMatch servers
    - pt and pt_p translations update by SnowHP
  • v1.0.7 (19 July 2017)
    - Fixed DB connection handling
    - Efficiency improvements
    - Polish translation added thanks to styllek & Nevvy
    - Hungarian translation added thanks to wasyady
  • v1.0.6 (28 June 2017)
    - Fixed remembering reserve ammo of weapons on skin change
    - !nametag spam control
    - Removed knife pickup hook, as it was causing server crashes
  • v1.0.5 (27 June 2017)
    - Fix for players not being able to pickup dropped knives generated by this plugin (to be used with mp_drop_knife_enable cvar)
    - Fix for players with legit non-default knives having double knives when using the plugin
  • v1.0.4 (25 June 2017)
    - Added Russian translation provided by Reswero
  • v1.0.3 (24 June 2017)
    - Fixed a bug with ConVar handling, which made MySQL usage a little pain in the ass
    - Added Portuguese translation provided by ShutDowN
  • v1.0.2 (23 June 2017)
    - Fixed a bug reported here
    - Added French translation provided by Cripix
    - Added SQLite support (read installation notes please)
  • v1.0.1 (21 June 2017)
    - Fixed knife model bug
    - Increased MAX_LANG constant
    - Removed first_seen column from db
  • v1.0.0 (21 June 2017)
    - First release

Links

BombaciMulayim 06-22-2017 09:16

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Pride of the Turks
thanks!

MithatGuner 06-22-2017 10:15

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Good Job !

Czar_ 06-22-2017 12:24

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Oh wow, nice release!

EDIT: Tested and works great :D

vortex. 06-22-2017 13:44

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Nice release! But this is not allowed here.

kgns 06-22-2017 14:01

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Quote:

Originally Posted by vortex. (Post 2530718)
Nice release! But this is not allowed here.

it is allowed, under "Unapproved Plugins", and we are already there

kgns 06-22-2017 15:10

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
https://forums.alliedmods.net/showthread.php?t=294983 intact (thread owner himself deleted the download)
https://forums.alliedmods.net/showthread.php?t=263832 intact
https://forums.alliedmods.net/showthread.php?t=249900 intact
https://forums.alliedmods.net/showthread.php?t=288943 intact

I don't see a reason for deletion or moving to trash, since this is what Unapproved Plugins section is for. On top of that, you cannot govern github, so the repository will be there whatever happens.

Can the reason you took the time and searched for threads that were locked and moved be that you are selling a plugin that basically does what my free plugin does (maybe less) for $?

Cripix 06-22-2017 17:13

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
1 Attachment(s)
French Translate

Nice plugin :grrr:

szogun 06-22-2017 18:04

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
You did a great job.

06/23/2017 - 00:19:34: [SM] Blaming: weapons.smx
L 06/23/2017 - 00:19:34: [SM] Call stack trace:
L 06/23/2017 - 00:19:34: [SM] [0] Format
L 06/23/2017 - 00:19:34: [SM] [1] Line 533, weapons/menus.sp::CreateMainMenu
L 06/23/2017 - 00:19:34: [SM] [2] Line 89, weapons.sp::CommandWeaponSkins

kgns 06-22-2017 19:53

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Quote:

Originally Posted by szogun (Post 2530806)
You did a great job.

06/23/2017 - 00:19:34: [SM] Blaming: weapons.smx
L 06/23/2017 - 00:19:34: [SM] Call stack trace:
L 06/23/2017 - 00:19:34: [SM] [0] Format
L 06/23/2017 - 00:19:34: [SM] [1] Line 533, weapons/menus.sp::CreateMainMenu
L 06/23/2017 - 00:19:34: [SM] [2] Line 89, weapons.sp::CommandWeaponSkins

hmm i replicated this issue by giving myself a taser and then removing my knife, or removing everything, taking zeus first then the knife (or without having any knife). was that the case with you too? ill fix this shortly


All times are GMT -4. The time now is 08:36.

Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.