Jump to content

[Chaos] Terminus Est Releases Chaos Onto The World: Revenge of Auctus


Artifex
 Share

Recommended Posts

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

Love you

Link to comment
Share on other sites

Hmmm...

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

Mash’āllah

Screenshot_20240324_192453_650x175.webp.371a50f212b24d8a1b47b600fff6903f.webp
Hammer Councillor of The Lost Mines
Diety Emeritus of The Immortals, Patres Conscripti (President Emeritus) of the Independent Republic of Orange Nations, Lieutenant Emeritus of Black Skies, Imperator Emeritus of the Valyrian Freehold, Imperator Emeritus of the Divine Phoenix, Prefect Emeritus of Carthago, Regent Emeritus of the New Polar Order, Coal Duke (Imperator Emeritus) of The Coal Mines

 

Link to comment
Share on other sites

 

20 minutes ago, Malleator said:

Welcome to PnW

Though that being said, if you have better alternatives, do share and feel free to submit merges on github. I mostly just hacked together the first Auctus and only replaced the stuff that needed to for compliance

Edited by Malleator

Love you

Link to comment
Share on other sites

6 minutes ago, Sorra Himguard said:

Wasn't this posted not too long ago?

An old version that was almost immediately locked was posted, yes. This is a new version that will hopefully persist as it is more compliant

Love you

Link to comment
Share on other sites

18 minutes ago, Denison said:

When does it stop being a game and begin being work. Jesus f^@#*&$ christ.

This will hopefully make the game feel less like work, but if you're referring to coding this, it's just a hobby and it's fun, so it's not work at all

Love you

Link to comment
Share on other sites

44 minutes ago, Malleator said:

You getting the first post on both threads is impressive

❤️

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

1 hour ago, Denison said:

When does it stop being a game and begin being work. Jesus f^@#*&$ christ.

Funny you say this, but both CTOwned and Locutus are well over hundreds of thousands of lines of code. I wonder how much dev time gets wasted implementing the same stuff that has already been implemented by other people, just in a different alliance.

  • Haha 2

HEADERS_CTO12.png

Inform Zigbir I have forgotten how to edit the signature field
Please remind me how to do it post haste!

Link to comment
Share on other sites

                        if cityInfraCounter <= 100:
                            cityInfraCounter -= 100
                            nation_net_rev['oil'] -= 1.2
                            oil_power -= 1
                        elif 100 < cityInfraCounter <= 200:
                            cityInfraCounter -= 200
                            nation_net_rev['oil'] -= 2.4
                            oil_power -= 1
                        elif 200 < cityInfraCounter <= 300:
                            cityInfraCounter -= 300
                            nation_net_rev['oil'] -= 3.6
                            oil_power -= 1
                        elif 300 < cityInfraCounter <= 400:
                            cityInfraCounter -= 400
                            nation_net_rev['oil'] -= 4.8
                            oil_power -= 1
                        elif cityInfraCounter > 400:
                            cityInfraCounter -= 500
                            nation_net_rev['oil'] -= 6.0
                            oil_power -= 1

 

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

  • Downvote 2

image1.png

Link to comment
Share on other sites

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

 

Edited by Malleator

Love you

Link to comment
Share on other sites

Why on earth does anyone think this is a good thing? Fully automated 100/100 not only alleviates gov work, it alleviates any user input outside of wars. It also exacerbates the unraidability of any alliance that utilizes it. The fact that such automation is allowed let alone in conjunction with offshores is quite possibly the third biggest existential threat to the game's existence. 

Hey Krampus, the signature edit is under account settings. Actually, here's the link.

https://forum.politicsandwar.com/index.php?/settings/signature/

Link to comment
Share on other sites

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

Edited by Malleator

Love you

Link to comment
Share on other sites

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.