SHIFT/ALT and invalid target problem

12/04/2008 07:18 aishenne#1
Hi, I'm getting problems that seem as if SHIFT or ALT key is being pressed when running either MHS or zcpwbot. Is this an expected thing? Or is there some way to get around this? The problem is that it messes things up when I'm typing something or trying to use other programs :( .

And another thing, I keep getting 'Invalid Target' error when I try to use normal/melee attack :confused: . Experienced it when I set my autoskills like:
skill1: (skill)
skill2: melee attack

It executes the skill perfectly fine, but then goes 'Invalid target' for the melee attack and fails to do a normal attack at the monster, and does the skill again.

I tried not putting melee attack in the autoskills list, (setting just one skill for autoskill and a long delay for the bot to do a melee attack after the skill) but I still get the invalid target error :( so the character just stands there doing nothing.

Thanks for any help on this. :handsdown::(
12/06/2008 22:52 wildwinter#2
I have the same problem with the bot. it is the most annoying when we can you shift button in typing T_T. maybe we have to wait untill the bot's updated.

the invalid target: what you need to do is to make sure the monster attacks back to you. if you notice when the bot use skill, monster blood keep the same. It's due to ... something I don't remember :P. btw, this is the way his bot works so accept it.
Please try this method: after u hit the monster and if it attack you but his hp keep the same + the "invalid target" line====> choose another monster nearby manually and then choose the previous one ( attacking you).
some advices for you( maybe you don't want them :P) : if you r an archer, set 1 skill at 6-8 second ( make sure that skill will be ready again after this period) and normal attack at 1 seconds or maybe 2. if you a mele class, you will only need 1 skill and it will do normal attack after skill.
12/23/2008 16:08 aishenne#3
Is there a way though to 'recover' from the SHIFT/ALT thing? Even if I close the bots, the SHIFT/ALT locks don't wear off :( :( :( .
12/23/2008 17:15 Smurfin#4
try adding this line AutoItSetOption ("SendCapslockMode", 0) at the beginning of the source code after includes.


source: [Only registered and activated users can see links. Click Here To Register...]

Syntax
AutoItSetOption ("<option>", <setting>)

option = SendCapslockMode
Specifies if AutoIt should store the state of capslock before a Send function and restore it after the operation is complete.
setting = 0 don't store/restore
setting = 1 store and restore (default)

12/23/2008 17:15 Smurfin#5
--double post--
12/25/2008 11:14 koob#6
where to put that? custom_offsets or the mhs-bot-pw-custom file?