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

[CS:GO] 2/23 New update - *4096 model precache table*


Post New Thread Reply   
 
Thread Tools Display Modes
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 02-23-2016 , 23:12   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #31

Quote:
Originally Posted by psychonic View Post
Bans are by GSLTs, which are registered to your Steam account either by a web api key or on the new registration page. Accounts ties to a web api key used for workshop, if different, aren't touched.

Using GiveNamedItem with any of the knifes besides weapon_knife and weapon_knifegg will trigger the detection.
Just to be safe since you didn't explicity mention it - but would giving weapon_knife_t be safe?

The reasoning is that the default T and CT knives are different - but giving a weapon_knife will always cause a player (with the default knife equipped) to get the CT knife. I was considering adjusting my plugins to give a weapon_knife_t if the player was on terrorist.
__________________

Last edited by splewis; 02-23-2016 at 23:12.
splewis is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 02-23-2016 , 23:22   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #32

Quote:
Originally Posted by psychonic View Post
Bans are by GSLTs, which are registered to your Steam account either by a web api key or on the new registration page. Accounts ties to a web api key used for workshop, if different, aren't touched.

Using GiveNamedItem with any of the knifes besides weapon_knife and weapon_knifegg will trigger the detection.
I was using a completely different steam account with CS:GO + a different phone number for my new API keys. I also wasn't spawning any of their market items (not even "weapon_knifegg" as I'm sure people saw me crying about during the last ban wave).

This is an old plugin I made pretty much when skins came out that would apply your skin to weapons the map spawned. I was still running the plugin until I finally removed it tonight in hopes it was causing the bans. Maybe the way it quickly swapped out the map weapon for your own was causing it?

PHP Code:
#include <sourcemod>
#include <sdkhooks>
#include <sdktools_functions>
#include <sdktools_entinput>
#include <cstrike>

#pragma semicolon 1

new const String:PLUGIN_NAME[] = "Weapon skin fix";
new const 
String:PLUGIN_VERSION[] = "2.3";

public 
Plugin:myinfo =
{
    
name PLUGIN_NAME,
    
author "hlstriker",
    
description "Allows players to use their skins on map spawned weapons.",
    
version PLUGIN_VERSION,
    
url "www.swoobles.com"
}

#define MAX_WEAPON_ENT_NAME_LEN        32

#define ITEM_DEF_INDEX_M4A1        60
#define ITEM_DEF_INDEX_USP        61

enum
{
    
WEAPON_TEAM_ANY 0,
    
WEAPON_TEAM_T CS_TEAM_T,
    
WEAPON_TEAM_CT CS_TEAM_CT
};

new 
Handle:g_aWeapons;
enum _:WeaponData
{
    
String:WEAPON_ENT_NAME[MAX_WEAPON_ENT_NAME_LEN],
    
WEAPON_TEAM_NUMBER
};


public 
OnPluginStart()
{
    
CreateConVar("map_weapon_skins_ver"PLUGIN_VERSIONPLUGIN_NAMEFCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_NOTIFY|FCVAR_PRINTABLEONLY);
    
    
g_aWeapons CreateArray(WeaponData);
    
AddWeaponsToArray();
    
    for(new 
iClient=1iClient<=MaxClientsiClient++)
    {
        if(
IsClientInGame(iClient))
            
PlayerHooks(iClient);
    }
}

public 
OnClientPutInServer(iClient)
{
    
PlayerHooks(iClient);
}

PlayerHooks(iClient)
{
    if(
IsFakeClient(iClient))
        return;
    
    
SDKHook(iClientSDKHook_WeaponEquipPostOnWeaponEquip_Post);
}

public 
OnWeaponEquip_Post(iClientiWeapon)
{
    if(
iWeapon || !IsValidEntity(iWeapon))
        return;
    
    if(!
GetEntProp(iWeaponProp_Data"m_iHammerID"))
        return;
    
    static 
String:szClassName[MAX_WEAPON_ENT_NAME_LEN];
    if(!
GetEntityClassname(iWeaponszClassNamesizeof(szClassName)))
        return;
    
    
SetEntProp(iWeaponProp_Data"m_iHammerID"0);
    new 
iItemDefinitionIndex GetEntProp(iWeaponProp_Send"m_iItemDefinitionIndex");
    
    switch(
iItemDefinitionIndex)
    {
        case 
ITEM_DEF_INDEX_M4A1strcopy(szClassNamesizeof(szClassName), "weapon_m4a1_silencer");
        case 
ITEM_DEF_INDEX_USPstrcopy(szClassNamesizeof(szClassName), "weapon_usp_silencer");
    }
    
    new 
iActiveWeapon GetEntPropEnt(iClientProp_Send"m_hActiveWeapon");
    if(
iActiveWeapon == iWeapon)
        
SetEntPropEnt(iClientProp_Send"m_hActiveWeapon", -1);
    
    
RemovePlayerItem(iClientiWeapon);
    
    if(
GiveWeapon(iClientszClassNameiItemDefinitionIndex))
    {
        
AcceptEntityInput(iWeapon"Kill");
    }
    else
    {
        
EquipPlayerWeapon(iClientiWeapon);
        
        if(
iActiveWeapon == iWeapon)
            
SetEntPropEnt(iClientProp_Send"m_hActiveWeapon"iWeapon);
    }
}

