Rarity System

11/21/2019 09:33 matonskie23#1
[Only registered and activated users can see links. Click Here To Register...]
i just try rarity system in my files and i think its not working or do i need to change anything to make it work ? hope someone know what i mess or the system is not working , i got it in HK Rev 3

[Only registered and activated users can see links. Click Here To Register...]
11/21/2019 10:25 Naltalah#2
Looks like your tooltip texts are missing in the resource, this stuff usually doesn't throw error logs in the client or during compile time.

I guess they're defined but missing in textclient.inc and textclient.txt.txt.

You can find those IDs in WndManger.cpp

Code:
#ifdef __ARMES_RARE
		if( pItemElem->GetProp()->dwItemKind3 == IK3_SWD
			||	pItemElem->GetProp()->dwItemKind3 == IK3_AXE 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_CHEERSTICK 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_KNUCKLEHAMMER 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_WAND 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_STAFF 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_THSWD 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_THAXE 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_YOYO 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_BOW 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_CROSSBOW
			||	pItemElem->GetProp()->dwItemKind3 == IK3_HELMET
			||	pItemElem->GetProp()->dwItemKind3 == IK3_SUIT 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_GAUNTLET 
			||	pItemElem->GetProp()->dwItemKind3 == IK3_BOOTS
			||	pItemElem->GetProp()->dwItemKind3 == IK3_SHIELD
			||	pItemElem->GetProp()->dwItemKind3 == IK3_MAGICBARUNA
			||	pItemElem->GetProp()->dwItemKind3 == IK3_ZEMBARUNA
			)
		{
			strTemp.Format( "\n" );
			pEdit->AddString( strTemp, 0xFF000000 );
			strTemp.Format( prj.GetText( TID_WEAPON_RARITY01 ) );
			pEdit->AddString( strTemp, 0xFF000000 );
			strTemp.Format( " : " );
			pEdit->AddString( strTemp, 0xFF000000 );
		}
TID_WEAPON_RARITY01, TID_WEAPON_RARITY02, etc