Some suggestion/idea on hitlist
|
|
I hope that author can make when lose fighting some one on hit list, the script should stop attacking that person. Now day there a lot of players above level 900 being hit list..Sometime i didn't realize that the script keep fighting against the same person that i can't win ( Some time i die). I hope that the author can make option that I wish. Thx alot! |
|
|
Why don't you just set your Bounty Limits accordingly under Preferences? |
|
|
Bounty isn't always a great indicator of strength. I can take down many $4B+ players, but there are those who with bounties less than $3B who can stay on the list for an hour. I think it might be a cool option. |
|
|
To further the advancement of this script, I agree... lose 2x in a row, it should stop automatically. In defense of MobWars programmers, you're supposed to play this real-time, in front of the screen. A regular person would know to stop attacking if they lose a couple time. Automatic red-flag as a bot. |
|
|
The list of mobsters this is a problem for me with can be counted on one hand, It'd be a lot easier to just have a blacklist of people not to hit.. |
|
|
Blacklisting is easy. Here are the changes I made to blacklist hitting certain id's Basically added a req5 and changed the if statement to take the userid into account.
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 req5 = (target_id != 12345 && target_id != 67891 && target_id != 23456);
var highest_target_id;
var first_target_id;
if (((req1 && req2) || (req1 && req4) || (req3 && req2) || (req3 && req4))&& req5)
If you want to not attack when you are below a certain health change the
if (target_acquired>0) line to if (target_acquired>0 && (boss.health > boss.max_health *.35)) where .35 is 35% health in my case. If you want to turn off sniping when you are below a certain health you can do something like this.
if (boss.stamina > 1 && boss.preferences.snipecount > 0){
to
if (boss.stamina > 1 && boss.preferences.snipecount > 0 && (boss.health > boss.max_health *.5)){
where in this case I won't snipe if under 50% health. |
|
|
I like the blacklist! There's a bunch I would add to it, like bailable and dinkster9. |
|
|
thanks dave, i implemented the 35% rule into the new version. Version H - this should save a lot of people from dying. |
|
|
Thanks alot becuase implement it! |
|
|
It makes more sense to allow users to manage the blacklist instead of hardcoding it. |
|
|
So once you add that line to the script to blacklist, where do you modify it to add different user ID's? |
|
|
Change this line: var req5 = (target_id != 12345 && target_id != 67891 && target_id != 23456); The numbers in there are fictitious and should be replaced with the id's of the people you do not want to hit. |
|
|
r6ironman, Take a look at the line that reads:
var req5 = (target_id != 12345 && target_id != 67891 && target_id != 23456) Each of the target_id values represent someone not to attack. So modify those values to be the user ID of the mobster to avoid. This example assumes three targets to avoid, but it could be one or two. You just remove or add targets as needed. For example, if you just wanted to avoid Bailable you would enter: var req5 = (target_id != 694594009) The ID value comes from the "user_id" field that you see in a profile URL. Again, for Bailable: http://apps.facebook.com/mobwars/profile/?user_id=694594009 For each user to blacklist, add "&& target_id !=" followed by their user id value. |