Welcome!

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!

[FIX] Update Model on Popup UserInfo

Newbie Spellweaver
Joined
Nov 25, 2015
Messages
97
Reaction score
2
A little bug fix.

First go to :
Code:
 ScreenMain.cpp

and before that:

Code:
m_pPopupUserInfo->SetUserInfo( lpszNick, nGrade, nKill, nDeath, nWin, nLose, nDraw, nExp,                                    nA_ModelID, 0, 0,
                                   nB_ModelID, 0, 0 );

Add these lines:

Code:
nA_ModelID = g_pScreenInventory->GetCurrentUsedModel(TEAM_A);
    nB_ModelID = g_pScreenInventory->GetCurrentUsedModel(TEAM_B);

PS: Some sources dont save the current used model, so you need to go first on inventory and set a model, and then you can test on User Details.

PS2: Made the same thing on ScreenRoom.cpp
 
Last edited:
Back
Top