[Help] Game Bot Issue

07/31/2017 19:22 codeg2017#1
i did make a pixel bot before on an online game, a simple one, its not walking, it just attack the monsters it sees, and loot when killed, and just let monsters come to my location, and that's fine with me..the only real issue i had with this is for example, my character is an archer, and he is attacking a monster on the distance, and if the monster go to some kind of a tree or any element that prevents the archer from attacking, the bot get stucked, it wont attack even if it can attack the monster again and even if it sees other monster, but in real time logs still saying that he is attacking the monster, and the annoying part of this is if you pause or stop the bot and start it again, it wont move at all, its still stucked, i have to close the bot and close the game client and restart it.. and it will work again..

have u had prblems like this on your bot? oh and my bot did not use memory, i only uses pixel color search.. if so? can you guide me on how to stop this from happening, i might continue to develop it..

im no expert programmer, i just know really really basics stuff..

i can hire or pay you if you think you can fix or make the code better,
just message me or let me know your rate per hour.. :)
08/01/2017 03:48 FacePalmMan#2
Here you can post your code and people will help you for free. If you post it, I could maybe help you.
08/01/2017 10:28 mhaendler#3
You need to implement some kind of "dead lock".

For example: If your bot is at the state of "attack" for more then ~20 seconds (or any time you want) he should skip the attack and start with the next sequenz

or

dead-lock over the coordinate, check if the x / y coordinate of your character isn't in- / decreasing in the next 10 seconds, then it's "locked" and the bot should initialize again

these are just some hints, how i would do it

if you want more detailed help, please provide more information such as

-game
-code
-screenshots

_mhaendler