Jump to content

City Optimizer


seabasstion
 Share

Recommended Posts

Looks cool! Unfortunately I'm getting a "Runtime error: 5" response whenever I try to run the macro after changing the ID to my own nation's.

 

Oh and, Seabass you're the real senpai here. <3

  • Upvote 1

"To give anything less than your best is to sacrifice the gift." ~ Prefontaine


Pure Gold, ~KT chat:


 

Link to comment
Share on other sites

Interesting. I'll have to have a look, this kinda thing interests me :)

 

and to answer it before it is asked - i am not taking this to google drive

Damn, I don't actually have a copy of Excel installed. I've got an old disc around somewhere for 2010, I think.

 

EDIT: On an aside, the Google Drive scripting is actually pretty damn powerful, I have a spreadsheet there setup, that works out a nation's income, using the API.

Edited by Shakyr

sig_cybernations.PNG.8d49a01423f488a0f1b846927f5acc7e.PNG

Link to comment
Share on other sites

Interesting. I'll have to have a look, this kinda thing interests me :)

 

Damn, I don't actually have a copy of Excel installed. I've got an old disc around somewhere for 2010, I think.

 

EDIT: On an aside, the Google Drive scripting is actually pretty damn powerful, I have a spreadsheet there setup, that works out a nation's income, using the API.

 

Have a few that do the same. I like my editable version better, though, let's me understand how much money I'd be making (resources included, excluded in other versions) if I modified the setup. The API version I haven't bothered to make modifiable.

"To give anything less than your best is to sacrifice the gift." ~ Prefontaine


Pure Gold, ~KT chat:


 

Link to comment
Share on other sites

Any reason not to just do wartime/peacetime templates you can switch in and out of?

 

because you'll still be faced with the same question of what is the most economical setup with your wartime setup and your peacetime setup depending on your infra, land, bonus, and number of military slots used.

 

EDIT: On an aside, the Google Drive scripting is actually pretty damn powerful, I have a spreadsheet there setup, that works out a nation's income, using the API.

 

i agree it is really good - but where i do most of my developing google drive is blocked unfortunately

Link to comment
Share on other sites

Have a few that do the same. I like my editable version better, though, let's me understand how much money I'd be making (resources included, excluded in other versions) if I modified the setup. The API version I haven't bothered to make modifiable.

This one is editable, I just prefill using the API ;)

 

i agree it is really good - but where i do most of my developing google drive is blocked unfortunately

Fair enough, security and all I'm guessing :) I do a fair amount of my tinkering at home, so the only sites blocked are the ones I've set!
  • Upvote 1

sig_cybernations.PNG.8d49a01423f488a0f1b846927f5acc7e.PNG

Link to comment
Share on other sites

My version of excel froze up and crashed when I clicked inport from pw

Orbis Wars   |   CSI: UPN   |   B I G O O F   |   PW Expert Has Nerve To Tell You How To Run Your Own Goddamn Alliance | Occupy Wall Street | Sheepy Sings

TheNG - My favorite part is when Steve suggests DEIC might have done something remotely successful, then gets massively shit on for proposing such a stupid idea.

On 1/4/2016 at 6:37 PM, Sheepy said:
Sheepy said:

I'm retarded, you win

Link to comment
Share on other sites

because you'll still be faced with the same question of what is the most economical setup with your wartime setup and your peacetime setup depending on your infra, land, bonus, and number of military slots used.

 

i agree it is really good - but where i do most of my developing google drive is blocked unfortunately

I guess if you get really anal about it. I don't. I just make money in trading and theoretically I'm sure I have an income of some sort.

GICjEwp.gif

Link to comment
Share on other sites

I guess if you get really anal about it. I don't. I just make money in trading and theoretically I'm sure I have an income of some sort.

 

in all fairness it is called the 'optimizer' and not 'an income of some sorter'

  • Upvote 3
Link to comment
Share on other sites

whenever i run '10629' it returns the following error

The coordinates or dimensions of the range are invalid.

which is a bummer since im really interested in seeing how this produces results

for (var i = 0; i < max; i += 1) {
    var chosen = choices[Math.random() * choices.length | 0];
    build[chosen] += 1;

i think youre on another level of coding skill than myself so could you explain to me the logic behind this is? it's not coming together in my mind how this would create an optimal suggestion

Link to comment
Share on other sites

whenever i run '10629' it returns the following error

The coordinates or dimensions of the range are invalid.

which is a bummer since im really interested in seeing how this produces results

for (var i = 0; i < max; i += 1) {
    var chosen = choices[Math.random() * choices.length | 0];
    build[chosen] += 1;

i think youre on another level of coding skill than myself so could you explain to me the logic behind this is? it's not coming together in my mind how this would create an optimal suggestion

a) Fixed the issue. Make another copy or keep the old version and just make sure there's some dummy text anywhere below row 12.

2) It's not an optimizer. It's an "income of some sort"-er.

RollSheepy.png

Link to comment
Share on other sites

  • 6 months later...

@seabasstion is there an updated version of this with the parameters changed to suit the overhaul in improvements and resource production?

Jl0McAJ.gif

Mans two modes of existence can be thought of as his light and dark side. He is either the Protector or the Ravager. The Immovable Object or the Unstoppable Force.

 

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the Guidelines of the game and community.