vampirewolf3
New member
Hey,
I tried to dabble in pykol for this, but I'm even more incompetent than I thought! So I turned to ASH to do this for me, and here I am, just as clueless.
I'm trying to automate Clean Comma Home (#2134115). Visiting the character profile and taking a look in the display case should make it easier to understand what I want.
To clarify, what the bot (should) do is:
1. Look for kmails or trade offers.
2. If there is a new kmail/trade offer, look at the text of the kmail/trade offer.
3. The text should be in the format [number] [item name], [number] [item name], etc. etc.
3a. If not, reject the trade or return the items via kmail.
4. Count the number of items in the kMail/trade offer, and verify that they are Mr. Familiar Equipment. (If there's no Mafia function for this, I wouldn't mind manually updating an array.)
4a. If not, reject the trade or return the items via kmail.
5. Check that they are requesting fewer or equal items than they have sent, and check that they are requesting only Mr. Familiar Equipment.
5a. If not, reject the trade or return the items via kmail.
6. Take the requested items out of the display case, and send them to the player (respond to trade or kMail).
7. Take the received items and put them in the display case.
8. Send a kMail to vAmpiRewolF3 (#433366) and Khurby (#1438106) providing a summary of the transaction.
Sorry if this is a lot of stuff to ask for. Help with any bit would be appreciated!
-vamp
P.S. Rewards may or may not be involved for people who help.
I tried to dabble in pykol for this, but I'm even more incompetent than I thought! So I turned to ASH to do this for me, and here I am, just as clueless.
I'm trying to automate Clean Comma Home (#2134115). Visiting the character profile and taking a look in the display case should make it easier to understand what I want.
To clarify, what the bot (should) do is:
1. Look for kmails or trade offers.
2. If there is a new kmail/trade offer, look at the text of the kmail/trade offer.
3. The text should be in the format [number] [item name], [number] [item name], etc. etc.
3a. If not, reject the trade or return the items via kmail.
4. Count the number of items in the kMail/trade offer, and verify that they are Mr. Familiar Equipment. (If there's no Mafia function for this, I wouldn't mind manually updating an array.)
4a. If not, reject the trade or return the items via kmail.
5. Check that they are requesting fewer or equal items than they have sent, and check that they are requesting only Mr. Familiar Equipment.
5a. If not, reject the trade or return the items via kmail.
6. Take the requested items out of the display case, and send them to the player (respond to trade or kMail).
7. Take the received items and put them in the display case.
8. Send a kMail to vAmpiRewolF3 (#433366) and Khurby (#1438106) providing a summary of the transaction.
Sorry if this is a lot of stuff to ask for. Help with any bit would be appreciated!
-vamp
P.S. Rewards may or may not be involved for people who help.