OutdatedDestiny 2 External Bot Final + Source

Posts 151–165 of 635 · Page 11 of 43
Quote Originally Posted by Djabolic View Post
Can you also post the reference images please?
That's the thing, you don't want my images because they're not good at all. I have about 35 different sizes and colors of red bars and "50" combinations and none of them gave something reliable so far, hence me asking 3andrew for his findings to avoid the wave animation that all of my tests have been following so far. This also makes it very easy for bungo/blizzard to detect your mouse moving at the same speed as their colors and ban you for it...
Quote Originally Posted by K3ys3r View Post
That's the thing, you don't want my images because they're not good at all. I have about 35 different sizes and colors of red bars and "50" combinations and none of them gave something reliable so far, hence me asking 3andrew for his findings to avoid the wave animation that all of my tests have been following so far. This also makes it very easy for bungo/blizzard to detect your mouse moving at the same speed as their colors and ban you for it...
if you dont want it to search for image then use the code i sent it locks onto the white number but it needs work since it locks on to the sky that also white but its the best ive been able to do and ive not seen anyone else able to get it to lock like the one i sent
Quote Originally Posted by COMBOIIx View Post
if you dont want it to search for image then use the code i sent it locks onto the white number but it needs work since it locks on to the sky that also white but its the best ive been able to do and ive not seen anyone else able to get it to lock like the one i sent
You should do a check for the white first, then a check for the other color (greyish) around the level number. Then when both conditions are satisfied activate the mouse movement
Quote Originally Posted by 3andrew View Post
I want to point out that the number 50 and the faction icons are transparent as well. I already did some testing with this and got nowhere. Take some screens yourself and pull pixels by color and you will see that it is various shades of white to light grey. A spot that is white might turn grey after they move 1ft to the left and so on.



That being said, I've been having more and more success using image search and a few "health bars" to lock onto with *n to account for transparencies. I'm somewhere around 80% as good as the origional bot now. Biggest issue is sights that have a red dot and some maps on nessus with red foliage. I'm 100% locked on full health guardians but once they loose there shield and start going below 50% health the image size and *n value required to attain a lock causes some issues.
Sir can u share ur images? code? via pm

- - - Updated - - -

Quote Originally Posted by K3ys3r View Post
That's the thing, you don't want my images because they're not good at all. I have about 35 different sizes and colors of red bars and "50" combinations and none of them gave something reliable so far, hence me asking 3andrew for his findings to avoid the wave animation that all of my tests have been following so far. This also makes it very easy for bungo/blizzard to detect your mouse moving at the same speed as their colors and ban you for it...
big thanks . Ill try some tests after work.
Quote Originally Posted by navysonar View Post
edit: Like this it work
Will this work without the images?
Quote Originally Posted by Overwolf2077 View Post
Will this work without the images?
ofcourse not...

Guys its ok that we all want smth already tested AND working fine but...pls...learn at least basics of *how .ahk works...*
Quote Originally Posted by Overwolf2077 View Post
Will this work without the images?
Don't take this the wrong way, but if you can't tell this code refers to various bitmap images and means nothing without them, you probably should wait until a functional version is posted... Walking around with the code I sent you will not only make your performance in the game terrible, but it will most likely get you banned if it does work in that state. He meant the code does not error with that version and makes sense as far as syntax is concerned, images are always necessary with AHK unless you do pixel search which is less than ideal for our current predicament.
Quote Originally Posted by 3andrew View Post
That being said, I've been having more and more success using image search and a few "health bars" to lock onto with *n to account for transparencies. I'm somewhere around 80% as good as the origional bot now. Biggest issue is sights that have a red dot and some maps on nessus with red foliage. I'm 100% locked on full health guardians but once they loose there shield and start going below 50% health the image size and *n value required to attain a lock causes some issues.
Please share the code so we can work on and try to improve it too.
Quote Originally Posted by K3ys3r View Post
It's not really my code per say since I used the basis from the commonly used AHK bot, this is the generic version with 5 bars or pictures. You can do it with PNGs with transparency or use TransBlack or TransWhite but I find it works better with imageSearch:
are u using 1 pixel or 2+pixels to search per image?
Quote Originally Posted by Forsaga View Post
are u using 1 pixel or 2+pixels to search per image?
Yeah I usually had as big of a picture as I can use, aka a vertical column a few pixels wide and the height of a bar at max range to avoid snapping on foliage or other reddish things as much as possible. I also completely avoid pixel search because there's tons of other red/white/grey pixels on your screen at pretty much any moment. What's hard is to get the bar while it's at the mid level of the color change to have the smallest possible variance detecting all of it and avoid the bot moving right with the animation.
Quote Originally Posted by K3ys3r View Post
Yeah I usually had as big of a picture as I can use, aka a vertical column a few pixels wide and the height of a bar at max range to avoid snapping on foliage or other reddish things as much as possible. I also completely avoid pixel search because there's tons of other red/white/grey pixels on your screen at pretty much any moment. What's hard is to get the bar while it's at the mid level of the color change to have the smallest possible variance detecting all of it and avoid the bot moving right with the animation.


