{"id":13341962,"url":"https://github.com/Sorebit/archdrgn","last_synced_at":"2025-03-11T23:30:41.561Z","repository":{"id":92838313,"uuid":"135294163","full_name":"Sorebit/archdrgn","owner":"Sorebit","description":"archdragon.com bot and little wiki","archived":true,"fork":false,"pushed_at":"2019-06-19T13:48:35.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-19T12:59:58.575Z","etag":null,"topics":["bot","nodejs","wiki"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sorebit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-29T12:40:28.000Z","updated_at":"2023-01-28T10:56:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"f31af385-f949-4b2c-a33c-74e11af9f00c","html_url":"https://github.com/Sorebit/archdrgn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sorebit%2Farchdrgn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sorebit%2Farchdrgn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sorebit%2Farchdrgn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sorebit%2Farchdrgn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sorebit","download_url":"https://codeload.github.com/Sorebit/archdrgn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243129582,"owners_count":20241039,"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":["bot","nodejs","wiki"],"created_at":"2024-07-29T19:27:12.406Z","updated_at":"2025-03-11T23:30:41.556Z","avatar_url":"https://github.com/Sorebit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ArchDragon bot\n| [**Play the game**](http://archdragon.com/) | [**Wiki**](https://github.com/Sorebit/archdrgn/wiki) |\n| :-----------------------------------------: | :--------------------------------------------------: |\n\n### Currently supports\n- Login with data from config and session storage\n- Gold digging scheduling\n- Leveling up dragons in intervals\n- Sending dragons on quests based on specified items\n  + `config.user.items` is an array of items you want to look for (items can be found in knowledge/locations.json)\n  + Each dragon will look for different items\n  + `config.user.dragons[0]` will look for `config.user.items[0]`, `[1]` will look for `[1]` and so on\n  + Currently it is only done **once on launch**\n- Queuing actions to not overlap in time\n- Fishing\n- Fighting with Red Rat (drops raw meat and leather) on successful leveling\n- Output coloring for readability\n- Scheduling gold and leveling based on generated files (seems to work; not much tested)\n\n### Usage\n- `npm install`\n- `node index [username]`\n\n### Todo\n- Map exploration\n- Figure out how to check if dragon was sent on mission\n- Quest timing\n- Feeding\n- Note down items dropped by each monster\n- Stop caring about this game; start caring about exams\n\n## Notes\nThis bot and game serves me only as a learning framework and this code is getting out of control and dirty.\n\n**Config files and launching**\n- Config files are organized in `/config` directory\n- For a user config to be recognized it has to be named `username.json` and placed in `/config/users` directory\n- For scheduler to work properly there needs to be a `/config/schedule` directory\n- Fun fact: Turns out there exists a user named `username`, whose password is `password`\n\n**Fighting**\n- As of now I use fighting mostly to speed up gathering data\n- To enable fighting on successful level set `user.fight` to `true` in config\n\n**Net errors**\n- Currently when a request error occurs, queue breaks. I should fix that","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSorebit%2Farchdrgn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSorebit%2Farchdrgn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSorebit%2Farchdrgn/lists"}