* integrated diablo scaffold still pending pathing & kill logic * minor changes to cross river of flame - but loop not working * River of Flame sucessfully skipped - CS Entrance cleared * Seal B works. * Everthing is slow :( * reparied slowness * revert deleted main code * Added CS Entrance recognition & changed Pentagram templates * Merge branch 'diablo' of https://github.com/jobithu/botty into diablo * Seal B works for both layouts - still clumsy, but it works. * added Vizier (A). working: A1, B1, B2 - pending: A2,C1,C2,Diaaaa * C identifcation implemented. * All seals done, optimization needed for pathing & fighting sequences * fixed minor error in game.ini * should now run - badly. all seal spots & paths need optimization * A1Y works stable * A1Y stable, WP now has issues * A2Y seal mouseover added - new bug, could not determine window offset * Both A seals work great now! * A2L Seals work consistently. A1Y quite good. * easteregg * A2L improvements * Succesful kill on A2L, B1S, C1G * Tweaked Diablo Kill Wait Time * start cleanup * added functions for each seal layout * First stable dia kills with fixed map layout * added Sealdance function * Fixed Sealdance. A1L is finished. All others work in Progress. * A2L + B1S Works * A2L and B1S works * Script runs well now on A1L, B1S, C1G. Sealdance needs more movement. * Update diablo.py * A1L, C2F, B2F working. Kills Dia Hell well. * added issue log. testing all layouts now. * Individual runs work, Sealdance needs tweaking * All seals work, got frustrated, added sorc&she rox * tweaked sorc vizier & infector fights * rebuild templates & nodes for A2Y, B1U, C2G * Forgot to add Seal A to the run oO * renamed forgotten templates for A2Y * fixed minor bugs on A1Y. succesfull dia kill * Optimized A2Y * Reworked A1Y templates & fight - very stable! Yay! * A2Y, B2U, C2G work - but i think it should be B1U * 4/6 seals work (B1S & C1F pending) * some clean up * remove unwated code * 5/6 Seals done - added C1F * sealdance and error handling * try to merge stuff somehow * add additional template coordinates to failed nodes * fix health manager by adding diablo lcoation * remove thresholds * fix template names and error handling for c seals * C1F added. 5/6 seals done. * All seals work - let's get it tested! * B1S fight coregraphy improvements * New paths for layout check to increase consistency * fixed A2Y edge lava port (625>626) * All seals work, lets test with more ppl & finetune * C1F & B1S switched to static pathing * Improved overall robustness * improved A layout check consistency * added A layout check consistency & CTA rebuff * Home now a loop, B now first seal to pop. * Trash clear at pentagram, B1S, C1F loop added. * Changed DeSeis attack pattern so MERC can kill * tweaked diablo spawn timer & vizier attack pattern * fixed minor pickit error. * fixed Layout B Check loop & improved C1F * improved C1F pathing home * improved B layout check by removing trash kill * added C2G static path to infector & loop home * tweaked pathing * lots of pathing tweaks to increase consistency * Clarified Logger.Info * Fixed A1L Tele to Lava Bug * Fixed A1Y Tele Lava bug * Fixed B2U missing pentagram on loop back * fixed logger * Completely reworked layout checks * Reworked C seal layout check * fixed ending up too low at Diablo * optimized loop home for C * added all seals * removed duplicate trash sequence at C * Fixed B2U looping home, added essence * Template Check Threshold raised for Layout Checks * Reverted A layout check back to inital version * Aggressive Layout Checks implemented. * Replaced Pentagram Templates to improve [602] * Fixed loops for new pent layout * Reverted A layout checks back to initial version * merged 6.1? i hope it worked. * Pressure Test: A2Y 98% layout check success * Massive improvements on Layout Checks * Integrated Skizot's A4 merchants * Fixed an error on A1L. * fixed a small error on final pickit * Slight Cleanup * tweaked A2Y nodes to avoid lava jumps * Added B2U Seal Logging * Add templ. to 611 & 610 to fix stuck pather * WiZ/SwePow suggestions * Some more tweaking * Trying to improve B layout checks (not full run) * Seal B logic pressure test (no full run) * added timeouts to weak traversenodes (no full run) * Pacifist Version - just checking layouts no bosses * Pure Layoutcheck Pressure Test (double checks) * Pacifist mode: Layout Check * Update bot.py * Added Templates to improve Layoutchecks * Tweaked B2U Templates (Pacifist Version) * add B2U nodes & calibration to impr. layout check * added nodes to layout checks * Added A1L Calibration Node for Layoutcheck * Full running script * Fixed Calibrations - Full Run * fixed mousover keyerror * yet another mousover * fixed a pather issue on B1S, full run * yet another mousover. full run. * mousover... ful run * yet another mousover. full run * fixed C2G looping across pentagram * Update game.ini * WiZ testing * added seal_node to sealdance * added C1F layoutcheck nodes * Added Wiz Speedrun * tweaked wait in sealdance * A1L-Static path to Pentagrram * added A2Y hop 622 * A2Y static path home * B1S static path home * changed C1F fake template * added new C1F seals & static home * Speed or no speed Using kill_cs_trash config * fixed a 36b key error * Random guess actually is random now It wasnt random at all before so trying out if this is better * Minor fixes and tweaks * B2U - Static Path Home * Redworked C1F - not stable yet * Seal order B,C,A and DeSeis fix There was copy/paste bug in DeSeis making it use wrong atk_len and then I also tuned the attacks a bit. * fixed final B2U issue, should be stable now! * added B2U 644_646 static path * added mapping * A seals fixed hopefully More testing tomorrow! * run diablo py Yours is the diabloC, I didnt have time to compare them before sleep and wanted you to have both in case * so this should be super stable now! * Reverted A1L & A2Y Seal Order (but kept WiZ Idea) * Reverted Seal Order * Added Rudi TP :) * all loop home now * added TP template to loop * typo * stashs & shrine gfx, TP counter * removed pent_6 (many false positives looping home) * clean up for aeon * fixed typos * New A2Y & C2G home pathing * Reworked C1F 704 to avoid stuck * Ready to test! * fixed pather clicking outside D2R * Tweaked Seal A * Loot to Sealdance() & A2Y tweaks * removed FALSE from TP fail * Updated Readme.md * remove env * clean up code * account for used tp Co-authored-by: aeon0 <[email protected]> Co-authored-by: WiZ <[email protected]>
205 lines
7.1 KiB
INI
205 lines
7.1 KiB
INI
[colors]
|
|
; min and max hsv range (opencv format: h: [0-180], s: [0-255], v: [0, 255])
|
|
; h_min, s_min, v_min, h_max, s_max, v_max
|
|
black=0,0,0,180,255,15
|
|
item_highlight=90,235,130,115,255,160
|
|
white=0,0,150,180,20,255
|
|
gray=0,0,90,180,20,130
|
|
blue=114,100,190,125,132,255
|
|
green=56,190,190,63,255,255
|
|
yellow=27,110,190,33,145,255
|
|
gold=20,75,140,26,95,230
|
|
orange=20,190,190,23,255,255
|
|
red=3,160,160,9,255,220
|
|
health_potion_0=170,100,76,180,255,255
|
|
health_potion_1=0,100,76,10,255,255
|
|
mana_potion=105,20,76,135,255,255
|
|
rejuv_potion=140,50,40,160,255,255
|
|
|
|
[ui_pos]
|
|
screen_width=1280
|
|
screen_height=720
|
|
center_x=640
|
|
center_y=360
|
|
ingame_ref_x=625
|
|
ingame_ref_y=669
|
|
offline_width=105
|
|
char_selection_center_x=1050
|
|
char_selection_center_y=270
|
|
; some distance
|
|
skill_bar_height=67
|
|
save_and_exit_x=633
|
|
save_and_exit_y=317
|
|
issue_occured_ok_x=640
|
|
issue_occured_ok_y=387
|
|
; inventory, stash, vendors
|
|
inventory_gold_btn_x=1007
|
|
inventory_gold_btn_y=531
|
|
inventory_top_left_slot_x=866
|
|
inventory_top_left_slot_y=348
|
|
slot_width=38
|
|
slot_height=38
|
|
stash_personal_btn_x=80
|
|
stash_personal_btn_y=77
|
|
stash_btn_width=97
|
|
vendor_misc_x=371
|
|
vendor_misc_y=74
|
|
; health, mana, pots
|
|
health_top=610
|
|
health_left=309
|
|
health_width=7
|
|
health_height=101
|
|
mana_top=610
|
|
mana_left=961
|
|
mana_width=7
|
|
mana_height=101
|
|
potion1_x=742
|
|
potion1_y=695
|
|
potion_width=30
|
|
potion_height=30
|
|
potion_next=41
|
|
merc_health_top=14
|
|
merc_health_left=15
|
|
merc_health_width=40
|
|
merc_health_height=3
|
|
; skills
|
|
skill_y=693
|
|
skill_right_x=687
|
|
skill_left_x=597
|
|
skill_width=41
|
|
skill_height=41
|
|
; death screen
|
|
death_roi_top=193
|
|
death_roi_left=513
|
|
death_roi_width=253
|
|
death_roi_height=50
|
|
corpse_x=633
|
|
corpse_y=320
|
|
; waypoint
|
|
wp_act_i_btn_x=90
|
|
wp_act_i_btn_y=90
|
|
wp_act_btn_width=67
|
|
wp_first_btn_x=227
|
|
wp_first_btn_y=129
|
|
wp_btn_height=47
|
|
; pickit
|
|
item_dist=267
|
|
item_height_min=6
|
|
item_width_min=20
|
|
; pather
|
|
reached_node_dist=100
|
|
min_walk_dist=25
|
|
max_walk_dist=127
|
|
|
|
[ui_roi]
|
|
; all rois are in [left, top, width, height] format
|
|
is_overburdened=11,510,513,60
|
|
save_and_exit=500,233,273,173
|
|
offline_btn=533,627,213,67
|
|
online_btn=427,613,213,67
|
|
difficulty_select=536,236,210,320
|
|
gold_btn=927,491,267,100
|
|
inventory_gold=980,510,150,40
|
|
gold_btn_stash=150,480,40,65
|
|
health_globe=160,580,240,140
|
|
mana_globe=887,580,240,140
|
|
cut_skill_bar=0,0,1280,653
|
|
reduce_to_center=120,60,1040,540
|
|
search_npcs=120,0,1040,620
|
|
merc_icon=0,0,100,100
|
|
loading_left_black=0,0,350,720
|
|
death=513,193,253,50
|
|
tp_search=353,120,547,400
|
|
repair_btn=318,473,90,80
|
|
inventory=860,343,394,165
|
|
vendor_stash=29,84,400,400
|
|
skill_right=664,673,41,41
|
|
skill_left=574,673,41,41
|
|
main_menu_top_left=0,0,100,100
|
|
window_ingame_ref=600,650,90,90
|
|
no_pickup=5,530,240,65
|
|
repair_needed=1000,0,280,280
|
|
wp_act_roi=42,66,365,53
|
|
stash_btn_roi=20,52,412,53
|
|
offline_tab= 1100,10,150,40
|
|
char_selection_top=1047,50,160,37
|
|
char_selection_all=1042,45,170,550
|
|
|
|
[path]
|
|
; static pathes in format: x0,y0, x1,y1, x2,y2, ...
|
|
pindle_safe_dist=921,35, 1123,70, 960,88
|
|
eldritch_safe_dist=652,63, 563,73
|
|
trav_safe_dist=1156,438, 1120,282, 1059,525, 1146,312, 1132,346, 985,538, 1125,333
|
|
pindle_end=1037,174
|
|
eldritch_end=675,89
|
|
shenk_end=1067,544
|
|
; Nilathak WP to Level2 Stairs "a = bottom", " b = large room" and "c = small room"
|
|
ni1_a=871,472, 1205,600, 1162,600, 1169,584, 1169,584, 1232,213, 1221,237, 1164,228, 1145,572, 1146,547, 1223,185
|
|
ni1_b=23,187, 23,187, 23,187, 23,187, 12,192, 10,192, 10,190, 123,70, 378,120
|
|
ni1_c=118,500, 158,602, 187,577, 217,563, 184,551, 70,413, 127,240, 154,493, 197,504, 218,545, 83,246, 45,526, 180,440
|
|
; Nilathak Level2 from corresponding eye check to boss (naming of spots are counter-clockwise - "a" is first (at 6'clock))
|
|
ni2_circle_a=716,599
|
|
ni2_circle_b=1196,348
|
|
ni2_circle_c=686,38, 542,20
|
|
ni2_circle_d=186,272
|
|
ni2_circle_back_to_a=136,507, 887,613, 838,490, 630,499
|
|
; Nilathak any of the 4 "arms"
|
|
ni2_a_safe_dist=267,499, 279,533, 372,536, 283,529, 360,524, 513,553, 289,449, 154,219
|
|
ni2_b_safe_dist=864,373, 987,549, 842,521, 977,504, 886,453, 896,449, 861,461, 1206,279, 1068,569
|
|
ni2_c_safe_dist=810,98, 989,195, 969,250, 957,234, 962,179, 954,203, 1202,220, 985,89
|
|
ni2_d_safe_dist=449,165, 334,198, 377,183, 402,181, 382,196, 377,230, 9,288, 290,104
|
|
# Arcane Sanctuary Layouts
|
|
arc_top_right=1236,43, 1236,43, 1241,39, 1060,179, 1240,669, 1208,649, 1109,63, 1181,60, 1221,64, 1237,51, 1239,43, 1226,48, 1234,48, 1246,60, 93,50, 115,65, 1203,36, 1169,198
|
|
arc_bottom_left=60,653, 60,653, 60,653, 254,559, 1249,634, 1209,628, 54,613, 58,613, 69,658, 74,643, 74,643, 74,643, 74,643, 89,614, 17,122, 103,146, 20,495, 88,624
|
|
arc_top_left=86,55, 98,69, 110,111, 135,69, 1195,97, 1154,89, 95,81, 93,88, 93,88, 92,88, 92,88, 92,88, 92,88, 92,88, 92,88, 63,654, 103,609, 101,63, 133,104
|
|
arc_bottom_right=1230,649, 1189,685, 1201,632, 992,503, 1161,45, 1166,55, 1236,607, 1233,617, 1162,663, 1169,650, 1224,627, 1221,613, 1224,638, 1254,627, 60,691, 63,617, 1234,701, 1199,668
|
|
; River of Flame (skip trash)
|
|
diablo_wp_entrance=1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135, 1075,135
|
|
diablo_wp_entrance_loop=855,200
|
|
; River to Pentagram (WiZ speedrun, skip trash)
|
|
diablo_wp_pentagram=1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7, 1270,7
|
|
diablo_wp_pentagram_loop=850,230
|
|
; Chaos Sanctuary (skip trash)
|
|
diablo_entrance_pentagram=1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150, 1075,150
|
|
diablo_entrance_pentagram_loop=855,200
|
|
; Chaos Sanctuary (kill trash - not implemented yet)
|
|
;AZMR to add
|
|
; Seal Bosses - A = Vizier (A1L, A2Y) ; B = De Seis (B1S, B2U) ; C = Infector (C1F, C2G) - letters at third digit (L,Y,S,U,F,G) describe how the seal layout looks on the minimap.
|
|
dia_pent_rudijump=951,240
|
|
dia_a_layout=80,170, 80,170, 80,170, 125,255, 20,350
|
|
dia_b_layout=1131,116, 886,52, 922,87, 508,6
|
|
dia_c_layout=1028,574, 1028,574, 1028,574, 1028,574
|
|
; Static paths for seals
|
|
dia_a2y_sealfake_sealboss=1194, 57
|
|
dia_a2y_hop_622=1020,147
|
|
dia_b1s_layout2_seal=1125,102, 1125,102, 1125,102, 1171,576, 651,584
|
|
dia_b1s_seal_deseis=302,128, 267,193, 395,502
|
|
dia_c1f_651_654=1250,328, 1250,328
|
|
dia_c1f_654_651=100,413, 100,413
|
|
dia_c1f_651_652=1261,402
|
|
dia_c1f_702=1227,428
|
|
dia_c1f_hop_fakeseal=60,15
|
|
dia_c2g_663=1250,259
|
|
dia_b2u_bold_seal=6,83, 6,83
|
|
dia_b2u_644_646=1084,573, 728,629, 45,596, 194,512
|
|
;dia_c2g_bold_seal=93,308
|
|
; Home Loops
|
|
dia_a1l_home=1095,530, 1095,530, 1095,530, 1095,530
|
|
;1150,500, 1150,500, 1150,500, 1150,500
|
|
dia_a1l_home_loop=1095,530
|
|
dia_a2y_home=1040,585, 1040,585, 1040,585, 1040,585
|
|
dia_a2y_home_loop=1040,585
|
|
;1150,615 works
|
|
dia_b1s_home=58,619, 58,619, 58,619, 58,419
|
|
dia_b1s_home_loop=140,650
|
|
dia_b2u_home=395,570, 395,570, 395,570, 395,570
|
|
dia_b2u_home_loop=395,570
|
|
dia_c1f_home=63,72, 63,72, 63,72, 63,72
|
|
dia_c1f_home_loop=63,72
|
|
dia_c2g_home=175,175, 175,175, 175,175 ,175,175, 175,175
|
|
dia_c2g_home_loop=175,175
|
|
; More aggressive Seal paths
|
|
dia_a_layout_bold=189,193, 189,193, 189,193, 189,193, 189,193, 189,193, 189,193, 189,193, 1100,337
|
|
dia_b_layout_bold=1129,148, 1129,148, 1129,148, 1129,148, 1129,148, 1129,148
|
|
dia_c_layout_bold=1112,503, 1112,503, 1112,503, 1112,503, 1112,503, 1112,503, 1112,503, 1112,503
|