MobWars Next Best Buy

By Dave Wong Last update May 2, 2009 — Installed 10,519 times. Daily Installs: 8, 12, 4, 4, 3, 3, 1, 3, 7, 4, 2, 4, 4, 2, 4, 6, 2, 4, 1, 3, 4, 2, 3, 8, 3, 4, 4, 6, 12, 2, 6, 2
Script Summary:
Improves (Facebook) Mob Wars experience by helping identify the next best buy for your city.
Version: 1.51
Recently Updated TopicsPosts
city of ash2
Request for modifcation8
Suggested Addition1
Another suggested addition4

this script has 10 topics, 42 posts

Review Summary
5 stars
3 reviews (3)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 3 reviews

History

05/02/09
  • Modified to handle new layout so time-to-buy is fixed
01/30/09
  • Now switches all the dropdowns for buying/selling quantity to 10 by default
12/31/08
  • Now saves ROI as raw number, and only uses toFixed(4) when displaying. This is to resolve bug where max ROI item isn't treated as max ROI sporadically.
12/20/08
  • Changed property info gathering to mimic http://userscripts.org/scripts/show/37709 since it's much cleaner than the code I had, and it automatically figures out what properties are availble (without looking at user level), and automatically figures out original base-values based on current value and number owned etc. just generally much nicer than my previous hard-coded arrays that were based on the excel calculators.
  • Also added code to factor in counts of beachfront-lot/container-yard - if count=10, treat as land bank. Otherwise, treat it as investment value, and show with ROI.
12/05/08
  • Fixed regex bug caused by level:xx change (space after : is optional)
  • Right most column can now be toggled between actual price and time to buy (for specified number) by clicking on the column header.
12/04/08
  • Fixed NaN bug introduced by new countdown timers that let you know when more cash will be earned.
  • Fixed bug with include/exclude expensive properties - when a property with a higher ROI wasn't found, it would say it was ignoring Villas because they were too expensive.
  • Removed include/exclude button - it just wasn't working the way I wanted it. Instead, if the next best buy seems too expensive, an alternate recommendation is now also included. If the next best buy seems affordable, the alternate is not recommended.
  • For the next best buy (and alternate, if shown), now also displays time/turns it will take for enough cash to be available to buy the number (1x, 5x, 10x) being viewed by the user.
11/27/08
  • Added buttons to see Next Actual Price x1, x5, x10
  • Added available cash (cash + land bank) now, in one turn, 2 turns, etc (listed in actual minutes)
  • Now gauges current cash and cash flow and lowers recommendation (NAP < Cash+CashFlow*10). If a lowered recommendation is warranted, a button is displayed to allow the user to toggle between the recommendation that is more easily affordable vs the highest ROI, which may take more than 10 turns to buy.
  • updated bug where property list for lower levels is different (beachfront lot, container yard, highrise apartment, luxury hotel)
11/26/08
  • Added cash/cashflow info so they're still visible when the page header scrolls out of view as well as adding in value of land bank
11/23/08
  • Created

Sample screenshot

(12/4/08)

(11/27/08)