FBMW++

By Pea Cracker Last update Feb 24, 2009 — Installed 39,028 times.

Script suddenly stopped working

in
Subscribe to Script suddenly stopped working 41 posts, 22 voices



Jason123456 User

The script is no longer picking up the values for the stamina, energy and health. This happened in the past half hour.

I tried reinstalling and resetting the database and it's doing this on two different accounts.

 
smack89 User

Me too... I'm going to see if I can debug a little...

 
Phazoni User

Same here. No more autohealing and jobs aren't happening.

 
scripts_rule User

Ditto. Mine is always resting... I wonder how long it will be before someone figures out a fix?

 
John Doe111 Scriptwright

Pea we need youre help again

 
Kathy Leigh User

It doesn't see the cash either. hmmm.

 
bingo usmc User

At least the hitlist still functions.

 
draziw User

It would appear that some updates to MobWars caused some issues... notice the order of the menu has changed a bit (for example).

 
scripts_rule User

My hitlist function is not working :(

 
TaLoS User

Don't know if it is a 100% fix, but following seems to work (at least it is detecting cash, health etc again):

Search for
var re = /(Cash|Health|Energy|Stamina|Exp|Level):.*?\$?([0-9]+)\/?([0-9]+)?(?:.*?more in:.*?(\d+:\d+)|)/

and replace by:

var re = /(Cash|Health|Energy|Stamina|Exp|Level):.*\s+\$?([0-9]+)\/?([0-9]+)?(?:.*?more in:.*?(\d+:\d+)|)/

 
Perry Ogletree User

It "kinda" works... Seems that the "captchas" don't always make it to the popup and I'm seeing 4 character captchas.

 
TaLoS User

I also changed following:
Search for var res=div.match(/(Cash|Health|Energy|Stamina|Exp|Level):.*?\$?([0-9]+)\/?([0-9]+)?/);

and replace by:var res=div.match(/(Cash|Health|Energy|Stamina|Exp|Level):.*\s*\$?([0-9]+)\/?([0-9]+)?/);

 
FlyfisherMike User

That worked for me. Started healing and doing jobs at least. Thanks!!!

 
FlyfisherMike User

I take it back. I'm stuck in a loop, while it keeps checking for new weapons, jobs, buildings, etc.

Never mind - fixed.

 
Shane Sullivan User

How did you fix it?

 
TaLoS User

For me all is fine...

Note that I have edited my first post, I copied the wrong 'replace' line. (result was that the level was not detected correctly, therefor the loop)

 
Spinners User

I'm using FBMW++ and my script was getting caught in a bank loop whereby it was trying to bank a certain amount of money which I did not have.

I used TaLos' 2 posts above and it now runs fine.

Cheers TaLos

 
ManySheeps User

TaLoS fix works for me too...

 
ManySheeps User

It does still loop a little - especially the first time took a while to work itself out - but I justlet it run and it works almost as normal now - still a slight bit of occasional looping

 
John Doe111 Scriptwright

The loops is interfering but at least it's working 90%. I can get it stop looping by removing a job but then you can't do the hitlist

 
kw1027 Scriptwright

I made the change, but still nothing. Doesn't see my cash, will not heal, will not do jobs,

 
John Doe111 Scriptwright

either reset the database or install this one http://userscripts.org/scripts/show/41272

 
kw1027 Scriptwright

I'm running 1.27d and I have reset the DB. Still doesn't work

 
John Doe111 Scriptwright

Ok I think the looping is being caused whenever there is a change to your bank funds or your cash. Seems to think you leveled up. The loop only occured for me once everytime I level up. Hope someone can fix that. also passive refresh seems broken. I think this maybe the part of the script thats causing the looping . I think the script is getting screwed up with how much money you have so it runs the check over and over

if (boss.job_income == undefined) boss.job_income = 0;
if (Page.c_page == 'jobs')
{
joblist.updateData();
Menu.update;
}
else if (boss.new_level)
{
var action = new Object();
action.page = 'jobs';
action.message = "Checking new jobs available...";
action.time = 0;
boss.actions.jobs_check = action;
return;

 
Hinkledorf User

So did anything visibly change on the page? I am not noticing anything different?

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