vncsms / Metin2FishBot

A bot to fish in METIN2
38 stars 14 forks source link

not working #17

Closed Ryr0 closed 8 months ago

Ryr0 commented 1 year ago

bot not working, it instantly closes, changing name in constants.py does nothing, i tried to put evey name possible in that file and the console stills says METIN2 Screenshot_8 Screenshot_9

vncsms commented 1 year ago

Did you change the name before generating the executable?

When you change the executable, what is in the .py files doesnt matter anymore.

Ryr0 commented 1 year ago

i did it all again and now it's not closing instantly, it does use the bait and initiate the fishing but doesn't click anywhere. do you have any clue about that? i am starting it as admin, and i did not move the window. thanks for your time

vncsms commented 1 year ago

It seems some servers change the window position to avoid the bot #12 see this post. The solution is to change where the code is trying to find the window.

Ryr0 commented 1 year ago

what pixel do i select here to start measuring? where does the fishing widow start for the bot? Screenshot_13 i fiddled with it a little and i think i'm close, but i still don't know where to put my starter point so it still a little off Screenshot_14

vncsms commented 1 year ago

image

Mine is like that

vncsms commented 1 year ago

I see, maybe the servers are trying to change the colors and the size to avoid my bot. This is not hard to fix, but you need to experiment changing the values and underrstand what is happening in the code.