Facebook Mafia Wars Exp Remaining

By ThatOneGuy Last update Apr 24, 2010 — Installed 57,540 times.

We're back to working :)

in
Subscribe to We're back to working :) 20 posts, 5 voices



ThatOneGuy Script's Author
FirefoxWindows

Ok, we're back and working again (until they change it again...)

I also removed the property calculations because it is broken again and I didn't like the previous implementation before anyway.

 
Ms Mousette User
OperaMacintosh

Wonderful!! Thank you :-D

 
ThatOneGuy Script's Author
FirefoxWindows

Don't forget to go ahead and give me some 5 star reviews...

Yes, I know, I'm a little vain ;)

 
epicenter69 User
FirefoxWindows

Vain or not, this one definitely deserves 5 stars. Thanks for fixing it. I was going through serious withdrawal on my energy whore character. lol

 
jipo User
FirefoxWindows

Some AJAX not working in this new update script, like profile, fight (WAV LCG) links

Someone have same problem ?

 
ThatOneGuy Script's Author
FirefoxWindows

Hmm, it is working fine for me. Don't forget, after you update the script you have to re-load the page (clicking a link inside Mafia Wars will NOT usually be enough.)

If that doesn't work, try closing firefox completely (all windows, including any download windows and popups), if that still doesn't work try uninstalling the script, close firefox, reinstall it and try again. If that still doesn't work I don't know what to tell you.

Let me know if it does or doesn't work and what it took.

 
epicenter69 User
FirefoxWindows

Most links work, but if you're one of the new players with rackets, the Cuba and Moscow Business Links lead you to rackets instead of businesses.

 
ThatOneGuy Script's Author
FirefoxWindows

I'm sorry, I do not have rackets so can not program for them. :(

 
jipo User
FirefoxWindows

All links open the right page.

But AJAX function not working in some links like fight,profile,(WAV LCG).

So when I clicked that links, the page refresh, not like another links like properties,home,jobs page that AJAX function is working so when I clicked that links (the page not refresh, an AJAX image loader shown (revolver ammo) ).

*The previous version of this script work perfectly, except profile link open bank account.
Thanks.

 
ThatOneGuy Script's Author
FirefoxWindows

Hmm, can you right click your bank link, copy the link location and paste it here for me?

 
jipo User
FirefoxWindows
I already deleted the previous script. Now I using the newest script.
Bank
Fight (AJAX not working)
Profile (AJAX not working)
Thanks for helping...
 
ThatOneGuy Script's Author
FirefoxWindows

Hmm, well based on that I don't see any reason why it would stop working between the two versions. I didn't change anything about the Fight and Profile links in the latest version.

You can go install the previous version here:
http://userscripts.org/scripts/versions/45937

However since your links have been encoded, I also don't understand why the previous version would work at all for any of the links that I create or modify (heal, WAV LCG, stat increase, ect...)

One more thing we can try, view the page source and find the element:

<span class="bank_deposit">

Send me everything from there up until
Bank</a>)</span>

Do you have any other scrips installed that might be affecting Mafia Wars pages?

 
jipo User
FirefoxWindows

I mean the previous script works is at AJAX loader function, since a few days ago all modified links go to bank page.

So the main problem when I use the newest script are some AJAX loader function not work (like fight, profile. The page always refresh when I clicked that But bank, jobs, business,heal links works fine).

Here is the page element when I use the newest script :

Bank :

