Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 18:54

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

Advertisement



[In EN] Programmer assistance needed

Discussion on [In EN] Programmer assistance needed within the General Coding forum part of the Coders Den category.

Reply
 
Old 10/26/2008, 22:13   #16
 
elite*gold: 0
Join Date: Oct 2008
Posts: 8
Received Thanks: 0
Anyone familiar with Microsoft Spy ++ ?

I used it to listen to the messages going through the game (sent/received)...

What I already did is to emulate space-press in 90%.
There's only one thing I don't understand about Spy++...



In the screeny:

first green box - space-press emulated by following code:
Code:
	lP := makeLParam($0001, $0039);
	SendMessage(hMetin, WM_KEYDOWN, 32, lP);
	SendMessage(hMetin, WM_CHAR, 32, lP);
	lP := makeLParam($0001, $C039);
	SendMessage(hMetin, WM_KEYUP, 32, lP);
first red box - space pressed in-game

second green box - enter-press emulated by following code:
Code:
	SendMessage(hMetin, WM_CHAR, 13, 0);
second red box - enter pressed in-game


The not-so-funny part
1. Enter works as it should in both cases - emulated and 'legal'.
2. Space works the legal way ONLY.
3. What the hell are those marked by me letters ????

Anyone ?



[edit]
Did anyone try SendMessage from injected DLL ?
ufoloodek is offline  
Old 10/27/2008, 17:50   #17
 
elite*gold: 0
Join Date: Nov 2007
Posts: 264
Received Thanks: 255
Quote:
Originally Posted by ufoloodek View Post
...
[edit]
Did anyone try SendMessage from injected DLL ?
Yeah I tried it, but in my case, the AutoPachter from Metin2 creates a new DLL.
Maybe it did something wrong i don't now.

The P/R/S difrences i don't know, I simply used WinSpy for getting information.

Can you please send me the code with which you get the correct Handel (hMetin) ? Thx for your response, MaToBe
Iron_Maiden91 is offline  
Old 10/27/2008, 18:25   #18

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
its easy to disable the patcher here is a guide in german to do this

you have to rename the metin.bin into metin.exe
°Remus° is offline  
Old 10/28/2008, 10:17   #19
 
elite*gold: 0
Join Date: Oct 2008
Posts: 8
Received Thanks: 0
Quote:
Originally Posted by Iron_Maiden91 View Post
(...)
Can you please send me the code with which you get the correct Handel (hMetin) ? Thx for your response, MaToBe
Code:
function findMetin(): Cardinal;
begin
  Result := FindWindow(nil, 'METIN2');
end;
Looking for the window using it's title bar text.
Window class name looks really weird and MAY vary from computer to computer I guess...
Although it shouldn't...
ufoloodek is offline  
Old 10/28/2008, 15:41   #20
 
elite*gold: 0
Join Date: Nov 2007
Posts: 264
Received Thanks: 255
Quote:
Originally Posted by ufoloodek View Post
Code:
function findMetin(): Cardinal;
begin
  Result := FindWindow(nil, 'METIN2');
end;
Looking for the window using it's title bar text.
Window class name looks really weird and MAY vary from computer to computer I guess...
Although it shouldn't...
Yeah it does. And because of that my programm doesn't worked.

Maybe now it does, thank you
Iron_Maiden91 is offline  
Old 10/29/2008, 15:06   #21
 
elite*gold: 0
Join Date: Oct 2008
Posts: 912
Received Thanks: 188
Quote:
Originally Posted by Quade View Post
Like °Remus° said: Hiddenbots are hardly possible to make. We tested it a lot of times, but we do not find any solutions. What a program doyou use for making bots?
One Way is one Way !
Some AU programmars make some hidden tools
or installations managers and there working realy
good !
BONU$PUNKT is offline  
Old 10/29/2008, 15:23   #22

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
Quote:
Originally Posted by RapCity[RUSS] View Post
One Way is one Way !
Some AU programmars make some hidden tools
or installations managers and there working realy
good !
yes but this was on other games not on metin2, and they don`t want to use autoit,
i know it was a metin2 specific discussion, but maybe someone from the other sections is able to help you
#moved
°Remus° is offline  
Reply


Similar Threads Similar Threads
Assistance Needed
03/07/2010 - RF Online - 1 Replies
Hi. I'm new to all of this stuff - and currently play rf reactor. Is there any bypass for the server that is proven to work? If anyone can lead me into the right direction, I will not be slow to hit the thanks button and read through the correct materials.
[Assistance Needed] CoEmuv2
06/08/2009 - CO2 Private Server - 2 Replies
Hmmm, okay. I think I did everything correctly and I tried to debug it. It only debugged the log in server and didn't debug the game server, does anyone know how to debug the game server? It didn't automatically pop up after it debugged the log in server. Thanks. http://i459.photobucket.com/albums/qq316/alvinnxd /lll.jpg



All times are GMT +1. The time now is 18:54.


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.