Help with some mod?

Results 1 to 3 of 3
  1. #1
    Apprentice xraymondx is offline
    MemberRank
    Feb 2009 Join Date
    19Posts

    Help with some mod?

    I'm not sure if this is legal or not but yea, I wonder if there is a modification that will automatically sell stuff from my inventory using double click. no need to drag or anything..


  2. #2
    Apprentice xraymondx is offline
    MemberRank
    Feb 2009 Join Date
    19Posts

    Re: Help with some mod?

    bump.

  3. #3
    Unity Developer SirTwistedStorm is offline
    MemberRank
    Oct 2008 Join Date
    TexasLocation
    597Posts

    Re: Help with some mod?

    Normally Id say to read the source it's fairly easy to make mods but why not save your day here you go.

    Open WndField.cpp

    search for

    Code:
    // ÇÁ·ÎÆÛƼ°¡ ³ÎµÇ¼­ Á״´Ù.
    under

    Code:
    if( pProp )
    {
    add this

    Code:
    					CWndShop* wndShop = (CWndShop*)g_WndMng.GetWndBase( APP_SHOP_ );
    					if( wndShop )
    					{
    						BOOL bWarning = FALSE;
    						if( ( (CItemElem*)pFocusItem )->IsCharged() )
    							bWarning = TRUE;
    
    						if( g_pPlayer->m_Inventory.IsEquip( ( (CItemElem*)pFocusItem )->m_dwObjId ) == FALSE )
    						{
    							if( bWarning )
    							{
    								SAFE_DELETE( wndShop->m_pWndWarning );
    								SAFE_DELETE( wndShop->m_pWndConfirmSell );
    								wndShop->m_pWndWarning = new CWndWarning;
    								wndShop->m_pWndWarning->m_pItemElem = (CItemElem*)pFocusItem;
    								wndShop->m_pWndWarning->m_pMover = wndShop->m_pMover;
    								wndShop->m_pWndWarning->Initialize( this, APP_WARNING );
    							}
    							else
    							{
    								SAFE_DELETE( wndShop->m_pWndWarning );
    								SAFE_DELETE( wndShop->m_pWndConfirmSell );
    								wndShop->m_pWndConfirmSell = new CWndConfirmSell;
    								wndShop->m_pWndConfirmSell->m_pItemElem = (CItemElem*)pFocusItem;
    								wndShop->m_pWndConfirmSell->m_pMover = wndShop->m_pMover;
    								wndShop->m_pWndConfirmSell->Initialize( this, APP_CONFIRM_SELL );
    							}
    						}
    						else
    						{
    							g_WndMng.PutString( prj.GetText(TID_GAME_EQUIPTRADE), NULL, prj.GetTextColor(TID_GAME_EQUIPTRADE) );
    						}
    					}



Advertisement