- Joined
- May 22, 2020
- Messages
- 226
- Reaction score
- 73
GLogicData.cpp
Find: bool bMONEY_DROP2FIELD = true;
Add Below
GLogicData.h
Find: extern bool bMONEY_DROP2FIELD;
Add Below
GLogicDataLoad.cpp
Find: cFILE.getflag( "bMONEY_DROP2FIELD", 1, 1, bMONEY_DROP2FIELD );
Add Below
InventoryWindow.cpp
Find: case INVENTORY_MONEY_BUTTON:
Replace the Whole Code to:
RAN Client Side
default.charclass
Find: bMONEY_DROP2FIELD 0
Add Below
NOTE: change the value to 1 if you want to enable gold locker deposit, else change to 0 when you don't want to enable gold deposit. this works both personal storage and guild storage locker.
PS: Please leave the credit(for my self) as is, so i can continue to share my works here. thank you.
Find: bool bMONEY_DROP2FIELD = true;
Add Below
C++:
/*disable gold deposit in locker, Jeey-, 2023/5/6 */
// Note : ----------------------------------------------------------------±â´É ¼³Á¤.
bool bENABLE_DEPOSIT2LOCKER = true; // µ· ¹Ù´Ú¿¡ ¹ö¸®±â °¡´É ¿©ºÎ.
GLogicData.h
Find: extern bool bMONEY_DROP2FIELD;
Add Below
C++:
extern bool bENABLE_DEPOSIT2LOCKER; // µ· ¹Ù´Ú¿¡ ¹ö¸®±â °¡´É ¿©ºÎ.
GLogicDataLoad.cpp
Find: cFILE.getflag( "bMONEY_DROP2FIELD", 1, 1, bMONEY_DROP2FIELD );
Add Below
C++:
/*disable gold deposit in locker, Jeey-, 2023/5/6 */
// Note : ----------------------------------------------------------------±â´É ¼³Á¤.
cFILE.getflag( "bENABLE_DEPOSIT2LOCKER", 1, 1, bENABLE_DEPOSIT2LOCKER );
InventoryWindow.cpp
Find: case INVENTORY_MONEY_BUTTON:
Replace the Whole Code to:
Code:
case INVENTORY_MONEY_BUTTON:
{
if ( CHECK_MOUSEIN_LBUPLIKE ( dwMsg ) )
{
if ( CInnerInterface::GetInstance().IsStorageWindowOpen () && GLCONST_CHAR::bENABLE_DEPOSIT2LOCKER )
{
DoModal ( ID2GAMEINTEXT("PLAYINTERFACE_31"), MODAL_INPUT, EDITBOX_MONEY, MODAL_SAVEMONEY );
}
else if ( CInnerInterface::GetInstance().IsClubStorageWindowOpen () && GLCONST_CHAR::bENABLE_DEPOSIT2LOCKER )
{
DoModal ( ID2GAMEINTEXT("PLAYINTERFACE_31"), MODAL_INPUT, EDITBOX_MONEY, MODAL_CLUB_SAVEMONEY );
}
else
{
if ( GLCONST_CHAR::bMONEY_DROP2FIELD )
{
DoModal ( ID2GAMEINTEXT("MONEYTO_FIELD"), MODAL_INPUT, EDITBOX_MONEY, MODAL_INVENTORY_MONEY_TO_FIELD );
}
}
}
}
break;
RAN Client Side
default.charclass
Find: bMONEY_DROP2FIELD 0
Add Below
C++:
bENABLE_DEPOSIT2LOCKER 0
//--------------------------------------------------------------------
PS: Please leave the credit(for my self) as is, so i can continue to share my works here. thank you.

