[This version of the script is OBSOLETE. For more informations and new releases check the Mob Wars Helper category.]
Since the developers rolled back the multiple locations feature and the changes to the game has stopped for a while, it’s time to release a quick bugfix for the problems caused by the game updates.
Changelog:
- The script does not mark as unused the weapons with attack equal to 0.
- A database reset is no more necessary when starting over.
- Other bug fixes
Mob Wars Helper: version 1.0-rc2
Also available at Userscripts.org
For more informations on installation, please read the FAQ.
The “Upkeep” number does not work correctly if I try to use MW Helper on two different accounts. The number shown does not reset when I switch accounts.
isnt there a way that if i dont want the script to do jobs to stop redirecting me to the jobs page? kinda anoying lol it would be good if option to do job is off to not redirect to that page? thnx
I love this script, it keeps me from wasting hours babysitting my Mob Wars account.
Suggestions:
1. Can the window have a button to shrink it to the status portion, and expand it back to normal?
2. Option to alert on events, or choose which events to alert on? Like completes a job, caught by capcha, error, etc?
3. The calculation of the ‘Stock value’ is inflated. You are multiplying the number owned by the current price. Assuming you could sell everything at once, this would be correct. I think the correct way would be using the inflation rate for each item over 500. So with 502 Bats the correct value would be $175,711, Bat 502=$357, Bat501=$354, the rest=$175,000. You calculate $178,712.
Argg! Your blog eats my html!
/* news items highlight */
//New mob members
Array.forEach(Utils.getElementsByXPath(‘//div[@class="newsItem"][contains(text(),"known as")]‘),
function(item){
item.innerHTML = ‘<span style=”color:green”>’+item.innerHTML+”</span>”;
}
);
//Punches
Array.forEach(Utils.getElementsByXPath(‘//div[@class="newsItem"][contains(text(),"You were punched in the face by")]‘),
function(item){
item.innerHTML = ‘<span style=”color:red”>’+item.innerHTML+”</span>”;
}
);
Is this just me, or does this happen to everybody? I only have 5 secs to view others except for the Jobs page. I can’t even look at the city page for more than 5 secs before the script redirects me back to Jobs page. Can you edit the script where it will only redirect when the time is up to do a new job? I have to disable greasemonkey to get to that page, and when I do, I don’t have the ROI info.. =\
Mobwars has been somewhat flakey lately. Often I return to my PC after having let the script run over night only to find that the page failed to load thus wasting who-know how much time doing nothing. It wouldn’t be so hard to detect a failed page load and try reloading the page again in a few seconds would it?
@grim
get some auto reload addon like reloadevery and have that refresh the page every 10 minutes or so. this way after an error on the page a reload could detect it. you can’t have a greasemonkey script fix this afaik sinec the page you are now on is no longer a mob wars page, i.e. facebook mob wars helper won’t run.
this method will not affect the script as you’re simply reloading mob wars, and will fix this random 404 we seem to be getting with mob wars lately.
Jeff: The script is not thought to use with many accounts at once, but if you go to your Stockpile, it should set your equipment correctly.
Acid: Just checked with a clean install. Yes, it goes to the job list one time too much, but after visiting the City and the Stockpile it stops doing it.
Larry: The script does not take into account the increasing cost of weapons (after 500).
Paulo: You are right, highlighting could be a nice addition.
dw: Some bit of code doesn’t set the job list as checked unless you have visited the Stockpile and the City. I am looking into it.
grim: Some kinds of errors are dealt with, while others not yet.
Hi the helper stoped working for some reason today the sidewindow interface dosnt even show up nothing works really when u enter the stockpile it dosnt say the info about attackpower and defense and in city you cant edit the # you type to buy whatever ammount you want maybe they changed somthing?
I have the same problem as Acid. Ok, i’ve typed in this here: http://apps.facebook.com/mobwars/bank/ <- Helper does NOT work. then i’ve typed this here: http://apps.NEW.facebook.com/mobwars/bank/ <- helper does work. i dont understand it, but helper should work both for new and old facebook, isn’t it?!
a small edit: helper redirects you to the old facebook pages and stops working.
I think face book has taken the work “new” out of it url since there is only the one version.
I am having the same issue where the script doesn’t work. Last night it did, this morning it doesn’t. Not sure what I changed, if anything, to make it stop…. I simply don’t see the script running at all in the lower right hand portion of the screen. I’ve tried reinstalling the script, reinstalling FireFox, etc. and nothing is working. Any thoughts?
For those of you having problems…. facebook has removed new from the url. See my post on userscripts for the change I made to the script if you wish.
http://userscripts.org/scripts/show/29870
If you don’t know how to edit scripts I put it up here for now….
http://jlprichard.googlepages.com/facebook_mobwars_helper.user.js
thank you blackacid! i hope Piotr will write something here soon. until then i will use that changed script of yours. thank you once again.
About the Facebook layout: version 1.0 of the script takes into account the layout switch in Facebook.
Hi there, Mob Wars Helper has stopped working correctly Piotr, it’s generating a script error of:
Error in module ‘inventory’ on line 788: result is null
It’s not getting the necessary job prerequisites before running the job.
Is there a fix for this?
Steve
id bump it :\
Can anyone recommend another MW script?
Steve
i’ ve tried many times to install helper but everytime there is a problem that appears and…nothing!i can not install helper..could anybody help me with this?