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

[CS:GO] Uncache all particles for custom maps [NEW]


Post New Thread Reply   
 
Thread Tools Display Modes
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 03-14-2019 , 07:25   Re: [CS:GO] Uncache all particles for custom maps
Reply With Quote #11

Quote:
Originally Posted by SHUFEN.jp View Post
We fixed this problem for Windows, since 4 years ago.
Concretely, It is able via CParticleSystemDefinition::Uncache and CUtlSymbolTable::RemoveAll.
Uncache useless i like understand, and not exist on windows is well, now fix works well on any platform

I think only destrucor and clear tables is the good and simple solution
PHP Code:
int __cdecl CParticleSystemDictionary::~CParticleSystemDictionary(CParticleSystemDictionary *this)
{
  
int v1// eax
  
bool v2// zf
  
bool v3// sf
  
int v4// eax
  
int v5// esi
  
void *v6// ebx
  
int v7// edx
  
int v8// eax
  
int v9// eax
  
int v11// [esp+1Ch] [ebp-1Ch]

  
v1 = *((_DWORD *)this 22);
  
v2 v1 == 0;
  
v3 v1 0;
  
v11 = *((_DWORD *)this 22);
  
v4 = *((_DWORD *)this 19);
  if ( !
v3 && !v2 )
  {
    
v5 0;
    do
    {
      
v6 = *(void **)(v4 v5);
      if ( 
v6 )
      {
        
CParticleSystemDefinition::~CParticleSystemDefinition(*(CParticleSystemDefinition ****)(v4 v5));
        
operator delete(v6);
        
v4 = *((_DWORD *)this 19);
      }
      ++
v5;
    }
    while ( 
v5 != v11 );
  }
  
v7 = *((_DWORD *)this 21);
  *((
_DWORD *)this 22) = 0;
  if ( 
v7 >= )
  {
    if ( 
v4 )
    {
      (*(
void (__cdecl **)(_DWORDint))(*g_pMemAlloc 8))(g_pMemAllocv4);
      *((
_DWORD *)this 19) = 0;
    }
    *((
_DWORD *)this 20) = 0;
    
v4 0;
  }
  *((
_DWORD *)this 23) = v4;
  
CUtlMemory<CParticleSystemDefinition *,int>::~CUtlMemory((int *)this 19);
  
CUtlSymbolTable::~CUtlSymbolTable((CParticleSystemDictionary *)((char *)this 20));
  
v8 = *((_DWORD *)this 2);
  *((
_DWORD *)this 3) = 0;
  
v3 v8 0;
  
v9 = *(_DWORD *)this;
  if ( !
v3 )
  {
    if ( 
v9 )
    {
      (*(
void (__cdecl **)(_DWORDint))(*g_pMemAlloc 8))(g_pMemAlloc, *(_DWORD *)this);
      *(
_DWORD *)this 0;
    }
    *((
_DWORD *)this 1) = 0;
    
v9 0;
  }
  *((
_DWORD *)this 4) = v9;
  return 
CUtlMemory<CParticleSystemDefinition *,int>::~CUtlMemory((int *)this);

__________________
gubka is offline
Send a message via ICQ to gubka
extr1m725
Member
Join Date: Oct 2014
Old 09-29-2019 , 08:56   Re: [CS:GO] Uncache all particles for custom maps [NEW]
Reply With Quote #12

Is there a solution for windows?
extr1m725 is offline
Agent Wesker
Senior Member
Join Date: Apr 2012
Old 12-01-2019 , 19:01   Re: [CS:GO] Uncache all particles for custom maps
Reply With Quote #13

Quote:
Originally Posted by SHUFEN.jp View Post
We fixed this problem for Windows, since 4 years ago.
Concretely, It is able via CParticleSystemDefinition::Uncache and CUtlSymbolTable::RemoveAll.
If anyone has an up-to-date extension / plugin for this issue it would be greatly appreciated! Doesn't work since CS:GO Agent update!

Last edited by Agent Wesker; 12-01-2019 at 20:03.
Agent Wesker is offline
Desktop
AlliedModders Donor
Join Date: Sep 2009
Location: C:\Users\Default\
Old 01-03-2020 , 14:59   Re: [CS:GO] Uncache all particles for custom maps [NEW]
Reply With Quote #14

Did anyone find any stable solution for Windows?
__________________
Massive Infection:: Piu-Games
Desktop is offline
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 01-15-2020 , 13:49   Re: [CS:GO] Uncache all particles for custom maps [NEW]
Reply With Quote #15

Quote:
Originally Posted by Desktop View Post
Did anyone find any stable solution for Windows?
CParticleSystemDictionary does not exist on map end, when I test it last time, so i thought windows do not need that fix, but if I am incorrect, most of the sigs which I used in Linux, are not exist in Windows because of optimization and you should recreated them in sp.
__________________

Last edited by gubka; 01-20-2020 at 20:01.
gubka is offline
Send a message via ICQ to gubka
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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