Jump to content
  • Create New...
  • 0

Afk farming fix



In almost every single metin2, a way to afk farm is to press space and then go to another window and it just keeps atacking without being in the client.
I've noticed that some metin2 private servers found a way around it.

Do you guys know how to do it by chance?


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

well you'd just make a check if the window is focused and if not, then release all pressed keys. This could be done in the OnUpdate of game.py

  • Love 1

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

  • 0
  • Premium

Vanilla's solution is a good way to deal with the problem.


On the other hand, if you're not a programmer and still want to fix the issue, then I can help you.


If you press space and unfocus the window, you're unable to use any macros or key inputs in that window, since it's not focused. Which means the player is stuck attacking and can't do anything else.


Using non-aggressive monsters (so you're forced to aggro them using the mantle) and spawning the metins and bosses in random spots (so you're forced to look for them or at least focus them if they're distant) fixes the issue, the player gains nothing that way.


If you don't like that, then setting up the bosses/metins/monsters to be difficult enough so a certain degree of attention is required from the player in order to kill them is another good solution.

Edited by Syreldar
  • Love 1


"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.