bool:GiveWeapon(iClient, const String:szWeaponName[], iItemDefinitionIndex)
{
    new 
iIndex FindStringInArray(g_aWeaponsszWeaponName);
    if(
iIndex == -1)
        return 
false;
    
    static 
eWeaponData[WeaponData];
    
GetArrayArray(g_aWeaponsiIndexeWeaponData);
    
    new 
iClientTeam GetClientTeam(iClient);
    if(
eWeaponData[WEAPON_TEAM_NUMBER] != WEAPON_TEAM_ANY)
        
SetEntProp(iClientProp_Send"m_iTeamNum"eWeaponData[WEAPON_TEAM_NUMBER]);
    
    new 
iWeapon GivePlayerItem(iClienteWeaponData[WEAPON_ENT_NAME]);
    
SetEntProp(iClientProp_Send"m_iTeamNum"iClientTeam);
    
    
RemovePlayerItem(iClientiWeapon);
    
SetEntProp(iWeaponProp_Send"m_iItemDefinitionIndex"iItemDefinitionIndex);
    
EquipPlayerWeapon(iClientiWeapon);
    
    return 
true;
}

AddWeaponsToArray()
{
    
// Knife
    
AddWeaponToArray("weapon_knife");
    
    
// Pistols
    
AddWeaponToArray("weapon_glock"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_hkp2000"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_usp_silencer"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_elite");
    
AddWeaponToArray("weapon_p250");
    
AddWeaponToArray("weapon_cz75a");
    
AddWeaponToArray("weapon_fiveseven"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_tec9"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_deagle");
    
    
// Heavy
    
AddWeaponToArray("weapon_nova");
    
AddWeaponToArray("weapon_xm1014");
    
AddWeaponToArray("weapon_sawedoff"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_mag7"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_m249");
    
AddWeaponToArray("weapon_negev");
    
    
// SMGs
    
AddWeaponToArray("weapon_mac10"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_mp7");
    
AddWeaponToArray("weapon_mp9"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_ump45");
    
AddWeaponToArray("weapon_p90");
    
AddWeaponToArray("weapon_bizon");
    
    
// Rifles
    
AddWeaponToArray("weapon_galilar"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_famas"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_ak47"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_m4a1"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_m4a1_silencer"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_ssg08");
    
AddWeaponToArray("weapon_sg556"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_aug"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_awp");
    
AddWeaponToArray("weapon_g3sg1"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_scar20"WEAPON_TEAM_CT);
}

AddWeaponToArray(const String:szWeaponEntName[], const iWeaponTeam=WEAPON_TEAM_ANY)
{
    
decl eWeaponData[WeaponData];
    
strcopy(eWeaponData[WEAPON_ENT_NAME], MAX_WEAPON_ENT_NAME_LENszWeaponEntName);
    
eWeaponData[WEAPON_TEAM_NUMBER] = iWeaponTeam;
    
    
PushArrayArray(g_aWeaponseWeaponData);

hlstriker is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 02-24-2016 , 00:05   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #33

My account and my servers has been banned by Valve.
I'm using custom weapon models in my server.

Spoiler
__________________

Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
I only read messages in Chinese and English.

GitHub | Discord:Kento#2118
rogeraabbccdd is offline
poel
Veteran Member
Join Date: Mar 2013
Old 02-24-2016 , 04:10   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #34

Quote:
Originally Posted by TheWho View Post
Hey,

so finally we get more precache limit


I want to say thks, but... valve is still shit. They have to fix more than 600 bugs so, just keep going.
poel is offline
Dragonidas
AlliedModders Donor
Join Date: Jun 2014
Old 02-24-2016 , 04:14   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #35

second ban from valve thx :*
__________________
Dragonidas is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-24-2016 , 07:48   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #36

Quote:
Originally Posted by hlstriker View Post
I was using a completely different steam account with CS:GO + a different phone number for my new API keys. I also wasn't spawning any of their market items (not even "weapon_knifegg" as I'm sure people saw me crying about during the last ban wave).

This is an old plugin I made pretty much when skins came out that would apply your skin to weapons the map spawned. I was still running the plugin until I finally removed it tonight in hopes it was causing the bans. Maybe the way it quickly swapped out the map weapon for your own was causing it?

PHP Code:
#include <sourcemod>
#include <sdkhooks>
#include <sdktools_functions>
#include <sdktools_entinput>
#include <cstrike>

#pragma semicolon 1

new const String:PLUGIN_NAME[] = "Weapon skin fix";
new const 
String:PLUGIN_VERSION[] = "2.3";

public 
Plugin:myinfo =
{
    
name PLUGIN_NAME,
    
author "hlstriker",
    
description "Allows players to use their skins on map spawned weapons.",
    
version PLUGIN_VERSION,
    
url "www.swoobles.com"
}

#define MAX_WEAPON_ENT_NAME_LEN        32

#define ITEM_DEF_INDEX_M4A1        60
#define ITEM_DEF_INDEX_USP        61

enum
{
    
WEAPON_TEAM_ANY 0,
    
WEAPON_TEAM_T CS_TEAM_T,
    
WEAPON_TEAM_CT CS_TEAM_CT
};

new 
Handle:g_aWeapons;
enum _:WeaponData
{
    
String:WEAPON_ENT_NAME[MAX_WEAPON_ENT_NAME_LEN],
    
WEAPON_TEAM_NUMBER
};


public 
OnPluginStart()
{
    
CreateConVar("map_weapon_skins_ver"PLUGIN_VERSIONPLUGIN_NAMEFCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_NOTIFY|FCVAR_PRINTABLEONLY);
    
    
g_aWeapons CreateArray(WeaponData);
    
AddWeaponsToArray();
    
    for(new 
iClient=1iClient<=MaxClientsiClient++)
    {
        if(
IsClientInGame(iClient))
            
PlayerHooks(iClient);
    }
}

public 
OnClientPutInServer(iClient)
{
    
PlayerHooks(iClient);
}

PlayerHooks(iClient)
{
    if(
IsFakeClient(iClient))
        return;
    
    
SDKHook(iClientSDKHook_WeaponEquipPostOnWeaponEquip_Post);
}

public 
OnWeaponEquip_Post(iClientiWeapon)
{
    if(
iWeapon || !IsValidEntity(iWeapon))
        return;
    
    if(!
GetEntProp(iWeaponProp_Data"m_iHammerID"))
        return;
    
    static 
String:szClassName[MAX_WEAPON_ENT_NAME_LEN];
    if(!
GetEntityClassname(iWeaponszClassNamesizeof(szClassName)))
        return;
    
    
SetEntProp(iWeaponProp_Data"m_iHammerID"0);
    new 
iItemDefinitionIndex GetEntProp(iWeaponProp_Send"m_iItemDefinitionIndex");
    
    switch(
iItemDefinitionIndex)
    {
        case 
ITEM_DEF_INDEX_M4A1strcopy(szClassNamesizeof(szClassName), "weapon_m4a1_silencer");
        case 
ITEM_DEF_INDEX_USPstrcopy(szClassNamesizeof(szClassName), "weapon_usp_silencer");
    }
    
    new 
iActiveWeapon GetEntPropEnt(iClientProp_Send"m_hActiveWeapon");
    if(
iActiveWeapon == iWeapon)
        
SetEntPropEnt(iClientProp_Send"m_hActiveWeapon", -1);
    
    
RemovePlayerItem(iClientiWeapon);
    
    if(
GiveWeapon(iClientszClassNameiItemDefinitionIndex))
    {
        
AcceptEntityInput(iWeapon"Kill");
    }
    else
    {
        
EquipPlayerWeapon(iClientiWeapon);
        
        if(
iActiveWeapon == iWeapon)
            
SetEntPropEnt(iClientProp_Send"m_hActiveWeapon"iWeapon);
    }
}

bool:GiveWeapon(iClient, const String:szWeaponName[], iItemDefinitionIndex)
{
    new 
iIndex FindStringInArray(g_aWeaponsszWeaponName);
    if(
iIndex == -1)
        return 
false;
    
    static 
eWeaponData[WeaponData];
    
GetArrayArray(g_aWeaponsiIndexeWeaponData);
    
    new 
iClientTeam GetClientTeam(iClient);
    if(
eWeaponData[WEAPON_TEAM_NUMBER] != WEAPON_TEAM_ANY)
        
SetEntProp(iClientProp_Send"m_iTeamNum"eWeaponData[WEAPON_TEAM_NUMBER]);
    
    new 
iWeapon GivePlayerItem(iClienteWeaponData[WEAPON_ENT_NAME]);
    
SetEntProp(iClientProp_Send"m_iTeamNum"iClientTeam);
    
    
RemovePlayerItem(iClientiWeapon);
    
SetEntProp(iWeaponProp_Send"m_iItemDefinitionIndex"iItemDefinitionIndex);
    
EquipPlayerWeapon(iClientiWeapon);
    
    return 
true;
}

AddWeaponsToArray()
{
    
// Knife
    
AddWeaponToArray("weapon_knife");
    
    
// Pistols
    
AddWeaponToArray("weapon_glock"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_hkp2000"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_usp_silencer"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_elite");
    
AddWeaponToArray("weapon_p250");
    
AddWeaponToArray("weapon_cz75a");
    
AddWeaponToArray("weapon_fiveseven"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_tec9"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_deagle");
    
    
// Heavy
    
AddWeaponToArray("weapon_nova");
    
AddWeaponToArray("weapon_xm1014");
    
AddWeaponToArray("weapon_sawedoff"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_mag7"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_m249");
    
AddWeaponToArray("weapon_negev");
    
    
// SMGs
    
AddWeaponToArray("weapon_mac10"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_mp7");
    
AddWeaponToArray("weapon_mp9"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_ump45");
    
AddWeaponToArray("weapon_p90");
    
AddWeaponToArray("weapon_bizon");
    
    
// Rifles
    
AddWeaponToArray("weapon_galilar"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_famas"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_ak47"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_m4a1"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_m4a1_silencer"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_ssg08");
    
AddWeaponToArray("weapon_sg556"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_aug"WEAPON_TEAM_CT);
    
AddWeaponToArray("weapon_awp");
    
AddWeaponToArray("weapon_g3sg1"WEAPON_TEAM_T);
    
AddWeaponToArray("weapon_scar20"WEAPON_TEAM_CT);
}

AddWeaponToArray(const String:szWeaponEntName[], const iWeaponTeam=WEAPON_TEAM_ANY)
{
    
decl eWeaponData[WeaponData];
    
strcopy(eWeaponData[WEAPON_ENT_NAME], MAX_WEAPON_ENT_NAME_LENszWeaponEntName);
    
eWeaponData[WEAPON_TEAM_NUMBER] = iWeaponTeam;
    
    
PushArrayArray(g_aWeaponseWeaponData);

Changing a weapon's item def index is likely what triggered the check. I will try to verify this later.
psychonic is offline
CaptainNervous
Senior Member
Join Date: Mar 2015
Location: World
Old 02-24-2016 , 07:54   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #37

Quote:
Originally Posted by rogeraabbccdd View Post
My account and my servers has been banned by Valve.
I'm using custom weapon models in my server.

Spoiler
I'm banned too using ck..
__________________
CaptainNervous is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-24-2016 , 09:39   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #38

Quote:
Originally Posted by CaptainNervous View Post
I'm banned too using ck..
I was also using a method of overlaying a model to a screen, but i dont think my ban is the cause because all i did was parent a prop_dynamic to the viewmodel.
However i do mess with definition index's due to the fact CreatEntityByName makes weapons act like a deagle on default.

Last edited by Mitchell; 02-24-2016 at 09:49.
Mitchell is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 02-24-2016 , 11:16   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #39

You guys know that, with sufficient pain and effort, you can just disassemble/decompile the client mac binary (which has debug symbols in it) and attempt to figure out the detection logic, right?

I'm not doing it since I don't own (or care about) csgo but for those of you who are pissed at it, that's one way to figure out how this black hole system works.

I would seriously not be surprised if the people who still are unbanned using weapon paints or knife givers have found a workaround to it just by inspecting the client binary.

Last edited by Potato Uno; 02-24-2016 at 11:19.
Potato Uno is offline
kossolax
AlliedModders Donor
Join Date: Jan 2008
Location: Belgium
Old 02-24-2016 , 11:18   Re: [CS:GO] 2/23 New update - *4096 model precache table*
Reply With Quote #40

So, anyone can confirm that changing a weapon into another custom model is still safe? I'm talking about zombie hands and stuff like this.
kossolax 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 09:47.


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