Jump to content

Artifex

Members
  • Posts

    740
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Artifex

  1.  

    Just now, zigbigadorlou said:

    autonomy

    What if the player doesn't want autonomy? What if the player has a pure net-positive build of food and uranium only? What if it's a question of continuing to play the game occasionally or not at all? There's still clerical work to be done with or without Auctus. There's no one size fits all, my friend. We all want different things from the game

    • Upvote 1
  2. 7 minutes ago, zigbigadorlou said:

    alleviates gov work

    Some people would rather not have to manually calculate hundreds of nations net revenue. If you want to, that's fine, no one is taking that choice away from you. And to make the insinuation that the only fun parts of PnW is clerical work is quite sad. The best part of PnW isn't any of the mechanics of the game, imo, but the community surrounding it. Also this sort of thing has been around for almost literally a decade and PnW still exists

    Just now, Sketchy said:

    Can I get a script that automatically sends messages to various manwha discord servers inviting them to play the game and join my tax farm and send me their referral bonuses in exchange for free manwha?

     

    The last version had that feature but it was cut in Audax, unfortunately

  3. 51 minutes ago, iAlrea said:

    I'm pretty sure a starving african child could write a better program then this. I can't anymore man.

    Thank you for your input, traveler. You had the same note last time, I think. I believe the issue when it came to resource usage when fueling power was that it actually works as steps or stairs, so one can't just say, oil_power * 1.2, and there's also the matter of keeping track of what's actually providing the power and how much infra to be powered is left. If you have an alternative, it'd be nice to see your refactor

    How about this?
     

    cityInfraCounter = city['infrastructure']
    while cityInfraCounter > 0:
        if city['wind_power'] > 0:
            cityInfraCounter -= 250
            city['wind_power'] -= 1
        elif city['nuclear_power'] > 0:
            cityInfraCounter -= 1000
            nation_net_rev['uranium'] -= 1.2
            city['nuclear_power'] -= 1
            if cityInfraCounter > 0:
                cityInfraCounter -= 1000
                nation_net_rev['uranium'] -= 1.2
                city['nuclear_power'] -= 1
        elif city['oil_power'] > 0:
            decrease = min(cityInfraCounter, 500)
            cityInfraCounter -= decrease
            nation_net_rev['oil'] -= (decrease / 100) * 1.2
            city['oil_power'] -= 1
        elif city['coal_power'] > 0:
            decrease = min(cityInfraCounter, 500)
            cityInfraCounter -= decrease
            nation_net_rev['coal'] -= (decrease / 100) * 1.2
            city['coal_power'] -= 1
        elif city['nuclear_power'] + city['oil_power'] + city['coal_power'] + city['wind_power'] <= 0:
            cityInfraCounter = 0

     

  4. TEST_HD2.png
    You thought you could dispel the CURSE? You can't escape CHAOS! The DARK GODS are inescapable! Your precious order is only fragile momentary reprieve! Chaos is eternal and always licking at your heels




    Terminus Est Presents
    Auctus Audax

    Okay Cool, but What is Auctus Audax?
    Auctus Audax, Auctus for short, is a python script that, given an alliance, tax bracket, and various parameters from the user, can calculate the exact amount of resource usage for each involved nation and then semi-automatically send raws to them for the asked for number of days worth of production. It can send a lump sum or top off nations, as in, a lump sum of say five days of resources or see how much resources a nation has on hand and then send it however much it needs to have five days worth of resources. It can also be set to send what I believe to be a fairly configurable warchest, it does a fairly basic but solid automated audit, and a few other miscellaneous features sprinkled in

    Why Are You Doing This?
    It is my belief that the entry into forming a well functioning 100/100 alliance is either scripting knowledge or a mass amount of man power, and I hope this lowers the barrier of entry, gives people more options, and therefore makes for a more enjoyable and diverse ecosystem of gameplay. I also hope to equalize the alliance environment as many of the top alliances utilize similar scripts already, and I want to empower the people so to say. I hope this gets some people interested in the area of (admittedly poopy) scripting and also saves time for the community if they've been doing raw and WC distribution manually. No one should have to suffer through that, and instead the machines should take the wheel. Also, there's perhaps a faint hope that the mass proliferation of this poorly optimized script spurring a certain guy named Alex into adding vanilla functionality for previously mentioned distributions

    What's the Difference Between the First Auctus and this Audax?
    Audax tries to be as compliant as possible. There's no more scraping as it relies heavily on the v3 API, and each bank send requires confirmation from the user

    Where Can I Get it and How Does it Work?
    Instructions for both of these questions is on the (still) hastily constructed github pagehttps://github.com/LatorChaos/AuctusAudax
    This was done like two months ago, but I was too lazy to release until now
    Please note that I will offer almost no support
    Oh, and TEST announces it's joining 'O Fortuna as an unofficial and invisible member

    Good luck and thank you

    • Thanks 1
    • Upvote 3
    • Downvote 6
  5. 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
×
×
  • Create New...

Important Information

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