Macro Gamer Freeze

03/15/2020 14:27 LuciferMorningStar666#1
Hello y'all. Would anyone kindly share their fixes for macro gamer switch?
When a player switches their items, other players freezes their client for about 2-3 seconds.

If you do not like to share, I would love to buy it. Thank you.
03/16/2020 01:48 Kiseku#2
MoverEquip.cpp -> DoEquip
Code:
PLAYSND(...)
03/16/2020 11:08 LuciferMorningStar666#3
Quote:
Originally Posted by Kiseku View Post
MoverEquip.cpp -> DoEquip
Code:
PLAYSND(...)
Thankyou for the hint

Quote:
Originally Posted by Kiseku View Post
MoverEquip.cpp -> DoEquip
Code:
PLAYSND(...)
Quote:
#ifdef __CLIENT
D3DXVECTOR3 vPos = pMover->GetPos();

if( bEquip )
{
if( pItemProp )
{
if( pItemProp->dwItemKind1 == IK1_WEAPON )
{
PLAYSND( SND_INF_EQUIPWEAPON, &vPos );
}
else
#ifndef __MACRO_FREEZE
if (pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_JEWELRY)
{
PLAYSND(SND_INF_EQUIPACCESSORY, &vPos);
}
else
#endif // __MACRO_FREEZE
if( pItemProp->dwItemKind1 == IK1_ARMOR && pItemProp->dwItemKind2 == IK2_CLOTH )
{
PLAYSND( SND_INF_EQUIPCLOTH, &vPos );
}
else
if( pItemProp->dwItemKind1 == IK1_ARMOR && pItemProp->dwItemKind2 == IK2_ARMOR
|| pItemProp->dwItemKind2 == IK2_ARMORETC )
{
PLAYSND( SND_INF_EQUIPARMOR, &vPos );
}
}
}
else
{
PLAYSND( SND_INF_INVENTORYDROP, &vPos );
}
#endif //__CLIENT
Any comments how I did it?
03/16/2020 20:01 Drabur#4
Change it to //PLAYSND....
03/19/2020 00:44 Paraguz#5
Quote:
Originally Posted by Drabur View Post
Change it to //PLAYSND....
it wont fix it, it often has to do with custom models and rendering...
03/19/2020 15:33 Morryan#6
I need help, could u explain some things for me =x?
03/20/2020 06:50 LuciferMorningStar666#7
Quote:
Originally Posted by Morryan View Post
I need help, could u explain some things for me =x?
Hello, In my case it was fix by commenting all the codes start from __CLIENT