Packrat Helper: future plans
More than two weeks passed since I released version 0.4 of the Facebook Packrat Autoclicker. It is past due time I publish an update of what is going on in the developer’s camp.
First of all I won’t be able to do much work on the script for the next few weeks: my Ph.D. is taking most of my time these days. If another developer wants to help me out he’s welcome to contact me on the project’s SourceForge page. I’d really appreciate that.
Many of the proposed features (highlighting the collections selected by the user, grinding, integration with the wiki) need a more complex configuration window that the one that is available today, so I am completely rewriting this part of the script. At the end you will be able to select the collections and cards you are interested in, the cards in your pack that you want to use in grinding/stealing, etc.
With the multiplication of features the script file will become really huge and complex. It begins already to be difficult to understand how it works,… even for me. So I’ll use a modular approach that will allow me to put the different features into different modules and make module writing as easy as possible. What does it mean: for now you must be patient until the next release, but afterwards adding new features will be as easy as writing a blog post (or easier).

Here’s to hoping we can call you doctor soon! I can hardly wait for the additions.
Comment by HLM — 23/6/2008 @ 5:45 pm
hiya…the packrat devs came up with this “baking in the oven” card today, i guess, for when you’re trying to make something with the recipes….and the script pauses whenever it gets to someone’s page that has that card.. is there a way to get around it? thanks.
Comment by letti — 8/7/2008 @ 3:54 am
Hey, the script appears to pause when reaching a friend that has something “in the oven,” which is a new thing as of today (certain recipes take X hours to “bake” before they show up as the card). I say APPEARS to, because I’m not sure if it’s the “in the oven” thing or if there’s another reason why it’s pausing - this is of course, not related to the pause for popups, that isn’t part of the scenario.
Comment by Packratter — 8/7/2008 @ 5:35 am
FYI - The script no longer continues when it reaches a friend’s pack who has a baking card. It just sits there and needs to be manually forwarded to the next pack. Hope your studies are going well!
Comment by Henry P. — 8/7/2008 @ 4:55 pm
It’s too bad that PackRat now has a timer that has broken your script. I was trying to look into it, but it was a little too complicated for me. It appears that GetElementsbyClassName is called on something that may not exist for the special “In the Oven” cards that are produced when making certain new recipes including “Cassandra Calamitous” from Summer Blockbuster. If a friend of yours is holding one of these cards, the script simply stops sometimes. I think it stops if the “In the Oven” card is in the first position of your pack.
Comment by Sepideh — 9/7/2008 @ 1:15 am
Fourthed - not only does the script not take you to the next pack, but it also will not pick up a credit on a page where a friend has an item baking.
Comment by packrat addict — 9/7/2008 @ 4:36 am
I think the first comment of “In the Oven” pausing the script was enough, don’t the rest of you guys?
The script appears to be using the IMG ALT entry for each card to match up collection names with the cards. Looks like it might be pausing because the “In the Oven” cards don’t have one? I updated all the collection names and even added “In the Oven”, but since it only shows up as a TEXT field, that might have to be accommodated for in the script. At least that’s my layman’s assessment — which is way above my miniscule feat of editing simple text variables. Someone with some JS skills will have to tackle the issue.
Good luck with your PhD Piotr! Don’t let them bug you too much! =)
Comment by Tony C — 9/7/2008 @ 7:42 am
One interesting point to note — the script cruises just fine over “In the Oven” cards that are locked.
Comment by Tony C — 9/7/2008 @ 7:54 am
letti, Packratter and Henry P.: Please save a page with “in the oven” and send it by mail to piotr DOT karwasz AT gmail DOT com so that I can see what goes wrong.
I don’t think the script pauses, it rather crashes. In this case can you cut and copy the error message in Tools > Error Console?
Comment by Piotr P. Karwasz — 9/7/2008 @ 10:39 am