PackRat Helper (version 0.9)
[This version of the script is obsolete. For more informations check the PackRat Helper category.]
After a long time without updates we are proud to announce version 0.9 of our script. It is a complete rewrite of the script into the new framework I already applied to the Mob Wars script. I would like to thank sKrptUzr, Packratter and an anonymous contributor that helped with their (financial) tips for the work on this release
Changelog from version 0.4.1
- Complete rewrite of the script.
- You can now browse the user pages even without collecting credits.
- The script now works with the new Pack Rat and Facebook update.
- You can select the collections from which you want to accept popups.
- Highlighting have not yet been rewritten
PackRat Helper: version 0.9
Also available on UserScripts.org

Thank you, thank you! You’re amazing!
Comment by Terry — 25/7/2008 @ 1:44 am
thank you so much for all the work you’ve put into this. My friends and I really really appreciate it.
Comment by disappointed — 25/7/2008 @ 2:17 am
THANK YOU!!!
Comment by Packratter — 25/7/2008 @ 2:29 am
WOOOO HOOOOO! it is fixed! YEAHHH. lolol. thanks a bunch
Comment by packratter 2 — 25/7/2008 @ 2:36 am
No good way to stop the friend browsing. A button to disable it would be very useful.
Comment by Vik — 25/7/2008 @ 2:54 am
This? Is FANTASTIC. Thank you so so much!
May I make one small request? In the previous version of the script, when you were in the Markets, or Discussion Board, or your own pack or vault, the script was “disabled” (in the sense that it didn’t run). Now, anytime you’re on those pages, and the script is “active” (i.e. you have it set to collect credits and/or popups), it starts running and auto-forces you off those pages and into the credit collecting loop.
That means, I can’t have the script running in one tab, while I surf the markets or look at my vault or browse the forums in another tab. And I’d love to be able to have that functionality back.
Comment by Janey — 25/7/2008 @ 3:11 am
This is even better than the last version. Thanks soo much for making the mundane task of credit collecting and pop up searching more enjoyable for all
Comment by Me Too — 25/7/2008 @ 3:13 am
not to sound ungrateful, it is so wonderful to have the script up and running, but even when i tell it to collect all and any popups, it still pauses whenever it comes to a popup.
Comment by disappointed — 25/7/2008 @ 5:02 am
when i watch my screen, as in i am on the tab that is auto-clicking, it gets hung up on a friend and goes back and forth between the two friends, it’s the same friends each time no matter when i begin watching it. i love this new script it is gonna help me a lot. thank you so very much. I still think there should be a transfer credit option when you go to break a lock, see my post in v4 for details
Comment by Bret W — 25/7/2008 @ 5:28 am
@Bret W: Have you tried the Tab Mix Plus or Reload Every addons for Firefox? They both work quite well for transferring credits easily - I set the reload at 1 second and let it go. TMP’s latest version (for FF 3.0.1) is at the developer’s site and is still in beta, but it works just fine for me - and I prefer it to Reload Every because it has additional functions.
Piotr, I’m getting the same behaviour with it going back and forth between friends, but it is still picking up credits as intended. If you want a screencast, shoot me an email and I’ll make one so you can see. I’m sure not complaining, though!
One very minor tweak I did: I changed in the options the “included pages” to add /user/* to the end, so it wouldn’t try scrolling when I’m at my own pack or the discussion board.
Other script users may want to do this as well by going to Tools > Greasemonkey > Manage Scripts and editing the included pages to:
http://apps.new.facebook.com/packrat/user/*
http://apps.facebook.com/packrat/user/*
Comment by Packratter — 25/7/2008 @ 5:37 am
Wow! You really outdid yourself this time! Just wow!
Comment by HLM — 25/7/2008 @ 6:43 am
thanks, packratter for the hint. that was a great thing to know. I was getting frustrated with it doing its thing wherever i was in packrat.
Comment by donna — 25/7/2008 @ 7:05 am
Bret W: It goes randomly to the next and previous friend. Apparently it’s a way to maximize credits.
Vik: Pressing SPACE stops the gathering cycle. I stop the cycle when I visit other pages than /users/.
disappointed: Ooops, I left a debugging alert!!!
Comment by Piotr P. Karwasz — 25/7/2008 @ 9:02 am
Fantastic work on this very useful PackRat helper script!
Comment by Neil Merton — 25/7/2008 @ 9:51 am
Nice job for the new version.
There’s something i wanna ask, when it comes to a pop up card, a message box appeared. it won’t move to another page until i click ok. can u please remove that message? so it can continue to the next page without clicking anything.
Comment by packrat_fan — 25/7/2008 @ 9:53 am
first of all, thanks for the great script! i used it before facebook updated and loved it. secondly i’ve done everything i can think of and i still don’t see a preferences box when i’m in pack rat. help please! thanks.
Comment by bab — 25/7/2008 @ 10:18 am
doh, nevermind. i hadn’t gone to a friend’s pack since i added it and that’s why i didn’t see anything. once i did it started up. thanks!
Comment by bab — 25/7/2008 @ 10:26 am
packrat_fan: It was a debugging pop-up, I didn’t want to miss the moment a pop-up appears to check that everything goes smoothly, then I forgot the line.
Comment by Piotr P. Karwasz — 25/7/2008 @ 11:08 am
[...] some comments on my last post I made some adjustments to the script to follow the user preferences. Hence I publish version 0.9.1 [...]
Pingback by Textual Reflexions » Packrat Helper (version 0.9.1) — 25/7/2008 @ 11:27 am
maybe I’m wrong, but apparently the script doesn’t browse all friend packs? only jumping between 3-5? it’s my fault?
Comment by mouse — 25/7/2008 @ 11:36 am
ignore me! with 0.9.1 it works fine! thank you!
Comment by mouse — 25/7/2008 @ 11:39 am
I loaded the script, and the box showed up in the bottom right side, but once I clicked “script preferences” a new box showed up. The only things in this box are “script preference”, a line, and a box for “update preferences”.
It doesn’t let me choose the actual preferences. Did I do something wrong?
I even uninstalled the older version, and reinstalled the script. restarted firefox and facebook.
Comment by Rachel — 25/7/2008 @ 9:40 pm
Rachel: Every module generates his own preferences, if you get nothing it means probably that an error occurred. The status box does not show any errors? When you uninstall the script do you delete also the associated preferences?
Comment by Piotr P. Karwasz — 26/7/2008 @ 4:24 am
downloaded the new script…thanks for doing this for the update, however…..i can’t get it to work. It says it is resting in the box. i click on script preferences, and then click on update preferences in the box that pops up….but nothing happens. Any ideas?
Comment by Dana — 26/7/2008 @ 7:46 pm
@Dana,
You have to tell it to start cycling for credits or collecting pop-ups for it todo anything… You also have to let it cycle through your vault completely the first time through after install
Comment by Brian E — 26/7/2008 @ 9:09 pm
Script still does nothing…..box appears, i click on script pref. then another box and i click on update pref. but nothing happens…..have been in friends packs, in my vault.,…nothing. have uninstalled, reinstalled…..yes i’m in firefox……what’s the deal? it just says that it’s resting….no notes…no error messages….please help!
Comment by Dana — 27/7/2008 @ 2:02 pm
How do i tell it to cycle? won’t let me type or select anything
Comment by Dana — 27/7/2008 @ 2:38 pm
i checked my error console in my tools tab and saw tons of errors related to your script…..? what do i do?
Comment by Dana — 27/7/2008 @ 2:45 pm
I figured out my problem. I had to update to firefox ver. 3.0. I hadn’t made that update. Once I did that, everything was peachy.
Comment by Rachel — 28/7/2008 @ 4:11 am
Great Job Piotr! Fantastic Script and love the new interface.
But there are a few Issues I am experiencing. Regardless of what I choose for type of cycle. The script always pauses when it comes to an item. A pop up box displays and says “Pop Up” where I have to hit okay for it to pick up. Where is before it just automatically went into the pack and continued on. Is there a way we can set this to do that again?
And as it was mentioned. I am unable to surf the markets like in the previous script without it suddenly starting up and going through the cycle.
Comment by Ryan — 29/7/2008 @ 9:52 am
Ryan: These are exactly the two behaviors that changed between 0.9 and 0.9.1.
Comment by Piotr P. Karwasz — 29/7/2008 @ 3:07 pm
Popup issues:
Error in module ‘popup’ on line 959: col has no properties
// @version 0.9.1
var version_timestamp = 1216927745328;
Comment by Brian E — 30/7/2008 @ 5:10 am
and in firefox 3.0.1 (my last comment being for the latest 2.x build) reports the error on line 960
Comment by Brian E — 30/7/2008 @ 5:20 am
I’m getting the same Error in module ‘popup’ on line 959: col has no properties.
Comment by Mordy — 30/7/2008 @ 5:47 am
I saw a pop-up on screen and the same error as the three previous posters. There was an error and the card was not picked up as a result. The script continued browsing to the next friend. I assume something has changed with the way pop-ups are displayed.
Comment by Ratona — 30/7/2008 @ 10:45 am
The pop-ups changed a little, hence an error in the script and the failure to pick-it up. I’ll post a new version soon (anyway 0.9 is already obsolete) when I am done with highlighting and grinding.
Comment by Piotr P. Karwasz — 30/7/2008 @ 11:02 am
The Enchanted Forest collection needs to be added to the script for pop-ups.
Comment by maddy — 30/7/2008 @ 7:01 pm
Grinding is a little off. It just stole a loss prevention with my purple shorts. Oops!
Comment by Heather — 30/7/2008 @ 9:13 pm
delete cards from completed collections is acting up… for some reason im still seeing cards from rat pack and summer blockbuster (i’ve completed both)
the options to Delete cards from completed collections: and Highlight cards from working collections: dont save between instances of opening the preferences dialogue
this new update is SWEET
Comment by Brian E — 31/7/2008 @ 12:31 am
I found a few more small “glitches.” 1. The grinding function is getting stuck by trying to grind the lock I am currently using on a locked item. I don’t know whether the locked item might also because that glitch because it is rare enough not to be in any of the packs I have access to. 2. In the market some of the items in a set I was working on did not highlight. I marked In Bloom as a set I was working on and the gardening gloves and watering can did not highlight like the other IB items. Both glitches are minor and don’t disturb game play too much, but I thought you would want to know. Thanks for all your hard work!
Comment by HLM — 31/7/2008 @ 1:06 am
maddy: The script contains no data about the game, everything is taken from the pages. To update the list of collections you need to revisit the On Sale page and the new collections will be added (at the end of the list).
Heather: I’ll run some tests to see why this is happening.
Brian E: Visit the vault section for these two collections and it should work. If it doesn’t you go to about:config, look for a key like ‘packrat*profile’, copy its value and send it to me.
HLM: I suppose I should disable grinding for locks altogether. For the highlighting there are two reasons: the script highlights the cards that you didn’t already vault or there was a little change in the PackRat application that disrupted highlighting for some collections.
Comment by Piotr P. Karwasz — 31/7/2008 @ 4:01 pm
upgraded… still seeing rat pack cards even after re-visting my vault… i will send the variable data to you (rat pack doesnt appear to be marked in the completed collections)
can i just delete this data and have the script rebuild that by visiting my vault again or will that break things?
bugs… if a card is marked “safe” or “break lock” AND its a completed collection card, it still shows…
Comment by Brian E — 31/7/2008 @ 7:20 pm
heres the snippet you wanted:
‘rat-pack’:["jackpot", "vegas-baby", "the-heist", "the-strip", "100-chip", "the-vault", "the-rat-pack", "casino", "fountain", "elvis-impersonator", "wedding-chapel", "25-chip", "unknown", "safe", "million-dollar-diva", "stretch-limo", "security-cam", "lounge-singer", "slot-machine", "strong-box", "5-chip", "showgirl", "smoking-jacket", "boxing-gloves", "martini", "1-chip", "dice"]
Comment by Brian E — 1/8/2008 @ 5:37 am
theres a bunch of unknown in the arrays for other collections as well… maybe this explains it? i completely removed the application and the associated key from about:config by editting the pref.js in my profile… then reinstalling the script and letting it parse the vault again… didnt fix it…
Comment by Brian E — 1/8/2008 @ 5:45 am
hey we should be able to ask it to pickup only certain cards as popups, and only grind a certain card as well, like only grind jackpot
Comment by Bret W — 1/8/2008 @ 9:03 am
Brian: The developers of the Facebook application wrote roulette=wheel instead of roulette=wheel and the script accepted only alphanumeric characters and ‘-’ for the names of cards, so the Roulette was not recognized (and the name of Loss Prevention’s name was not recognized, but “unknown” counts as 1 card, whereas no entry as 0 cards; as long as there is only one unknown card there are no problems). Anyway all this was corrected in 0.10.3.
Bret: The script should know about the cards available, but I am not eager to enter the names of every available card. The collection names are taken from the On Sale page, so no action from my part is needed when a new collection appears. One day I’ll scan the wiki for the card names, but the names of the pictures of some cards are misspelled (like roulette=wheel) so the script will bug on them.
Comment by Piotr P. Karwasz — 1/8/2008 @ 1:33 pm
OK so
This seemes like the coolest thing i have seen
a pack rat delio but now i need to know how to run it
when i click download all i see is script i dont know what to do with it…
Comment by Andy Flores — 15/9/2008 @ 4:51 pm