{"id":17223146,"url":"https://github.com/daboross/screeps-warreport","last_synced_at":"2025-03-25T16:23:05.169Z","repository":{"id":150518068,"uuid":"71755842","full_name":"daboross/screeps-warreport","owner":"daboross","description":"Standalone python app to monitor battles happening in the programming game Screeps.","archived":false,"fork":false,"pushed_at":"2017-03-15T04:42:54.000Z","size":159,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T14:27:05.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daboross.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-24T05:48:50.000Z","updated_at":"2021-12-08T04:07:52.000Z","dependencies_parsed_at":"2023-04-08T08:05:16.205Z","dependency_job_id":null,"html_url":"https://github.com/daboross/screeps-warreport","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daboross%2Fscreeps-warreport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daboross%2Fscreeps-warreport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daboross%2Fscreeps-warreport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daboross%2Fscreeps-warreport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daboross","download_url":"https://codeload.github.com/daboross/screeps-warreport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245496964,"owners_count":20624930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T04:07:29.772Z","updated_at":"2025-03-25T16:23:05.140Z","avatar_url":"https://github.com/daboross.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"screeps-warreport\n=================\n\nDEPRECATED in favor of https://github.com/LeagueOfAutomatedNations/LeagueBot.\n\n------\n\n\nScreeps WarReport is a small standalone server application which tracks all recent battles in\n[screeps.com](https://screeps.com), and includes various data from room history.\n\nWarReport is built as an independent python 3.4 app, using asyncio for threading and redis as a backend database cache.\nIt's a design goal of WarReport to store all needed data in redis, so that if the application is shut down for any small\nperiod of time, it will be able to immediately resume service and process any backlog which has accumulated when it's\nput back online.\n\nAny and all contributions welcome!\n\nTo run, simply install the required depeendencies with `pip install -r requirements.txt`, and then run \n`python -m warreport` in the project directory!\n\nTo stop, simply kill the process with Ctrl+C. This isn't too gracefully handled right now, but since no needed data is\nstored in process memory and race conditions are avoided as much as possible, killing the application should have little\nto no affect on the service.\n\nTo add custom configurations, copy `config.default.json` to `config.json` and edit.\n\nRelease logs, with pictures:\n\nv0.0.2:\n\nVersion 0.0.2 fixes mostly all of the bugs of the previous release, but in itself adds its own. With actually correct gathering\nof new battles after the first launch, it will report the same battle many, many times if it occurs over many ticks.\n\n\nIn this version, battles are reported if they involve creeps from at least two different players, and at least one military creep\nfrom a player who doesn't own the room (doesn't report haulers wondering into owned rooms). This differentiation is useful, but\ncould also be detrimental if small (\u003c9 WORK) dismantlers are at work, since it would be counted as a miner instead.\n\nThis version also gathers the battle length, and will report a length of 1 tick to 220 ticks (the maximum amount of history\nsearched over for battle info). While the battle-length reporting is technically correct, it counts dismantling as a 'hostile'\naction, and thus this version will always report maximum battle length when there's a creep continuously dismantling an\nalready-destroyed owned room base.\n\n![v0.0.2 output picture](docs/warreport-v0.0.2.png)\n\nv0.0.1:\n\nVersion 0.0.1 relatively works, although it only retrieves battles once (on startup) due to a bug, and it has large delays\nin reporting rooms if there's a room for which a 20-tick period being looked for doesn't have history.\n\nIn this version, battles are reported if they involve creeps from at least two different players, and each reported battle message\ncontains the number of each type of creep each player had in the room at one point from 20-79 ticks before the battle to 161-220\nticks after.\n\n![v0.0.1 output picture](docs/warreport-v0.0.1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaboross%2Fscreeps-warreport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaboross%2Fscreeps-warreport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaboross%2Fscreeps-warreport/lists"}