Hello I am in need for a profile jr plugin, that can get all mail from mailbox, which contains for example herbs or ore or other items, for specified CoD price. Anyone know how to do it, or have any idea?
How is that? You set a max price per id.. If price is lower than that, then accept it, else return it. You can't really get screwed, because all that happens if you get an overpriced item or some items you don't want to pay for, is that the mail gets returned to sender. Just accepting cod without checking the price is way too stupid and risky, I'd never do that
didnt think about having a limit, was freshly woken up when i responded. But what if like, I want to buy herb stacks for 35g (420g a mail) but i also want to buy like golden lotus stacks for 800g (9600 a mail) I'd have to set my limit at 9600, but someone can easily send herbs for that much. I don't think there would be a way to set prices for certain things, especially since most herb famers send al the types of herbs mixed up in mails.
That's no problem. You get give a max price per item id.. Then it just sums up all the items in the mail from the list of max prices you have to see if the combined price is higher than the actual cod price.
Cool, so if i gave each herb a 35g max price, it could notice all of them in the mail and divide it by the CoD amount to get the stack price?
I chose to go with price per unit instead of price per stack. So you set for example silkweed to max 1.5g per unit, and fools cap to max 2g per unit. If you get a mail with 120 silkweed and 120 fools cap, then it will set the max price to 1.5 * 120 + 2 * 120 = 420g. If the cod price is 420g or less, it will be accepted. If it's more, then it will return the mail. Simple as that of course this scales to as many different items as you want. I would rather not discuss the profile more on the forums as it is against the rules because I charge money for it.. So if you need more information please contact me privately..