Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 03:09

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

Advertisement



Kal FindWindow help

Discussion on Kal FindWindow help within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
EXTEЯNAL's Avatar
 
elite*gold: 105
Join Date: Jul 2007
Posts: 737
Received Thanks: 114
Kal FindWindow help

yup, what the title is saying, i'm trying to find the window of kalonline ... but failed.... dont work idk why, name is correct.... hope someone can help

Source:

Code:
// Basic Include's
#include <windows.h>
#include <iostream>

// The Namespace
using namespace std;

int main()
{
	SetConsoleTitle("Kalonline Basic Hook");
	
	HWND kalonline = NULL;

	while(kalonline == NULL)
	{
		FindWindow(NULL,"KalOnline"); // i tryed "KalOnline" and "Kal0nline" both dont work -.-...
		Sleep(100);
		printf("\nNot Found"); // if not found draw this < ...
	}

	DWORD ProcID;
	GetWindowThreadProcessId(kalonline, &ProcID);

	HANDLE hKal;
	hKal = OpenProcess(PROCESS_VM_WRITE | PROCESS_VM_READ | PROCESS_VM_OPERATION,0,ProcID);

	char input[255];

	while(true)
	{
		cin.getline(input,255);

		if(strcmp(input,"/help") == 0)
		{
			printf("\n~~~ Help Command executed ~~~\n\n");
			printf("/speed <value> - Change the local Player Speed\n");
			printf("/coordinates - Display the local Player Coordinates\n");
			printf("/editcoordinate <value> - go underground ore overground\n\n");
		}
		else if(strcmp(input,"/speed") == 0)
		{
                       // would be nice if i release it ehhh? :D
		}
		else if(strcmp(input,"/coordinates") == 0)
		{
			// would be nice if i release it ehhh? :D
		}
		else if (strcmp(input,"/editcoordinate") == 0)
		{
			// would be nice if i release it ehhh? :D
		}
		else // if there is no valid command do this ....
		{
			printf("\nError! '%s' is not a valid command! type /help for help!\n",input);
		}
	}
	CloseHandle(hKal);

	return 0;
}
EXTEЯNAL is offline  
Old 12/15/2008, 14:43   #2
 
elite*gold: 0
Join Date: Sep 2007
Posts: 61
Received Thanks: 7
its never will work . Hs block it. You must make Inject Dll :>
BenKiu is offline  
Old 12/15/2008, 15:42   #3
 
Zogga's Avatar
 
elite*gold: 20
Join Date: Jan 2007
Posts: 568
Received Thanks: 227
Geht net.
Zogga is offline  
Reply


Similar Threads Similar Threads
[C++]FindWindow findet nichts.
09/13/2010 - C/C++ - 18 Replies
http://www.paste-code.com/paste.php?id=kbC95ZHRry Aber sobald ich zum Beispiel : FindWindow(NULL,"PVP.net-Client") angebe, findet er es und gibt mir dann die HWND aus. Wo liegt das problem? Ich hab es auch schon so: FindWindow("\\„League of Legends\\“-Startprogramm - 1,0,0,31 - ", NULL); versucht, geht trozdem nicht :/
FindWindow parameter richtig nutzen...
06/15/2010 - General Coding - 14 Replies
HWND xxx = FindWindow(NULL ,"XXX"); ShowWindow(xxx, SW_RESTORE); FindWindowW': Konvertierung des Parameters 2 von 'const char ' in 'LPCWSTR' nicht möglich << Diese meldung beim compilen



All times are GMT +1. The time now is 03:10.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.