(Добавление)
CODE:
int xx, yy;
int size_key_char_KIB=-1;
int col_KIB, ex_KIB, ey_KIB, sum_KIB, x_KIB, y_KIB, j123, j124, j125;
int Image_58_KIB[68][57], Image_59_KIB[89][19], Image_1_KIB[29][32], Image_2_KIB[32][37], Image_3_KIB[29][31], Image_4_KIB[30][29], Image_5_KIB[29][31], Image_6_KIB[28][31], Image_7_KIB[30][31], Image_10_KIB[28][30], Image_9_KIB[30][32], Image_8_KIB[30][29], Image_11_KIB[30][32], Image_64_KIB[115][33], Image_12_KIB[32][30], Image_32_KIB[49][50], Image_31_KIB[28][25], Image_13_KIB[32][33], Image_30_KIB[29][23], Image_29_KIB[31][22], Image_14_KIB[30][34], Image_28_KIB[33][23], Image_15_KIB[29][34], Image_27_KIB[31][25], Image_26_KIB[31][23], Image_16_KIB[31][34], Image_25_KIB[29][25], Image_23_KIB[31][33], Image_24_KIB[34][33], Image_22_KIB[31][24], Image_21_KIB[31][27], Image_19_KIB[33][35], Image_20_KIB[31][25], Image_18_KIB[33][34], Image_60_KIB[53][45], Image_61_KIB[153][30];
int Image_62_KIB[90][64], Image_63_KIB[59][30], Image_17_KIB[29][27], Image_36_KIB[50][50], Image_35_KIB[51][49], Image_34_KIB[49][49], Image_33_KIB[46][47];
start_();
for(j124 = 0; j124 < 10000; j124++){
findimage_(#Image_58_KIB[0][0], 10000, 0, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
m_KIB1:
textout(0, 100, 50, "poik", 2);
findimage_(#Image_59_KIB[0][0], 8000, 200, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
m_KIB3:
textout(0, 100, 50, "poik netsopernika", 2);
if(findimage_(#Image_63_KIB[0][0], 2000, 100, 0, 1, 0, 0, 200, -1, 50, 80, 1, 250, 250, 900, 700, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB1;
findimage_(#Image_59_KIB[0][0], 1500, 200, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
textout(0, 100, 50, "poik0", 2);
if (findimage_(#Image_1_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error1", 2);
if (findimage_(#Image_2_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_3_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_4_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_5_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error5", 2);
if (findimage_(#Image_6_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_7_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_8_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_9_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_10_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error10", 2);
if (findimage_(#Image_11_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_12_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_13_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_14_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_15_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error15", 2);
if (findimage_(#Image_16_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_17_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_18_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_19_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_20_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error20", 2);
if (findimage_(#Image_21_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_22_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_23_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_24_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_25_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error25", 2);
if (findimage_(#Image_26_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_27_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_28_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_29_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_30_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error30", 2);
if (findimage_(#Image_31_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error31", 2);
findimage_(#Image_58_KIB[0][0], 0, 0, 0, 1, 0, 0, 0, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
findimage_(#Image_59_KIB[0][0], 0, 0, 0, 1, 0, 0, 0, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
textout(0, 100, 50, "SLEDUCHII", 2);
findimage_(#Image_64_KIB[0][0], 0, 0, 0, 1, 0, 0, 100, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB); goto m_KIB3;
m_KIB17:
int xx, yy;
int size_key_char_KIB=-1;
int col_KIB, ex_KIB, ey_KIB, sum_KIB, x_KIB, y_KIB, j123, j124, j125;
int Image_58_KIB[68][57], Image_59_KIB[89][19], Image_1_KIB[29][32], Image_2_KIB[32][37], Image_3_KIB[29][31], Image_4_KIB[30][29], Image_5_KIB[29][31], Image_6_KIB[28][31], Image_7_KIB[30][31], Image_10_KIB[28][30], Image_9_KIB[30][32], Image_8_KIB[30][29], Image_11_KIB[30][32], Image_64_KIB[115][33], Image_12_KIB[32][30], Image_32_KIB[49][50], Image_31_KIB[28][25], Image_13_KIB[32][33], Image_30_KIB[29][23], Image_29_KIB[31][22], Image_14_KIB[30][34], Image_28_KIB[33][23], Image_15_KIB[29][34], Image_27_KIB[31][25], Image_26_KIB[31][23], Image_16_KIB[31][34], Image_25_KIB[29][25], Image_23_KIB[31][33], Image_24_KIB[34][33], Image_22_KIB[31][24], Image_21_KIB[31][27], Image_19_KIB[33][35], Image_20_KIB[31][25], Image_18_KIB[33][34], Image_60_KIB[53][45], Image_61_KIB[153][30];
int Image_62_KIB[90][64], Image_63_KIB[59][30], Image_17_KIB[29][27], Image_36_KIB[50][50], Image_35_KIB[51][49], Image_34_KIB[49][49], Image_33_KIB[46][47];
start_();
for(j124 = 0; j124 < 10000; j124++){
findimage_(#Image_58_KIB[0][0], 10000, 0, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
m_KIB1:
textout(0, 100, 50, "poik", 2);
findimage_(#Image_59_KIB[0][0], 8000, 200, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
m_KIB3:
textout(0, 100, 50, "poik netsopernika", 2);
if(findimage_(#Image_63_KIB[0][0], 2000, 100, 0, 1, 0, 0, 200, -1, 50, 80, 1, 250, 250, 900, 700, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB1;
findimage_(#Image_59_KIB[0][0], 1500, 200, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
textout(0, 100, 50, "poik0", 2);
if (findimage_(#Image_1_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error1", 2);
if (findimage_(#Image_2_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_3_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_4_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_5_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error5", 2);
if (findimage_(#Image_6_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_7_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_8_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_9_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_10_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error10", 2);
if (findimage_(#Image_11_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_12_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_13_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_14_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_15_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout( 0, 100, 50, "error15", 2);
if (findimage_(#Image_16_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_17_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_18_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_19_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_20_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error20", 2);
if (findimage_(#Image_21_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_22_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_23_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_24_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_25_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error25", 2);
if (findimage_(#Image_26_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_27_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_28_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_29_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
if (findimage_(#Image_30_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error30", 2);
if (findimage_(#Image_31_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, 3549202, 10, 90, 1, 0, 0, 280, 280, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB17;
textout(0, 100, 50, "error31", 2);
findimage_(#Image_58_KIB[0][0], 0, 0, 0, 1, 0, 0, 0, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
findimage_(#Image_59_KIB[0][0], 0, 0, 0, 1, 0, 0, 0, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
textout(0, 100, 50, "SLEDUCHII", 2);
findimage_(#Image_64_KIB[0][0], 0, 0, 0, 1, 0, 0, 100, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB); goto m_KIB3;
m_KIB17:
(Добавление)
CODE:
textout(0, 100, 50, "BbISAJIBAEMSJ", 2);
//key_(81, 1, "", 0, 200, 200);
mouse_(0, 4, 400, 600, 100);
mouse_(100, 10, 414, 600, 100);
mouse_(100, 7, 414, 600, 100);
findimage_(#Image_62_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, -1, 10, 95, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
xx = x_KIB;
yy = y_KIB;
key_(52, 1, "", 0, 200, 200);
//mouse_(10, 1, xx+105, yy-30, 10);
textout(0, 100, 50, "USKORENIE", 2);
key_(49, 1, "", 0, 200, 200);
for(j125 = 0; j125 < 4; j125++){
if (findimage_(#Image_61_KIB[0][0], 100, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
key_(51, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);
key_(53, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);
textout(0, 100, 50, "URA2", 2);
if (findimage_(#Image_61_KIB[0][0], 100, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
for(j123 = 0; j123 < 4; j123++){
key_(54, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);
mouse_(10, 1, xx+105, yy-30, 10);
textout(0, 100, 50, "jdem konca", 2);
if (findimage_(#Image_61_KIB[0][0], 5000, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
}
if (findimage_(#Image_61_KIB[0][0], 100, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
if (findimage_(#Image_58_KIB[0][0], 100, 0, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB1;
key_(52, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);}
textout(0, 100, 50, "jdem konca", 2);
findimage_(#Image_61_KIB[0][0], 2000, 0, 0, 1, 0, 0, 0, -1, 0, 100, 1, 650, 480, 1400, 800, #sum_KIB, #x_KIB, #y_KIB);
}
exit_KIB:;
//key_(81, 1, "", 0, 200, 200);
mouse_(0, 4, 400, 600, 100);
mouse_(100, 10, 414, 600, 100);
mouse_(100, 7, 414, 600, 100);
findimage_(#Image_62_KIB[0][0], 0, 0, 0, 0, 0, 0, 0, -1, 10, 95, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB);
xx = x_KIB;
yy = y_KIB;
key_(52, 1, "", 0, 200, 200);
//mouse_(10, 1, xx+105, yy-30, 10);
textout(0, 100, 50, "USKORENIE", 2);
key_(49, 1, "", 0, 200, 200);
for(j125 = 0; j125 < 4; j125++){
if (findimage_(#Image_61_KIB[0][0], 100, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
key_(51, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);
key_(53, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);
textout(0, 100, 50, "URA2", 2);
if (findimage_(#Image_61_KIB[0][0], 100, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
for(j123 = 0; j123 < 4; j123++){
key_(54, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);
mouse_(10, 1, xx+105, yy-30, 10);
textout(0, 100, 50, "jdem konca", 2);
if (findimage_(#Image_61_KIB[0][0], 5000, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
}
if (findimage_(#Image_61_KIB[0][0], 100, 0, 0, 0, 0, 0, 0, -1, 0, 100, 1, 650, 400, 1400, 800, #sum_KIB, #x_KIB, #y_KIB)>0) break;
if (findimage_(#Image_58_KIB[0][0], 100, 0, 0, 1, 0, 0, 200, -1, 0, 100, 1, 0, 0, ex_KIB, ey_KIB, #sum_KIB, #x_KIB, #y_KIB)>0) goto m_KIB1;
key_(52, 1, "", 0, 200, 200);
mouse_(10, 1, xx+105, yy-30, 10);}
textout(0, 100, 50, "jdem konca", 2);
findimage_(#Image_61_KIB[0][0], 2000, 0, 0, 1, 0, 0, 0, -1, 0, 100, 1, 650, 480, 1400, 800, #sum_KIB, #x_KIB, #y_KIB);
}
exit_KIB:;
(Добавление)
CODE:
function start_()
{
getdisplay(col_KIB, ex_KIB, ey_KIB);
load_image_();
pause(1000);
}
function mouse_(int p1, int m, int xm, int ym, int p2)
{
pause(p1);
if (m==1) mouse(LEFT, xm, ym);
if (m==2) mouse(MIDDLE, xm, ym);
if (m==3) mouse(RIGHT, xm, ym);
if (m==4) mousedown(LEFT, xm, ym);
if (m==5) mousedown(MIDDLE, xm, ym);
if (m==6) mousedown(RIGHT, xm, ym);
if (m==7) mouseup(LEFT, xm, ym);
if (m==8) mouseup(MIDDLE, xm, ym);
if (m==9) mouseup(RIGHT, xm, ym);
if (m==10) mousemove(xm, ym);
pause(p2);
}
function findimage_(int #Image, int t, int p1, int p2, int m, int xm, int ym, int p3, int fon, int r, int p, int k, int xs, int ys, int xf, int yf, int#sum, int#x, int#y)
{
int timKIB, sumKIB, xKIB, yKIB;
pause(p1);
sumKIB=0;
if (t!=1) timKIB=gettime();
a: if (r==0 && p==100){sum=findimage(k, #Image[0][0], fon, #x[0], #y[0], xs, ys, xf, yf, -1); if (sum>0) goto e;}
else {sum=findimage(k, #Image[0][0], fon, #x[0], #y[0], xs, ys, xf, yf, r, r, r, r, r, r, p, 1, -1); if (sum>0) goto e;}
if (t==0) return 0;
if (gettime()-timKIB<t){sleep(20); goto a;}
return 0;
e: sumKIB=sum; xKIB=x[0]; yKIB=y[0];
pause(p2);
if (m==1){mouse(LEFT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==2){mouse(MIDDLE, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==3){mouse(RIGHT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==4){mousedown(LEFT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==5){mousedown(MIDDLE, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==6){mousedown(RIGHT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==7){mouseup(LEFT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==8){mouseup(MIDDLE, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==9){mouseup(RIGHT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==10){mousemove(xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
return sumKIB;
}
function key_(int k, int m, string text, int pc, int p1, int p2)
{
pause(p1);
if (m==-1)
{
if (size_key_char_KIB==-1)
{
size_key_char_KIB=100;
new char key_char_KIB[size_key_char_KIB+1];
}
int size_key=size(text);
if (size_key_char_KIB<size_key)
{
delete key_char_KIB;
size_key_char_KIB=size_key;
new char key_char_KIB[size_key_char_KIB+1];
}
strcpy(#key_char_KIB[0], text);
for (int n=0; n<size_key; n++){key(key_char_KIB[n]); sleep(pc);}
}
else
{
if (m==1) key(k);
if (m==2) keydown(k);
if (m==3) keyup(k);
}
pause(p2);
}
function load_image_()
{
loadimage (#Image_1_KIB[0][0], "D:\kiber\mc\2\lvl1.bmp");
loadimage (#Image_2_KIB[0][0], "D:\kiber\mc\2\lvl2.bmp");
loadimage (#Image_3_KIB[0][0], "D:\kiber\mc\2\lvl3.bmp");
loadimage (#Image_4_KIB[0][0], "D:\kiber\mc\2\lvl4.bmp");
loadimage (#Image_5_KIB[0][0], "D:\kiber\mc\2\lvl5.bmp");
loadimage (#Image_6_KIB[0][0], "D:\kiber\mc\2\lvl6.bmp");
loadimage (#Image_7_KIB[0][0], "D:\kiber\mc\2\lvl7.bmp");
loadimage (#Image_8_KIB[0][0], "D:\kiber\mc\2\lvl8.bmp");
loadimage (#Image_9_KIB[0][0], "D:\kiber\mc\2\lvl9.bmp");
loadimage (#Image_10_KIB[0][0], "D:\kiber\mc\2\lvl10.bmp");
loadimage (#Image_11_KIB[0][0], "D:\kiber\mc\2\lvl11.bmp");
loadimage (#Image_12_KIB[0][0], "D:\kiber\mc\2\lvl12.bmp");
loadimage (#Image_13_KIB[0][0], "D:\kiber\mc\2\lvl13.bmp");
loadimage (#Image_14_KIB[0][0], "D:\kiber\mc\2\lvl14.bmp");
loadimage (#Image_15_KIB[0][0], "D:\kiber\mc\2\lvl15.bmp");
loadimage (#Image_16_KIB[0][0], "D:\kiber\mc\2\lvl16.bmp");
loadimage (#Image_17_KIB[0][0], "D:\kiber\mc\2\lvl17.bmp");
loadimage (#Image_18_KIB[0][0], "D:\kiber\mc\2\lvl18.bmp");
loadimage (#Image_19_KIB[0][0], "D:\kiber\mc\2\lvl19.bmp");
loadimage (#Image_20_KIB[0][0], "D:\kiber\mc\2\lvl20.bmp");
loadimage (#Image_21_KIB[0][0], "D:\kiber\mc\2\lvl21.bmp");
loadimage (#Image_22_KIB[0][0], "D:\kiber\mc\2\lvl22.bmp");
loadimage (#Image_23_KIB[0][0], "D:\kiber\mc\2\lvl23.bmp");
loadimage (#Image_24_KIB[0][0], "D:\kiber\mc\2\lvl24.bmp");
loadimage (#Image_25_KIB[0][0], "D:\kiber\mc\2\lvl25.bmp");
loadimage (#Image_26_KIB[0][0], "D:\kiber\mc\2\lvl26.bmp");
loadimage (#Image_27_KIB[0][0], "D:\kiber\mc\2\lvl27.bmp");
loadimage (#Image_28_KIB[0][0], "D:\kiber\mc\2\lvl28.bmp");
loadimage (#Image_29_KIB[0][0], "D:\kiber\mc\2\lvl29.bmp");
loadimage (#Image_30_KIB[0][0], "D:\kiber\mc\2\lvl30.bmp");
loadimage (#Image_31_KIB[0][0], "D:\kiber\mc\2\lvl31.bmp");
loadimage (#Image_58_KIB[0][0], "D:\kiber\mc\2\karta3.bmp");
loadimage (#Image_59_KIB[0][0], "D:\kiber\mc\2\poisk2.bmp");
loadimage (#Image_61_KIB[0][0], "D:\kiber\mc\2\vernutsj3.bmp");
loadimage (#Image_62_KIB[0][0], "D:\kiber\mc\2\moroz3.bmp");
loadimage (#Image_63_KIB[0][0], "D:\kiber\mc\2\netsopernika.bmp");
loadimage (#Image_64_KIB[0][0], "D:\kiber\mc\2\sledu3.bmp");
}
{
getdisplay(col_KIB, ex_KIB, ey_KIB);
load_image_();
pause(1000);
}
function mouse_(int p1, int m, int xm, int ym, int p2)
{
pause(p1);
if (m==1) mouse(LEFT, xm, ym);
if (m==2) mouse(MIDDLE, xm, ym);
if (m==3) mouse(RIGHT, xm, ym);
if (m==4) mousedown(LEFT, xm, ym);
if (m==5) mousedown(MIDDLE, xm, ym);
if (m==6) mousedown(RIGHT, xm, ym);
if (m==7) mouseup(LEFT, xm, ym);
if (m==8) mouseup(MIDDLE, xm, ym);
if (m==9) mouseup(RIGHT, xm, ym);
if (m==10) mousemove(xm, ym);
pause(p2);
}
function findimage_(int #Image, int t, int p1, int p2, int m, int xm, int ym, int p3, int fon, int r, int p, int k, int xs, int ys, int xf, int yf, int#sum, int#x, int#y)
{
int timKIB, sumKIB, xKIB, yKIB;
pause(p1);
sumKIB=0;
if (t!=1) timKIB=gettime();
a: if (r==0 && p==100){sum=findimage(k, #Image[0][0], fon, #x[0], #y[0], xs, ys, xf, yf, -1); if (sum>0) goto e;}
else {sum=findimage(k, #Image[0][0], fon, #x[0], #y[0], xs, ys, xf, yf, r, r, r, r, r, r, p, 1, -1); if (sum>0) goto e;}
if (t==0) return 0;
if (gettime()-timKIB<t){sleep(20); goto a;}
return 0;
e: sumKIB=sum; xKIB=x[0]; yKIB=y[0];
pause(p2);
if (m==1){mouse(LEFT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==2){mouse(MIDDLE, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==3){mouse(RIGHT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==4){mousedown(LEFT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==5){mousedown(MIDDLE, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==6){mousedown(RIGHT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==7){mouseup(LEFT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==8){mouseup(MIDDLE, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==9){mouseup(RIGHT, xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
if (m==10){mousemove(xs+xKIB+xm, ys+yKIB+ym); pause(p3);}
return sumKIB;
}
function key_(int k, int m, string text, int pc, int p1, int p2)
{
pause(p1);
if (m==-1)
{
if (size_key_char_KIB==-1)
{
size_key_char_KIB=100;
new char key_char_KIB[size_key_char_KIB+1];
}
int size_key=size(text);
if (size_key_char_KIB<size_key)
{
delete key_char_KIB;
size_key_char_KIB=size_key;
new char key_char_KIB[size_key_char_KIB+1];
}
strcpy(#key_char_KIB[0], text);
for (int n=0; n<size_key; n++){key(key_char_KIB[n]); sleep(pc);}
}
else
{
if (m==1) key(k);
if (m==2) keydown(k);
if (m==3) keyup(k);
}
pause(p2);
}
function load_image_()
{
loadimage (#Image_1_KIB[0][0], "D:\kiber\mc\2\lvl1.bmp");
loadimage (#Image_2_KIB[0][0], "D:\kiber\mc\2\lvl2.bmp");
loadimage (#Image_3_KIB[0][0], "D:\kiber\mc\2\lvl3.bmp");
loadimage (#Image_4_KIB[0][0], "D:\kiber\mc\2\lvl4.bmp");
loadimage (#Image_5_KIB[0][0], "D:\kiber\mc\2\lvl5.bmp");
loadimage (#Image_6_KIB[0][0], "D:\kiber\mc\2\lvl6.bmp");
loadimage (#Image_7_KIB[0][0], "D:\kiber\mc\2\lvl7.bmp");
loadimage (#Image_8_KIB[0][0], "D:\kiber\mc\2\lvl8.bmp");
loadimage (#Image_9_KIB[0][0], "D:\kiber\mc\2\lvl9.bmp");
loadimage (#Image_10_KIB[0][0], "D:\kiber\mc\2\lvl10.bmp");
loadimage (#Image_11_KIB[0][0], "D:\kiber\mc\2\lvl11.bmp");
loadimage (#Image_12_KIB[0][0], "D:\kiber\mc\2\lvl12.bmp");
loadimage (#Image_13_KIB[0][0], "D:\kiber\mc\2\lvl13.bmp");
loadimage (#Image_14_KIB[0][0], "D:\kiber\mc\2\lvl14.bmp");
loadimage (#Image_15_KIB[0][0], "D:\kiber\mc\2\lvl15.bmp");
loadimage (#Image_16_KIB[0][0], "D:\kiber\mc\2\lvl16.bmp");
loadimage (#Image_17_KIB[0][0], "D:\kiber\mc\2\lvl17.bmp");
loadimage (#Image_18_KIB[0][0], "D:\kiber\mc\2\lvl18.bmp");
loadimage (#Image_19_KIB[0][0], "D:\kiber\mc\2\lvl19.bmp");
loadimage (#Image_20_KIB[0][0], "D:\kiber\mc\2\lvl20.bmp");
loadimage (#Image_21_KIB[0][0], "D:\kiber\mc\2\lvl21.bmp");
loadimage (#Image_22_KIB[0][0], "D:\kiber\mc\2\lvl22.bmp");
loadimage (#Image_23_KIB[0][0], "D:\kiber\mc\2\lvl23.bmp");
loadimage (#Image_24_KIB[0][0], "D:\kiber\mc\2\lvl24.bmp");
loadimage (#Image_25_KIB[0][0], "D:\kiber\mc\2\lvl25.bmp");
loadimage (#Image_26_KIB[0][0], "D:\kiber\mc\2\lvl26.bmp");
loadimage (#Image_27_KIB[0][0], "D:\kiber\mc\2\lvl27.bmp");
loadimage (#Image_28_KIB[0][0], "D:\kiber\mc\2\lvl28.bmp");
loadimage (#Image_29_KIB[0][0], "D:\kiber\mc\2\lvl29.bmp");
loadimage (#Image_30_KIB[0][0], "D:\kiber\mc\2\lvl30.bmp");
loadimage (#Image_31_KIB[0][0], "D:\kiber\mc\2\lvl31.bmp");
loadimage (#Image_58_KIB[0][0], "D:\kiber\mc\2\karta3.bmp");
loadimage (#Image_59_KIB[0][0], "D:\kiber\mc\2\poisk2.bmp");
loadimage (#Image_61_KIB[0][0], "D:\kiber\mc\2\vernutsj3.bmp");
loadimage (#Image_62_KIB[0][0], "D:\kiber\mc\2\moroz3.bmp");
loadimage (#Image_63_KIB[0][0], "D:\kiber\mc\2\netsopernika.bmp");
loadimage (#Image_64_KIB[0][0], "D:\kiber\mc\2\sledu3.bmp");
}