Hitlist Fix
|
|
If you care to fix the hitlist code manually, this is how to do it (apparently mobwars now expects all parameters from the form to be passed in the GET request): In the code, search for:
var attack = divs[i].innerHTML.match(/attack/); Right above that, you should see a line that says:
for (var i = 0; i < divs.length; i++) Delete everything from that line, up to (but not including) the line that says:
if (target_acquired>0) (~50 or so lines down), and replace with this section of code:
var highest = 0;
for (var i = 0; i < divs.length; i++)
{
var attack = divs[i].innerHTML.match(/attack/);
if (!attack)
{
continue;
}
else
{
var highest_target;
var inputs = divs[i].getElementsByTagName('INPUT');
var target = 'http://apps.facebook.com/mobwars/fight/do.php?';
var target_id = '';
var bounty_id = '';
var bounty = parseInt(dollars_to_int(divs[i].parentNode.parentNode.getElementsByTagName('TD')[2].innerHTML));
for (var j = 0; j < inputs.length; j++)
{
target += inputs[j].name + "=" + inputs[j].value + "&";
if (inputs[j].name == "target_id") target_id = inputs[j].value;
if (inputs[j].name == "bounty_id") bounty_id = inputs[j].value;
}
//var target_id = divs[i].getElementsByTagName('INPUT')[12].value;
//var bounty_id = divs[i].getElementsByTagName('INPUT')[13].value;
//GM_log('id:'+target_id+', bt:'+bounty);
var req1 = bounty > boss.preferences.bounty_min;
var req2 = bounty < boss.preferences.bounty_max;
var req3 = boss.preferences.bounty_min==0;
var req4 = boss.preferences.bounty_max==0;
var highest_target_id;
var first_target_id;
if ((req1 && req2) || (req1 && req4) || (req3 && req2) || (req3 && req4))
{
target_acquired++;
//GM_log('->OK');
// First Come First Serve
if (boss.preferences.hitlist_order)
{ // first in-range target acquired
first_target = target;
first_target_id = target_id;
//GM_log('-->FCFS');
break;
}
// Aim For Highest Bounty
if (bounty > highest)
{ // target with more bounty acquried
highest = bounty;
highest_target = target;
highest_target_id = target_id;
//GM_log('-->HIGHER');
}
}
}
}
I think that's it... |
|
|
Yep, just got another successful hit, so it works. |
|
|
Right click on the greasemonkey icon in your ff taskbar, click "manage user scripts", click on fbmw+ script, click edit. It'll open up in a text editor, just search for the lines and follow the instructions, copy pasting the stuff you need. Then save the file, close it, and go back to enjoying mobwars :) |
|
|
the one at the very bottom. the other one doesn't open up a file :) |
|
|
If you don't know how to do it, maybe it's best to go with another option mentioned in the other threads... You might just break the script altogether! |
|
|
Mine works but didnt get a hit yet cus i just edited it now. So stil waiting. |
|
|
Good job, this update is working fine. I may be a little "sensitive" now, but it also seems that the captcha frequency is greatly increased (I actually started noticing this a couple of days ago while manually hunting and speed-clicking with Opera). |
|
|
how do u refresh using opera. Do u use the refresh button or do u click hitlist everytime |
|
|
I use the F5 button. I have tried a variety of approaches, but this works best for me; doesn't load cached page, I can keep my mouse "locked" on position ready to click as soon as I see the target, etc. |
|
|
Does ones internet speed count if attacking the hitlist |
|
|
The quality of your Internet connection could certainly be factor. A high delay connection could negatively affect the outcome if, for example, the target is able to be killed with a single attack and two attackers press "attack" at the same time, the link with the lowest delay will win. Naturally, not all bounties will be won with a single attack and so it may often be the case that the extra delay ends up benefiting you. I haven't looked at this with any real rigor, but anecdotally ...I play frequently from work, home, and while on the road via an AT&T 3G adapter in my laptop. It does seem like I get worse results when on the 3G connection than either at home or at work, both of which have very high speed, low delay connectivity. |
|
|
jaguarcy... worked like a charm! Thanks for this fix. ...And, of course, a moment to give props to pea cracker. Happy New Year, all. - j |
|
|
Anyone else notice the hitlist is a lot harder to hit a target now? Even with sniping im missing about 20-30x more bounties than i normally would get. Including huge bounties that normally stay up for a minute or more, only last seconds now. |
|
|
I've been noticing several changes over the past few days, including an increase in captchas as mentioned, resulting in me turning off sniping altogether. Today, with sniping now off, I am getting very good results again. |
|
|
I have a real NOB question... When I go to edit the file it is pointing me to an unrelated file location. Can someone tell me where this file is saved and what it is called? Thanks! |
|
|
When you edit the file, it should automatically open in your configured text editor. So, go to the Tools Menu, Select GreaseMonkey, and then select Manage User Scripts. Make sure you have the correct script selected in the list of scripts, and then click "Edit". This should open the script automatically. You can open it manually as well. For me, it is stored in: \Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles\8q2vsnar.default\gm_scripts\fbmw\ |
|
|
Thanks! That's what I needed. |
|
|
kick ass, I cleared my victim list yesterday and just noticed today it was still empty. I've just been fillin captchas and doing no damage for 2 days. I did this script change, ran agg. refresh, and there was a person on the hitlist on the first refresh, I hit them and killed them on the first try and got $1.1 billion for my trouble. Thanks jaguarcy for the fix! |
|
|
Thank you, Jaguarcy! |
|
|
It works! |
|
|
I'm going to take a chance and try to do this fix as described. In anticipation of screwing up the script totally, would I be just looking at a uninstall/reinstall of FBMW+ to fix whatever screw up I'm about to make? I wouldn't try something this far over my head normally, but I've noticed the major changes to MW that everyone else is speaking of. It's become impossible to bounty hunt recently. I'm desperate enough to try this. Also, just to verify -- I'm going to be deleting one section and then replacing a 2nd section....correct? Wish me luck and let's hope I don't bring down the entire internet (aka "just a series of tubes)" with my novice experience level! =) |
|
|
Sweetness, make it easy on your self and install this script: http://userscripts.org/scripts/show/39510 It is the same script, but with several of the recent updates rolled into it. remarkable has been nice enough to collect the fixes and publish to this location until PC is back in business. |
|
|
Thank you so much! Ya'll are so incredibly nice to share all your script knowledge and stuff with us less experienced users! And, to think that we're all competing in the same game against each other too! Just goes to show there is still goodness and kindness in this world.......now I'm off to do some killing! Wish me luck and thank you again -- the updated version is installed, working and I'm putting it to use now! |
|
|
Don't fix your script~ Accounts using these methods are being frozen. |
|
|
Linc, where do you get the info from? If that info is legit, and directly related to everyone using this script, I will start to be more careful, but if it's random people who do stupid things to get frozen accts, and some people associate that with some magic way to find out it's the script, then I'll keep doing what I do. I'd imagine it's not impossible to find out who uses it, but I'd also imagine it wouldn't be easy, since this basically just clicks buttons for you, and the stuff like showing your attack strength and RoR, that is actually not against the ToS, and is therefore not against the rules, according to the creator. |