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

[CS:GO] Weapon Paints


Post New Thread Reply   
 
Thread Tools Display Modes
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 04-14-2015 , 19:32   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #361

Quote:
Originally Posted by parthi View Post
I have this error in sourcepawn, can u help me please ?

extra/multicolors.inc(6) : fatal error 180: cannot read from file: "multicolors/colors"
Not sure but I think you have to update colors.inc

https://forums.alliedmods.net/showthread.php?t=96831
Addicted. is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 04-15-2015 , 00:53   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #362

Quote:
Originally Posted by LittleShiT View Post
I did upload the updated translation file.
Still, menu doesn't show up
I am too now having this issue (menu not showing up), upgraded from version 1.6.2 (which it was working), now 1.6.4.

More importantly, I'm having a crash issue in conjunction with the gungame plugin I am running. No sourcemod error logs, and using -condebug results in nothing conclusive in console.log.

To reproduce this crash, finish the round, then swap a lot of weapons from the ground. Instant crash when new round is supposed to start. Does not happen when this plugin is not running. I uploaded a video of how it happens in case you are confused here: http://youtu.be/bOEvFjNjCb0

Minimal plugins running.
Code:
[SM] Listing 27 plugins:
  01 "Admin File Reader" (1.6.4-dev+4625) by AlliedModders LLC
  02 "Admin Help" (1.6.4-dev+4625) by AlliedModders LLC
  03 "Admin Menu" (1.6.4-dev+4625) by AlliedModders LLC
  04 "Anti-Flood" (1.6.4-dev+4625) by AlliedModders LLC
  05 "Basic Ban Commands" (1.6.4-dev+4625) by AlliedModders LLC
  06 "Basic Chat" (1.6.4-dev+4625) by AlliedModders LLC
  07 "Basic Comm Control" (1.6.4-dev+4625) by AlliedModders LLC
  08 "Basic Commands" (1.6.4-dev+4625) by AlliedModders LLC
  09 "Basic Info Triggers" (1.6.4-dev+4625) by AlliedModders LLC
  10 "Basic Votes" (1.6.4-dev+4625) by AlliedModders LLC
  11 "Client Preferences" (1.6.4-dev+4625) by AlliedModders LLC
  12 "SM CS:GO Weapon Paints" (1.6.4) by Franc1sco franug
  13 "Fun Commands" (1.6.4-dev+4625) by AlliedModders LLC
  14 "Fun Votes" (1.6.4-dev+4625) by AlliedModders LLC
  15 "Map configs" (1.2) by Berni
  16 "Nextmap" (1.6.4-dev+4625) by AlliedModders LLC
  17 "Player Commands" (1.6.4-dev+4625) by AlliedModders LLC
  18 "Reserved Slots" (1.6.4-dev+4625) by AlliedModders LLC
  19 "Sound Commands" (1.6.4-dev+4625) by AlliedModders LLC
  20 "GunGame:SM Config Reader" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  21 "GunGame:SM Winner Effects" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  22 "GunGame:SM" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  23 "GunGame:SM Bot Protection" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  24 "GunGame:SM Winner Logger" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  25 "GunGame:SM Stats" (1.2.16.0) by teame06-hat, Liam, Otstrel.ru Team
  26 <Failed> "Map Nominations" (1.6.4-dev+4625) by AlliedModders LLC
  27 "GunGame:SM Display Winner" (1.2.16.0) by bl4nk, Otstrel.ru Team
__________________
sneaK is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 04-15-2015 , 04:49   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #363

On my server there are quite a few players randomly crashing due to the plugin. Here is what my server is running:

PHP Code:
SourceMod Version Information:
             
SourceMod Version1.7.1-dev+5152
             SourcePawn Engine
SourcePawn 1.7jit-x86 (build 1.7.1-dev+5152)
             
SourcePawn APIv1 4v2 6
             Compiled on
Feb 14 2015 09:06:02
             Built from
https://github.com/alliedmodders/sourcemod/commit/289455d
             
Build ID5152:289455d
             http
://www.sourcemod.net/ 
PHP Code:
Metamod:Source version 1.10.5-dev
         Built from
https://github.com/alliedmodders/metamod-source/commit/56c5bcb
         
Build ID926:56c5bcb
         Loaded 
As: Valve Server Plugin
         Compiled on
Jun 24 2014
         Plugin 
interface version15:14
         SourceHook version
5:5
         http
://www.metamodsource.net/ 
PHP Code:
[SMListing 67 plugins:
           
01 "Admin File Reader" (1.7.1-dev+5152by AlliedModders LLC
           02 
"Admin Help" (1.7.1-dev+5152by AlliedModders LLC
           03 
"Admin Menu" (1.7.1-dev+5152by AlliedModders LLC
           04 
"AdminTag" (2.0by KeepCalm
           05 
"Admin loggin" (1.0by vIr-Dan
           06 
"Advertisements" (0.6by Tsunami
           07 
"AFK Manager" (3.5.3by Rothgar
           08 
"Anti-Flood" (1.7.1-dev+5152by AlliedModders LLC
           09 
"Auto Team Scramble" (2.2.0by RedSword Bob Le Ponge
           10 
"Ban disconnected players" (1.04by mad_hamster
           11 
"Basic Chat" (1.7.1-dev+5152by AlliedModders LLC
           12 
"Basic Comm Control" (1.7.1-dev+5152by AlliedModders LLC
           13 
"Basic Commands" (1.7.1-dev+5152by AlliedModders LLC
           14 
"Basic Info Triggers" (1.7.1-dev+5152by AlliedModders LLC
           15 
"Basic Votes" (1.7.1-dev+5152by AlliedModders LLC
           16 
"[Any] Chat Logging Redux + RTF Support" (1.0.9by McFlurryKeith Warren (Drixevel)
           
17 "Client Preferences" (1.7.1-dev+5152by AlliedModders LLC
           18 
"CS:GO Admin ESP" (2.1by Root
           19 
"[Source 2013] Custom Chat Colors" (3.1.0by DrMcKay
           20 
"[Any] Plugin Enable/Disable" (1.0.1by DarthNinja
           21 
"Forlix FloodCheck" (1.73by Forlix (Dominik Friedrichs)
           
22 "HANSE Reserved Slots | Mod by H3bus for redirect" (2.0by red!| H3bus
           23 
"IP Chat Block" (1.4by SuperRaWR
           24 
"MapChooser" (1.5.4-dev+4059by AlliedModders LLC
           25 
"Network Tools" (1.3by Kyle Sanderson
           26 
"[ANY] Rcon Password Protect" (1.1.0by DarthNinja
           27 
"Player Commands" (1.7.1-dev+5152by AlliedModders LLC
           28 
"Pong" (1.2.1by Jannik 'Peace-Maker' Hartung
           29 
"QuickDefuse" (0.3by pRED*
           
30 "RankMe" (3.0.0by lok1
           31 
"RCON Lock" (0.6.7by devicenull
           32 
"Server Redirect" (0.1.2by H3bus
           33 
"Server Redirect: Ask connect in chat" (0.1.0by H3bus
           34 
"Server Redirect: Ask connect in console" (0.1.0by H3bus
           35 
"Server Redirect: Ask connect with steambot" (0.1.2by H3bus
           36 
"AutoRestart" (1.3by MikeJS
           37 
"Rock The Vote" (1.6.3-dev+4598by AlliedModders LLC
           38 
"CS:GO A2S_Rules Hax" (0.0.7by Dr!fterKyleS
           39 
"[CSGO] Block "Saved Player" Text" (1.0.0by Mitch
           40 
"Server Clean Up" (1.2.2by Jamster
           41 
"Set Game Server Account" (1.1.1by Bubka3
           42 
"Show Damage" (1.0.7by exvel
           43 
"Simple Chat Processor (Redux)" (2.0.2by Simple PluginsMini
           44 
"SourceMod Anti-Cheat" (0.8.6.0by SMAC Development Team
           45 
"SMACBANS: Block" (0.2.0by SMACBANS Team
           46 
"SMAC Aimbot Detector" (0.8.6.0by SMAC Development Team
           47 
"SMAC AutoTrigger Detector" (0.8.6.0by SMAC Development Team
           48 
"SMAC Client Protection" (0.8.6.0by SMAC Development Team
           49 
"SMAC Command Monitor" (0.8.6.0by SMAC Development Team
           50 
"SMAC ConVar Checker" (0.8.6.0by SMAC Development Team
           51 
"SMAC ESEA Global Banlist" (0.8.6.0by SMAC Development Team
           52 
"SMAC Eye Angle Test" (0.8.6.0by SMAC Development Team
           53 
"SMAC Rcon Locker" (0.8.6.0by SMAC Development Team
           54 
"SMAC Anti-Speedhack" (0.8.6.0by SMAC Development Team
           55 
"SMAC Spinhack Detector" (0.8.6.0by SMAC Development Team
           56 
"Flash Protection" (0.0.9by TheAvengers2thetwistedpandaGoD-TonyBacardiberni
           57 
"Knife Upgrade" (2.5.2 paint supportby Klexen
           58 
"Snake" (1.0by Jannik "Peace-Maker" Hartung
           59 
"SourceBans" (1.4.11by SourceBans Development Team
           60 
"Team Bets" (2.6.1by GrimReaper Original by ferret
           61 
"TeamChange Unlimited" (1.2.2by Sheepdude
           62 
"Teams Management Interface" (1.2.5by RedSword Bob Le Ponge
           63 
"Updater" (1.2.1by GoD-Tony
           64 
"Very Basic High Ping Kicker" (1.4by msleeper
           65 
"Vote Mute/Vote Silence" (1.0.105Pby <eVa>Dog/AlliedModders LLC
           66 
"Weapon Restrict" (3.1.7by Dr!fter
           67 
"Web Shortcuts CS:GO version" (2.3by Franc1sco franug and James "sslice" Gray 
PHP Code:
[SMDisplaying 17 extensions:
         [
01Automatic Updater (1.7.1-dev+5152): Updates SourceMod gamedata files
         
[02Webternet (1.7.1-dev+5152): Extension for interacting with URLs
         
[03Accelerator (2.0.0): Take back control
         
[04CS Tools (1.7.1-dev+5152): CS extended functionality
         
[05BinTools (1.7.1-dev+5152): Low-level C/C++ Calling API
         
[06SDK Tools (1.7.1-dev+5152): Source SDK Tools
         
[07Top Menus (1.7.1-dev+5152): Creates sorted nested menus
         
[08Client Preferences (1.7.1-dev+5152): Saves client preference settings
         
[09SQLite (1.7.1-dev+5152): SQLite Driver
         
[10SDK Hooks (1.7.1-dev+5152): Source SDK Hooks
         
[11] <FAILEDfile "connect.ext.dll"The specified module could not be found.
         
         [
12Regex (1.7.1-dev+5152): Provides regex natives for plugins
         
[13Socket (3.0.1): Socket extension for SourceMod
         
[14SteamWorks Extension (1.2): Exposes SteamWorks functions to Developers
         
[15] <FAILEDfile "curl.ext.dll"The specified module could not be found.
         
         [
16] <FAILEDfile "steamtools.ext.dll"The specified module could not be found.
         
         [
17MySQL-DBI (1.7.1-dev+5152): MySQL driver implementation for DBI 
PHP Code:
Listing 6 plugins:
           [
01SourceMod (1.7.1-dev+5152by AlliedModders LLC
           
[02Stripper (1.2.2by BAILOPAN
           
[03CS Tools (1.7.1-dev+5152by AlliedModders LLC
           
[04SDK Tools (1.7.1-dev+5152by AlliedModders LLC
           
[05SDK Hooks (1.7.1-dev+5152by AlliedModders LLC
           
[06SteamWorks Extension (1.2by Kyle Sanderson 

Here is the modified plugin, the only difference to version 1.6.4 is the wear, quality and stattrak.

PHP Code:
#include <sourcemod>
#include <sdktools>
#include <cstrike>
#include <sdkhooks>
#include <clientprefs>
#include <multicolors>

#undef REQUIRE_PLUGIN
#include <lastrequest>

#define MAX_PAINTS 800

enum Listado
{
    
String:Nombre[64],
    
index,
    
Float:wear,
    
stattrak,
    
quality
}

new 
Handle:c_Game INVALID_HANDLE;
new 
Handle:c_Game2 INVALID_HANDLE;

new 
Handle:menuw INVALID_HANDLE;
new 
g_paints[MAX_PAINTS][Listado];
new 
g_paintCount 0;
new 
String:path_paints[PLATFORM_MAX_PATH];

new 
bool:g_hosties false;

new 
bool:g_c4;
new 
Handle:cvar_c4;

#define DATA "1.6.4"

new Handle:arbol[MAXPLAYERS+1];

new 
Handle:saytimer;
new 
Handle:cvar_saytimer;
new 
g_saytimer;

new 
Handle:rtimer;
new 
Handle:cvar_rtimer;
new 
g_rtimer;

new 
Handle:cvar_rmenu;
new 
g_rmenu;

public 
Plugin:myinfo =
{
    
name "SM CS:GO Weapon Paints",
    
author "Franc1sco franug",
    
description "",
    
version DATA,
    
url "http://www.claninspired.com/"
};

public 
OnPluginStart()
{
    
LoadTranslations ("franug_weaponpaints.phrases");
    
c_Game RegClientCookie("Paints_v6_part1""Paints_v6_part1"CookieAccess_Private);
    
c_Game2 RegClientCookie("Paints_v6_part2""Paints_v6_part2"CookieAccess_Private);
    
    
CreateConVar("sm_wpaints_version"DATA""FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY|FCVAR_CHEAT|FCVAR_DONTRECORD);
    
    
HookEvent("round_start"roundStart);
    
    
RegConsoleCmd("buyammo1"GetSkins);
    
    
RegAdminCmd("sm_reloadwskins"ReloadSkinsADMFLAG_ROOT);
    
    for (new 
client 1client <= MaxClientsclient++)
    {
        if (!
IsClientInGame(client))
            continue;
            
        
OnClientPutInServer(client);
        
        if(!
AreClientCookiesCached(client))
            continue;
            
        
OnClientCookiesCached(client);
    }
    
    
cvar_c4 CreateConVar("sm_weaponpaints_c4""1""Enable or disable that people can apply paints to the C4. 1 = enabled, 0 = disabled");
    
cvar_saytimer CreateConVar("sm_weaponpaints_saytimer""10""Time in seconds for block that show the plugin commands in chat when someone type a command. -1.0 = never show the commands in chat");
    
cvar_rtimer CreateConVar("sm_weaponpaints_roundtimer""20""Time in seconds roundstart for can use the commands for change the paints. -1.0 = always can use the command");
    
cvar_rmenu CreateConVar("sm_weaponpaints_rmenu""1""Re-open the menu when you select a option. 1 = enabled, 0 = disabled.");
    
    
g_c4 GetConVarBool(cvar_c4);
    
g_saytimer GetConVarInt(cvar_saytimer);
    
g_rtimer GetConVarInt(cvar_rtimer);
    
g_rmenu GetConVarBool(cvar_rmenu);
    
    
HookConVarChange(cvar_c4OnConVarChanged);
    
HookConVarChange(cvar_saytimerOnConVarChanged);
    
HookConVarChange(cvar_rtimerOnConVarChanged);
    
HookConVarChange(cvar_rmenuOnConVarChanged);
    
    
ReadPaints();
}

public 
OnConVarChanged(Handle:convar, const String:oldValue[], const String:newValue[])
{
    if (
convar == cvar_c4)
    {
        
g_c4 bool:StringToInt(newValue);
    }
    else if (
convar == cvar_saytimer)
    {
        
g_saytimer StringToInt(newValue);
    }
    else if (
convar == cvar_rtimer)
    {
        
g_rtimer StringToInt(newValue);
    }
    else if (
convar == cvar_rmenu)
    {
        
g_rmenu bool:StringToInt(newValue);
    }
}

public 
OnPluginEnd()
{
    for(new 
client 1client <= MaxClientsclient++)
    {
        if(
IsClientInGame(client))
        {
            
OnClientDisconnect(client);
        }
    }
}

public 
OnClientCookiesCached(client)
{
    
decl String:cookie1[100], String:cookie2[100];
    
GetClientCookie(clientc_Gamecookie1sizeof(cookie1));
    
GetClientCookie(clientc_Game2cookie2sizeof(cookie2));
    
    if(
strlen(cookie1) < 3Format(cookie1sizeof(cookie1), "0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;");
    if(
strlen(cookie2) < 3Format(cookie2sizeof(cookie2), "0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;");
    
    
CrearArbol(clientcookie1cookie2);
}

public 
OnClientDisconnect(client)
{    
    if(
AreClientCookiesCached(client))
    {
        
SaveCookies(client);
    }
    if(
arbol[client] != INVALID_HANDLE)
    {
        
ClearTrie(arbol[client]);
        
CloseHandle(arbol[client]);
        
arbol[client] = INVALID_HANDLE;
    }
}

public 
APLRes:AskPluginLoad2(Handle:myselfbool:lateString:error[], err_max)
{
    
MarkNativeAsOptional("IsClientInLastRequest");

    return 
APLRes_Success;
}

public 
OnLibraryAdded(const String:name[])
{
    if (
StrEqual(name"hosties"))
    {
        
g_hosties true;
    }
}

public 
OnLibraryRemoved(const String:name[])
{
    if (
StrEqual(name"hosties"))
    {
        
g_hosties false;
    }
}

public 
Action:ReloadSkins(clientargs)
{    
    
ReadPaints();
    
ReplyToCommand(client" \x04[WP]\x01 %T","Weapon paints reloaded"client);
    
    return 
Plugin_Handled;
}

ShowMenu(clientitem)
{
    
SetMenuTitle(menuw"%T","Menu title"client);
    
    
RemoveMenuItem(menuw1);
    
RemoveMenuItem(menuw0);
    
decl String:tdisplay[64];
    
Format(tdisplaysizeof(tdisplay), "%T""Random paint"client);
    
InsertMenuItem(menuw0"-1"tdisplay);
    
Format(tdisplaysizeof(tdisplay), "%T""Default paint"client);
    
InsertMenuItem(menuw1"0"tdisplay);
    
    
DisplayMenuAtItem(menuwclientitem0);
}

public 
Action:GetSkins(clientargs)
{    
    
ShowMenu(client0);
    
    return 
Plugin_Handled;
}

public 
Action:OnClientSayCommand(client, const String:command[], const String:sArgs[])
{
    if(
StrEqual(sArgs"!wskins"false) || StrEqual(sArgs"!ws"false) || StrEqual(sArgs"!paints"false))
    {

        
ShowMenu(client0);
        
        if(
saytimer != INVALID_HANDLE || g_saytimer == -1) return Plugin_Handled;
        
saytimer CreateTimer(1.0*g_saytimerTsaytimer);
        return 
Plugin_Continue;
        
    }
    else if(
StrEqual(sArgs"!ss"false) || StrEqual(sArgs"!showskin"false))
    {
        
ShowSkin(client);
        
        if(
saytimer != INVALID_HANDLE || g_saytimer == -1) return Plugin_Handled;
        
saytimer CreateTimer(1.0*g_saytimerTsaytimer);
        return 
Plugin_Continue;
    }
    
    return 
Plugin_Continue;
}

ShowSkin(client)
{
    new 
weapon GetEntPropEnt(clientProp_Send"m_hActiveWeapon");
    if(
weapon || !IsValidEdict(weapon) || !IsValidEntity(weapon))
    {
        
CPrintToChat(client" {green}[WP]{default} %T""Paint not found"client);
        return;
    }
    
    new 
buscar GetEntProp(weapon,Prop_Send,"m_nFallbackPaintKit");
    for(new 
i=1i<g_paintCount;i++)
    {
        if(
buscar == g_paints[i][index])
        {
            
CPrintToChat(client" {green}[WP]{default} %T""Paint found"clientg_paints[i][Nombre]);
            return;
        }
    }
    
    
CPrintToChat(client" {green}[WP]{default} %T""Paint not found"client);
}

public 
Action:Tsaytimer(Handle:timer)
{
    
saytimer INVALID_HANDLE;
}

public 
Action:roundStart(Handle:event, const String:name[], bool:dontBroadcast
{
    if(
g_rtimer == -1) return;
    
    if(
rtimer != INVALID_HANDLE)
    {
        
KillTimer(rtimer);
        
rtimer INVALID_HANDLE;
    }
    
    
rtimer CreateTimer(1.0*g_rtimerRtimer);
}

public 
Action:Rtimer(Handle:timer)
{
    
rtimer INVALID_HANDLE;
}

public 
DIDMenuHandler(Handle:menuMenuAction:actionclientitemNum
{
    if ( 
action == MenuAction_Select 
    {
        if(
rtimer == INVALID_HANDLE && g_rtimer != -1)
        {
            
CPrintToChat(client" {green}[WP]{default} %T""You can use this command only the first seconds"clientg_rtimer);
            if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
            return;
        }
        if(!
IsPlayerAlive(client))
        {
            
CPrintToChat(client" {green}[WP]{default} %t""You cant use this when you are dead");
            if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
            return;
        }
        if(
g_hosties && IsClientInLastRequest(client))
        {
            
CPrintToChat(client" {green}[WP]{default} %t""You cant use this when you are in a lastrequest");
            if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
            return;
        }
        
        
decl String:info[4];
        
        
GetMenuItem(menuitemNuminfosizeof(info));
        new 
theindex StringToInt(info);
        
        new 
windex GetEntPropEnt(clientProp_Send"m_hActiveWeapon");
        if(
windex 1)
        {
            
CPrintToChat(client" {green}[WP]{default} %t""You cant use a paint in this weapon");
            if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
            return;
        }
        
        
decl String:Classname[64];
        
GetEdictClassname(windexClassname64);
        
        if(
StrEqual(Classname"weapon_taser"))
        {
            
CPrintToChat(client" {green}[WP]{default} %t""You cant use a paint in this weapon");
            if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
            return;
        }
        new 
weaponindex GetEntProp(windexProp_Send"m_iItemDefinitionIndex");
        if(
weaponindex == 42 || weaponindex == 59)
        {
            
CPrintToChat(client" {green}[WP]{default} %t""You cant use a paint in this weapon");
            if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
            return;
        }
        if(
GetPlayerWeaponSlot(clientCS_SLOT_PRIMARY) == windex || GetPlayerWeaponSlot(clientCS_SLOT_SECONDARY) == windex || GetPlayerWeaponSlot(clientCS_SLOT_KNIFE) == windex || (g_c4 && GetPlayerWeaponSlot(clientCS_SLOT_C4) == windex))
        {
            switch (
weaponindex)
            {
                case 
60strcopy(Classname64"weapon_m4a1_silencer");
                case 
61strcopy(Classname64"weapon_usp_silencer");
                case 
63strcopy(Classname64"weapon_cz75a");
                case 
500strcopy(Classname64"weapon_bayonet");
                case 
506strcopy(Classname64"weapon_knife_gut");
                case 
505strcopy(Classname64"weapon_knife_flip");
                case 
508strcopy(Classname64"weapon_knife_m9_bayonet");
                case 
507strcopy(Classname64"weapon_knife_karambit");
                case 
509strcopy(Classname64"weapon_knife_tactical");
                case 
515strcopy(Classname64"weapon_knife_butterfly");
            }
            
SetTrieValue(arbol[client], Classnametheindex);
            
ChangePaint(clientwindexClassnameweaponindex);
            
FakeClientCommand(client"use %s"Classname);
            if(
theindex == 0CPrintToChat(client" {green}[WP]{default} %t","You have choose your default paint for your"Classname);
            else if(
theindex == -1CPrintToChat(client" {green}[WP]{default} %t","You have choose a random paint for your"Classname);
            else 
CPrintToChat(client" {green}[WP]{default} %t""You have choose a weapon"g_paints[theindex][Nombre], Classname);
        }
        else 
CPrintToChat(client" {green}[WP]{default} %t""You cant use a paint in this weapon");
        
        if(
g_rmenuShowMenu(clientGetMenuSelectionPosition());
        
    }
}

public 
Action:RestoreItemID(Handle:timerHandle:pack)
{
    new 
entity;
    new 
m_iItemIDHigh;
    new 
m_iItemIDLow;
    
    
ResetPack(pack);
    
entity EntRefToEntIndex(ReadPackCell(pack));
    
m_iItemIDHigh ReadPackCell(pack);
    
m_iItemIDLow ReadPackCell(pack);
    
    if(
entity != INVALID_ENT_REFERENCE)
    {
        
SetEntProp(entity,Prop_Send,"m_iItemIDHigh",m_iItemIDHigh);
        
SetEntProp(entity,Prop_Send,"m_iItemIDLow",m_iItemIDLow);
    }
}

ReadPaints()
{
    
BuildPath(Path_SMpath_paintssizeof(path_paints), "configs/csgo_wpaints.cfg");
    
    
decl Handle:kv;
    
g_paintCount 1;

    
kv CreateKeyValues("Paints");
    
FileToKeyValues(kvpath_paints);

    if (!
KvGotoFirstSubKey(kv)) {

        
SetFailState("CFG File not found: %s"path_paints);
        
CloseHandle(kv);
    }
    do {

        
KvGetSectionName(kvg_paints[g_paintCount][Nombre], 64);
        
g_paints[g_paintCount][index] = KvGetNum(kv"paint"0);
        
g_paints[g_paintCount][wear] = KvGetFloat(kv"wear"0.01);
        
g_paints[g_paintCount][stattrak] = KvGetNum(kv"stattrak"0);
        
g_paints[g_paintCount][quality] = KvGetNum(kv"quality"3);

        
g_paintCount++;
    } while (
KvGotoNextKey(kv));
    
CloseHandle(kv);
    
    if(
menuw != INVALID_HANDLECloseHandle(menuw);
    
menuw INVALID_HANDLE;
    
    
menuw CreateMenu(DIDMenuHandler);
    
    
// TROLLING
    
SetMenuTitle(menuw"( ͡° ͜ʖ ͡°)");
    
decl String:item[4];
    
AddMenuItem(menuw"-1""Random paint");
    
AddMenuItem(menuw"0""Default paint"); 
    
// FORGET THIS
    
    
for (new i=1i<g_paintCount; ++i) {
        
Format(item4"%i"i);
        
AddMenuItem(menuwitemg_paints[i][Nombre]);
    }
    
SetMenuExitButton(menuwtrue);
}

stock GetReserveAmmo(clientweapon)
{
    new 
ammotype GetEntProp(weaponProp_Send"m_iPrimaryAmmoType");
    if(
ammotype == -1) return -1;
    
    return 
GetEntProp(clientProp_Send"m_iAmmo"_ammotype);
}

stock SetReserveAmmo(clientweaponammo)
{
    new 
ammotype GetEntProp(weaponProp_Send"m_iPrimaryAmmoType");
    if(
ammotype == -1) return;
    
    
SetEntProp(clientProp_Send"m_iAmmo"ammo_ammotype);


ChangePaint(clientwindexString:Classname[64], weaponindex)
{
    new 
bool:knife false;
    if(
StrContains(Classname"weapon_knife"false) == || StrContains(Classname"weapon_bayonet"false) == 0
    {
        
knife true;
    }
    
    
//PrintToChat(client, "weapon %s", Classname);
    
new ammoclip;
    if(!
knife)
    {
        
ammo GetReserveAmmo(clientwindex);
        
clip GetEntProp(windexProp_Send"m_iClip1");
    }
    
RemovePlayerItem(clientwindex);
    
AcceptEntityInput(windex"Kill");
    
    new 
Handle:pack;
    new 
entity GivePlayerItem(clientClassname);
    
    if(
knife)
    {
        if (
weaponindex != 42 && weaponindex != 59
            
EquipPlayerWeapon(cliententity);
    }
    else
    {
        
SetReserveAmmo(clientwindexammo);
        
SetEntProp(entityProp_Send"m_iClip1"clip);
    }
    new 
theindex;
    
GetTrieValue(arbol[client], Classnametheindex);
    if(
theindex == 0) return;

    if(
theindex == -1)
    {
        
theindex GetRandomInt(1g_paintCount-1);
    }
    
    new 
m_iItemIDHigh GetEntProp(entityProp_Send"m_iItemIDHigh");
    new 
m_iItemIDLow GetEntProp(entityProp_Send"m_iItemIDLow");

    
SetEntProp(entity,Prop_Send,"m_iItemIDLow",2048);
    
SetEntProp(entity,Prop_Send,"m_iItemIDHigh",0);

    
SetEntProp(entity,Prop_Send,"m_nFallbackPaintKit",g_paints[theindex][index]);
    if(
g_paints[theindex][wear] >= 0.0SetEntPropFloat(entity,Prop_Send,"m_flFallbackWear",g_paints[theindex][wear]);
    if(
g_paints[theindex][stattrak] != -2SetEntProp(entity,Prop_Send,"m_nFallbackStatTrak",g_paints[theindex][stattrak]);
    if(
g_paints[theindex][quality] != -2SetEntProp(entity,Prop_Send,"m_iEntityQuality",g_paints[theindex][quality]);
    

    
CreateDataTimer(0.2RestoreItemIDpack);
    
WritePackCell(pack,EntIndexToEntRef(entity));
    
WritePackCell(pack,m_iItemIDHigh);
    
WritePackCell(pack,m_iItemIDLow);
}

public 
OnClientPutInServer(client)
{
    if(!
IsFakeClient(client)) SDKHook(clientSDKHook_WeaponEquipPostOnPostWeaponEquip);
}

public 
Action:OnPostWeaponEquip(clientweapon)
{
    new 
Handle:pack;
    
CreateDataTimer(0.0Pasadopack);
    
WritePackCell(pack,EntIndexToEntRef(weapon));
    
WritePackCell(packclient);
}

public 
Action:Pasado(Handle:timerHandle:pack)
{
    new 
weapon;
    new 
client
    
    ResetPack
(pack);
    
weapon EntRefToEntIndex(ReadPackCell(pack));
    
client ReadPackCell(pack);
    
    if(
weapon == INVALID_ENT_REFERENCE || !IsClientInGame(client) || !IsPlayerAlive(client) || (g_hosties && IsClientInLastRequest(client))) return;
    
    if(
weapon || !IsValidEdict(weapon) || !IsValidEntity(weapon)) return;
    
    if (
GetEntProp(weaponProp_Send"m_hPrevOwner") > || (GetEntProp(weaponProp_Send"m_iItemIDHigh") == && GetEntProp(weaponProp_Send"m_iItemIDLow") == 2048))
        return;
        
    
decl String:Classname[64];
    
GetEdictClassname(weaponClassname64);
    if(
StrEqual(Classname"weapon_taser"))
    {
        return;
    }
    new 
weaponindex GetEntProp(weaponProp_Send"m_iItemDefinitionIndex");
    if(
weaponindex == 42 || weaponindex == 59)
    {
        return;
    }
    if(
GetPlayerWeaponSlot(clientCS_SLOT_PRIMARY) == weapon || GetPlayerWeaponSlot(clientCS_SLOT_SECONDARY) == weapon || GetPlayerWeaponSlot(clientCS_SLOT_KNIFE) == weapon || (g_c4 && GetPlayerWeaponSlot(clientCS_SLOT_C4) == weapon))
    {
        switch (
weaponindex)
        {
            case 
60strcopy(Classname64"weapon_m4a1_silencer");
            case 
61strcopy(Classname64"weapon_usp_silencer");
            case 
63strcopy(Classname64"weapon_cz75a");
            case 
500strcopy(Classname64"weapon_bayonet");
            case 
506strcopy(Classname64"weapon_knife_gut");
            case 
505strcopy(Classname64"weapon_knife_flip");
            case 
508strcopy(Classname64"weapon_knife_m9_bayonet");
            case 
507strcopy(Classname64"weapon_knife_karambit");
            case 
509strcopy(Classname64"weapon_knife_tactical");
            case 
515strcopy(Classname64"weapon_knife_butterfly");
        }
        new 
valor 0;
        
GetTrieValue(arbol[client], Classnamevalor);
        if(
valor == 0) return;
        
//PrintToChat(client, "prueba");
        
ChangePaint(clientweaponClassnameweaponindex);
    }
}

CrearArbol(clientString:cookie1[100], String:cookie2[100])
{
    
arbol[client] = CreateTrie();

    
decl String:parte1[23][4];
    
ExplodeString(cookie1";"parte1sizeof(parte1), sizeof(parte1[]));
    
    
SetTrieValue(arbol[client], "weapon_negev"StringToInt(parte1[0]));
    
SetTrieValue(arbol[client], "weapon_m249"StringToInt(parte1[1]));
    
SetTrieValue(arbol[client], "weapon_bizon"StringToInt(parte1[2]));
    
SetTrieValue(arbol[client], "weapon_p90"StringToInt(parte1[3]));
    
SetTrieValue(arbol[client], "weapon_scar20"StringToInt(parte1[4]));
    
SetTrieValue(arbol[client], "weapon_g3sg1"StringToInt(parte1[5]));
    
SetTrieValue(arbol[client], "weapon_m4a1"StringToInt(parte1[6]));
    
SetTrieValue(arbol[client], "weapon_m4a1_silencer"StringToInt(parte1[7]));
    
SetTrieValue(arbol[client], "weapon_ak47"StringToInt(parte1[8]));
    
SetTrieValue(arbol[client], "weapon_aug"StringToInt(parte1[9]));
    
SetTrieValue(arbol[client], "weapon_galilar"StringToInt(parte1[10]));
    
SetTrieValue(arbol[client], "weapon_awp"StringToInt(parte1[11]));
    
SetTrieValue(arbol[client], "weapon_sg556"StringToInt(parte1[12]));
    
SetTrieValue(arbol[client], "weapon_ump45"StringToInt(parte1[13]));
    
SetTrieValue(arbol[client], "weapon_mp7"StringToInt(parte1[14]));
    
SetTrieValue(arbol[client], "weapon_famas"StringToInt(parte1[15]));
    
SetTrieValue(arbol[client], "weapon_mp9"StringToInt(parte1[16]));
    
SetTrieValue(arbol[client], "weapon_mac10"StringToInt(parte1[17]));
    
SetTrieValue(arbol[client], "weapon_ssg08"StringToInt(parte1[18]));
    
SetTrieValue(arbol[client], "weapon_nova"StringToInt(parte1[19]));
    
SetTrieValue(arbol[client], "weapon_xm1014"StringToInt(parte1[20]));
    
SetTrieValue(arbol[client], "weapon_sawedoff"StringToInt(parte1[21]));
    
SetTrieValue(arbol[client], "weapon_mag7"StringToInt(parte1[22]));
    
    
    
decl String:parte2[17][4];
    
ExplodeString(cookie2";"parte2sizeof(parte2), sizeof(parte2[]));
    
    
SetTrieValue(arbol[client], "weapon_elite"StringToInt(parte2[0]));
    
SetTrieValue(arbol[client], "weapon_deagle"StringToInt(parte2[1]));
    
SetTrieValue(arbol[client], "weapon_tec9"StringToInt(parte2[2]));
    
SetTrieValue(arbol[client], "weapon_fiveseven"StringToInt(parte2[3]));
    
SetTrieValue(arbol[client], "weapon_cz75a"StringToInt(parte2[4]));
    
SetTrieValue(arbol[client], "weapon_glock"StringToInt(parte2[5]));
    
SetTrieValue(arbol[client], "weapon_usp_silencer"StringToInt(parte2[6]));
    
SetTrieValue(arbol[client], "weapon_p250"StringToInt(parte2[7]));
    
SetTrieValue(arbol[client], "weapon_hkp2000"StringToInt(parte2[8]));
    
SetTrieValue(arbol[client], "weapon_bayonet"StringToInt(parte2[9]));
    
SetTrieValue(arbol[client], "weapon_knife_gut"StringToInt(parte2[10]));
    
SetTrieValue(arbol[client], "weapon_knife_flip"StringToInt(parte2[11]));
    
SetTrieValue(arbol[client], "weapon_knife_m9_bayonet"StringToInt(parte2[12]));
    
SetTrieValue(arbol[client], "weapon_knife_karambit"StringToInt(parte2[13]));
    
SetTrieValue(arbol[client], "weapon_knife_tactical"StringToInt(parte2[14]));
    
SetTrieValue(arbol[client], "weapon_knife_butterfly"StringToInt(parte2[15]));
    
SetTrieValue(arbol[client], "weapon_c4"StringToInt(parte2[16]));
    
    
}

SaveCookies(client)
{
    
decl String:cookie1[100], String:cookie2[100];
    new 
valor;

    
GetTrieValue(arbol[client], "weapon_negev"valor);
    
Format(cookie1sizeof(cookie1), "%i"valor);
        
    
GetTrieValue(arbol[client], "weapon_m249"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
        
    
GetTrieValue(arbol[client], "weapon_bizon"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_p90"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_scar20"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_g3sg1"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_m4a1"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_m4a1_silencer"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_ak47"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_aug"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_galilar"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_awp"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_sg556"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_ump45"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_mp7"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_famas"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_mp9"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_mac10"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_ssg08"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_nova"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_xm1014"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_sawedoff"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
GetTrieValue(arbol[client], "weapon_mag7"valor);
    
Format(cookie1sizeof(cookie1), "%s;%i"cookie1valor);
    
    
SetClientCookie(clientc_Gamecookie1);
    
    
    
GetTrieValue(arbol[client], "weapon_elite"valor);
    
Format(cookie2sizeof(cookie2), "%i"valor);
        
    
GetTrieValue(arbol[client], "weapon_deagle"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
        
    
GetTrieValue(arbol[client], "weapon_tec9"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_fiveseven"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_cz75a"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_glock"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_usp_silencer"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_p250"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_hkp2000"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_bayonet"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_knife_gut"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_knife_flip"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_knife_m9_bayonet"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_knife_karambit"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_knife_tactical"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_knife_butterfly"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
GetTrieValue(arbol[client], "weapon_c4"valor);
    
Format(cookie2sizeof(cookie2), "%s;%i"cookie2valor);
    
    
SetClientCookie(clientc_Game2cookie2);

Using CVARs:
sm_weaponpaints_saytimer -1
sm_weaponpaints_roundtimer 20

In the console it shows: "Your client has failed to reply to a query in time. Please reconnect or restart your game".

If you need more information, I am more than happy to provide you over steam message.

http://steamcommunity.com/id/l33t2g
L33TGaming is offline
parthi
Senior Member
Join Date: Mar 2015
Old 04-15-2015 , 06:26   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #364

Quote:
Originally Posted by oaaron99 View Post
Not sure but I think you have to update colors.inc

https://forums.alliedmods.net/showthread.php?t=96831
Same problem :

extra/multicolors.inc(6) : fatal error 180: cannot read from file: "multicolors/colors"

Compilation aborted.
1 Error.
parthi is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-15-2015 , 07:14   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #365

It compiles fine for me. Are you putting the files in the scripting folder as they are in the ZIP? I just extracted 1.6.4 and it compiled without a hitch.
__________________
View my Plugins | Donate
TnTSCS is offline
cTmoNe
AlliedModders Donor
Join Date: Jul 2010
Location: Germany
Old 04-15-2015 , 09:23   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #366

Code:
L 04/15/2015 - 16:19:01: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 04/15/2015 - 16:19:01: [SM] Native "Format" reported: Language phrase "Random paint" not found
L 04/15/2015 - 16:19:01: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:19:01: [SM]   [0]  Line 199, franug_weaponpaints.sp::ShowMenu()
L 04/15/2015 - 16:19:01: [SM]   [1]  Line 219, franug_weaponpaints.sp::OnClientSayCommand()
__________________


cTmoNe is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 04-15-2015 , 09:44   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #367

You're missing the translation file
__________________
View my Plugins | Donate
TnTSCS is offline
m22b
Senior Member
Join Date: Jul 2013
Old 04-15-2015 , 09:56   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #368

Code:
L 04/15/2015 - 15:14:19: SourceMod error session started
L 04/15/2015 - 15:14:19: Info (map "de_dust2") (file "errors_20150415.log")
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:19: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:19: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:19: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:21: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:21: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:21: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:21: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:21: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:21: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:22: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:22: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:22: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:22: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:22: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:22: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:22: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:22: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:22: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:23: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:23: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:23: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:23: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:23: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:23: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:23: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:23: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:23: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:23: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:23: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:23: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:23: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:23: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:23: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:23: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:23: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:23: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:29: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:29: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:29: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:29: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:29: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:29: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:29: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:29: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:29: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:30: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:30: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:30: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:30: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:30: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:30: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:32: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:32: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:32: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:32: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:32: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:32: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:32: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:32: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:32: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:32: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:32: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:32: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:14:32: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 15:14:32: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 15:14:32: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 15:36:33: Error log file session closed.
1.6.4

m22b is offline
TUSK3N1337
SourceMod Donor
Join Date: Dec 2013
Location: Sweden
Old 04-15-2015 , 11:11   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #369

yup can confirm 1.6.4 is crashing.

Code:
L 04/15/2015 - 16:30:58: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:58: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:58: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 16:30:58: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:58: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:58: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 16:30:58: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:58: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:58: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 16:30:58: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:58: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:58: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 16:30:59: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:59: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:59: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 16:30:59: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:59: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:59: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
L 04/15/2015 - 16:30:59: [SM] Native "GetTrieValue" reported: Invalid Handle 0 (error 4)
L 04/15/2015 - 16:30:59: [SM] Displaying call stack trace for plugin "franug_weaponpaints.smx":
L 04/15/2015 - 16:30:59: [SM]   [0]  Line 558, franug_weaponpaints.sp::Pasado()
__________________
TUSK3N1337 is offline
Send a message via Skype™ to TUSK3N1337
skinheadxtreme
AlliedModders Donor
Join Date: Jul 2013
Old 04-15-2015 , 11:19   Re: [CS:GO] weapon paints v1.6.4
Reply With Quote #370

Lets wait for Franc1sco so he can sort this out
skinheadxtreme 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 02:04.


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