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...
 
Mind sharing it ?
Code:
itemdef.cpp
find std::string ITEMTYPE[ITEM_NSIZE] =
and then add to the last - "Item Selective Box",                /*selective form box, Arvin.BC, 3-10-2022*/

itemdef.h
find ITEM_NSIZE                = 91,    //    Á¾·ù°¹¼ö.
and then add in the top -     ITEM_SELECTIVEFORM_BOX    = 90,    /*selective form box, emmcatap, 3-10-2022*/

sorry im not good in teaching/english :)
 
Upvote 0
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);
 }
Just declare the missing code :)

Go to ItemSlot.cpp
if ( pItemMove->GetItem () != NATIVEID_NULL () )
{
const UIRECT& rcSlotPos = m_pItemImageArray[m_nIndex]->GetGlobalPos ();
pItemMove->SetGlobalPos ( rcSlotPos );
AddMessageEx ( UIMSG_MOUSEIN_ITEMSLOT | UIMSG_TOTOPPARENT );
}
//add this below:
if ( dwMsg & UIMSG_LB_UP )
{
AddMessageEx ( UIMSG_LBMUP_ITEMSLOT | UIMSG_TOTOPPARENT );
}

Go to ItemSlot.h
const DWORD UIMSG_MOUSEIN_ITEMSLOT = UIMSG_USER1;
//add this below
const DWORD UIMSG_LBMUP_ITEMSLOT = UIMSG_USER2;

My only problem is the UI

1712244627980 - Selection Box - RaGEZONE Forums
1712244516913 - Selection Box - RaGEZONE Forums


Update: After click the choose and select yes, no item appeared in my inventory.

1712284817106 - Selection Box - RaGEZONE Forums
 
Last edited:
Upvote 0
View attachment 241274how to fix this? no indication that the box selected... when i click the box its no sign that i selected it...
Can you Specify what solution did you Use Because mine is same this Problem and also I did what you said before and i included also the misiing code that you said on this

Code:
itemdef.cpp
find std::string ITEMTYPE[ITEM_NSIZE] =
and then add to the last - "Item Selective Box", /*selective form box, Arvin.BC, 3-10-2022*/

itemdef.h
find ITEM_NSIZE = 91, // Á¾·ù°¹¼ö.
and then add in the top - ITEM_SELECTIVEFORM_BOX = 90, /*selective form box, emmcatap, 3-10-2022*/


but the problem is not fixed it. T_T
 
Upvote 0
Captur - Selection Box - RaGEZONE Forums
how to fixed this? whenever i select the item and choose the item name not show as shown in the blue circle?
 
Upvote 0
Anyone know ? when i click the item nothing item . i already do all your guides
 
Upvote 0
Just declare the missing code :)

Go to ItemSlot.cpp
if ( pItemMove->GetItem () != NATIVEID_NULL () )
{
const UIRECT& rcSlotPos = m_pItemImageArray[m_nIndex]->GetGlobalPos ();
pItemMove->SetGlobalPos ( rcSlotPos );
AddMessageEx ( UIMSG_MOUSEIN_ITEMSLOT | UIMSG_TOTOPPARENT );
}
//add this below:
if ( dwMsg & UIMSG_LB_UP )
{
AddMessageEx ( UIMSG_LBMUP_ITEMSLOT | UIMSG_TOTOPPARENT );
}

Go to ItemSlot.h
const DWORD UIMSG_MOUSEIN_ITEMSLOT = UIMSG_USER1;
//add this below
const DWORD UIMSG_LBMUP_ITEMSLOT = UIMSG_USER2;

My only problem is the UI

View attachment 259166View attachment 259165

Update: After click the choose and select yes, no item appeared in my inventory.

View attachment 259197
Hello how did you fix the after click the selected items no item appear on inventory? thank you in advance

NVM ifix
 
Last edited:
Upvote 0
someone already fix this problem? about not getting the item inside the choice box?
 
Upvote 0
Back