v19 action slot

12/16/2016 02:19 Dark®©#1
halo ,
i ask something about the action slot rotation,where can i edit the skill rotation speed? look like this one
[Only registered and activated users can see links. Click Here To Register...]
thanks in advance..

i also change the CUserTaskBar::SetNextSkill( CUser *pUser )
Code:
	if( m_nUsedSkillQueue == 0 )
	{
		if( m_tmCoolDown > clock() )
		{
			OnEndSkillQueue(pUser);
			return 0;
		}
		if (pUser->IsSMMode(SM_ACTPOINT))
		{
			m_tmCoolDown = clock() + SEC(1);
		}
		else
		{
			m_tmCoolDown = clock() + SEC(9);
		}
	}
and the CDPClient::OnUseSkill
Code:
				if( clock() > m_SkillSL->m_tmCoolDown )
						{
							if (pMover->IsSMMode(SM_ACTPOINT))
							{
								m_SkillSL->m_tmCoolDown = clock() + SEC(1);
							}
							else
							{
								m_SkillSL->m_tmCoolDown = clock() + SEC(9);
							}
							m_SkillSL->m_tmStartCoolDown = clock();
							m_SkillSL->RotateCoolDownEffect = 0;
						}
but still slowmo the actionslot
12/26/2016 13:25 Dark®©#2
bump
12/26/2016 17:37 Ecrypter#3
Change to this
PHP Code:
    if( m_nUsedSkillQueue == )
    {
        if( 
m_tmCoolDown clock() )
        {
            
OnEndSkillQueue(pUser);
            return 
0;
        }
        if (
pUser->IsSMMode(SM_ACTPOINT))
        {
            
m_tmCoolDown clock() + SEC(5);
        }
        else
        {
            
m_tmCoolDown clock() + SEC(5);
        }
    } 
PHP Code:
        if( clock() > m_SkillSL->m_tmCoolDown )
                        {
                            if (
pMover->IsSMMode(SM_ACTPOINT))
                            {
                                
m_SkillSL->m_tmCoolDown clock() + SEC(5);
                            }
                            else
                            {
                                
m_SkillSL->m_tmCoolDown clock() + SEC(5);
                            }
                            
m_SkillSL->m_tmStartCoolDown clock();
                            
m_SkillSL->RotateCoolDownEffect 0;
                        } 
1 is fast cool rotate
And
9 is to much slow cooldown
12/27/2016 02:46 Dark®©#4
iknow it sir and i already tried to changed that but my problem is the rotation speed .ithink that is only for the refreshing the skill not for rotation speed.. the cooldown of skill is fast but the rotation is too slow..
12/27/2016 05:15 Ecrypter#5
You need to search all related in actionslot. Btw. Check the whole WdTaskbar.cpp .im not in my PC now but i see where is that part rotation time.
12/27/2016 07:57 raventh1984#6
Action.cpp

void CAction::OnEndAttackState( DWORD dwState )

Code:
#ifdef __CLIENT
#if __VER >= 19
	if( (dwState & OBJSTA_ATK_ALL) == OBJSTA_ATK_MELEESKILL || (dwState & OBJSTA_ATK_ALL) == OBJSTA_ATK_MAGICSKILL )
	{
		CWndNewSkillSlot* m_SkillSL = (CWndNewSkillSlot*)g_WndMng.GetWndBase(APP_SLOT);
		if( g_WndMng.m_pWndTaskBar->m_nExecute > 0 )
			m_SkillSL->RotateSLOT += 60;
	}
#endif
#endif
12/28/2016 06:43 Ecrypter#7
How about when you use actionslot neuz crash?
12/28/2016 12:20 Rhyder`#8
Quote:
Originally Posted by Ecrypter View Post
How about when you use actionslot neuz crash?

Debug

No error log no solution
12/28/2016 12:35 Dark®©#9
my neuz not crashing,only slow rotation
01/01/2017 05:49 Ecrypter#10
Quote:
Originally Posted by Rhyder` View Post
Debug

No error log no solution
[ATTACH][IMG]263064[/IMG][/ATTACH]
where i can fix this? when i use the skill my neuz crush