Newbie Spellweaver
- Joined
- Sep 8, 2011
- Messages
- 67
- Reaction score
- 252
#FuckMental. #RagezoneIsDead
Years and still no dev status.
Years and still no dev status.
Last edited:
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Great release thanks man!!!
Little Help please
You must be registered to see links
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?
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() );
I think so btw i got this
WndItemCtrl.cpp
Code:...
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
You must be registered to see links
Implement the UltilityFontFunctions that links to another RZ thread.
There is literally a bullet point with a link to RZ in the .md file that you're copying the code from.I knew it!. I saw it on your WndBoxPreview.cpp Anyway willing to wait for that thread. Big Thanks for your contribution
I added and replaced as you did. This in the original appears in User.cppBOOL CUser:oUseGiftbox( 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.
There's a PH "dev", @Hyellow, that has been reselling code under everyone's noses for years. (You must be registered to see links) 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:You must be registered to see links
Anarchy:You must be registered to see links
Box Preview:You must be registered to see links
CryptTool Source:You must be registered to see links(as seen in GoW Unpacker)
I may start sharing more things.
#ifdef __MobElementDisplay
mobElement = 0;
#endif
There is literally a bullet point with a link to RZ in the .md file that you're copying the code from.