Facebook MobWars Helper

By Piotr P. Karwasz Last update Dec 23, 2008 — Installed 85,328 times. Daily Installs: 8, 11, 20, 12, 12, 22, 30, 5, 26, 21, 32, 34, 14, 9, 11, 12, 23, 27, 24, 14, 14, 19, 18, 12, 25, 16, 21, 19, 19, 4, 49

Script mods from TheDruidsKeeper

Subscribe to Script mods from TheDruidsKeeper 141 posts, 44 voices

nayeem User

Error: e is undefined
Source File: http://static.userscripts.org/javascripts/lowpr...
Line: 99

thats another error.

 
nayeem User

var version_timestamp = 1223238452000;
var logLevel = 3;

i have changed it to 3, it was initially set to 2 i dont know how.

The last line of my script says this. Please comment if i have copied the entire thing.

/* Global variables */
var boss;
var itemlist;

(function() {

 
TheDruidsKeeper Scriptwright

Looks like you didnt copy the entire script, this site seems to have a hard time with long posts of code, so i changed the tags a bit. Try recopying the entire script.

 
nayeem User

thank you i have some of the functions working now !!

Cash $127,880
Bank account $0
City value $0
Stock value $0
Total $127,880

City income $0
Mean job payout $0
Mean bank loss $0
Upkeep $0
Total $0

Attack Strength NaN
Defense Strength NaN
this ishow it looks now

and the console shows these errors.

do i have to make all the modifications again aas done in the later posts or is the first post of the script enough ?

 
nayeem User

forgot to paste console erros.

Warning: Error in parsing value for property 'top'. Declaration dropped.
Source File: http://super.kitnmedia.com/super/offers?h=eympj...
Line: 0

 
nayeem User

i have copied entire first post and pasted.. it shows the total cash that i have outside of the bank. Nothing else seems to be working. Sorry for all the trouble.

 
TheDruidsKeeper Scriptwright

all you have to do is make sure you go to the different pages (stockpile, city, etc.) and the script will work just fine.

 
nayeem User

it doesnt show anything apart from total income. status says resting and
City income $0
Mean job payout $0
Mean bank loss $0
Upkeep

 
nayeem User

any idea why the update prefrances shows blank? anything i can do from my side? im using firefox version 3.0.7

 
moondog26 User

Hmm love the script but one thing me a noob and it always trying to do drug smuggling and stays there is there a way to stop that....

 
dudulz User

The Mobwars layout changed again...

Error in module 'skill' on line 1398: divs[5] is undefined

 
TheDruidsKeeper Scriptwright

I posted the fix in the full script, let me know if you want to know the lines that I changed.

 
SoulKeeper User

Druid you are the best. This new fix and the quickheal is helping a lot. But is there a way not to use the "auto-godfather feature to get 2 mobsters when 10 points are available"? Because I looked in the preferences and couldn't find an option for it. I'm trying to save enough GF points to be an insider :o). Thanks in any help anyone could bring

 
TheDruidsKeeper Scriptwright

Sorry, I didn't build in a preference for changing it. But to disable the godfather feature look for this line of code:

var modules = ['inventory', 'datadisplay', 'bank', 'hospital', 'jobs', 'skill', 'autoCityBuy', 'autoGodfather'];

and remove this text from it: , 'autoGodfather'

That's it.

 
SoulKeeper User

Wow druids you really keep monitoring this forum quite a lot. That was a fast answer, thanks!

 
TheDruidsKeeper Scriptwright

Fixed the bugs caused from today's site change, and turned the godfather offer thingy into a full blown preference.

I'm not going to bother posting the detailed code changes anymore since I think the few people that actually still read this thread just copy the full script from page 1. Let me know if this is not the case.

 
dudulz User

Thx for the fast update TheDruidsKeeper! :)

 
Twangy User

Druids

As a lurker and user of the script I thought it best to join to maybe explain why this thread could be a bit quiet. I must admit to having absolutely no knowledge whatsoever of scripts so am guilty of using your knowledge and experience by copying the script!

It is appreciated, I`m sure theres loads of folks out there who would agree.

One change I`ve noticed with the script is since I went through level 120 it won`t auto buy properties which I can only assume is down to the new property available. Is this correct?

 
TheDruidsKeeper Scriptwright

@Twangy,

The script should still be auto-buying property no matter what level you are on. Try resetting the next purchase (but right clicking the monkey, going to user script commands, and clicking the appropriate item). If that still doesn't work, open the error console (from Firefox's tools menu) and look for the messages from the auto buy: it should tell you what item it is saving up for, how much it costs, and how much more money you need to buy it. Also, if you're putting your money into the bank but not letting the auto buy take it out, then you will probably never have enough cash to buy anything.

 
dudulz User

layout changes again this morning.. please update the script again! :)

thx in advance! :)

 
TheDruidsKeeper Scriptwright

The urls for the item images changed, so the regex had to change too:

tmp.match(/(jobs|stockpile|city)[\/\?a-z_=&0-9]+#(item_\d+)/);

Script has been fixed once again.

I have also taken the liberty to add alternate links that can be used to navigate to the different pages just as before, since their changes to the links have caused failure with other scripts.

 
SoulKeeper User

Maybe it's my installation of FireFox (I updated it) but the script is not working anymore. I already tried uninstsalling firefox + greasemonkey + the script but the script is showing this:

-Script status-
Cash $24,089,992,172
Bank account $0
City value $0
Stock value $0
Total $24,089,992,172

City income $0
Mean job payout $0
Mean bank loss $0
Upkeep $0
Total $0

Attack Strength NaN
Defense Strength NaN

Status:
Resting...
Enable Quickheal

when I hit the "Script Preferences" Button All I get is:

Script Preferences
Update preferences

and my mob wars menu is duplicated:

Home Jobs City Stockpile Fight Hitlist Godfather (64) My Mob (1091)
Home jobs city stockpile fight hitlist godfather mob

 
TheDruidsKeeper Scriptwright

install an older version of greasemonkey. The newer version does not work. I think the latest working version with this script is 0.8.20080609.0

 
SoulKeeper User

That Did it! Thanks Druids!!

I still have the duplicated menu, but I can live with that

 
TheDruidsKeeper Scriptwright

Oh the duplicate menu is a "feature" I add added into the script to help with backwards compatibility. By using the bottom menu to go to the different pages it allows the script to update the different quantities. Plus it helps with other scripts like an auto fighter, my mobster invite script, or my no longer working hitlist bot :-/

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