About the white font in Partyfinder & Controltab, compare your source to a v15/16/17/18 source, most of these sources are made with Black color codes (0xff000000) instead of white (0xffffffff).
Use software like WinMerge to see the differences.
---
For the modelchange part, take a look at this in your source.
About the white font in Partyfinder & Controltab, compare your source to a v15/16/17/18 source, most of these sources are made with Black color codes (0xff000000) instead of white (0xffffffff).
Use software like WinMerge to see the differences.
---
For the modelchange part, take a look at this in your source.
I tried to search one by one and it doesn't give me a chance to change to Color (I didn't see a rgb or hex[correct me if im wrong] ) in each codes. Sadly I don't have a chance to compare it with v15 file with that system because i don't have that kind of file I only got a v19 interfaces (Usually released) Files.
about the Model change Here's my entry, if you don't mind taking a look.
#ifdef __MODEL_CHANGE
CWndModelChange::CWndModelChange()
{
for( int i = 0; i < 3; i++ )
{
pItemElem[i] = NULL;
pTexture[i] = NULL;
}
}
CWndModelChange::~CWndModelChange()
{
for( int i = 0; i < 3; i++ )
{
if( pItemElem[i] != NULL )
{
if( !g_pPlayer->m_vtInfo.IsTrading( pItemElem[i] ))
pItemElem[i]->SetExtra(0);
}
}
}
BOOL CWndModelChange::Initialize( CWndBase* pWndParent, DWORD dwType )
{
return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_LOOKCHANGE, 0, CPoint( 0, 0 ), pWndParent );
}
BOOL CWndModelChange::OnCommand( UINT nID, DWORD dwMessage, CWndBase* pWndBase )
{
return CWndNeuz::OnCommand( nID, dwMessage, pWndBase );
}
void CWndModelChange::OnSize( UINT nType, int cx, int cy )
{
CWndNeuz::OnSize( nType, cx, cy );
}
void CWndModelChange::OnLButtonUp( UINT nFlags, CPoint point )
{
}
void CWndModelChange::OnLButtonDown( UINT nFlags, CPoint point )
{
}
BOOL CWndModelChange::OnDropIcon( LPSHORTCUT pShortcut, CPoint point )
{
LPWNDCTRL wndCtrl[3];
wndCtrl[0] = GetWndCtrl( WIDC_STATIC1 );
wndCtrl[1] = GetWndCtrl( WIDC_STATIC2 );
wndCtrl[2] = GetWndCtrl( WIDC_STATIC3 );
for( int i = 0; i < sizeof(wndCtrl)/sizeof(LPWNDCTRL); i++ )
{
if( i == 2)
continue;
if( !wndCtrl[i] )
{
continue;
}
if( wndCtrl[i]->rect.PtInRect( point ))
{
if( i == 1 && pItemElem[0] == NULL)
continue;
CItemElem* pTempElem;
pTempElem = (CItemElem*) g_pPlayer->GetItemId( pShortcut->m_dwId );
ItemProp* pItemProp = pTempElem->GetProp();
if(i == 0 && pTempElem->m_dwnewID != NULL )
{
g_WndMng.PutString("Objects must have no model.", 0,0xff0000);
return FALSE;
}
if(pItemElem[0] && i == 1)
{
if(pItemElem[0]->GetProp()->dwID == pTempElem->GetProp()->dwID)
{
g_WndMng.PutString("You can not place the same objects twice", 0, 0xff0000);
return FALSE;
}
if(pItemElem[0]->GetProp()->dwItemSex != pTempElem->GetProp()->dwItemSex)
{
g_WndMng.PutString("Objects must be of the same kind.",0,0xff0000);
return FALSE;
}
if(pItemElem[0]->GetProp()->dwParts != pTempElem->GetProp()->dwParts)
{
g_WndMng.PutString("Object types are not identical", 0,0xff0000);
return FALSE;
}
//if(pItemElem[0]->GetProp()->dwItemKind3 != pTempElem->GetProp()->dwItemKind3)
//{
// g_WndMng.PutString("The Items must have the Same ItemKind",0,0xff0000);
// return FALSE;
//}
if(pItemElem[0]->GetProp()->dwHanded != pTempElem->GetProp()->dwHanded)
{
g_WndMng.PutString("You can not put a weapon model on one hand, on a two-handed weapon, and vice versa.");
return FALSE;
}
}
if(pTempElem->GetProp()->dwParts != PARTS_RWEAPON &&
pTempElem->GetProp()->dwParts != PARTS_LWEAPON &&
pTempElem->GetProp()->dwParts != PARTS_MASK &&
pTempElem->GetProp()->dwParts != PARTS_CLOAK &&
pTempElem->GetProp()->dwParts != PARTS_SHIELD &&
pTempElem->GetProp()->dwParts !=PARTS_HAND &&
pTempElem->GetProp()->dwParts !=PARTS_UPPER_BODY &&
pTempElem->GetProp()->dwParts !=PARTS_FOOT &&
pTempElem->GetProp()->dwParts !=PARTS_CAP &&
pTempElem->GetProp()->dwParts !=PARTS_ROBE &&
pTempElem->GetProp()->dwParts !=PARTS_CLOAK &&
pTempElem->GetProp()->dwParts !=PARTS_HAT &&
pTempElem->GetProp()->dwParts !=PARTS_CLOTH &&
pTempElem->GetProp()->dwParts !=PARTS_GLOVE &&
pTempElem->GetProp()->dwParts !=PARTS_BOOTS
)
{
g_WndMng.PutString("This type of object can not receive a model change", 0,0xff0000);
return FALSE;
}
if( pItemElem[i])
{
pItemElem[i]->SetExtra(0);
pItemElem[i] = NULL;//
}
pItemElem[i] = (CItemElem*)pTempElem;
pTexture[i] = CWndBase::m_textureMng.AddTexture( D3DDEVICE, MakePath( DIR_ITEM, pItemElem[i]->GetProp()->szIcon ), 0xffff00ff );
if( pTexture[i])
pItemElem[i]->SetExtra(1);
if(pItemElem[0] && pItemElem[1])
{
pItemElem[2] = pItemElem[1];
pTexture[2] = pTexture[0];
}
}
}
return TRUE;
}
void CWndModelChange::OnDraw( C2DRender* p2DRender )
{
LPWNDCTRL wndCtrl[3];
wndCtrl[0] = GetWndCtrl( WIDC_STATIC1 );
wndCtrl[1] = GetWndCtrl( WIDC_STATIC2 );
wndCtrl[2] = GetWndCtrl( WIDC_STATIC3 );
for( int i = 0; i < 3; i++ )
{
if( pItemElem[i] != NULL && pTexture[i] != NULL )
{
pTexture[i]->Render( p2DRender, CPoint( wndCtrl[i]->rect.left + 5, wndCtrl[i]->rect.top + 5));
}
}
}
HRESULT CWndModelChange::RestoreDeviceObjects()
{
CWndNeuz::RestoreDeviceObjects();
return S_OK;
}
HRESULT CWndModelChange::InvalidateDeviceObjects()
{
CWndNeuz::InvalidateDeviceObjects();
return S_OK;
}
HRESULT CWndModelChange::DeleteDeviceObjects()
{
CWndNeuz::DeleteDeviceObjects();
InvalidateDeviceObjects();
return S_OK;
}
void CWndModelChange::OnInitialUpdate( void )
{
CWndNeuz::OnInitialUpdate();
MoveParentCenter();
}
BOOL CWndModelChange::OnChildNotify( UINT message, UINT nID, LRESULT* pLResult )
{
switch (nID)
{
case WIDC_BUTTON1: // Send LookChange
{
if( pItemElem[0] && pItemElem[1] && pItemElem[2] )
{
g_DPlay.SendModelChange( pItemElem[0]->m_dwObjId, pItemElem[1]->m_dwObjId );
for( int i = 0; i < 3; i++ )
{
if( pItemElem[i] != NULL )
{
if( !g_pPlayer->m_vtInfo.IsTrading( pItemElem[i] ))
pItemElem[i]->SetExtra(0);
}
}
Destroy();
}
else
{
g_WndMng.PutString("You must have 2 weapons in the pitches", 0, 0xff0000);
}
break;
}
case WIDC_BUTTON2: // Close
{
for( int i = 0; i < 3; i++ )
{
if( pItemElem[i] != NULL )
{
if( !g_pPlayer->m_vtInfo.IsTrading( pItemElem[i] ))
pItemElem[i]->SetExtra(0);
}
}
Destroy();
break;
}
}
return CWndNeuz::OnChildNotify( message, nID, pLResult );
}
#endif
Quote:
Originally Posted by Mushpoie
All your white text issues "Party Finder, Hotkey" is due to TextOut in WndControl or the app itself, make sure its set to 0xff000000.
I tried to take a look at my wndctonroll and Look for party find I saw that it was using a rgb code which is already set to 0 0 0 0, And I think it is already being set to black instead of white 255 255 255. I think yeah its on the app itself but I wonder how can i change its background cover if I was using a v15 Resdata (Not able to change rgb background)
make sure you have added all DB PArts and Source side on jops glow
I I've added the same code in source and database correctly, there's only two file that need to be edited in _Database the DbManagerJoin.cpp and DbManagerSave.cpp and already edit the Character_str and the character_tbl.
I'am just wondering I leech this code from a 2003 VS server file and I'am using a 2017 VS it has something to do with it? I didn't get any error while testing it. cant also perform debugging because it needs to restart the exe's file inorder for me to know if my glow is still there or back to zero.
Can I bump my thread I really need help in Jops glow I don't know why its not saving im lost
Make sure all entries in the source and sql file are INT based for jopsi glow. Also make sure all db entries are saving and loading in the correct order of each other.
Make sure all entries in the source and sql file are INT based for jopsi glow. Also make sure all db entries are saving and loading in the correct order of each other.
As seen here:
and:
I found these by searching: Jopsi glow fix
Yea i also search that and that is what i did on mine.
Here's my __JOPS_GLOW define in _Database part
Selling a bunch of 2moons chars for dil 09/27/2008 - Dekaron Trading - 22 Replies First up lvl 98 bagi warrior: Starting bid...75m
Next lvl 64 mage going for.....20m
Lastly a lvl 48 hunter 15m....
Will also take acclaim coins for any of these only threw codes im not getting fucked over again with someone stealing my account.