favini Posted January 10, 2022 Share Posted January 10, 2022 How to change this name H5 Quote Link to comment Share on other sites More sharing options...
favini Posted January 11, 2022 Author Share Posted January 11, 2022 How to change this name Quote Link to comment Share on other sites More sharing options...
Celestine Posted January 11, 2022 Share Posted January 11, 2022 from L2.int Quote Link to comment Share on other sites More sharing options...
favini Posted January 11, 2022 Author Share Posted January 11, 2022 L2.int modify useless Quote Link to comment Share on other sites More sharing options...
dead-end Posted January 27, 2022 Share Posted January 27, 2022 On 1/11/2022 at 12:18 PM, Celestine said: from L2.int I did it, but nothing happened. Quote Link to comment Share on other sites More sharing options...
KejbL Posted January 27, 2022 Share Posted January 27, 2022 3 minutes ago, dead-end said: I did it, but nothing happened. change Product= Quote Link to comment Share on other sites More sharing options...
dead-end Posted February 1, 2022 Share Posted February 1, 2022 On 1/28/2022 at 12:18 AM, KejbL said: change Product= Nothing happening :s Quote Link to comment Share on other sites More sharing options...
Rootware Posted February 1, 2022 Share Posted February 1, 2022 This text hardcoded in Window.dll. (c) Quote Link to comment Share on other sites More sharing options...
dead-end Posted February 1, 2022 Share Posted February 1, 2022 1 hour ago, Rootware said: This text hardcoded in Window.dll. (c) This means that is not possible to change it? Quote Link to comment Share on other sites More sharing options...
Rootware Posted February 2, 2022 Share Posted February 2, 2022 13 hours ago, dead-end said: This means that is not possible to change it? That's means what it HARDCODED and can't be edited via edition another files. Only DIRECT or HOOK changes. Quote Link to comment Share on other sites More sharing options...
Rootware Posted February 6, 2022 Share Posted February 6, 2022 11 hours ago, splicho said: Hook like making a custom .dll and inject it into l2.exe? Yes. Quote Link to comment Share on other sites More sharing options...
wongerlt Posted February 6, 2022 Share Posted February 6, 2022 (edited) you can do with dll. example: main.cpp (its good or no idk, but its working fine.) #include "main.h" #include "Winuser.h" #include <process.h> void TitleReplaceHookThread(void *param) { DWORD pid = 0; DWORD current_pid = GetCurrentProcessId(); while(true) { Sleep(50); HWND hWnd = FindWindow(NULL, "Lineage II"); GetWindowThreadProcessId(hWnd,&pid); if(hWnd&¤t_pid==pid) { SetWindowText(hWnd, "My Server Name"); break; } } } extern "C" DLL_EXPORT BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) { case DLL_PROCESS_ATTACH: HANDLE hThread; hThread = (HANDLE)_beginthread(TitleReplaceHookThread, 0, NULL); CloseHandle(hThread); break; } return TRUE; } main.h #ifndef __MAIN_H__ #define __MAIN_H__ #include <windows.h> #ifdef BUILD_DLL #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT __declspec(dllimport) #endif #endif compile and put ur dll file to ur l2 system folder. to compile you can use simple tool `CodeBlocks` and then use CFF Explorer 1. Open window.dll 2. Click Import Adder 3. Add dll file. 4. Select Exported function `DllMain@` and click Import by Name and then click Rebuild Import table. 5. save window.dll done. Edited February 6, 2022 by wongerlt 1 1 Quote Link to comment Share on other sites More sharing options...
wongerlt Posted February 6, 2022 Share Posted February 6, 2022 (edited) http://prntscr.com/26puoez try open your compiled dll with cff explorer and check export table. https://drive.google.com/file/d/16aF3PkU738rtx-bia9O_rUATL6zwDFH8/view?usp=sharing this ex. For interlude Edited February 6, 2022 by wongerlt Quote Link to comment Share on other sites More sharing options...
wongerlt Posted February 8, 2022 Share Posted February 8, 2022 20 hours ago, splicho said: It always reverts to "lineage II" when I switch windows. For example, Lineage - Discord - Lineage and it's back to normal. Try use simple while or try catch event on title change, just google it. `c++ window title change event` 1 Quote Link to comment Share on other sites More sharing options...
favini Posted February 8, 2022 Author Share Posted February 8, 2022 Who can help me change the window name Can pay Quote Link to comment Share on other sites More sharing options...
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.