Raised This Month: $170 Target: $400
 42% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Plugin ID:
5669
Plugin Version:
1.2.0
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    https://www.mail-archive.com/[email protected]/msg11235.html
    Old 06-22-2017 , 08:09   [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag]
    Reply With Quote #1

    [CSGO] Weapon & Knives

    This plugin will get your GSLT (token) banned!

    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"
    • 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.0.8 (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
    Hall of Shame
    • prooyun.net, a pathetic third-class gaming server provider in Turkey (TR).
    • Added their website name to the menu title as if there was an advertisement before...
    • Added a fake version in the menu title, like they coded it.


    Changelog
    • 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
    __________________

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

    Last edited by kgns; 08-03-2018 at 05:01. Reason: horizon case skins
    kgns is offline
    BombaciMulayim
    Junior Member
    Join Date: Jan 2017
    Old 06-22-2017 , 08:16   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #2

    Pride of the Turks
    thanks!

    Last edited by BombaciMulayim; 06-23-2017 at 09:57. Reason: tested
    BombaciMulayim is offline
    MithatGuner
    Member
    Join Date: Sep 2016
    Location: Turkey
    Old 06-22-2017 , 09:15   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #3

    Good Job !
    MithatGuner is offline
    Czar_
    Senior Member
    Join Date: Nov 2016
    Location: Moms Basement
    Old 06-22-2017 , 11:24   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #4

    Oh wow, nice release!

    EDIT: Tested and works great
    __________________

    Last edited by Czar_; 06-22-2017 at 12:37.
    Czar_ is offline
    vortex.
    AlliedModders Donor
    Join Date: Jan 2017
    Location: OnGameFrame()
    Old 06-22-2017 , 12:44   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #5

    Nice release! But this is not allowed here.
    __________________
    vortex. is offline
    kgns
    Senior Member
    Join Date: May 2017
    Location: Istanbul, Turkey
    Old 06-22-2017 , 13:01   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #6

    Quote:
    Originally Posted by vortex. View Post
    Nice release! But this is not allowed here.
    it is allowed, under "Unapproved Plugins", and we are already there
    kgns is offline
    kgns
    Senior Member
    Join Date: May 2017
    Location: Istanbul, Turkey
    Old 06-22-2017 , 14:10   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #7

    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 $?

    Last edited by kgns; 06-22-2017 at 14:13.
    kgns is offline
    kgns
    Senior Member
    Join Date: May 2017
    Location: Istanbul, Turkey
    Old 06-22-2017 , 14:42   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #8



    id like to say this in public too, no problem, you can use my code in your private plugins and try to sell them. if people are too ignorant to fall for that, i couldn't care less when they are scammed.

    also, "thanks for the code" coming from a "Veteran SM scripter" is always welcomed haha
    kgns is offline
    Cripix
    Senior Member
    Join Date: Sep 2016
    Location: French, Bordeaux
    Old 06-22-2017 , 16:13   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #9

    French Translate

    Nice plugin
    Attached Files
    File Type: txt weapons.phrases.txt (6.5 KB, 139 views)
    __________________
    My jailbreak Server :
    Cripix is offline
    szogun
    Senior Member
    Join Date: Apr 2016
    Old 06-22-2017 , 17:04   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
    Reply With Quote #10

    You did a great job.

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

    Last edited by szogun; 06-22-2017 at 18:25.
    szogun is online now
    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 05:33.


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