Add extra quickslot bar
#11


32 minutes ago, rondo157 said:




I did it but i have duplicate 3 and 4 qs 



2




I can't access your link, The code posted here is not complete...

#12

2

#13

A question about the ps.dat editor does anyone have this editor for me and can make it available?

 

I would be very grateful

#14


24 minutes ago, rondo157 said:




2




CUIChildQuickSlot::CUIChildQuickSlot(int nid)
: m_abtnItems(NULL), m_bIsInside(FALSE)
{
    m_nID = nid;
    m_bRotation[0] = &g_bQuickSlot1HorOrVer;
    m_bRotation[1] = &g_bQuickSlot2HorOrVer;
    m_bLock[0] = &g_bQuickSlot1Lock;
    m_bLock[1] = &g_bQuickSlot2Lock;
    // NICOLASG MARK (QUICKSLOT)
    m_bRotation[2] = &g_bQuickSlot3HorOrVer;
    m_bLock[2] = &g_bQuickSlot3Lock;
    // NICOLASG MARK (QUICKSLOT)
    
// NICOLASG MARK (QUICKSLOT) OG:
    /*if (m_nID == UI_QUICKSLOT2)
        m_nCurSlot = 0;
    else
        m_nCurSlot = 1;*/
// NICOLASG MARK (QUICKSLOT) NEW:
    if (m_nID == UI_QUICKSLOT2)
        m_nCurSlot = 0;
    else if (m_nID == UI_QUICKSLOT3)
        m_nCurSlot = 1;
    else
        m_nCurSlot = 2;
// NICOLASG MARK (QUICKSLOT) END
    
    m_bEXSlot1On = FALSE;
    m_bEXSlot2On = FALSE;
    m_bEXSlot3On = FALSE; // NICOLASG MARK (QUICKSLOT)
    
    m_nSelSlotBtnID = -1;
    
    m_nStartX = 0;
    m_nStartY = 0;
}

maybe this?

#15


19 minutes ago, Gl1tch said:




A question about the ps.dat editor does anyone have this editor for me and can make it available?



 



I would be very grateful




2

2

#16

thx /index.php?/profile/14423-nicolasg/&do=hovercard" data-mentionid="14423" href="/index.php?/profile/14423-nicolasg/" rel="">@nikolausg

 

#17

You need to work on this piece of code. Otherwise, you have everything right.



 

if (bResultView)
{
nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? -1 : 1) : 0; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? -1 : 1) : 0;
}
else
{
nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? 1 : 0) : -1; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? 1 : 0) : -1;
}

 

#18


1 minute ago, flyfox20013 said:




You need to work on this piece of code. Otherwise, you have everything right.



 




if (bResultView)
{
nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? -1 : 1) : 0; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? -1 : 1) : 0;
}
else
{
nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX3 >= 1 ? 1 : 0) : -1; // NICOLASG MARK (QUICKSLOT) OG: nCurOpenUI = g_bQuickSlotEX1 >= 1 ? (g_bQuickSlotEX2 >= 1 ? 1 : 0) : -1;
}


 




yep, after search about ? : operators it was easy ^^





 

#19

I should have visited the forum earlier ?

#20


On 5/9/2022 at 5:02 AM, nicolasg said:




yep, after search about ? : operators it was easy ^^









 




can u upload all files what u changed?



Forum Jump:


Users browsing this thread: 1 Guest(s)