banlawan Posted October 17 Posted October 17 (edited) Hello, I’m a new member of this forum. I’m asking for some help. I just need more information about the main interface UI, specifically how to move elements like MainDialog1 and MainDialog2 to the center. I already set X = 171 in GUI.ini [0-130], but when logging in, it doesn’t move. If anyone here can help, I’d really appreciate it. 004F7B7E |. 68 8D000000 PUSH 8D 004F7B83 |. FF15 F4D96700 CALL DWORD PTR DS:[<&graphic.?GetScreenW>; graphic.?GetScreenWidth@CMyBitmap@@SAHXZ 004F7B89 |. 50 PUSH EAX 004F7B8A |. FF15 ECD96700 CALL DWORD PTR DS:[<&graphic.?GetScreenH>; graphic.?GetScreenHeight@CMyBitmap@@SAHXZ 004F7B90 |. 2D 8D000000 SUB EAX,8D 004F7B95 |. 8D8E E0040000 LEA ECX,DWORD PTR DS:[ESI+4E0] By the way, I’m using client version 5187. Edited October 17 by banlawan Quote
kennylovecode Posted October 17 Posted October 17 use client side pm interface tools。and move it test… Quote
banlawan Posted October 17 Author Posted October 17 (edited) You mean the /resetgui command? If I use that command, it moves to the center. So how can I make it automatically move to the center when logging in? I mean, how can I find the address any tips or hints? Edited October 17 by banlawan Quote
kennylovecode Posted October 17 Posted October 17 (edited) To be honest, I really don't understand your needs or what goals you want to achieve Edited October 17 by kennylovecode Quote
ChiperXsS Posted October 17 Posted October 17 VOID CFileEditor::Calculator(int32_t Width, int32_t Height, BOOL IsFull) { WCHAR New_X[128]; WCHAR New_Y[128]; WCHAR OtherData[128]; WCHAR New_Width[128]; WCHAR New_Height[128]; wsprintfW(New_Width, L"%d", Width); wsprintfW(New_Height, L"%d", Height); WritePrivateProfileStringW(L"0-130", L"w", New_Width, L"ini\\GUI.ini"); WritePrivateProfileStringW(L"0-130", L"x", New_X, L"ini\\GUI.ini"); WritePrivateProfileStringW(L"0-130", L"y", New_Y, L"ini\\GUI.ini"); if (IsFull) { CFileEditor::NextStep5517(Width, Height); } } Quote
banlawan Posted October 18 Author Posted October 18 I got it, thanks for the help. I really appreciate it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.