i doest seem to work at all, i cant see my character name on the side bar where is supposed to be.... any tip how i can make it work , thanks in advance....
Well, as i don't have too much time to play the game, i'm going to start using this bot. Is it compatible with Windows 7? Do i need to download something else to the bot work?
Going to adjust way you check for health to make it more prioritised
This is definitely what's needed. I've been looking over your code as well however, I'm no way near as talented as any of you. I've been doing some testing and yea the hp and mp potting is buggy. Wether that be the time between checking is too long, or BOI uses more than 1 memory location for the hp and mp. The latter doesn't seem to be the case because dc at #hp works like a charm.
This is definitely what's needed. I've been looking over your code as well however, I'm no way near as talented as any of you. I've been doing some testing and yea the hp and mp potting is buggy. Wether that be the time between checking is too long, or BOI uses more than 1 memory location for the hp and mp. The latter doesn't seem to be the case because dc at #hp works like a charm.
Hp and mana checks don't really needs to be prioritized, they are checked every 500ms and if necessary the key is posted to the keyThread which takes about 500ms to send it to the program. I think that there is differences between how BOI is handling HP and Mana between either different Comps or different classes because it works fine for me. However i guess it could be that the keyThread isn't working right, maybe a latency issue or something.
You're free to change it how you like, if you find a difference or something tell me so i can modify the program accordingly. Also I think I'll be releasing V3 tonight if it passes this debuging session...
That makes a lot of sense thanks as I was wondering why the threshold is say 3000 but it only kicks in at say 2800. Your logic is sound my friend however there does seem to be a bug checking the ticks as when it does not satisfy the tick condition once, for me anyway, it will never pot again in that session. I am just assuming that for some reason it doesn't record properly when it potted last, because the hp/mp check works fine.
EDIT: Sorry I forgot to address what you think the issues are. They keyThread is working fine as it attacks and everything and I don't think its a problem with hp/mp since the dc works fine. To be exact, the problem I am encountering is that it pots, then at around maybe 20-30 mins in potting just stops, it goes past threshold 1 and 2 and mp sits on 30 till the hp finally drops then the dc kicks in
That makes a lot of sense thanks as I was wondering why the threshold is say 3000 but it only kicks in at say 2800. Your logic is sound my friend however there does seem to be a bug checking the ticks as when it does not satisfy the tick condition once, for me anyway, it will never pot again in that session. I am just assuming that for some reason it doesn't record properly when it potted last, because the hp/mp check works fine.
EDIT: Sorry I forgot to address what you think the issues are. They keyThread is working fine as it attacks and everything and I don't think its a problem with hp/mp since the dc works fine. To be exact, the problem I am encountering is that it pots, then at around maybe 20-30 mins in potting just stops, it goes past threshold 1 and 2 and mp sits on 30 till the hp finally drops then the dc kicks in
Maybe you could try removing the simulated CD on the food so change:
Yea I gathered that, but like you I would rather it not spam keys and clog up the keyThread. I'll do some more testing and let you know if I find anything significant. Looking forward to V3 as well! Keep up the great work and thanks!
Yea I gathered that, but like you I would rather it not spam keys and clog up the keyThread. I'll do some more testing and let you know if I find anything significant. Looking forward to V3 as well! Keep up the great work and thanks!
Well i don't really know if it'll clog up the key thread i just kinda put it in place just in-case. As for V3, ima let it run through the hour change and see if it stops potting. I also need to test if it still works on two clients... which would be a whole new can of worms if it doesn't work the first time (which it probably won't) but I'll stop complaining...
Anyways np, and thanks for the input
P.S. Don't EVER declare a buffer as a char array, it does weird things and takes a long time to debug.