Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 05:26

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

Advertisement



Don't workd PressKey for Metin2

Discussion on Don't workd PressKey for Metin2 within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2014
Posts: 7
Received Thanks: 4
Don't workd PressKey for Metin2

Hello,
i make simple FishBot for Metin2. I use Java.
Don't work this code in windows Metin2 but works in other applications.
This code PressKey F1 with a pause 300ms.
Who know why this code don't work window of metin2?
p.s Sorry for my English
Code:
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import javax.swing.*;

class myFrame extends JFrame
{
    private Robot robot;
    public myFrame()
    {
        setTitle("iRobot");
        JPanel panel = new JPanel(); 
        GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
        GraphicsDevice screen=env.getDefaultScreenDevice(); 
        try {
            robot=new Robot(screen);
        } catch (AWTException ex) { }
        JButton bt1 = new JButton("Start"); // создаем кнопку
        panel.add(bt1); // добавляем нашу кнопку на панель
        bt1.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                for(int i=0; i<10; i++) 
                {
                   robot.keyPress(KeyEvent.VK_F1);
                    robot.delay(300);
                }
            }
        });
        Container pane = getContentPane(); 
        pane.add(panel); 
        pack(); 
    }
}

public class MyRobot {
    public static void main(String[] args) {
        myFrame frame = new myFrame();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 
        frame.show(); 
    }
}
m0z0 is offline  
Old 03/16/2016, 20:59   #2
 
Mi4uric3's Avatar
 
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
Metin2 uses Incas Gameguard Software which uses a kernel driver to protect the game process against attacks like those.
Mi4uric3 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Presskey for Bsro
09/05/2011 - SRO PServer Guides & Releases - 3 Replies
Bsro dùng client của vsro đây là presskey dùng cho vsro, nên có thể dùng đc cho bsro AutoInActive vì thế yêu cầu (SRO_Client InActive) 1. RevInActive V1 - BETA RevInActive.rar 2. SelectBot V2 for AutoSelect
What bot workd to dekaron now ?
10/11/2009 - Dekaron - 2 Replies
thx...



All times are GMT +1. The time now is 05:26.


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.