Blizzard Sector
How to highlight for bots? - Printable Version

+- Blizzard Sector (https://www.blizzsector.co)
+-- Forum: Diablo II (https://www.blizzsector.co/forum-4.html)
+--- Forum: Hacks Bots and Editors (https://www.blizzsector.co/forum-16.html)
+--- Thread: How to highlight for bots? (/thread-44765.html)



How to highlight for bots? - Reelix - 09-02-2008

In screenshots like

Links removed


and

Links Removed

You see that all the important things are "Boxed"

I'm just wondering how this effect is created, since I have seen with with several bots, and, with the per-pixel detection script I've created (C#), I can get the colours easy enough and it would just be nice to see WHAT colour is what, so I can move onto attacking / item collection / etc.

Any clue's anyone? :p


How to highlight for bots? - RaZzor - 09-03-2008

I don't know if this might be helpful for you. I found it in the mm.BOT.Include.au3 file.

Code:
;=================================================================
; Attention some font colors will varies, here default to A5.
; Read the Func SetupActContext($Act) to understand.
; Example: 5933724 in act 2 is the uniques items color font...
;=================================================================
$CurrentAct = 5
; Colors definition
$XUNIQUES_Color = 6521492
$SETS_Color = 1623816
$XRARES_Color = 6535902
$MAGICS_Color = 11358546
$GRAYS_Color =  5394770
$WHITES_Color = 13027270
$NPC_BODY_Color = 16720037
$NPC_MENU_Color = 1623816
$GREEN_BLOCKS_Color = 65304
$MERC_GREEN_BAR_Color = 34304
$MERC_ORANGE_BAR_Color = 2197206
$UNID_RED_Color = 3229109
$CRAFTED_Color = 2197206
$TP_color = 3777263



How to highlight for bots? - Reelix - 09-04-2008

Aaah! That's the list of all the different "Object Parts" in the game once boxed (With some form of colour code - Although I can read colours manually - My Pixel-Detection Procedure lets me get the RGB Values)

Will be EXTREMELY useful once I've figured out how to box everything in the first place wacky: