Large

FB Monsters Enhancer VX

By ViXaY Xavier Last update Dec 29, 2009 — Installed 8,869 times.

Updates

in
Subscribe to Updates 142 posts, 16 voices



daveshuck User
FirefoxWindows

I can't seem to make this work. I enabled GreaseMonkey and clicked on your link. It tells me that Monsters has been successfully been loaded. When I go to Facebook and start Zombies, it told me that a newer version was available. I sayed Yes to the install and nothing seems to happen. I don't get the enhancer control panel. Am I being lame and forgetting something?

I see that one of your posts talks about uninstalling the enhancer, how would I go about doing that?

 
daveshuck User
FirefoxWindows

Yeah, I was doing it wrong. It's working now. Thanks!

 
daveshuck User
FirefoxWindows

I guess not. I went to sleep with the enhancer running and woke up with it not on. I can't seem to get it going again. Restarting Firefox doesn't do it.

 
BF2Bob User
FirefoxWindows

I'm at the same point. I uninstalled and reinstalled. Nothing happens on this update. The window with information isn't there. nothing.

 
ViXaY Xavier Script's Author
OperaWindows

daveshuck, it looks like there is still some bug in the code? Can you try to reset all the script data? and then see if the script is running again? If so I need to see all the script data to be able to diagnose the bug

also check in the error console and tell me what it says about this script.

 
BF2Bob User
FirefoxWindows

ViXaY,
Strange. Like I stated earlier, nothing was coming up, no window in the lower right hand with the monster stats, etc... So I turned on debugging and the window popped up and started to run! So turning ON debugging started the application. It then ran through all the monsters with just a couple of hiccups.

 
daveshuck User
FirefoxWindows

As BF2Bob said, enabling debugging was able to start the app. Last time I did this, it ran for a while (3 and 1/2 monsters) and then it quit. I was not able to get it to go again until now. I'll try to keep it running for the rest of the day and get back to you if it stops again.

Thanks for all the hard work. Can I send you some frags?

P.S. Config is blank now. Just red lines.

 
ViXaY Xavier Script's Author
FirefoxWindows

bf2bob i just figured it out and was about to say that.. it seems if the debug is off it doesn't work! You have to enable debug to make it work.. doh! I'll fix it this week.

Also for Config, the red lines means it's clickable. I have made the sections collapsible to take up less real-estate and let people know about the buttons on the bottom.

Frags as in? kills? or is it another slang for something?

 
daveshuck User
FirefoxWindows

I have a lot of extra fragments for one of the quests. I'll send you some items.

 
ViXaY Xavier Script's Author
FirefoxWindows

Thanks.

I have updated to v1.80, fixing the debug bug, (hehe :)) and adding autoquests!
Feedback and kudos! please.

 
daveshuck User
FirefoxWindows

This is great! I have let it run for almost 24 hours and have only had a few lock ups. I blame either the Facebook servers or the Monsters ones.

 
ViXaY Xavier Script's Author
FirefoxWindows

Yes, I've had that too. It gets stuck on feed-eat or fighting-attack sometimes. I am thinking maybe i should do a reload if the page doesn't respond in 10 seconds or something... maybe 30 seconds.... it think it would be simple, something like setTimeout(function(){window.reload();},30000);

 
Kiratomato User
FirefoxWindows

How do you use the script??
Even though I enable the "debug bug" and "resume" the script, it still keep going to the feeding history and get stuck there.
The "Debug log" said, "Exception in Monster.getValues: TypeError: $(this).text().trim is not a function".

 
daveshuck User
FirefoxWindows

When fighting, the enhancer window reads things like "Attacking Joe Blow's 2 7 times with...." It is not listing the type of monster, but rather the number you have listed them as.

I would enjoy the refresh timer, I went to work and found that it had been stalled all day.

 
ViXaY Xavier Script's Author
FirefoxWindows

New version 1.9.0 out

Ok took care of the attacking showing the monster type
hopefully fixed the getValues error

I think i have added the refresh timer correctly (only for some pages), see if it's working

Added autobuy... working for quest items only for now..

PLEASE UNINSTALL OR RESET ALL DATA On old script first
BEFORE INSTALLING the new version, or else it won't work due to internal variable name changes.

Probably introduced a bunch of new bugs :/
Keep me posted.

 
daveshuck User
FirefoxWindows

I don't know if the timer is working for me. I leave the machine at night and find that it has been stopped for at least 6 hours (quest numbers are up in the 60 to 70 hours). It locks up when attacking (NOW).

I have seen my monsters use garlic to attack when they have riot shotguns available. How are weapon choices made?

Could we make a check list (or minimum number in stock) of autobuy items in the config screen? Allowing me to make sure that I have a shotgun or a pistol at all times would be helpful. Also allowing me to set the number of quest points I amass before I start questing? My purpose of wanting these added options is this, I get over 100 fighting points a day per monster and will often run out of weapons quickly, leaving me without quest items needed to do higher level quests.

