Selling to The HMS Bounty Hunter

What's the correct way to automate selling, say, burnt phalanges to Sammy? I've tried all manner of arcane combinations involving 'Crymbocurreny', '(5)', and 'burnt phalange' and don't seem to be getting anywhere. Thank you!

Edit: I should say I'm trying to do this with the coinmasters-related ash commands. If there's another way, I'm fine with that.
 
Last edited:
The other day mafia was turning them in one at a time (using the GUI). Multiples can be turned in at once from the relay browser. Not help with your automation, but a heads up.
 
Yes, I don't think we have a way to do this in ASH (for ShopRow coinmasters in general). You can use the Coinmasters Frame, or visit the URL directly.

The Coinmasters Frame should sell multiple at the same time as of r28835.
 
Last edited:
Oh, that's fine,. Not worth messing about with for a one-off event, really, but I just assumed I was doing something wrong and I should have been able to use the ash commands.
 
In case anyone still needs it, this ash will sell all your burnt items for crymbocurrency via visit_url:


Code:
void main() {
    visit_url( "http://192.168.11.15:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt radius].item_amount() + "&whichrow=1646&pwd="+my_hash() );
    visit_url( "http://192.168.11.15:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt rib].item_amount() + "&whichrow=1645&pwd="+my_hash() );
    visit_url( "http://192.168.11.15:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt skull].item_amount() + "&whichrow=1647&pwd="+my_hash() );
}
 
In case anyone still needs it, this ash will sell all your burnt items for crymbocurrency via visit_url...
Your version is a great start, but it includes your private IP address. That won't work for anyone except you unless they have the same network configuration. I tweaked your script to use the localhost IP (which should work for everyone) and include the burnt phalanges.

Code:
void main() {
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt phalange].item_amount() + "&whichrow=1644&pwd="+my_hash() );
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt radius].item_amount() + "&whichrow=1646&pwd="+my_hash() );
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt rib].item_amount() + "&whichrow=1645&pwd="+my_hash() );
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt skull].item_amount() + "&whichrow=1647&pwd="+my_hash() );
}
 
I hadn't noticed the IP address issue - I stripped it out when I included it in my script because for addresses inside of KoL, you only need to supply the page name, that is, you can just do

Code:
visit_url( "shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" etc...
 
I hadn't noticed the IP address issue - I stripped it out when I included it in my script because for addresses inside of KoL, you only need to supply the page name, that is, you can just do

Code:
visit_url( "shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" etc...
Ooh, that works too! (y)
 
Your version is a great start, but it includes your private IP address. That won't work for anyone except you unless they have the same network configuration. I tweaked your script to use the localhost IP (which should work for everyone) and include the burnt phalanges.

Code:
void main() {
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt phalange].item_amount() + "&whichrow=1644&pwd="+my_hash() );
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt radius].item_amount() + "&whichrow=1646&pwd="+my_hash() );
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt rib].item_amount() + "&whichrow=1645&pwd="+my_hash() );
    visit_url( "http://127.0.0.1:60080/shop.php?whichshop=crimbo25_sammy&action=buyitem&quantity=" + $item[burnt skull].item_amount() + "&whichrow=1647&pwd="+my_hash() );
}

lol, oops. You're right, that should've just been shop.php, that'll teach me to copy/paste wildly!

at least I didn't include my hash....
 
Back
Top