Da dir keiner antwortet oder zu helfen weiß, ich hatte das Problem bis vor kurzem auch noch, habe es aber gefixxt bekommen.
Zuerst einmal der Messenger:
Du öffnest
WndMessenger.cpp und suchst nach:
#if __VER >= 10 // __LEGEND
else if( g_pPlayer->IsMaster() )
{
pWndWorld->m_texMsgIcon.MakeVertex( p2DRender, CPoint( 5, 0 ), ( 54 + g_pPlayer->GetJob() - 16 ) + ( 8 * g_pPlayer->GetSex() ), &pVertices, 0xffff6464 );
}
else if( g_pPlayer->IsHero() )
{
pWndWorld->m_texMsgIcon.MakeVertex( p2DRender, CPoint( 5, 0 ), ( 54 + g_pPlayer->GetJob() - 24 ) + ( 8 * g_pPlayer->GetSex() ), &pVertices, 0xffff6464 );
}
#endif //__LEGEND
und änderst es zu dem hier:
#if __VER >= 10 // __LEGEND
else if( g_pPlayer->IsMaster() )
{
pWndWorld->m_texMsgIcon.MakeVertex( p2DRender, CPoint( 5, 0 ), ( 54 + g_pPlayer->GetJob() - 16 ) + ( 8 * g_pPlayer->GetSex() ), &pVertices, 0xffff6464 );
}
else if( g_pPlayer->IsHero() )
{
pWndWorld->m_texMsgIcon.MakeVertex( p2DRender, CPoint( 5, 0 ), ( 54 + g_pPlayer->GetJob() - 24 ) + ( 8 * g_pPlayer->GetSex() ), &pVertices, 0xffff6464 );
}
#ifdef __3RD_LEGEND16
else if( g_pPlayer->IsLegendHero() )
{
pWndWorld->m_texMsgIcon.MakeVertex( p2DRender, CPoint( 5, 0 ), ( 54 + g_pPlayer->GetJob() - 32 ) + ( 8 * g_pPlayer->GetSex() ), &pVertices, 0xffff6464 );
}
#endif // __3RD_LEGEND16
#endif //__LEGEND
Das musst du in dieser Datei 2 mal machen.
-----------------------------------------------------
Jetzt öffnest du die
WndMessengerCtrl.cpp und suchst nach:
else if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_TYPE_ICON_X, pt.y ), 33, &pVertices, 0xffffffff );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 24 ), &pVertices, 0xffffffff );
}
else if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_LEGEND_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_TYPE_ICON_X, pt.y ), 33, &pVertices, 0xffffffff );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 24 ), &pVertices, 0xffffffff );
und ersetzt die 2. "
24" bei ( 19 + stPlayer.m_nJob - 24) durch eine
32.
Dies sollte dann so aussehen:
else if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_TYPE_ICON_X, pt.y ), 33, &pVertices, 0xffffffff );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 24 ), &pVertices, 0xffffffff );
}
else if( prj.m_aJob[ stPlayer.m_nJob ].dwJobType == JTYPE_LEGEND_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_TYPE_ICON_X, pt.y ), 33, &pVertices, 0xffffffff );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( JOB_ICON_X, pt.y ), ( 19 + stPlayer.m_nJob - 32 ), &pVertices, 0xffffffff );
das machst du in der Datei ingesamt 6 mal.
-----------------------------------------------------
Jetzt kommen wir zum Gildenfenter:
Du öffnest die
WndGuildTabMember.cpp und suchst nach:
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 64, sy-3 ), nMasterIndex, &pVertices, Color );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 84, sy-3 ), ( 19 + pMember->nJob- 16 ), &pVertices, Color );
}
else if( prj.m_aJob[ pMember->nJob ].dwJobType == JTYPE_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 64, sy-3 ), 33, &pVertices, Color );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 84, sy-3 ), ( 19 + pMember->nJob - 24 ), &pVertices, Color );
}
else if( prj.m_aJob[ pMember->nJob ].dwJobType == JTYPE_LEGEND_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 64, sy-3 ), 33, &pVertices, Color );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 84, sy-3 ), ( 19 + pMember->nJob - 24 ), &pVertices, Color );
}
und ersetzt die 2. "
24" bei ( 19 + pMember->nJob -24), &pVertices, Color); durch eine
32
Die sollte dann so aussehen:
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 64, sy-3 ), nMasterIndex, &pVertices, Color );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 84, sy-3 ), ( 19 + pMember->nJob- 16 ), &pVertices, Color );
}
else if( prj.m_aJob[ pMember->nJob ].dwJobType == JTYPE_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 64, sy-3 ), 33, &pVertices, Color );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 84, sy-3 ), ( 19 + pMember->nJob - 24 ), &pVertices, Color );
}
else if( prj.m_aJob[ pMember->nJob ].dwJobType == JTYPE_LEGEND_HERO )
{
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 64, sy-3 ), 33, &pVertices, Color );
pWndWorld->m_texPlayerDataIcon.MakeVertex( p2DRender, CPoint( sx + 84, sy-3 ), ( 19 + pMember->nJob - 32 ), &pVertices, Color );
}
Ich hoffe es ist nicht zu unübersichtlich, da ich das erste mal einen Beitrag auf Epvp verfasse
Mfg Yashinau