<*span class="bank_deposit">(<*a class="bank_deposit" onclick="(new Image()).src = '/ajax/ct.php?app_id=10979261223&action_type=3&post_form_id=3dd61431891222168e3c27a992520228&position=3&' + Math.random();fbjs_sandbox.instances.a10979261223.bootstrap();return fbjs_dom.eventHandler.call([fbjs_dom.get_instance(this,10979261223),function(a10979261223_event) {a10979261223_do_ajax('inner_page', 'remote/html_server.php?query_params=eHdfY29udHJvbGxlcj1iYW5rJnh3X2V4cF9zaWc9Yjc3Y2U5NmZiNzVlYWYyOWVjZDBmYThlNzMzMzc3ZDgmeHdfdGltZT0xMjU1ODg4MTQ5Jnh3X2FjdGlvbj12aWV3Jnh3X2NpdHk9MyZ0bXA9ZjRmMzJkOGMxMDE4N2VhMTg2MDg2NWNiOGRhMjFkZjA=', 1, 1); return false;},10979261223],new fbjs_event(event));return true;" href="http://apps.facebook.com/inthemafia/remote/html_server.php?query_params=eHdfY29udHJvbGxlcj1iYW5rJnh3X2V4cF9zaWc9Yjc3Y2U5NmZiNzVlYWYyOWVjZDBmYThlNzMzMzc3ZDgmeHdfdGltZT0xMjU1ODg4MTQ5Jnh3X2FjdGlvbj12aWV3Jnh3X2NpdHk9MyZ0bXA9ZjRmMzJkOGMxMDE4N2VhMTg2MDg2NWNiOGRhMjFkZjA=">Bank</*a>)</*span>

Fight :

<*div id="app10979261223_nav_link_fight" class="nav_link fight_link" fbcontext="0dee80cf8ada">
<*a class="" onclick="(new Image()).src = '/ajax/ct.php?app_id=10979261223&action_type=3&post_form_id=3dd61431891222168e3c27a992520228&position=3&' + Math.random();fbjs_sandbox.instances.a10979261223.bootstrap();return fbjs_dom.eventHandler.call([fbjs_dom.get_instance(this,10979261223),function(a10979261223_event) {a10979261223_do_ajax('inner_page', 'remote/html_server.php?query_params=eHdfY29udHJvbGxlcj1maWdodCZ4d19leHBfc2lnPWI3N2NlOTZmYjc1ZWFmMjllY2QwZmE4ZTcz MzM3N2Q4Jnh3X3RpbWU9MTI1NTg4ODE0OSZ4d19hY3Rpb249dmlldyZ4d19jaXR5PTMmdG1wPWY0 ZjMyZDhjMTAxODdlYTE4NjA4NjVjYjhkYTIxZGYw', 1, 1); return false;},10979261223],new fbjs_event(event));return true;" href="http://apps.facebook.com/inthemafia/remote/html_server.php?query_params=eHdfY29udHJvbGxlcj1maWdodCZ4d19leHBfc2lnPWI3N2NlOTZmYjc1ZWFmMjllY2QwZmE4ZTcz MzM3N2Q4Jnh3X3RpbWU9MTI1NTg4ODE0OSZ4d19hY3Rpb249dmlldyZ4d19jaXR5PTMmdG1wPWY0 ZjMyZDhjMTAxODdlYTE4NjA4NjVjYjhkYTIxZGYw" style="">Fight</*a>
</*div>

- I added prefix "*" to div,span,a element tag so it can be displayed at code blocks.

I only use this script.
Thanks again to resolve my problem

 
epicenter69 User
FirefoxWindows

Could you confirm if I can remove lines pertaining to your properties links? I think that if I disable reference to properties somehow, it will fix the business and racket links.

Then, which lines can I remove?

 
epicenter69 User
FirefoxWindows

I'm thinking that lines 469 through 572 may be safe for me to delete. Those look like the only lines that affect that property link, that is replaced with a rackets link for the newer version.

 
ThatOneGuy Script's Author
FirefoxWindows

Umm, I don't do anything with the property links... I mess with the property page, but not the link. I also mess with the inventory links.

I am able to recreate the postbacks with the fight/profile links and will look into that when I have more time...

I really can't confirm anything to do with rackets since I don't have rackets. Feel free to modify and find out... if it doesn't work you can always re-install the "working" version.

 
jipo User
FirefoxWindows

Ok...thanks..
I'll wait the new script that works for me..
Thanks.

 
epicenter69 User
FirefoxWindows

Nope, removing those lines didn't help. Not sure now which functions to remove to restore those links, but for now, I'll just disable the script long enough to work on the businesses.

 
jipo User
FirefoxWindows

Thanks, all my problem solved with this new updated script..
thanks a lot..you great.

 
VictorMSolanoG User
FirefoxWindows

The new version not wokk like the other, are missing the rates, healt and other stuff, need to reload to view

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