- Joined
- Dec 23, 2008
- Messages
- 67
- Reaction score
- 3
offline run ok. If i want to change to IP LAN ?->how to?
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![COLOR=#000000][COLOR=#0000ff]#ifdef __NAVIGATOR_V19[/COLOR]
[COLOR=#0000ff]void[/COLOR] CWndNavigator::PaintFrame( C2DRender[COLOR=#0000ff]*[/COLOR] p2DRender )
{
CD3DFont* pOldFont = p2DRender->GetFont();
p2DRender->SetFont( CWndBase::m_Theme.m_pFontWndTitle );
CSize kSize = CWndBase::m_Theme.m_pFontWndTitle->GetTextExtent( m_strTitle.GetString() );
[COLOR=#0000ff]int[/COLOR] nX = ([COLOR=#0000ff]int[/COLOR])( ([COLOR=#0000ff]float[/COLOR])m_rectWindow.Width() * [COLOR=#098658]0.5f[/COLOR] - ([COLOR=#0000ff]float[/COLOR])kSize.cx * [COLOR=#098658]0.5f[/COLOR] );
p2DRender->TextOut( nX, [COLOR=#098658]5[/COLOR], m_strTitle, m_dwColor );
p2DRender->SetFont( pOldFont );
[COLOR=#0000ff]return[/COLOR];
CWndNeuz::PaintFrame( p2DRender );
}
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //__NAVIGATOR_V19[/COLOR]
[/COLOR]
[COLOR=#000000][COLOR=#0000ff]#ifdef __NAVIGATOR_V19[/COLOR]
[COLOR=#0000ff]return[/COLOR] CWndBase::Create( WBS_MOVE | WBS_SOUND | WBS_CAPTION | WBS_NODRAWFRAME, m_pWndRoot->GetWindowRect(), pWndParent, dwWndId );
[COLOR=#0000ff]#else[/COLOR][COLOR=#008000]// __NAVIGATOR_V19[/COLOR]
[/COLOR]
[COLOR=#000000][COLOR=#0000FF]#ifdef __NAVIGATOR_V19[/COLOR]
[COLOR=#0000FF]return[/COLOR] CWndBase::Create( WBS_MOVE | WBS_SOUND | WBS_CAPTION, m_pWndRoot->GetWindowRect(), pWndParent, dwWndId );
[COLOR=#0000FF]#else[/COLOR][COLOR=#008000]// __NAVIGATOR_V19[/COLOR]
[/COLOR]
[COLOR=#000000] [COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]void[/COLOR] SerializeRegInfo( CAr[COLOR=#0000ff]&[/COLOR] ar, DWORD[COLOR=#0000ff]&[/COLOR] dwVersion );
CWndNavigator();
[COLOR=#0000ff]virtual[/COLOR] ~CWndNavigator();
[COLOR=#0000ff]#ifdef __NAVIGATOR_V19[/COLOR]
[COLOR=#0000ff]virtual[/COLOR] [COLOR=#0000ff]void[/COLOR] PaintFrame( C2DRender[COLOR=#0000ff]*[/COLOR] p2DRender );
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //____NAVIGATOR_V19[/COLOR]
[/COLOR]
You guys really need to start reading the theards and pay some attention..offline run ok. If i want to change to IP LAN ?->how to?
[COLOR=#000000]BOOL CWndTaskBar::Process( [COLOR=#0000ff]void[/COLOR] )
{
[COLOR=#008000] // ���� ��� �����ؾ��ϴ°͵��� ���⼭...[/COLOR]
CPoint point = GetMousePoint();
[COLOR=#0000ff]#ifdef __SECURITY_FIXES[/COLOR]
CRect wndRect = GetWindowRect();
[COLOR=#0000ff]if[/COLOR]( wndRect.PtInRect( point ) )
[COLOR=#0000ff]#endif[/COLOR]
{
[COLOR=#0000ff]#ifndef __NEW_TASKBAR_V19[/COLOR][COLOR=#008000] //<------------------------------[/COLOR]
CRect rect = CRect( POINT_APPLET_X, POINT_APPLET_Y, POINT_APPLET_X + ICON_SIZE, POINT_APPLET_Y + ICON_SIZE );
[COLOR=#0000ff]for[/COLOR]( [COLOR=#0000ff]int[/COLOR] i = [COLOR=#098658]0[/COLOR]; i < m_nMaxSlotApplet; i++ )
{
LPSHORTCUT lpShortcut = &m_aSlotApplet[ i ] ;
[COLOR=#0000ff]if[/COLOR]( !lpShortcut->IsEmpty() && rect.PtInRect( point) )
{
MotionProp* pMotionProp = prj.GetMotionProp( lpShortcut->m_dwId );
[COLOR=#0000ff]if[/COLOR]( IsShortcut( lpShortcut, SHORTCUT_MOTION, MOT_BASE_CHEER ) )
PutTooTip( lpShortcut, point, &rect );
}
rect += CPoint( ICON_SIZE, [COLOR=#098658]0[/COLOR] );
}
rect = CRect( POINT_ITEM_X, POINT_ITEM_Y, POINT_ITEM_X + ICON_SIZE, POINT_ITEM_Y + ICON_SIZE );
[COLOR=#0000ff]for[/COLOR]( [COLOR=#0000ff]int[/COLOR] i = [COLOR=#098658]0[/COLOR]; i < MAX_SLOT_ITEM; i++ )
{
LPSHORTCUT lpShortcut = &m_paSlotItem[ i ] ;
[COLOR=#0000ff]if[/COLOR]( !lpShortcut->IsEmpty() && rect.PtInRect( point) )
{
[COLOR=#0000ff]if[/COLOR]( IsShortcut( lpShortcut, SHORTCUT_MOTION, MOT_BASE_CHEER ) )
PutTooTip( lpShortcut, point,&rect );
}
rect += CPoint( ICON_SIZE, [COLOR=#098658]0[/COLOR] );
}
rect = CRect( POINT_QUEUE_X, POINT_QUEUE_Y, POINT_QUEUE_X + SKILL_SIZE, POINT_QUEUE_Y + SKILL_SIZE );
[COLOR=#0000ff]for[/COLOR]( [COLOR=#0000ff]int[/COLOR] i = [COLOR=#098658]0[/COLOR]; i < MAX_SLOT_QUEUE; i++ )
{
LPSHORTCUT lpShortcut = &m_aSlotQueue[ i ] ;
[COLOR=#0000ff]if[/COLOR]( !lpShortcut->IsEmpty() && rect.PtInRect( point) )
{
[COLOR=#0000ff]if[/COLOR]( IsShortcut( lpShortcut, SHORTCUT_MOTION, MOT_BASE_CHEER ) )
PutTooTip( lpShortcut, point,&rect );
}
rect += CPoint( SKILL_SIZE, [COLOR=#098658]0[/COLOR] );
}
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //__NEW_TASKBAR_V19[/COLOR]
}
[/COLOR]
You guys really need to start reading the theards and pay some attention..
https://forum.ragezone.com/f724/vs22-full-setup-guide-for-1192396/ <-- 8. How to make your server public (and change default ports)
found the issue just comment this part out :
Code:[COLOR=#000000]BOOL CWndTaskBar::Process( [COLOR=#0000ff]void[/COLOR] ) { [COLOR=#008000] // ���� ��� �����ؾ��ϴ°͵��� ���⼭...[/COLOR] CPoint point = GetMousePoint(); [COLOR=#0000ff]#ifdef __SECURITY_FIXES[/COLOR] CRect wndRect = GetWindowRect(); [COLOR=#0000ff]if[/COLOR]( wndRect.PtInRect( point ) ) [COLOR=#0000ff]#endif[/COLOR] { [COLOR=#0000ff]#ifndef __NEW_TASKBAR_V19[/COLOR][COLOR=#008000] //<------------------------------[/COLOR] CRect rect = CRect( POINT_APPLET_X, POINT_APPLET_Y, POINT_APPLET_X + ICON_SIZE, POINT_APPLET_Y + ICON_SIZE ); [COLOR=#0000ff]for[/COLOR]( [COLOR=#0000ff]int[/COLOR] i = [COLOR=#098658]0[/COLOR]; i < m_nMaxSlotApplet; i++ ) { LPSHORTCUT lpShortcut = &m_aSlotApplet[ i ] ; [COLOR=#0000ff]if[/COLOR]( !lpShortcut->IsEmpty() && rect.PtInRect( point) ) { MotionProp* pMotionProp = prj.GetMotionProp( lpShortcut->m_dwId ); [COLOR=#0000ff]if[/COLOR]( IsShortcut( lpShortcut, SHORTCUT_MOTION, MOT_BASE_CHEER ) ) PutTooTip( lpShortcut, point, &rect ); } rect += CPoint( ICON_SIZE, [COLOR=#098658]0[/COLOR] ); } rect = CRect( POINT_ITEM_X, POINT_ITEM_Y, POINT_ITEM_X + ICON_SIZE, POINT_ITEM_Y + ICON_SIZE ); [COLOR=#0000ff]for[/COLOR]( [COLOR=#0000ff]int[/COLOR] i = [COLOR=#098658]0[/COLOR]; i < MAX_SLOT_ITEM; i++ ) { LPSHORTCUT lpShortcut = &m_paSlotItem[ i ] ; [COLOR=#0000ff]if[/COLOR]( !lpShortcut->IsEmpty() && rect.PtInRect( point) ) { [COLOR=#0000ff]if[/COLOR]( IsShortcut( lpShortcut, SHORTCUT_MOTION, MOT_BASE_CHEER ) ) PutTooTip( lpShortcut, point,&rect ); } rect += CPoint( ICON_SIZE, [COLOR=#098658]0[/COLOR] ); } rect = CRect( POINT_QUEUE_X, POINT_QUEUE_Y, POINT_QUEUE_X + SKILL_SIZE, POINT_QUEUE_Y + SKILL_SIZE ); [COLOR=#0000ff]for[/COLOR]( [COLOR=#0000ff]int[/COLOR] i = [COLOR=#098658]0[/COLOR]; i < MAX_SLOT_QUEUE; i++ ) { LPSHORTCUT lpShortcut = &m_aSlotQueue[ i ] ; [COLOR=#0000ff]if[/COLOR]( !lpShortcut->IsEmpty() && rect.PtInRect( point) ) { [COLOR=#0000ff]if[/COLOR]( IsShortcut( lpShortcut, SHORTCUT_MOTION, MOT_BASE_CHEER ) ) PutTooTip( lpShortcut, point,&rect ); } rect += CPoint( SKILL_SIZE, [COLOR=#098658]0[/COLOR] ); } [COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //__NEW_TASKBAR_V19[/COLOR] } [/COLOR]
[COLOR=#000000][COLOR=#0000ff]void[/COLOR] CWndGuideTextMgr::OnInitialUpdate()
{
CWndNeuz::OnInitialUpdate();
DelWndStyle(WBS_MOVE);
AddWndStyle(WBS_TOPMOST);
m_wndTitleBar.SetVisible( FALSE );
m_bVisible = FALSE;
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]19[/COLOR]
CWndText* pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
m_Rect[[COLOR=#098658]0[/COLOR]] = pWndText->GetWndRect();
CWndButton* pWndButtonBack = (CWndButton*)GetDlgItem( WIDC_BACK );
pWndButtonBack->SetVisible(FALSE);
pWndButtonBack->SetTitle( prj.GetText( TID_MMI_UIBUTTON_BUTTON01 ) );
m_Rect[[COLOR=#098658]1[/COLOR]] = pWndButtonBack->GetWndRect();
CWndButton* pWndButtonNext = (CWndButton*)GetDlgItem( WIDC_NEXT );
pWndButtonNext->SetTitle( prj.GetText( TID_MMI_INFOPANGTIP_BUTTON01 ) );
m_Rect[[COLOR=#098658]2[/COLOR]] = pWndButtonNext->GetWndRect();
m_Rect[[COLOR=#098658]3[/COLOR]] = GetWndRect();
CWndButton* pWndButtonClose = ( CWndButton* )GetDlgItem( WIDC_CLOSE );
m_rectCloseButton = pWndButtonClose->GetWndRect();
pWndButtonClose->SetTitle( prj.GetText( TID_MMI_INFOPANGTIP_BUTTON02 ) );
[COLOR=#0000ff]#else[/COLOR][COLOR=#008000] //__VER >= 19[/COLOR]
CWndText* pWndText;
CWndButton* pWndButton;
pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
m_Rect[[COLOR=#098658]0[/COLOR]] = pWndText->GetWndRect();
pWndButton = (CWndButton*)GetDlgItem( WIDC_BACK );
m_Rect[[COLOR=#098658]1[/COLOR]] = pWndButton->GetWndRect();
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]12[/COLOR][COLOR=#008000] // __MOD_TUTORIAL[/COLOR]
pWndButton->SetVisible(FALSE);
[COLOR=#0000ff]#endif[/COLOR]
pWndButton = (CWndButton*)GetDlgItem( WIDC_NEXT );
m_Rect[[COLOR=#098658]2[/COLOR]] = pWndButton->GetWndRect();
m_Rect[[COLOR=#098658]3[/COLOR]] = GetWndRect();
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //__VER >= 19[/COLOR]
m_nCurrentVector = [COLOR=#098658]0[/COLOR];
m_VecGuideText.clear();
m_pTextureBG = m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, MakePath( DIR_THEME, [COLOR=#a31515]"GuideBG.tga"[/COLOR] ), [COLOR=#098658]0[/COLOR], TRUE );
}
[/COLOR]
[COLOR=#000000][COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]12[/COLOR][COLOR=#008000] // __MOD_TUTORIAL[/COLOR]
[COLOR=#0000ff]void[/COLOR] CWndGuideTextMgr::_SetGuideText(GUIDE_STRUCT guide, [COLOR=#0000ff]bool[/COLOR] bIsNext)
[COLOR=#0000ff]#else[/COLOR]
[COLOR=#0000ff]void[/COLOR] CWndGuideTextMgr::_SetGuideText(GUIDE_STRUCT guide)
[COLOR=#0000ff]#endif[/COLOR]
{
CWndText* pWndText;
CWndButton* pWndButton;
pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
pWndText->SetWndRect( m_Rect[[COLOR=#098658]0[/COLOR]] );
pWndButton= (CWndButton*)GetDlgItem( WIDC_BACK );
pWndButton->SetWndRect( m_Rect[[COLOR=#098658]1[/COLOR]] );
pWndButton= (CWndButton*)GetDlgItem( WIDC_NEXT );
pWndButton->SetWndRect( m_Rect[[COLOR=#098658]2[/COLOR]] );
SetWndRect( m_Rect[[COLOR=#098658]3[/COLOR]] );
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]12[/COLOR][COLOR=#008000] // __MOD_TUTORIAL[/COLOR]
[COLOR=#0000ff]if[/COLOR](bIsNext) pWndButton->SetVisible(TRUE);
[COLOR=#0000ff]else[/COLOR] pWndButton->SetVisible(FALSE);
[COLOR=#0000ff]#endif[/COLOR]
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]19[/COLOR]
CWndButton* pWndCloseButton = ( CWndButton* )GetDlgItem( WIDC_CLOSE );
[COLOR=#0000ff]if[/COLOR]( pWndCloseButton )
{
pWndCloseButton->SetWndRect( m_rectCloseButton );
}
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] // __VER >= 19[/COLOR]
m_bVisible = TRUE;
m_strHelpKey = guide.m_str;
pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]12[/COLOR][COLOR=#008000] // __MOD_TUTORIAL[/COLOR]
pWndText->SetString([COLOR=#a31515]""[/COLOR]);
pWndText->m_string.AddParsingString(LPCTSTR(guide.m_str));
pWndText->ResetString();
[COLOR=#0000ff]#else[/COLOR]
pWndText->SetString( (guide.m_nkey == CWndGuideSystem::KEY) ? prj.GetHelp( m_strHelpKey ) : guide.m_str );
[COLOR=#0000ff]#endif[/COLOR]
CRect rect = pWndText->GetWndRect();
pWndText->m_string.Align( m_pFont );
[COLOR=#0000ff]int[/COLOR] nLine = pWndText->m_string.GetLineCount();
[COLOR=#0000ff]if[/COLOR]( nLine < [COLOR=#098658]10[/COLOR] )
{
[COLOR=#0000ff]if[/COLOR]( nLine < [COLOR=#098658]8[/COLOR] )
nLine = [COLOR=#098658]8[/COLOR];
CRect clientrect = GetWndRect();
[COLOR=#0000ff]int[/COLOR] ngap = rect.Height() - (nLine * [COLOR=#098658]22[/COLOR]);
clientrect.top += ngap;
SetWndRect(clientrect);
rect.bottom -= ngap;
pWndText->SetWndRect( rect );
CRect ptRect;
[COLOR=#0000ff]#ifndef __MOD_TOTURIAL[/COLOR]
pWndButton= (CWndButton*)GetDlgItem( WIDC_BACK );
ptRect = pWndButton->GetWndRect();
ptRect.OffsetRect( [COLOR=#098658]0[/COLOR], -ngap );
pWndButton->SetWndRect(ptRect);
[COLOR=#0000ff]#endif[/COLOR]
pWndButton= (CWndButton*)GetDlgItem( WIDC_NEXT );
ptRect = pWndButton->GetWndRect();
ptRect.OffsetRect( [COLOR=#098658]0[/COLOR], -ngap );
pWndButton->SetWndRect(ptRect);
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]19[/COLOR]
pWndButton= (CWndButton*)GetDlgItem( WIDC_CLOSE );
ptRect = pWndButton->GetWndRect();
ptRect.OffsetRect( [COLOR=#098658]0[/COLOR], -ngap );
pWndButton->SetWndRect(ptRect);
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //__VER >= 19[/COLOR]
pWndText->m_wndScrollBar.m_bVisible = FALSE;
}
[COLOR=#0000ff]else[/COLOR]
{
[COLOR=#008000] /*[/COLOR]
[COLOR=#008000] pWndText = (CWndText*)GetDlgItem( WIDC_TEXT1 );[/COLOR]
[COLOR=#008000] pWndText->SetWndRect( m_Rect[0] );[/COLOR]
[COLOR=#008000] pWndButton= (CWndButton*)GetDlgItem( WIDC_BACK );[/COLOR]
[COLOR=#008000] pWndButton->SetWndRect( m_Rect[1] );[/COLOR]
[COLOR=#008000] pWndButton= (CWndButton*)GetDlgItem( WIDC_NEXT );[/COLOR]
[COLOR=#008000] pWndButton->SetWndRect( m_Rect[2] );[/COLOR]
[COLOR=#008000] SetWndRect( m_Rect[3] );[/COLOR]
[COLOR=#008000] */[/COLOR]
pWndText->m_wndScrollBar.m_bVisible = TRUE;
pWndText->SetWndRect( rect );
}
CWndGuideSystem* pWndGuide = (CWndGuideSystem*)GetWndBase( APP_GUIDE );
CRect rectGuide = pWndGuide->GetWindowRect( TRUE );
CPoint ptGuide = rectGuide.TopLeft();
CPoint ptMove;
pWndGuide->m_bVisible = TRUE;
CRect windowrect = GetWindowRect( TRUE );
[COLOR=#0000ff]if[/COLOR]( ptGuide.x > windowrect.Width() )
ptMove = ptGuide - CPoint( windowrect.Width(), [COLOR=#098658]0[/COLOR] );
[COLOR=#0000ff]else[/COLOR]
ptMove = ptGuide + CPoint( rectGuide.Width(), [COLOR=#098658]0[/COLOR] );
ptMove.y = rectGuide.bottom;
ptMove.y -= windowrect.Height();
[COLOR=#0000ff]if[/COLOR]( ptMove.y < [COLOR=#098658]0[/COLOR] )
ptMove.y = rectGuide.top;
Move( ptMove );
}
[/COLOR]
[COLOR=#000000][COLOR=#0000ff]class[/COLOR] CWndGuideTextMgr : [COLOR=#0000ff]public[/COLOR] CWndNeuz
{
[COLOR=#0000ff]public:[/COLOR]
CString m_strHelpKey;
CTexture* m_pTextureBG;
CRect m_Rect[[COLOR=#098658]4[/COLOR]];
[COLOR=#0000ff]#if __VER [/COLOR]>=[COLOR=#098658]19[/COLOR]
CRect m_rectCloseButton;
[COLOR=#0000ff]#endif[/COLOR][COLOR=#008000] //__VER >= 19[/COLOR]
[COLOR=#0000ff]int[/COLOR] m_nCurrentVector;
vector<GUIDE_STRUCT> m_VecGuideText;
GUIDE_STRUCT GetGuideText()
{
[COLOR=#0000ff]return[/COLOR] m_VecGuideText[m_nCurrentVector];
}
[/COLOR]
May i ask what the crash was that every source had?
CUser* pUser = (CUser*)prj.GetUserByID( idPlayer );[
CUser* pUser = g_UserMng.GetUser(dpidCache, dpidUser);
will this work smoothly with azuriom website?
Thanks to Mr. Ketchup and the gentleman above for their joint repair and help. Can you share the username of github here? I want to read and learn the following related content.
Hello can somebody how to use a web browser client for this server?