9-9-9-9 / Bit-Heroes-bot

Bit Heroes bot
GNU General Public License v3.0
74 stars 13 forks source link

Various issues with 1.5.2 #30

Closed Kraker01 closed 3 years ago

Kraker01 commented 3 years ago

I'll write down in a single issue post: 1) "strange" characters like those at the beginning/end of sentences: Select a function you want to launch:←[0m ←[33;1m WARNING Please complete the above question first, otherwise bot will be hanged here!!!←[0m 10 ←[94;1mYou selected function:←[0m ←[96;1m Expedition←[0m 2) Expeditions:

This is my profile readonly.1.user-config.properties file: Your setting: NORMAL mode of raid R1 (T4) world boss Orlag Clan (T3-T12) Do you want to save the above setting into profile number 1 ?

9-9-9-9 commented 3 years ago

@Kraker01

  1. Its for coloring text, maybe your terminal isn't compatible with it. Please include disable.colorize-terminal=true to your user-config.properties to remove those strange characters. Really weird, as I know, Windows Command Prompt of Windows 10 does support it. I gonna check later on my W10 pc

2.1. How long was it stuck there?

2.2 How many time was the sentence Detected Auto is not turned on, gonna reactive it soon printed? Estimate at least 5 times (60 seconds).

if (ImageUtil.isRedLikeColor(color)) {
    continousRed++;
    if (continousRed >= 2)
        info("Detected Auto is not turned on, gonna reactive it soon");
    if (continousRed >= 6) {
        moveCursor(point);
        sleep(100);
        mouseClick();
        hideCursor();
        info("Sent re-active");
        sleep(2_000);
    }
}
  1. ~World Boss~
    • ~Ya, first launch setting.bat app, do configure, save it by answer Yes when it asked you Do you want to save the above setting into profile number 1 ?~
    • ~Next, launch world boss and specific profile:~
    • ~Answer 1 when it asked You want to do World Boss so you have to specific profile number first! Select profile number~
    • ~or simply by passing flag --profile=1: java -jar BitHeroes.jar world-boss 9 --profile=1 (start world boss 9 times using profile number 1)~
9-9-9-9 commented 3 years ago

@Kraker01 ah sorry, the setting app was malfunctioned, gonna fix it in 1.5.3 soon

9-9-9-9 commented 3 years ago

@Kraker01 3. World Boss was fixed in since release 1.5.3 by this #31 pull request

9-9-9-9 commented 3 years ago

https://drive.google.com/file/d/1Do1Fc7JQRAWxdcyxfj7s_5vbIB_1HUqu/view?usp=sharing

screenshot

^ thats how your terminal look like if the colorize feature works

9-9-9-9 commented 3 years ago

@Kraker01 1. "strange" characters was fixed since release 1.5.5 by this #33 pull request