Boxing Daycare assistance needed.

fronobulax

Developer
Staff member
A patch file is a way of sharing changes between people who build KoLmafia from the source. That isn't you :) What should happen is someone who is comfortable writing Java and has an account at GitHub should look at the patch and either declare it has already been incorporated into KoLmafia or make a PR which would eventually get it part of KoLmafia. That might eventually be me except I am trying to "finish" the Sot's parcel first.
 

adeyke

Member
I haven't tested it directly, but this script should do what you need:
Code:
if (get_property("_daycareRecruits").to_int() < 3 && my_meat() >= 11100) {
    visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare");
    run_choice(3);
    while (get_property("_daycareRecruits").to_int() < 3) {
        run_choice(1);
    }
}
 

Veracity

Developer
Staff member
What should happen is someone who is comfortable writing Java and has an account at GitHub should look at the patch and either declare it has already been incorporated into KoLmafia or make a PR which would eventually get it part of KoLmafia.
19128 updates the recruit count when visiting the choice. I went with String length over log10 because it should be slightly more efficient for the same result.
lost adapted and commited the patch four years ago.
 

snooty

Member
I haven't tested it directly, but this script should do what you need:
Code:
if (get_property("_daycareRecruits").to_int() < 3 && my_meat() >= 11100) {
    visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare");
    run_choice(3);
    while (get_property("_daycareRecruits").to_int() < 3) {
        run_choice(1);
    }
}
This worked perfectly and cumulatively saved me at least a half hour of real world time. Please let me know how I can compensate you!
 
Top