I can't thank you enough for the work you have put into this project.

 
Kiratomato User
FirefoxWindows

hmmmm, I still got the same problem despite I did whatever that you have told me. I got my firefox up to date but the same problem still occurred. I can see you are working hard on it and I really appreciate it. Keep going, I believe you can do it :)

 
ViXaY Xavier Script's Author
FirefoxWindows

@daveshuck - does the debug log show anything about the problem? Why is it getting stuck?

weapon choices are not intelligent yet, just using the first available item. I am adding the code for selecting weapon based on the config panel, now.

The items to stock, is not yet implemented but when it is, it will check number of owned items to verify that you always have one of the item.

The questing is also a good point, I have moved the quest module before attack, thus always using the items for quest first
Thank you for your appreciation. I guess right now there are about 20-50 users using this script, given the download stats after each update.

@Kiratomato
try searching for that line in the script, and change it to var tmptxt = $(this).text(). It occurs in only two places line 825 & 2236, but the function you mention is on line 825. This error shouldn't occur, unless the stats info panel (where they show feed, fights ...etc)
has a blank or some other entry.

Did you uninstall the old script first?

 
Kiratomato User
FirefoxWindows

Yes I did, I uninstall the old script first. Sorry to ask you this question, how do you open and edit the script?

 
daveshuck User
FirefoxWindows

Debug doesn't show any problem. It was locked for 44 minutes.
Oct 31
09:50:53 PM
Attacking Angie Jones Was Lockley's slayer 7 times with a Pistol with Silver Bullets (10 uses)... (V) (2 times)
Oct 31
09:06:33 PM
Attacking slayers... (V)

 
ViXaY Xavier Script's Author
FirefoxWindows

New version out 1.95!!
Now with working Items_toStock!!! Please put the correct item ids in the config panel for those that you want to stock!

auto reload of page on errors! now tested and working :P event on timed out pages. Though I don't know if that's a good idea, since it will hammer the server with a page request every 30 seconds, maybe i should increase the timeout to 5 mins? you know in case when their servers are down and such.

@kiratomato, are you using a different facebook locale? (i.e. not english) can you paste a screenshot of your stats panel or copy paste the text there... I don't know why it would crash on getValues for you.

 
daveshuck User
FirefoxWindows

I installed 1.95 and it is running. I have several machines all using the same internet connection and with the wife checking email, my media server checking for software updates, and VOIP phones, I got stuck in a loop. It was looking at my slayers inventory and it would wait for a short time and then reload. It went in a circle for 5 minutes before I paused the enhancer and let the email/updates/phone finish. Adding a customizable reload in CONFIG/MISC could be a valuable option.

How do I figure out what items are what? Do you have a list of items and numbers?

I am liking what you have done to the enhancer and, again, want to thank you for all your hard work.

 
ViXaY Xavier Script's Author
FirefoxWindows

hmm...

to find an items id, right click it's image and click properties. The last 4 digits in the src attribute (the filename of the image) is it's id. a list should be easy enough to get if you want it.

If you have firebug installed and enabled for the current page with debugging enabled on you can run the following code in the firebug console to generate the list i got below.

I don't recommend leaving firebug activated for the script though, it makes it very slow. Only when you want to mess around.

//show list of items with ids & price
allitem_ids = $jq('input[type="hidden"][name="item_type_id"]'); //all item ids
allitem_ids.each(function() {
  id = $jq(this).val();
  name =$jq(this).nextAll('input[type="submit"]').val();
  price = $jq(this).parents('.item_details').find('span').filter('.emphasis').text().trim().match(/(\d+(,\d+)*)/g)[0];
  console.log(id+'\t:\t'+name+'('+price+')'); // item name
})

produces this output
1003 : Buy Chain Saw!(2,000)
1004 : Buy Boom Stick!(3,000)
2001 : Buy Shield!(180)
2007 : Buy Neck Collar!(120)
2003 : Buy Dr Thinkbot's Brain Saver!(120)
2005 : Buy Hemostatic Hypodermic!(120)
2006 : Buy Kevlar Jacket!(120)
1001 : Buy Clove of Garlic!(180)
1015 : Buy Salt!(180)
1018 : Buy Wolfsbane!(180)
1013 : Buy Flu Virus!(180)
1002 : Buy Pistol with Silver Bullets!(450)
1003 : Buy Chain Saw!(2,000)
1004 : Buy Boom Stick!(3,000)
3001 : Buy Chicken Suit!(10,000)

 
daveshuck User
FirefoxWindows

I was watching this morning and something odd happened. It ran for a moment and then stopped on the feed history page. I have seen it repeat this action several times. I'll reboot and see if it happens again.

 
daveshuck User
FirefoxWindows

I just loaded GreeseMonkey and the Enhancer on a new computer and got the same result. It loads the Feed History page without the Enhancer. Sometimes it seemed to make it through the page successfully and most of the time it does not.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel