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

szogun 06-23-2017 04:21

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

Originally Posted by kgns (Post 2530821)
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


I do not understand, you can describe more what you mean

SpicyGamers 06-23-2017 04:41

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

KnoXviLLe 06-23-2017 08:08

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Thanks for share hades script.

kgns 06-23-2017 15:28

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

Originally Posted by KnoXviLLe (Post 2530924)
Thanks for share hades script.

are you referring to http://hadesownage.com/plugin/11 ? i didnt understand what you meant by hades script at first, then a friend of mine figured it out.

if you think this is hades' plugin, make sure to notify him about this and let him check if that is the case (which is not). otherwise do not accuse people for things you have no idea of like a little piece of shit. thanks

Sw33T3R 06-23-2017 15:49

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
I love u man, how i can configure db?

SpicyGamers 06-23-2017 16:26

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

I have a suggestion for the plugin, why not enter in the menu of !ws, a group to choose all the skins of the game.

kgns 06-23-2017 20:36

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
v1.0.2 released, check the changelog on first post.

IMPORTANT: if you were using MySQL and want to upgrade to v1.0.2, you will have to edit cfg/sourcemod/weapons.cfg file, and change "sm_weapons_db_connection" cvar from "storage-local" to "weapons" or whatever name you have in your addons/sourcemod/configs/databases.cfg file for MySQL connection details

Quote:

Originally Posted by SpicyGamers (Post 2531101)
:3

I have a suggestion for the plugin, why not enter in the menu of !ws, a group to choose all the skins of the game.

i have no idea what you tried to say

Quote:

Originally Posted by Sw33T3R (Post 2531090)
I love u man, how i can configure db?

what do you mean by configure?

SpicyGamers 06-24-2017 03:52

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
My suggestion is to put a category in the menu of the ws, you can choose any skin in the game and not be solely the skins in the weapons we choose. For example, I choose a "karambit ", and you can choose it for example the skin "howl" the M4A4. It's like a menu of all the skins.

(sorry for my english xD)

kgns 06-24-2017 04:15

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

Originally Posted by SpicyGamers (Post 2531253)
My suggestion is to put a category in the menu of the ws, you can choose any skin in the game and not be solely the skins in the weapons we choose. For example, I choose a "karambit ", and you can choose it for example the skin "howl" the M4A4. It's like a menu of all the skins.

(sorry for my english xD)

now i understood what you wanted to say, but no i dont like that idea, i like how every weapon only contains skins made for them.

but all in all this can be configured with the .cfg files, you can do what you want by editing/modifying them yourself if you want

kgns 06-24-2017 06:51

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
there was a problem with the database connection cvar handling, it was not using the one you changed in the cfg/sourcemod/weapons.cfg files, so if you wanted to use a MySQL connection, it would default to SQLite one. that was fixed in 1.0.3, first post updated. let me know if it works without problems

szogun 06-24-2017 07:26

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

L 06/24/2017 - 12:28:44: [SM] Exception reported: Menu handle 0 is invalid (error 4)
L 06/24/2017 - 12:28:44: [SM] Blaming: weapons.smx
L 06/24/2017 - 12:28:44: [SM] Call stack trace:
L 06/24/2017 - 12:28:44: [SM]  [0] Menu.AddItem
L 06/24/2017 - 12:28:44: [SM]  [1] Line 66, weapons/config.sp::ReadConfig
L 06/24/2017 - 12:28:44: [SM]  [2] Line 85, weapons.sp::OnConfigsExecuted

Code:

L 06/24/2017 - 12:25:09: [SM] Exception reported: Menu handle 0 is invalid (error 4)
L 06/24/2017 - 12:25:09: [SM] Blaming: weapons.smx
L 06/24/2017 - 12:25:09: [SM] Call stack trace:
L 06/24/2017 - 12:25:09: [SM]  [0] Menu.Display
L 06/24/2017 - 12:25:09: [SM]  [1] Line 87, weapons/menus.sp::WeaponMenuHandler


kgns 06-24-2017 09:51

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

