Random stuff

Not really surprised in the least bit at how Nadela King does things.

Thanks for your contributions Fenris! :thumbup1:
 
Great release thanks man!!!



Little Help please

 
i should try this anarchy, thankyou so much for this release Fenris:D:
 
Little help again my compilation is all succesful but when i try to use a packitem/giftbox items in game it's like a normal procedure and nothings change can anyone give me a hint why __APP_BOXPREVIEW not popping up in game?
 
Little help again my compilation is all succesful but when i try to use a packitem/giftbox items in game it's like a normal procedure and nothings change can anyone give me a hint why __APP_BOXPREVIEW not popping up in game?

If it's opening the box still rather than opening the window, then double check to see if you've copied / did the WndItemCtrl.cpp edit correctly.
 
I think so btw i got this

WndItemCtrl.cpp
Code:
void CWndItemCtrl::OnLButtonDblClk( UINT nFlags, CPoint point )
{
    if( !g_pPlayer )
        return;

    if( !m_pItemContainer )
        return;

    if( GetAsyncKeyState( VK_LCONTROL ) & 0x8000 )
        return;
#ifdef __MODEL_VIEW
    if( GetAsyncKeyState(VK_SHIFT) & 0x8000 && !g_WndMng.GetWndBase( APP_SMELT_SAFETY ) )
    {
        int nItem = HitTest(point);
        if( nItem == -1 ) return;
        CItemElem *pItem = GetItem(nItem);
        if( pItem && pItem->GetProp() )
        {
            CWndModelView *pWndViewer = (CWndModelView*)g_WndMng.GetApplet(APP_MODEL_VIEW);
            if( !pWndViewer )
            {
                pWndViewer = (CWndModelView*)g_WndMng.CreateApplet(APP_MODEL_VIEW);
                if( pWndViewer )
                {
                    if( !pWndViewer->SetPart(pItem->GetProp()) )
                        pWndViewer->Destroy();
                }
            }else
                pWndViewer->SetPart(pItem->GetProp());
        }
        return;
    }
#endif
    if(    CWndBase::m_GlobalShortcut.IsEmpty() == FALSE )
        return;

    int nItem = HitTest( point );

    if( nItem == -1 )    return;

    CItemElem* pItemElem = NULL;
    pItemElem = GetItem( nItem );

#if __VER >= 8 //__CSC_VER8_5
    if( IsUsableItem( pItemElem ) || (m_useDieFlag && pItemElem != NULL))
#else
    if( IsUsableItem( pItemElem ) )
#endif //__CSC_VER8_5
    {
        if( IsSelectedItem( nItem ) == FALSE )
        {
            m_dwSelectAry.RemoveAll();
            m_dwSelectAry.Add( nItem );
            m_nCurSelect = nItem;
            m_pFocusItem = pItemElem;
        }
[COLOR=#FF0000]#ifdef __BoxPreview
        if (CGiftboxMan::GetInstance()->isGiftbox(pItemElem->m_dwItemId) ||  CPackItem::GetInstance()->isPackItem(pItemElem->m_dwItemId))
        {
            if (g_WndMng.IsOpenWnd(APP_BOXPREVIEW))
            {
                g_WndMng.wndBoxPreview->setData(pItemElem->m_dwItemId, pItemElem->m_dwObjId, APP_INVENTORY);
                return;
            }
            g_WndMng.wndBoxPreview = new CWndBoxPreview();
            g_WndMng.wndBoxPreview->Initialize();
            g_WndMng.wndBoxPreview->setData(pItemElem->m_dwItemId, pItemElem->m_dwObjId, APP_INVENTORY);
            return;
        }
#endif[/COLOR]

        CWndBase* pParent = (CWndBase*)GetParentWnd();
        pParent->OnChildNotify( WIN_DBLCLK,m_nIdWnd,(LRESULT*)m_pFocusItem); 
    }
}
void CWndItemCtrl::OnRButtonDblClk( UINT nFlags, CPoint point)
{
}
void CWndItemCtrl::OnSize( UINT nType, int cx, int cy )
{
//    m_string.Reset( g_2DRender.m_pFont, &GetClientRect() );
 
Did you add the propgiftbox and proppackitem files to the client?


Ohh sorry! I forgot that one, Btw it's working now but i got this black thingy and the names are gone lol

 
Last edited:
Ohh sorry! I forgot that one, Btw it's working now but i got this black thingy and the names are gone lol


Implement the UltilityFontFunctions that links to another RZ thread.
 
Implement the UltilityFontFunctions that links to another RZ thread.

I knew it!. I saw it on your WndBoxPreview.cpp Anyway willing to wait for that thread. Big Thanks for your contribution
 
I knew it!. I saw it on your WndBoxPreview.cpp Anyway willing to wait for that thread. Big Thanks for your contribution
There is literally a bullet point with a link to RZ in the .md file that you're copying the code from.
 
I added and replaced as you did. This in the original appears in User.cppBOOL CUser::DoUseGiftbox( CItemElem* pItemElem, DWORD dwItemId ) in CGiftboxMan doesn't have this Open member I added yours but it feels like he's only working with the code above #else, the replaced code below #else looks black If it doesn't work, what should I do to solve it? Project.cpp . Project.h added such a #else and replaced it all.
 
I added and replaced as you did. This in the original appears in User.cppBOOL CUser::DoUseGiftbox( CItemElem* pItemElem, DWORD dwItemId ) in CGiftboxMan doesn't have this Open member I added yours but it feels like he's only working with the code above #else, the replaced code below #else looks black If it doesn't work, what should I do to solve it? Project.cpp . Project.h added such a #else and replaced it all.

Just read the thread if it's not working after following the replacements. (probably missing the files client sided so it doesnt open the app)


update:
- updated the crypttool with another key cytex 2 electric boogaloo
 
Last edited:
There's a PH "dev", @Hyellow, that has been reselling code under everyone's noses for years. ( ) Not only that, but it's really ironic when you take a look at some things done to other sources by heads of communities and servers. It's some major Copium and Pepega energy. I meant to share this a while ago when I put them on GitHub, but here you go:


Discord SDK Implementation:
Anarchy:
Box Preview:

CryptTool Source: (as seen in GoW Unpacker)

I may start sharing more things.


Can anyone help with this please? this __DamageRenderComma


And with the __MobElementDisplay It's succesfuly compiled and working in the targets in game but. The problem is all items in my inventory has the same display on the monster targets i mean it has __MobElementDisplay too :D: how to fix it?
 
For damage render, it says it there in the error.
"init statements in if/switch requires C++17". You're not running on c++17. All it is is an initialization statement and then a boolean statement in an if/switch. You can read this for more information

For mob element display: It's because I missed copying over stuff to the file on github. All tooltips is just one instance of this class that changes the variables based on what its on. The variable never gets reset. its missing this in the PutTooltip / puttooltipex functions.
Code:
#ifdef __MobElementDisplay
	mobElement = 0;
#endif
 
Back