Facebook MobWars Helper

By Piotr P. Karwasz Last update Dec 23, 2008 — Installed 91,001 times.

Script not working....

in
Subscribe to Script not working.... 7 posts, 4 voices



Dave68 User

All values at 0 and constant resting. Script Preferences box pops up with update preferences but clicking the box does nothing.

Script Status box at the bottom of the window reads

Error in module 'base' on line 602: str.match(/\d+/) is null

Status:
Resting...

I know nothing about java script so I need an easy fix. Anybody??? All that code might as well be Greek to me.

 
TheDruidsKeeper Scriptwright

Here are two ways to fix this, both require editing the script:
Find this line in Boss.prototype.updateData:

var str = header.getElementsByTagName('a')[0].innerHTML;

change it to this:

var str = header.getElementsByTagName('a')[1].innerHTML;

Or just copy past the entire script I have posted here: http://userscripts.org/topics/18417?page=1#post...
(that will also include all of my modifications as well.)

 
Dave68 User

Well, how do I edit it. I get grease monkey open, then click mob war helper, click edit and a box pops up choose your preferred text editor. OK, I have notepad, but can not open it from that box. The box opens up to my desktop and I can change the look in but don't know where to point it.

 
Dave68 User

OK, I figured out how to get notepad open from the box and it puts the script there. I located the line and changed but now the helper doesn't open when mob wars loads. So I get no error but the helper box never opens. Tried copy and paste the entire new script and same thing, no helper box when mob wars starts.

What am I doing wrong? After I edited the file I clicked save.

 
TheDruidsKeeper Scriptwright

I'm not sure what you're doing wrong, but if the script no longer comes up it is likely that it isnt copied correctly. The only suggestions I have is when you open to edit the script in notepad hit crtl-a to select everything and hit delete, then make sure you copy the entire script from that post from top to bottom, and then past it into notepad and save.

 
chrisbimmermd Scriptwright

FIXED!

I FIXED THE SCRIPT for full download. Some people might not have the ability or capacity to go in and edit the script. Others may find it tedious to try and update it, or risk screwing up the script. My edit is TESTED AND FULL WORKING. I called it 1.1.3

Details:

ERROR 1:

Error in module 'base' on line 602: str.match(/\d+/) is null

FIX:

Download version 1.1.3

http://userscripts.org/users/84113

TESTED AND WORKING

ERROR 2:

After installing, you find that you cannot update preferences, rendering the script useless.

FIX:

This Script is TESTED AND WORKS only with the following:

Firefox 3.0.7

Greasemonkey Version 0.8.20090123.1

______________________________________________

All credit for the original script goes to Piotr P. Karwasz:

http://userscripts.org/users/49912

All credit for original fix goes to J.M. Coward:

http://userscripts.org/users/81266

Original source located at

http://userscripts.org/scripts/show/29870

This script WORKS!!! with the following installed, as of 03/29/2009

Firefox 3.0.7

Firefox was just updated to Firefox 3.0.8, so you cannot download it from their site. I found it here:

http://www.filehippo.com/download_firefox/5337/ (along with all the other versions)

Greasemonkey Version 0.8.20090123.1 — February 18, 2009 — 144 KB

You can find this version of Greasemonkey here:

https://addons.mozilla.org/en-US/firefox/addons...

Greasemonkey past and previous versions found here:

https://addons.mozilla.org/en-US/firefox/addons...

Description of the application:

Helps and improves the playing experience of the Facebook application MobWars with automatic functions.

___________________________

Licensing

This script is released under GNU General Public License and is distributed free of charge. On the other hand, if you appreciate the time I spent making these script revisions, please feel free to make a donation by clicking the button below:

PayPal - The safer, easier way to pay online!

Thank you!

 
MudCamper User

I have Firefox 3.0.8 and the script still does not work. It still has what you refer to as "ERROR 2", all values are zero and the update preferences does nothing.

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