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

[OT] CS:GO update 2/23/2016


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 02-24-2016 , 03:05   [OT] CS:GO update 2/23/2016
Reply With Quote #1

Quote:
– Added engine support for up to 4096 model precache table entries.
Does this mean what I think it means? :-O
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 02-24-2016 , 03:12   Re: [OT] CS:GO update 2/23/2016
Reply With Quote #2

Yes.

Test plugin:
PHP Code:
#include <sourcemod>
#include <sdktools>

public OnMapStart() {
    new 
Handle:file OpenFile("stringtables.txt""w");
    new 
num GetNumStringTables();
    
decl String:name[32], String:str[256];
    for(new 
0numi++) {
        
GetStringTableName(inamesizeof(name));
        new 
size GetStringTableNumStrings(i);
        
WriteFileLine(file"[%d] %s [%d/%d]"inamesizeGetStringTableMaxStrings(i));
        for(new 
0sizej++) {
            
ReadStringTable(ijstrsizeof(str));
            
WriteFileLine(file"\t[%d] %s"jstr);
            
            new 
length GetStringTableDataLength(ij);
            if(
length 0) {
                
decl String:data[length 1];
                
GetStringTableData(ijdatalength 1);
                
WriteFileLine(file"\t\t%s"data);
            }
        }
    }
    
    
CloseHandle(file);

In the output stringtables.txt appear:
Code:
[1] modelprecache [573/4096]
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 02-24-2016 at 03:18.
Franc1sco is offline
Send a message via MSN to Franc1sco
hu3br
Senior Member
Join Date: Apr 2015
Old 02-24-2016 , 12:34   Re: [OT] CS:GO update 2/23/2016
Reply With Quote #3

Quote:
Originally Posted by Franc1sco View Post
Yes.

Test plugin:
PHP Code:
#include <sourcemod>
#include <sdktools>

public OnMapStart() {
    new 
Handle:file OpenFile("stringtables.txt""w");
    new 
num GetNumStringTables();
    
decl String:name[32], String:str[256];
    for(new 
0numi++) {
        
GetStringTableName(inamesizeof(name));
        new 
size GetStringTableNumStrings(i);
        
WriteFileLine(file"[%d] %s [%d/%d]"inamesizeGetStringTableMaxStrings(i));
        for(new 
0sizej++) {
            
ReadStringTable(ijstrsizeof(str));
            
WriteFileLine(file"\t[%d] %s"jstr);
            
            new 
length GetStringTableDataLength(ij);
            if(
length 0) {
                
decl String:data[length 1];
                
GetStringTableData(ijdatalength 1);
                
WriteFileLine(file"\t\t%s"data);
            }
        }
    }
    
    
CloseHandle(file);

In the output stringtables.txt appear:
Code:
[1] modelprecache [573/4096]
Where i found this txt ? stringtables.txt
hu3br is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 02-24-2016 , 13:28   Re: [OT] CS:GO update 2/23/2016
Reply With Quote #4

Quote:
Originally Posted by hu3br View Post
Where i found this txt ? stringtables.txt
This plugin will create it in csgo/
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick 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 13:20.


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