hello again..
Thanks for your responses!
some change i made:
- shorter sleep after select target (should i made this as an option to modify over the Config Window?)
Thinks i try to get working first:
- sending keys like Left and Right for rotating the view. My problem is, that i dont get it work. Search good info on bit manipulation. I have to set the right wparam and lparam for postmessage for the WM_KEYDOWN Message. [Only registered and activated users can see links. Click Here To Register...]
- the image capture method, thats make me crazy! I have some functions made... but nothing works perfect! (API´s i used [Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...])
Next method i will test is, Print Window over the ALT+PRINT Key and get Image over the clipboard.. but it needs the window on screen. And i think, it is not fast enough. I hafe read some code from VNC, thats made a good job, but there use also BitBlt. But there create also a driver for better access. I think this is to much for a small bot :)
I will made an Drop Down Menu for selecting all my different capture methods. So all people can change and test it.
Weapon change is not easy! I think it is impossible with image methods.. i must detect the position from the Inventor window and the position from the weapon and the Bag Nr. Than open the char window drop off the old and than drop in the new weapon.. to much work! When I can read the memory, than it is possible. But this is to high for me at the moment ;)
Thomas
Thanks for your responses!
some change i made:
- shorter sleep after select target (should i made this as an option to modify over the Config Window?)
Thinks i try to get working first:
- sending keys like Left and Right for rotating the view. My problem is, that i dont get it work. Search good info on bit manipulation. I have to set the right wparam and lparam for postmessage for the WM_KEYDOWN Message. [Only registered and activated users can see links. Click Here To Register...]
- the image capture method, thats make me crazy! I have some functions made... but nothing works perfect! (API´s i used [Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...])
Next method i will test is, Print Window over the ALT+PRINT Key and get Image over the clipboard.. but it needs the window on screen. And i think, it is not fast enough. I hafe read some code from VNC, thats made a good job, but there use also BitBlt. But there create also a driver for better access. I think this is to much for a small bot :)
I will made an Drop Down Menu for selecting all my different capture methods. So all people can change and test it.
Weapon change is not easy! I think it is impossible with image methods.. i must detect the position from the Inventor window and the position from the weapon and the Bag Nr. Than open the char window drop off the old and than drop in the new weapon.. to much work! When I can read the memory, than it is possible. But this is to high for me at the moment ;)
Thomas