I am trying to automate calling the Apriling band quad tom. I copied the link for [play] and call visit_url, and then try to print the result:
When I call the script, it locks up KoLmafia while trying to print the page, and I have to manually kill the process. I'm trying to debug why the fight.php doesn't take me to the fight, but it's pretty difficult to debug if I can't print the initial result.
string page = visit_url("inventory.php?pwd=" + my_hash() + "&iid=11567&action=aprilplay");
print(page);
page = visit_url("fight.php");
When I call the script, it locks up KoLmafia while trying to print the page, and I have to manually kill the process. I'm trying to debug why the fight.php doesn't take me to the fight, but it's pretty difficult to debug if I can't print the initial result.