Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 19:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Change window title

Discussion on Change window title within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2009
Posts: 266
Received Thanks: 47
Change window title

Hey,

how can I change the window title, normally its KalOnline. I need this to seperate function to different kal windows. anyone can help?

Greetz
asdfg177 is offline  
Thanks
1 User
Old 02/14/2017, 09:36   #2
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
This function doesn't work for you?


You should be able to use that, however you'll need to inject a dll. Doing it on another window is a different task, never tried that.

Another way to separate windows would be to "save" the PID of the different windows into a file, alternatively just type them out into whatever bot/program you're using. That way you can get the right window/hwnd you need to send whatever you're doing to.
Hate123 is offline  
Old 02/14/2017, 10:01   #3
 
elite*gold: 0
Join Date: Nov 2011
Posts: 357
Received Thanks: 38
Not sure if this is what you need xD
valzzz40 is offline  
Old 02/14/2017, 12:08   #4
 
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
Quote:
Originally Posted by Hate123 View Post
You should be able to use that, however you'll need to inject a dll. Doing it on another window is a different task, never tried that..
Why should one inject a dll to do so?
Simply do:
Code:
#include <windows.h>

int main()
{
	char wname[] = "KalOnline";
	HWND hWnd = FindWindowA(0, wname);
	if (hWnd)
		SetWindowTextA(hWnd, "Katze123 ftw XD");
	return 0;
}
katze123 is offline  
Old 02/14/2017, 16:33   #5
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
Quote:
Originally Posted by katze123 View Post
Why should one inject a dll to do so?
Simply do:
Code:
#include <windows.h>

int main()
{
	char wname[] = "KalOnline";
	HWND hWnd = FindWindowA(0, wname);
	if (hWnd)
		SetWindowTextA(hWnd, "Katze123 ftw XD");
	return 0;
}
Very true, didn't actually look at it tbh xD. But yeah, that should work unless XTrap gets angry.
Hate123 is offline  
Thanks
1 User
Old 02/14/2017, 16:36   #6
 
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
Quote:
Originally Posted by Hate123 View Post
Very true, didn't actually look at it tbh xD. But yeah, that should work unless XTrap gets angry.
It doesn't.
katze123 is offline  
Old 02/14/2017, 20:32   #7
 
elite*gold: 0
Join Date: Oct 2009
Posts: 266
Received Thanks: 47
Hey thanks for answers. but i think this is not what im looking for. i wanna change the window title beforehand. So that when i run my application it can iterate over all window handle and can check which window title is set. changing it in my application would mean that i have to make an extra iteration to change the window title and feed this extra information manually.

Maybe i open the engine in some editor? Winhex, ida, ... Maybe there are ways to change the title?
asdfg177 is offline  
Old 02/14/2017, 20:53   #8
 
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
Quote:
Originally Posted by asdfg177 View Post
Hey thanks for answers. but i think this is not what im looking for. i wanna change the window title beforehand. So that when i run my application it can iterate over all window handle and can check which window title is set. changing it in my application would mean that i have to make an extra iteration to change the window title and feed this extra information manually.

Maybe i open the engine in some editor? Winhex, ida, ... Maybe there are ways to change the title?
Modifications directly within the resources are probably detected (i suppose, but i don't know).
katze123 is offline  
Thanks
1 User
Old 02/14/2017, 20:56   #9
 
Therajoke's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 59
Received Thanks: 20
naja den Tex ordner kann man immernoch einfach umbenennen und man wird nich gekickt ^^
Therajoke is offline  
Old 02/14/2017, 21:36   #10
 
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
Quote:
Originally Posted by Therajoke View Post
naja den Tex ordner kann man immernoch einfach umbenennen und man wird nich gekickt ^^
dieses game ist einfach nur n witz ey
katze123 is offline  
Old 02/14/2017, 21:42   #11
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
I'd say modifying the engine to change the window name will not work (they probably check it). However you can try, maybe try using resource hacker?

Hate123 is offline  
Thanks
1 User
Old 02/14/2017, 22:17   #12
 
elite*gold: 0
Join Date: Oct 2009
Posts: 266
Received Thanks: 47
ill check that out.
asdfg177 is offline  
Old 02/15/2017, 14:14   #13
 
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
Quote:
Originally Posted by Hate123 View Post
I'd say modifying the engine to change the window name will not work (they probably check it). However you can try, maybe try using resource hacker?

Not quite sure if it was private server or not, but i think somewhere they have a current checksum of the engine. If not, you can simply use IDA, reverse the location where they create the window (i think they are doing that with WinMain?) and see where the string is loaded from.
katze123 is offline  
Old 02/15/2017, 15:19   #14
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
Quote:
Originally Posted by katze123 View Post
Not quite sure if it was private server or not, but i think somewhere they have a current checksum of the engine. If not, you can simply use IDA, reverse the location where they create the window (i think they are doing that with WinMain?) and see where the string is loaded from.
Yeah but to do that you'd still need to modify engine or use something else to either change it at startup.

I think the best way to do this is a simple proxy dll, and when it starts just have it change the title. Easiest and most reliable way without having to mess around with the engine. Also you don't have the risk of having to re-do it if they update engine.exe in an update.
Hate123 is offline  
Reply


Similar Threads Similar Threads
[C#] Getting PID from window title
01/10/2013 - .NET Languages - 11 Replies
I searched everywhere and can not find anything useful on this topic. Is this even possible? I have multiple process. Each have the same process name, but different window titles. I want to use the window title to find out the process ID. Any suggestions? Thank you.
How to change window title
01/05/2013 - Flyff Private Server - 1 Replies
how to change the window title of all program .exes from accountserver.exe to worldserver.exe in source???
Window Title
04/22/2008 - Perfect World - 3 Replies
anybody knows how to change the window title of pwo? maybe with olly or smth... ? thx in advance!
Rename CO2 window title (any window actually)
05/13/2006 - CO2 Exploits, Hacks & Tools - 4 Replies
I have seen a few posts requesting this. It is a simple autohotkey macro nothing fancy here. You will notice also that the UPX packer detection is not triggered. If you use autohotkey and want to know how to remove the packer PM me it is rather simple. To use this little tool thingie it is very simple: Execute the code. Focus your window. Press Hotkey CTRL+WIN+w Change the Title. Apply



All times are GMT +1. The time now is 19:35.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.