Originally Posted by szogun (Post 2531290)
Code:

L 06/24/2017 - 12:28:44: [SM] Exception reported: Menu handle 0 is invalid (error 4)
L 06/24/2017 - 12:28:44: [SM] Blaming: weapons.smx
L 06/24/2017 - 12:28:44: [SM] Call stack trace:
L 06/24/2017 - 12:28:44: [SM]  [0] Menu.AddItem
L 06/24/2017 - 12:28:44: [SM]  [1] Line 66, weapons/config.sp::ReadConfig
L 06/24/2017 - 12:28:44: [SM]  [2] Line 85, weapons.sp::OnConfigsExecuted

Code:

L 06/24/2017 - 12:25:09: [SM] Exception reported: Menu handle 0 is invalid (error 4)
L 06/24/2017 - 12:25:09: [SM] Blaming: weapons.smx
L 06/24/2017 - 12:25:09: [SM] Call stack trace:
L 06/24/2017 - 12:25:09: [SM]  [0] Menu.Display
L 06/24/2017 - 12:25:09: [SM]  [1] Line 87, weapons/menus.sp::WeaponMenuHandler


you have edited the source code;

Code:

L 06/24/2017 - 12:28:44: [SM]  [2] Line 85, weapons.sp::OnConfigsExecuted
should be line 84 not 85

and the error you get cannot happen with the untouched release, because there is a:
Code:

menuWeapons[langCounter][k] = new Menu(WeaponsMenuHandler, MENU_ACTIONS_DEFAULT|MenuAction_DisplayItem);
right before the lines you get the error from. so menu handle will never be invalid unless you are getting oom or something.

use the plugin without modifying the code and test it again

Sw33T3R 06-24-2017 10:05

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
kgns
Can you fix it?
BTW where can i change minimal float value?
0.00000001 is better than 0.0
http://i.imgur.com/7tQ5SWa.png
Plugins
Spoiler



Code:

