Jump to content

[Curse] New Pacific Order Commands Release of Automated Raw and WC Distribution Technology


Artifex
 Share

Recommended Posts

It's been a while since "NPO" came up on the forums that wasn't entirely negative, lol. (In my view, at least) Happy to see you! Thanks for the script, sure a lot of people will find it useful! :)

  • Like 1

Signed, Mega, the kindest person ever! ♥️

Proud Member of Event Horizon

DISCLAIMER: Any post that I make or my response to one is NOT in any way representative of the alliance I'm in, unless explicitly stated otherwise.

Link to comment
Share on other sites

More of an Orbis Central thread. Also, you still have commented print functions used for testing in the uploaded code. I also think that a config.ini file would be best for storing API key, alliance IDs, and everything else you would want the end user to fill in.

Edited by Kyubnyan
  • Like 1

Humans cannot create anything out of nothingness. Humans cannot accomplish anything without holding onto something. After all, humans are not gods.

Link to comment
Share on other sites

5 minutes ago, Mega said:

It's been a while since "NPO" came up on the forums that wasn't entirely negative, lol. (In my view, at least) Happy to see you! Thanks for the script, sure a lot of people will find it useful! :)

We all love NPO, some people just don't realize it

 

2 minutes ago, Kyubnyan said:

More of an Orbis Central thread. Also, you still have commented print functions used for testing in the uploaded code. I also think that a config.ini file would be best for storing API key, alliance IDs, and everything else you would want the end user to fill in.

You're totally right on the config stuff and comments, but I mostly wanted to get this out as soon as possible, and I wanted to make sure the obvious debugging places were flagged in some fashion and equip people with the methods of how I bang on it until it works again

Also, this is an alliance announcement from TEST, specifically the Dark Mechanicus branch

  • Upvote 2

Love you

Link to comment
Share on other sites

Don’t tell tkr, they are still scared of em 😖

43 minutes ago, Malleator said:

We all love NPO, some people just don't realize it

 

Edited by AlexW
  • Like 1
  • Haha 4
  • Downvote 5

AlexW

Leader in Event Horizon

 

forum signature.png

Link to comment
Share on other sites

9 minutes ago, zigbigadorlou said:

So this is a "I don't want to play the game any more, so I let my gov's bot do it" program? 

Basically yes. It's a setup once and then run once a week sort of deal and then everyone only has to login for bonuses and war

Love you

Link to comment
Share on other sites

 elif oilPower > 0:
                if cityInfraCounter <= 100:
                    cityInfraCounter -= 100
                    resourceCountDict["oil"] -= 1.2
                    oilPower -= 1
                elif cityInfraCounter > 100 and cityInfraCounter <= 200:
                    cityInfraCounter -= 200
                    resourceCountDict["oil"] -= 2.4
                    oilPower -= 1
                elif cityInfraCounter > 200 and cityInfraCounter <= 300:
                    cityInfraCounter -= 300
                    resourceCountDict["oil"] -= 3.6
                    oilPower -= 1
                elif cityInfraCounter > 300 and cityInfraCounter <= 400:
                    cityInfraCounter -= 400
                    resourceCountDict["oil"] -= 4.8
                    oilPower -= 1
                elif cityInfraCounter > 400:
                    cityInfraCounter -= 500
                    resourceCountDict["oil"] -= 6.0
                    oilPower -= 1
            elif coalPower > 0:
                if cityInfraCounter <= 100:
                    cityInfraCounter -= 100
                    resourceCountDict["coal"] -= 1.2
                    coalPower -= 1
                elif cityInfraCounter > 100 and cityInfraCounter <= 200:
                    cityInfraCounter -= 200
                    resourceCountDict["coal"] -= 2.4
                    coalPower -= 1
                elif cityInfraCounter > 200 and cityInfraCounter <= 300:
                    cityInfraCounter -= 300
                    resourceCountDict["coal"] -= 3.6
                    coalPower -= 1
                elif cityInfraCounter > 300 and cityInfraCounter <= 400:
                    cityInfraCounter -= 400
                    resourceCountDict["coal"] -= 4.8
                    coalPower -= 1
                elif cityInfraCounter > 400:
                    cityInfraCounter -= 500
                    resourceCountDict["coal"] -= 6.0
                    coalPower -= 1

I can't man. I just can't.

  • Haha 5
Link to comment
Share on other sites

17 hours ago, Malleator said:

Don't worry, it's all compartmentalized. The calculator and tool are two entirely separate things 

 

19 hours ago, Malleator said:

can calculate the exact amount of resource usage for each involved nation and then automatically send raws to them for the asked for number of days worth of production

But they aren't two seperate things. You are using the calculator to work out the "exact amount of resource usage for each involved nation and then automatically send raws to them" based on that calculator data.

The code for both the calculation and sending the resources is literally in the same file and called from the same main method. It's like the text book definition of what Alex has said was against the rules

  • Like 2

xlEIvKe.png


Honour, Fury, Fire

Link to comment
Share on other sites

Jokes on you, I run 150/150 taxes and have fully semi-automatic banking.

  • Haha 1

In paradisum deducant te Angeli; in tuo adventu suscipiant te martyres, et perducant te in civitatem sanctam Ierusalem.
Chorus angelorum te suscipiat, et cüm Lazaro quondam paupere æternam habeas requiem.

 

Link to comment
Share on other sites

  • Alex locked this topic
Guest
This topic is now closed to further replies.
 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.