Selection Box

Experienced Elementalist
Joined
Aug 27, 2023
Messages
290
Reaction score
40
Captur - Selection Box - RaGEZONE Forums
how to fix this? no indication that the box selected... when i click the box its no sign that i selected it...
 
Fix it in your source code.
Try this
Find it in SelectiveformBoxPage.cpp
Code:
if ( (UIMSG_LBMUP_ITEMSLOT & dwMsg) == UIMSG_LBMUP_ITEMSLOT )
            {              
                if ( nPosY < 0 || nPosX < 0 )
                    return;

                // ÀÌÀü Çø³ ¾ø¾Ø´Ù;
                if ( m_nSelectPosX != -1 || m_nSelectPosY != -1 )
                    m_pItemSlotArray[m_nSelectPosY]->SetFlipItem(m_nSelectPosX,FALSE);

                if ( sInvenItem.sItemCustom.sNativeID != NATIVEID_NULL() )
                {
                    m_nSelectPosX = nPosX;
                    m_nSelectPosY = nPosY;
                    m_pItemSlotArray[m_nSelectPosY]->SetFlipItem(m_nSelectPosX,TRUE);
               }
Change it to
Code:
 if ( dwMsg & UIMSG_LB_UP )
 {
              if ( nPosY < 0 || nPosX < 0 )
                    return;

                // ÀÌÀü Çø³ ¾ø¾Ø´Ù;
                if ( m_nSelectPosX != -1 || m_nSelectPosY != -1 )
                    m_pItemSlotArray[m_nSelectPosY]->SetFlipItem(m_nSelectPosX,FALSE);

                if ( sInvenItem.sItemCustom.sNativeID != NATIVEID_NULL() )
                {
                    m_nSelectPosX = nPosX;
                    m_nSelectPosY = nPosY;
                    m_pItemSlotArray[m_nSelectPosY]->SetFlipItem(m_nSelectPosX,TRUE);
 }
 
Last edited:
Upvote 0
thanks i will try

still no indicate of selected :(
 
Last edited:
Upvote 0
You missing code to itemslot. Cpp and h on interface..
mind to share what missing code on that files sir? i explore the one i that have slectiveformbox but nothing also same as mine no indication of select
 
Upvote 0
sorry to bother sir.... any keyword for the missing code? cause its a lot of code diff from the source i use... thanks sir

still... i try to look at it but still no indication of the box was selected... anyoneone what code is missing?
 
Last edited:
Upvote 0
Open InnerInterfaceModalMsg.cpp
Find:

case MODAL_ITEMMIX_OKQUESTION:
{
if( UIMSG_MODAL_OK & dwMsg )
{
m_pItemMixWindow->SetAnimation();
}
}
break;

add Below :

case MODAL_SELECTIVE_BOX_SELECT:
{
if ( UIMSG_MODAL_OK & dwMsg)
{
int nPos = -1;
m_pSelectiveBoxWindow->GetSelectPos(nPos);
GLGaeaClient::GetInstance().GetCharacter()->ReqSelectiveBoxSelect(nPos);
}
}

change what ever is your ReqSelective or ReqSelform blahblahblah
 
Upvote 0
Open InnerInterfaceModalMsg.cpp
Find:



add Below :



change what ever is your ReqSelective or ReqSelform blahblahblah
I inserted the code on the cpp but i got fatal errors sir
PS : Im a newbie, dont hate me if i did it wrong hehe
 

Attachments

  • cod - Selection Box - RaGEZONE Forums
    code.webp
    27 KB · Views: 139
  • compile error - Selection Box - RaGEZONE Forums
    compile error.webp
    39.8 KB · Views: 138
Upvote 0
Back