Trying to fix Moscow
![]() ![]() |
I'm not a programmer, but I'm familiar enough with scripting that I'm taking a look at the script to figure out a way to make it do Moscow jobs. Is anyone else experimenting, too? |
![]() ![]() |
Currently working on it, more later. I think I already made Mascow job help available, but I still have to fix the money counter. |
![]() ![]() |
I'm not getting any available Moscow requests to test it with... any ideas? I'll share what I did so far, if you're interested. |
![]() ![]() |
ok, I'm giving up... this is what I did so far: replaced this code...
with this code:
after editing the script you need to reinit script variables from the user script commands. What the script does so far:
This script still needs to deal with the "more than 25 people helped" message, and fetching boosts would be a nice addition. This is the only job helper script that works for more, and it would be a waste not to update it anymore. |
![]() ![]() |
I amde the same basic chanes you need, bugmenot, yesterday and it is at least doing moscow jobs as well as the others (though do not leave yourself in moscow- non-moscow jobs dont work there). I have been taking a stab at making the other changes but obviously still have bugs as it isn't working yet. I also made your change on another computer and acct that actually only checks for moscow jobs (eliminated the 'requested help') because I can just use Vern's MW DoJobs tool too pick up cuba and ny jobs and then it will only attempt Moscow jobs If someone else comes up with this script fixed for Moscow, though, it would be awesome cause javascript is not my strong suit :P |
![]() ![]() |
I disable the scripts "ShowOnlyJobs" feature so I can watch for the Moscow jobs. The problem with Vern's MW DoJobs is that it isn't realtime like this script is. |
![]() ![]() |
Ramen, I agree; but my mafia on my main acct is huge and many people do not publish their non-Moscow jobs- so, I can usually pick up 25 jobs for each city from that and be done for the day. Picking and choosing high pt jobs would be ideal but thatis is a good compromise for me since a lot of the non-published jobs are often also the high value ones for whatever reason |
![]() ![]() |
p.s. basically, I don't want to hit the server for all the NY and Cuba jobs I am ineligible for anyway |
![]() ![]() |
@Kethry: How is DoJobs working for you? I click it the same way I used to before, from the Gifting screen, but it now just stops and says "Found 0 mafia." |
![]() ![]() |
Ramen, spockholm created a "patched" DoJobs that runs against moscow and cuba and can read the friends list- run it while you are in moscow so that it won't be successful in cuba at all. The orginal DoJobs will work with a manual list... bobby heartrate has a tool that you run from MW that allowed me to download my entire mafia to excel... (I had to scrub about 30 lines and tab-delimit them in notepad) I then used the first column (id) to create a manual list for DoJobs. You have to fly to NY or Cuba to run it and it crashes on unknown error when you reach the city limit- but, by then, I will prob be about maxed on the other city too and I can test once each city just to make sure. This is why it is important to be in Moscow when you run the patched version- because if you max out Cuba then you can't use the orig DoJobs to pick up NY jobs These are the directions someone posted on Vern's Mafia Wars FB fan page in a discussion on Friday: Do Jobs Workaround for Russia Get Bobby Heartrate's Download Mafia Tool:
|
![]() ![]() |
p.s. patched DoJobs is here:
|
![]() ![]() |
Oh- I made a buncg of re-writes to the jb processor. It is still not properly logging exp and money and it is re-tryign jobs but it is picking up all the jobs (this is on my small mafia acct that is unlikely to hit the city limits). But, it completely hung up doing moscow only jobs on y big acct on another computer. I finally found a completely diff script on this site that is working pretty well |
![]() ![]() |
I got Joseph Huang's 'autohelp', which now does all jobs including Moscow, and gets boosts and does wars too. If this script could do all that his does, I would come back, because I like its feedback. I am a programmer, and I took the easy way out - I found a script that already works. BTW, DoJobs has been practically obsolete for a month, compared to these scripts that help when the request is made, instead of raking up all the leftovers from the past day. Also, DoJobs won't run alongside MWAP. I don't want to choose, I want it all. |
![]() ![]() |
I saw Joseph's and read that it rocks but I ended up installing the one from Aidas http://userscripts.org/scripts/show/58550 because it has a GUI display that shows what it has processed and is completely configurable to collect level and/or iced boosts, which city(ies) to do jobs in, what wars to participate in (ones where they declared or where they helped) and it tells how much money/XP gained. I am also a programmer; but my js skills are limited and I am lazy so did not feel like tweaking this script any more once I found Aidas'. |
![]() ![]() |
@Kethry,
|
![]() ![]() |
You need to change the regular expression on this line in order for it to be able to track the various currencies: _oJob.iMoney = /<(strong) class=\"money\">(C?\$[^<]+)<\/\1>/i.exec(_oJob.strResult)[2]; But I haven't had enough time to mess with it. Currently, my version does jobs in Moscow, just doesn't display it properly, but it works. Also collects all the bonuses while it's at it. |
![]() ![]() |
SwissJ, care to post your script? Josh |
![]() ![]() |
awesome script Kethry thanks |
![]() ![]() |
Got tired of Joseph's constant tweaking and breaking it... the old version of NF Proc is at least getting more EXP points.... crap just wanna level more than 1X a day! is that tooooo much to ask? Completed Missed XP Gain
|
![]() ![]() |
My version of this has a bug somewhere, keep getting null strings even though I can't figure out where... Thinking about a complete rewrite but I'm also running Joseph's autohelp and it pretty much does everything you could ask, except for the fancy visuals. But fancy visuals cost time and therefore might cause it to miss jobs. So I'm not real sure it's even worth trying to resuscitate this script... |
![]() ![]() |
I stripped this of the bonus thing until I get it fixed... |
![]() ![]() |
CAN U RUN AUTO-HELPER AND Facebook Mafia Wars News Feed Processor AT THE SAME TIME? |
![]() ![]() |
i think same scripts do the same. so one is faster!
i send it to SwissJ to check. If it works it will upload to http://userscripts.org/scripts/show/59850
|