public int FloatMenuHandler(Menu menu, MenuAction action, int client, int selection)
{
        switch(action)
        {
                case MenuAction_Select:
                {
                        if(IsClientInGame(client))
                        {
                                char buffer[30];
                                menu.GetItem(selection, buffer, sizeof(buffer));
                                if(StrEqual(buffer, "increase"))
                                {
                                        g_fFloatValue[client][g_iIndex[client]] = g_fFloatValue[client][g_iIndex[client]] - g_fFloatIncrementSize;
                                        if(g_fFloatValue[client][g_iIndex[client]] < 0.0)
                                        {
                                                g_fFloatValue[client][g_iIndex[client]] = 0.0; <--- This is minimal float value?
                                        }


szogun 06-24-2017 11:40

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

Originally Posted by kgns (Post 2531315)
you have edited the source code;

Code:

L 06/24/2017 - 12:28:44: [SM]  [2] Line 85, weapons.sp::OnConfigsExecuted
should be line 84 not 85

and the error you get cannot happen with the untouched release, because there is a:
Code:

menuWeapons[langCounter][k] = new Menu(WeaponsMenuHandler, MENU_ACTIONS_DEFAULT|MenuAction_DisplayItem);
right before the lines you get the error from. so menu handle will never be invalid unless you are getting oom or something.

use the plugin without modifying the code and test it again

Only what I changed
PHP Code:

    RegConsoleCmd("buyammo1"CommandWeaponSkins);
    
RegConsoleCmd("sm_ws"CommandWeaponSkins);
    
RegConsoleCmd("sm_skin"CommandWeaponSkins);
    
RegConsoleCmd("sm_skins"CommandWeaponSkins);
    
RegConsoleCmd("buyammo2"CommandKnife);
    
RegConsoleCmd("sm_knife"CommandKnife);
    
RegConsoleCmd("sm_nametag"CommandNameTag);
    
RegConsoleCmd("sm_wslang"CommandWSLang);
    
//RegConsoleCmd("sm_reportdata", CommandReportData); 


kgns 06-25-2017 11:52

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

Originally Posted by Sw33T3R (Post 2531317)
kgns
Can you fix it?
BTW where can i change minimal float value?
0.00000001 is better than 0.0
Plugins
Spoiler



Code:

public int FloatMenuHandler(Menu menu, MenuAction action, int client, int selection)
{
        switch(action)
        {
                case MenuAction_Select:
                {
                        if(IsClientInGame(client))
                        {
                                char buffer[30];
                                menu.GetItem(selection, buffer, sizeof(buffer));
                                if(StrEqual(buffer, "increase"))
                                {
                                        g_fFloatValue[client][g_iIndex[client]] = g_fFloatValue[client][g_iIndex[client]] - g_fFloatIncrementSize;
                                        if(g_fFloatValue[client][g_iIndex[client]] < 0.0)
                                        {
                                                g_fFloatValue[client][g_iIndex[client]] = 0.0; <--- This is minimal float value?
                                        }


PHP Code:

SetEntPropFloat(entityProp_Send"m_flFallbackWear"g_iEnableFloat == || g_fFloatValue[client][index] == 0.0 0.000001 g_fFloatValue[client][index] == 1.0 0.999999 g_fFloatValue[client][index]); 

this line of code, makes sure the float is never set as 0.0 or 1.0. so it should be working without a problem.

did you recompile the source code yourself? if you did can you tell me what the sourcemod compiler version you see is when you compile it?

Quote:

Originally Posted by szogun (Post 2531335)
Only what I changed
PHP Code:

    RegConsoleCmd("buyammo1"CommandWeaponSkins);
    
RegConsoleCmd("sm_ws"CommandWeaponSkins);
    
RegConsoleCmd("sm_skin"CommandWeaponSkins);
    
RegConsoleCmd("sm_skins"CommandWeaponSkins);
    
RegConsoleCmd("buyammo2"CommandKnife);
    
RegConsoleCmd("sm_knife"CommandKnife);
    
RegConsoleCmd("sm_nametag"CommandNameTag);
    
RegConsoleCmd("sm_wslang"CommandWSLang);
    
//RegConsoleCmd("sm_reportdata", CommandReportData); 


can you tell me what the sourcemod compiler version you see is when you compile it? another forum user PMed me with the same error, and he said its working if he uses the compiled smx from github, but he gets the error if he himself compiles the code. it might be due to the version of the compiler, because it is an absurd error not everyone gets (certainly i don't).

kgns 06-25-2017 14:17

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

Originally Posted by kgns (Post 2531622)
can you tell me what the sourcemod compiler version you see is when you compile it? another forum user PMed me with the same error, and he said its working if he uses the compiled smx from github, but he gets the error if he himself compiles the code. it might be due to the version of the compiler, because it is an absurd error not everyone gets (certainly i don't).

user who contacted me thru PM told me his SourcePawn Compiler's version was 1.7.3-dev+5280. this is probably the case, use the latest version of the compiler, or any 1.8.x version. there's no bug in that piece of code.

kgns 06-25-2017 14:35

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
added Russian translation thanks to Reswero, check first post, new version 1.0.4 (just for Russian translation, if you don't need it, you don't have to upgrade over 1.0.3)

Czar_ 06-25-2017 16:07

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
Any way to change the seed of skins?

kgns 06-25-2017 17:08

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
you mean specifying the seed skin by skin instead of random?

szogun 06-25-2017 17:39

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

Originally Posted by kgns (Post 2531622)
PHP Code:

SetEntPropFloat(entityProp_Send"m_flFallbackWear"g_iEnableFloat == || g_fFloatValue[client][index] == 0.0 0.000001 g_fFloatValue[client][index] == 1.0 0.999999 g_fFloatValue[client][index]); 

this line of code, makes sure the float is never set as 0.0 or 1.0. so it should be working without a problem.

did you recompile the source code yourself? if you did can you tell me what the sourcemod compiler version you see is when you compile it?



can you tell me what the sourcemod compiler version you see is when you compile it? another forum user PMed me with the same error, and he said its working if he uses the compiled smx from github, but he gets the error if he himself compiles the code. it might be due to the version of the compiler, because it is an absurd error not everyone gets (certainly i don't).

sm compiled 1.8 - Exactly which version I can not tell you because I have been using it for a long time

kgns 06-25-2017 18:46

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

Originally Posted by szogun (Post 2531692)
sm compiled 1.8 - Exactly which version I can not tell you because I have been using it for a long time

my compiler version is SourcePawn Compiler 1.8.0.5981 and since the stock .smx file from the repository works without errors, and the one you modify and compile doesn't work, that is your problem to solve. all i can do is to give you possible reasons. and other than that nothing comes to my mind, you need to solve this on your own.

Czar_ 06-25-2017 22:15

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

Originally Posted by kgns (Post 2531688)
you mean specifying the seed skin by skin instead of random?

Yes

8guawong 06-25-2017 23:59

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
should add gloves as well

kgns 06-26-2017 02:01

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

Originally Posted by Czar_ (Post 2531720)
Yes

if you can list all the available seeds of all available skins on all available weapons, i can integrate them into the configs and have a selection menu for them easily.

Quote:

Originally Posted by 8guawong (Post 2531728)
should add gloves as well

gloves are a totally separate thing, they shouldnt be included in this plugin as there are nothing common between gloves and weapons to merge them together. some people may want to use one of them and not the other.

also whats wrong with ac gloves plugin? i havent really digged into gloves side of things, if there are some missing features that are not free or open source, i may look into that. otherwise why create another clone?

8guawong 06-26-2017 02:04

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

Originally Posted by kgns (Post 2531737)
if you can list all the available seeds of all available skins on all available weapons, i can integrate them into the configs and have a selection menu for them easily.



gloves are a totally separate thing, they shouldnt be included in this plugin as there are nothing common between gloves and weapons to merge them together. some people may want to use one of them and not the other.

also whats wrong with ac gloves plugin? i havent really digged into gloves side of things, if there are some missing features that are not free or open source, i may look into that. otherwise why create another clone?

what is the ac gloves plugin? link?
i'm talking bout offical gloves from valve
and currently theres no free open source version of this type of plugin

vortex. 06-26-2017 05:48

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
:) Valve Gloves plugin free with source. You can search.

And AC GLOVES a free glove plugin.

http://lmgtfy.com/?q=ac+gloves+sourcemod

Sw33T3R 06-26-2017 06:01

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
@8guawong
Ac Gloves
Code:

https://github.com/diller110/AC_Gloves
You need a russian vip plugin to work :/, maybe author changed it

@kgns
I used you'r smx from github
Menu is glitched when player have a "real knife equiped"
https://youtu.be/X-I2MRClj0M

8guawong 06-26-2017 08:07

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
cool didn't know about this AC Gloves plugin XD

kgns 06-26-2017 09:15

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

Originally Posted by Sw33T3R (Post 2531772)
@8guawong
Ac Gloves
Code:

https://github.com/diller110/AC_Gloves
You need a russian vip plugin to work :/, maybe author changed it

Quote:

Originally Posted by 8guawong (Post 2531794)
cool didn't know about this AC Gloves plugin XD

you can use this include file, this utility, and remove "#include <vip>" line in "gloves_oop.sp" to compile it yourself btw

Quote:

Originally Posted by Sw33T3R (Post 2531772)
@kgns
I used you'r smx from github
Menu is glitched when player have a "real knife equiped"
https://youtu.be/X-I2MRClj0M

i myself have a karambit too, and coded the plugin testing it myself, never came across to this bug, here is a video of me trying to reproduce what you have:
https://youtu.be/UHIZ1TGriI0

although i have quite many plugins installed for our jailbreak server, i'll try to try it with only this plugin loaded

kgns 06-26-2017 09:30

Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float management)
 
ive reproduced the problem with only this plugin loaded, will solve it soon. have my parents come over for 2 days, so i wouldnt expect it by then :) shouldnt be a deal breaker though


All times are GMT -4. The time now is 02:19.

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