ok its working...but i need like 50+ more presets of HP bars in all states of % hp remain

- - - Updated - - -

Quote Originally Posted by K3ys3r View Post
Yeah I usually had as big of a picture as I can use, aka a vertical column a few pixels wide and the height of a bar at max range to avoid snapping on foliage or other reddish things as much as possible. I also completely avoid pixel search because there's tons of other red/white/grey pixels on your screen at pretty much any moment. What's hard is to get the bar while it's at the mid level of the color change to have the smallest possible variance detecting all of it and avoid the bot moving right with the animation.
and better to make horizontal column since vertical will provide jittery with aim...since hp bar have wave effect from left to right with shades

- - - Updated - - -

Can someone tell me why i have error Else with no matching IF since im bad in coding
MainSub:
if (trackRedMode = 1) {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove

}
else
{
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr2.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}
else
{
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr3.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}
else
{
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr4.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}
else
{
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr5.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}
}
return
Quote Originally Posted by Forsaga View Post
ok its working...but i need like 50+ more presets of HP bars in all states of % hp remain

- - - Updated - - -


and better to make horizontal column since vertical will provide jittery with aim...since hp bar have wave effect from left to right with shades

- - - Updated - - -

Can someone tell me why i have error Else with no matching IF since im bad in coding
upload the image files to mega and send me the link so i can mess around with this
I tried cleaning up your code to how I usually see code in java and C++. IDK if ahk has it, but is there an Else If statement? Could it be due to the multitude of Else statements that would fall under the same condition after if(AimPixelX != "" && AimPixelY != "") failed?


MainSub:
if (trackRedMode = 1) {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr2.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr3.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr4.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr5.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}
}
return



EDIT: well, I guess spacing doesnt show up well, so I'll just upload a pic of it formatted instead.
https://gyazo.com/63b138a70678abde44b0e41cd418c586
Quote Originally Posted by COMBOIIx View Post
upload the image files to mega and send me the link so i can mess around with this
https://********/fm/WWwQ0IZR

- - - Updated - - -

Quote Originally Posted by yashspartan1 View Post
I tried cleaning up your code to how I usually see code in java and C++. IDK if ahk has it, but is there an Else If statement? Could it be due to the multitude of Else statements that would fall under the same condition after if(AimPixelX != "" && AimPixelY != "") failed?


MainSub:
if (trackRedMode = 1) {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr2.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr3.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr4.bmp

if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}

else {
imageSearch, AimPixelX, AimPixelY, %sx1%, %sy1%, %sx2%, %sy2%, *5 hr5.bmp
if(AimPixelX != "" && AimPixelY != "") {
GoSub FindOffsetToTarget
GoSub DoMousemove
}
}
}
return



EDIT: well, I guess spacing doesnt show up well, so I'll just upload a pic of it formatted instead.
https://gyazo.com/63b138a70678abde44b0e41cd418c586
tried...but still same error...seems its not working with more then 2 arguments.
Quote Originally Posted by Forsaga View Post
https://********/fm/WWwQ0IZR

- - - Updated - - -



tried...but still same error...seems its not working with more then 2 arguments.
will it let you send the link if you use Google URL Shortener ? or and other shortener or take a screenshot of the link and send it other with gyazo
Posts 151–165 of 635 · Page 11 of 43
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us