Auto-Buy
|
|
I am looking to add some code for an autobuy function for city property based on the ROI and the amount of cash desired. IF ROI = greatest & cash required is less than cash on hand then auto buy 10. Any suggestions on how to add this? |
|
|
An excellent idea :) I would do it as a new module. Take a look at how the script executes the different modules, and model your new one in the exact same manor. Maybe take a look at how I did the skill module in this post: http://userscripts.org/topics/18417 (since I laid out step-by-step instructions on how to add it in, it should help get a feel for what all your mod will involve). Hopefully that will get you in the right direction :) Good luck! ... or if by "suggestions" you were really looking for someone else to code it, I could take a whack at it. Sounds fun :) |
|
|
Anyone working on this ? I would love to see someone code it up :p |
|
|
I've actually started working on this since I liked the idea so much :) I'll post it as soon as I ge t a chance to finish it. |
|
|
Hi TheDruidsKeeper, first of all, thx for the extentions for the script! Unfortunately the part for autobuying city properties do not work
Then it will load and refresh the page, but it does nothing although it should buy a lot of cheaper properties (Villa, Restaurant, etc) with higher ROI than the others and I have enough money for it. Could you please fix this? Thank you in advance! :) |
|
|
It's not finished yet.. I didn't mean to publish it yet in my script, but must have forgotten to remove it when I was updating the script post for something else. |
|
|
Ok, I'm looking forward for it. Thank you in advance! :) |
|
|
if you have a look at this script http://userscripts.org/scripts/show/37709 it has an auto buy module based on the ROR... except id prefer to use this script because the script i just mentioned has a messy menu and 2 conflicting scripts that do the same thing would be a bit pointless. EDIT: I just tried it out and it seems the CAPTCHA is trapping the auto buys. It happens after about 20 - 30 attempts/refreshes. Maybe if the refresh rate is incresed... |
|
|
I finally finished the Auto City Buy module for this script, and posted it here: http://userscripts.org/topics/18417 Sorry it took so long (Christmas vacations). |