Goodluck ahead!thanks, warrior!i implement your option aswell.
Most visitors online was 8830 , on 6 Feb 2024
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!Goodluck ahead!thanks, warrior!i implement your option aswell.
Goodluck ahead!
2020/10/29 18:30:34 GetDlgItem : nID=476 not Found.
Did you add the WIDC_CHECK11 inside your APP_OPTEX_AV12?compiling everything went fine but i get this error when i try to open the option menu in the client x)Code:2020/10/29 18:30:34 GetDlgItem : nID=476 not Found.
Did you add the WIDC_CHECK11 inside your APP_OPTEX_AV12?
Did you add the WIDC_CHECK11 inside your APP_OPTEX_AV12?
#ifdef __NOT_WORTH_15EURO
pFont->DrawText(vOut.x + 1, vOut.y + 1, 0.9f, 0.9f, 0xff000000, tempString.c_str());
pFont->DrawText(vOut.x, vOut.y, 0.9f, 0.9f, dwColor, tempString.c_str());
#else
pFont->DrawText(vOut.x + 1, vOut.y + 1, 0xff000000, m_pItemBase->GetProp()->szName);
pFont->DrawText(vOut.x, vOut.y, dwColor, m_pItemBase->GetProp()->szName);
#endif
Sorry, didnt catch this till later.
first line to #ifdef for the item amount + colors. By default it was #ifndef __NOT_WORTH_15EURO. Probably from testing before making it an actual define.Code:#ifdef __NOT_WORTH_15EURO pFont->DrawText(vOut.x + 1, vOut.y + 1, 0.9f, 0.9f, 0xff000000, tempString.c_str()); pFont->DrawText(vOut.x, vOut.y, 0.9f, 0.9f, dwColor, tempString.c_str()); #else pFont->DrawText(vOut.x + 1, vOut.y + 1, 0xff000000, m_pItemBase->GetProp()->szName); pFont->DrawText(vOut.x, vOut.y, dwColor, m_pItemBase->GetProp()->szName); #endif
0.9f in there is a scale, if you want names bigger change to 1.0f. You can also change font before using pFont.
vPosHeight.y += 0.3f; adds extra height for the name above the item.
dwColor you can change based on anything really. In the example you see some items like perin or redchips having different colors and that is possible as well by checking id or itemkind and setting dwcolor. This one just uses the default colors from CWndMgr:utItemName
Change in search setting Current document to Full project or smth like thatthanks its already fine fixed it already!just didnt added __not_worth_15euro right... ^^ was just dumb.anyway could maybe explain me shortly how i grab stuff out of a source? like how do i know where stuff is changed for this system? when i type the name from the #define it only shows the versioncommon.h sadly... ^^ not where it is all #ifdef'd
I dont have Item.cpp and World3D.cpp and the Define... lol
View attachment 170432
YAYY ! My first time success in coding, I mean copy + paste HAHAHAHA
Wondering how can I change the colors, though it's in the code
case WEAPON_GENERAL: dwColor = g_WndMng.dwItemColor[g_Option.m_nToolTipText].dwName0; break; case WEAPON_UNIQUE: dwColor = g_WndMng.dwItemColor[g_Option.m_nToolTipText].dwName1; break; case WEAPON_ULTIMATE: dwColor = g_WndMng.dwItemColor[g_Option.m_nToolTipText].dwName3; break; case ARMOR_SET: dwColor = g_WndMng.dwItemColor[g_Option.m_nToolTipText].dwName1; break;
I guess I am missing somthing, will try to figure it out HAHAHA
THANKS Ketchup!
Cool Share but is there a way i can change the distance of the so that it wont show the name of the far items
You must be registered to see links