Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Facebook Slayers/Werewolves/Vampires/Zombies Enhancer
Creates a menu to use those applications in facebook. Creates a Statistics pane showing basic stats. Has an auto-feed function. Has an auto-fight function. Has a full-auto function. (v 2.60)
PURPOSE
- auto feed characters - to gain money & attacks
- auto lazy fight people (for lazy people, NOT optimized attacks)
- use up all monsters attacks daily to get stronger
- do this all easily and conveniently, without manual effort (i.e. a bot)
FEATURES:
- Creates a Menu on the right hand side listing all usual functions. Benefit: Saves you valuable time in going about your daily tasks, especially across the different monster types.
- Creates a statistics pane on bottom left containing stats for all your monster types! convenient one glance stats!
- Auto-Feed friends for all your monsters to get money automatically.
- Currently 8 feeds allowed/day * 30 bucks/feed = 240/day/monster * 4 monster types = 960 bucks/day total!!,
- this too in time (5 secs + 3 guesstimated secs reload time) * 3 clicks per feed * 8 feeds/day * 4 monsters = 768 secs = 12.8 mins!
- Thus gives you increased # of attacks each day! Each feed increases your number of attacks by 1 for a total of 8 bonus attacks!
- You can leave the page open in a tab all the time and it will auotmatically do it everyday without your intervention!
- Auto-Fight monsters less than 50% stronger than you.
HOW AUTO-FEED WORKS:
- There is a checkbox called autofeed in the menu that this script adds. It is disabled by default and will only activate on the correct pages.
- On feeding pages: specifically, feed-home.php, feeding-main.php, feeding-result.php, Check that box, it will trigger a routine and start a countdown of 5 seconds ( you should see a timer value next to the checkbox. If you don't then there was some error and the routine did not fire.)
- Once the timer reaches zero it will take the appropriate action depending on the page you are on. (see code comments for the details on that).
- It will keep doing this until you can't feed anymore people for that particular monster.
- Then it will try to switch your monster to the next monster type and try feeding again, until all your monsters have used up their feed quota. (you can disable this by commenting out all SwitchMonster() commands in code, I should probably use some prompting to set initial variables).
- This helps you gain money quickly, and makes your monster stronger before fights.
- After feeding all monsters it will wait for the time to expire before it does it's magic again!
- When encountering empty feed lists (i.e. # of friends in list < allowed feeds), it will switch_monster and mark it as Full
when all monsters are full, and you encounter an empty list, it will wait for 12 hours, before clearing all flags and checking again.
- To manually select which users to autofeed:
1) Enable the checkboxes by clicking on th menu item "togglecheckboxes"
2) Then reload the feed page, and checkboxes should now appear after each name
3) check the users that you want to autofeed and reload the page
4) now enable autofeed! Thats it!
If you have selected <8 friends, it will continue to feed on users that have not been checked as well
HOW AUTO-FIGHT WORKS:
- There is a checkbox called autofight in the menu that this script adds. It is disabled by default and will only activate on the correct pages.
- On fighting pages: specifically, fighting-main.php, fighting-confirm.php, fighting-result.php, Check that box, it will trigger a routine and start a countdown of 5 seconds ( you should see a timer value next to the checkbox. If you don't then there was some error and the routine did not fire.)
- Once the timer reaches zero it will take the appropriate action depending on the page you are on. (see code comments for the details on that).
- It will keep doing this until you can't fight anymore people for that particular monster.
- Then it will try to switch your monster to the next monster type and try fighting again, until all your monsters have used up their fight quota. (you can disable this by commenting out all SwitchMonster() commands in code, I should probably use some prompting to set initial variables).
- This helps you gain money quickly, and points quickly.
- After fighting all monsters it will wait for the time to expire before it does it's magic again!
- Go from top to bottom, choose an opponent who is less than 50% stronger than you.
Use all 3 attacks per round, and attack that one person repeatedly until all attacks are done.
Once done switch to another monster type.
STATISTICS PANE
- Gets updated as you move around the different pages
- Is not guaranteed to give 100% reliable information
- Is there just for quick reference
- Feeds are not given but have to be guessed and hence are always guesses! (not 100% accurate)
- You have to visit the store or your main profile page to get the total amount of money you have in your account
- Gather Data link does all this for you, but is time consuming so use it only when starting out in the beginning
TIPS
- - AutoFeed first before attacking (you get more attacks that way!) OR
- Have AutoFeed running in one tab, and AutoFight in another
- Select a timer of about 5-10 seconds so that you can choose items during combat if you wish to, or change to another monster type
SETTINGS
- There are some additional commands available via the userscript menu.
- Right click the greasemonkey icon, and go to "User Script Commands" and you can see them there.
- Manual Update Check
- This checks the website userscripts.org to check to see if the script has been updated, and alerts you accordingly - Reset Monster Full Flags
- this is only necessary if you see that the monsters don't switch automatically - Change Timer
- Disable Autofight/autofeed before using this.
- Be VERY CAREFUL with this! Setting it too low might cause you to be unable to turn off autofeed/fight!
- use it to change the countdown timer before an action is executed. - Toggle checkboxes (feed/fight)
- This is to enable manually selecting candidates that you want to autofeed each day. Please see the AutoFeed section for more information. - Toggle Full Auto
- This is to enable autofeed followed by autofight and then waiting on autofeed page again.
- You can see if this is enabled by seeing the bottom of the menu on the right, it'll show "[FULL AUTO]" when enabled
- Manual Update Check
NOTES:
Tested with Firefox 2.0.0.11+ & Greasemonkey 0.7.20070607.0+http://userscripts.org/scripts/show/20462
To help debug problems please check the Tools->Error Console and post messages from the error & messages tabs to the comments section.
http://userscripts.org/scripts/show/20462
this is the magic boon i bestow upon you to grow powerful quicker than your peers. After many years of meditation was i able to craft such a delicate spell to aid you in battle, use it wisely!
CREDITS
Facebook DotA Enhancer by Vaughan Chandler (http://userscripts.org/people/14536) (for initial help & inspiration)Script Update Checker by Jarett (http://userscripts.org/users/38602) (for script updates)
CHANGELOG
- v0.00 - 15/01/2008 12:57
- started work - v1.00 - 17/01/2008 14:00
- Auto-Feed is now working - v1.10 - 13/02/2008 18:44:18
- Fixed errors in variable names - Damn javascript! that's what you get with no enforced delclarations!
- Changed CSS for Menu
- added another section to the menu for easier identification
- Added detection of Empty List in feeding & switching monsters - v1.20 - 9:23 PM 2/15/2008
- significantly changed the auto-feed code
- changed the location of the auto buttons (now integrated into the menu)
- changed the location of the countdown timer (in the main heading (above subheading))
- added basic auto-fight code for testing purposes (NOT USABLE YET)
- added some more error handling - v1.30 - 12:32 PM 2/20/2008
- Added auto-update for this script to get latest version (once per day)
- Added function to reset FULL flags for each monster each day (once per day)
- Added extraction of attacker data from page. works fine now, for fighting-main.php - v1.40 - 5:42 PM Saturday, March 08, 2008
- Moved the timer countdown to the menu (to avoid dealing with the hassle of finding the right place to display the timer)
- Added User Script Command to Clear the flags such that when all monster flags are set you can forcefully reset them.
- Empty friend list works. Currently it switches between available monsters, and if all are full, it waits for 12 hours before trying again. - v1.50 - 11:54 AM 3/10/2008
- Pages have changed again, so changed some code to fix it for auto-feed.
- Added a setting for the timer so that the user can change it according to their needs. Use the userscript menu - v1.60 - 4:34 PM 3/10/2008
- Added basic fighting capability
- disabled checkboxes by default and enabled them only on the correct pages - v1.70 - Tuesday, March 11, 2008 12:04:24
- Modified the menu code generation to use arrays instead of '+' for increased performance
- Made AutoListenClick Generic (i.e. handle both cases)
- using auto_mode everywhere now to detect which code/variables to executed
- bugfix in delay timer caculation, it was adding it as strings rather than integers
- Fight link in menu now by default takes you to a different monster type (rather than the same type)
- created function findsubmitbutton to remove redundant code
- bugfix fixed the infinite switchmonster bug, it was happening because i didn't clear the interval before trying to switch!
- bugfix SWITCH_MONSTER now works even if all monsters are full from yesterday (according to the flags).
now SWITCH_MONSTER clears flags once a day if all monsters are found to be full, it then calls itself
to switch to another monster
if it has already cleared flags today, then it doesnt switch if it encounters full flags.
- solved a url switching problem in a moment of epiphany! it feels great when you have those.
thats the only reason i do this i guess :). The problem was that i was trying to encode the Logic
in the actionTimer routine when i should encode the logic in the page specific area and setup the global
variable to point to the correct place!
- bugfix switches to fightin-main.php with another monster type
- merged checkErrorFeeding & Fighing into one CheckError! - v1.80 - Tuesday, March 11, 2008 15:19:33
- Done Optimizing code! Lots of redundancy between the two auto modes removed, created generic functions able to handle both situations.
- Fixed a bug in switchMonster not switching to correct fight type monster.
- changed clearing flags to every half day (12 hours) rather than full day - v2.00 - Tuesday, March 11, 2008 16:01:53
- New Version complete, removed dead code ...etc.
- both features working well
- you have to use the RESET flags sometimes to clear out old data. but it works :) - v2.01 - Tuesday, March 11, 2008 16:32:59
- fixed parsing of Attacker points - v2.10 - Tuesday, March 11, 2008 19:31:12
- added statistics pane with rudimentary support for values, they are not guaranteed to be accurate, but close enough. - v2.20 - Wednesday, March 12, 2008 16:40:53
- tighter integration with the statistics pane
- added RefreshData routine that visits a bunch of pages in sequence to get data
- bugfix fixed bug in autofeed that was accidently introduced in the last version
- change location of ClearFlags routine so that it runs before any checking (so statistics pane can be more accurate). - v2.31 - Thursday, March 13, 2008 14:42:46
- added checkboxes on the feeding page as the people that we have to feed first then get available candidates. Looks ugly for now, but can't insert it in prettier way
- added a user menu item to toggle the above checkboxes feature on/off (default is off) - v2.40 - Friday, March 14, 2008 18:16:50
- added some tooltips to statistics pane to show when feed/fight was last cleared (hover over the heading)
- added flags in table to let me know when the full flag is set '(F)'
- added parsing for points on side-nav page and only when we are visiting our page!
- added info on when you can next fight and all. according to the blog... feeds are on a 22 hour cycle!
- replaced togglecheckboxes with togglevar a more generic functions
- started work on basic full-auto mode - v2.50 - Monday, March 17, 2008 14:41:02
- added bucks integration on feed-results page
- some more work on full-auto being done
- cleaned some code
- add checkboxes to fight pages? But how to deal with the different monster types?
- used JSLint and cleaned up some more code - v2.60 - Wednesday, March 26, 2008 10:25:49
- Fixed auto-feed after some changes by Facebook people. Sigh... are they doing it on purpose to annoy me? seems like it. Why don't they talk to me directly about it?
- Changed auto-fight to fight monsters 100% stronger or less
- full auto works for now ONLY if feed is done before fighting...
KNOWN BUGS
ROADMAP
- - one click auto-feed & auto-fight
- auto choose strongest monster among available ones
- switch between different monsters while autofighting
|
|
Get More Then 7 Plus Facebook Tips Tricks and ProxyLinks.
Thanks |
|
|
Added an Auto-Buy function for Piotr's Script: http://userscripts.org/scripts/show/25396
|
|
|
Btw Guys, you should try out Piotr's Script. It works great, and that's the one i'm using now.
of course you can continue using this one as well :). |
|
|
My script is in BETA now. Fully supports both feeding from history and friends list, but you still can not choose manually who you want to feed: http://userscripts.org/scripts/show/25396 also you can report bugs here: |
|
|
The preliminary version of my personal update of this script is: http://userscripts.org/scripts/show/25396 Obviously you have to desactivate Xavier's script and activate mine in the GreaseMonkey menu while testing and doing the inverse operation after that. Xavier, I'd like to discuss the development of your script by mail, by cannot find it on UserScripts. Can you contact me through my SF page? |
|
|
Find a person with around the same stat's(level) as you and there's no need to worry who wins what. I just waste fights on a friend with around the same stats... It helps me and helps them. |
|
|
Sonar, you mean on the fighting-confirm.php page, just keep hitting the attack button, without ever going to the fighting-results.php page? How would you know the results then? whether you have won or lost? and how much? Piotr, sounds like a good plan! Let me know when you are done... there's some commented out code in the script regarding items usage, so you can use that directly... i'll reproduce it here for now (around line 1312)... /*// the ITEMS box - found, but it's not wise to use items automatically. Best to save them for manual combats
|
|
|
I am working on an upgrade to this script to allow feeding from history, using weapons and other tools. The main concept of the rewrite is that of clan: a group of people that fight each other and feed each other. As of tonight I can populate automatically the clan from the history and feed people according to when they last fed you. Xavier, when I am finished can I send you the code for evaluation? It's my first JavaScript script... |
|
|
"spam refresh" in other words... just keep hitting the attack button on who ever you selected *it users like 40 attacks within 5-10 seconds* |
|
|
ok tried the fighting with checkbox's, i dont see the point in this... when you can do it in a quicker time.... by just hitting the refresh key a couple of times... maybe you can tell the script to spam the refresh post data? |
|
|
Hi VX. Never tried the Checkboxes for fighting... Ive always used the "Spam Refresh" on one person. F5 -> ok -> F5 -> OK -> F5 -> so on...(with the post data) Ill give a try next time I have fights :) |
|
|
yeah, just a wee bit, not enough to force everybody to update.
That's all. Btw are you using the Checkboxes for fighting? Is it working out well? Only 910 installs? I gotta let more people know! :). |
|
|
updated ? ? ? |
|
|
Thanks for the update VX. Everything seems to be working again :) |
|
|
yes yes i know of this error... i found out today.. i fixed it ... it was a simple change to make. I'll upload it again shortly. - Fixed auto-feed after some changes by Facebook people. Sigh... are they doing it on purpose to annoy me? seems like it. Why don't they talk to me directly about it? Anyway the change was that the stopped having a friend checked by default on the feed-main page. so i had to add some code to have it checked. |
|
|
Script broken once again it isn't picking a friend to feed a friend auto. You can't feed an imaginary friend to a Vampire! Try again! |
|
|
hey, I love this extension...but Im getting the "imaginary friend" error as well....seems the autofeed isnt auto-picking a friend to feed the monsters.... |
|
|
Oops... it seems feeding is broken again... Every time I try, I get the following error: "You can't feed an imaginary friend to a WereWolf! Try again!"
|
|
|
Well for starters in feed history, yes just feed from top to bottom.
|
|
|
Can you give a more detailed workflow? and how exactly would you like it to work? e.g. in feed history, start feeding in reverse order... in fight history , fight with same # of attacks? and then move on to next... sigh... it's a good idea... coz then it'd basically act as a MACRO player (history repeats itself! :)) but i think the effort required would be a lot more than i'm willing to do it. Here's how you can help... write the psuedocode (i.e. in plain english exactly how you'd go about it, and dealing with the various conditions), and get me the html class/id names to extract the information from the page... using DOM or XPATH ...etc. then it'd make this a lot easier to implement... you could at that point write your own script with a little help from this script! |
|
|
Hey man...
|
|
|
That doesn't make it ugly at all (Y) It works too, no probs... Thanks :):):):) |
|
|
read the settings section, that tells you how to get to the userscript menu... that's where the "toggle checkboxes" item is.
|
|
|
- To manually select which users to autofeed:
I don't see no "togglecheckboxes", or anything to let me manual select? |
|
|
sigh... it isn't easy to satisfy you all eh?
as for autofight manual selection... just choose a guy to fight then click autofight! that's all for now.:) |
You could comment on this script if you were logged in.
