Tried writing my own script for Community Service where my character is pulling and using the Crown of Ed the Undying, and I've run into a snag.
Where doTest is pretty similar to how most people use it:
However, it frequently doesn't work when the edpiece command has to switch from one setting to a different one. When reloading the doTest command to return the string value from the visit_url command, it'll have the choice adventure for setting the Edpiece (choice adventure 1063) instead of the council's CS quests. Also, running the "choice" command confirms that it's still in the choice adventure for the crown of Ed instead of being at the council.
Currently running the latest build (r16335).
Edit: workaround (for CS) is to add visit_url("council.php") commands like the following:
Code:
cli_execute("edpiece owl");
doTest(10);
Where doTest is pretty similar to how most people use it:
Code:
void doTest(int which) {
print("Undertaking community service task " + which);
visit_url("choice.php?whichchoice=1089&option="+which+"&pwd="+my_hash());
However, it frequently doesn't work when the edpiece command has to switch from one setting to a different one. When reloading the doTest command to return the string value from the visit_url command, it'll have the choice adventure for setting the Edpiece (choice adventure 1063) instead of the council's CS quests. Also, running the "choice" command confirms that it's still in the choice adventure for the crown of Ed instead of being at the council.
Currently running the latest build (r16335).
Edit: workaround (for CS) is to add visit_url("council.php") commands like the following:
Code:
cli_execute("edpiece owl");
visit_url("council.php");
doTest(10)
Last edited: