{"id":17997488,"url":"https://github.com/danielhe4rt/tribalwars-bot","last_synced_at":"2025-03-26T04:31:20.135Z","repository":{"id":106425284,"uuid":"196071147","full_name":"danielhe4rt/tribalwars-bot","owner":"danielhe4rt","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-23T00:12:02.000Z","size":49,"stargazers_count":55,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T02:09:32.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/danielhe4rt.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":"2019-07-09T19:29:49.000Z","updated_at":"2024-08-29T07:06:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"a265fb30-e085-4f46-8016-c9cb21938f3c","html_url":"https://github.com/danielhe4rt/tribalwars-bot","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/danielhe4rt%2Ftribalwars-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Ftribalwars-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Ftribalwars-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Ftribalwars-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielhe4rt","download_url":"https://codeload.github.com/danielhe4rt/tribalwars-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589261,"owners_count":20640253,"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-29T21:18:53.177Z","updated_at":"2025-03-26T04:31:20.123Z","avatar_url":"https://github.com/danielhe4rt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003ch1 align=\"center\"\u003e\n  Tribal Wars PHP Bot\n\u003c/h1\u003e\n\n\u003ch3 align=\"center\"\u003e\n    A bot for the TribalWars game made with Lumen Framework.\n\u003c/h3\u003e \n\n## :exclamation: The concept of everything\n\nI was thinking about going back to playing Tribal Wars after a few years without playing. But in those years that have passed, I learned to program. And if there's something I like to do, it's BOTS!\u003cbr\u003e\nThe idea is to have the manual mode (where the player can execute all the actions via console) and the automatic mode (where a list of commands will be created to be executed every hour to build, recruit, farm and etc)\n\n## :computer: Technologies\n\nI chose to use Lumen because I work with the framework on a daily basis, so it makes a lot easier. Here is the most important about the code: \n\n- Artisan Console\u003cbr\u003e\nUsed to make the interface and display all the game data on the console. Basically the I/O of the application.\n- Guzzle\u003cbr\u003e\nAll the requests to the TribalWars API/Website are made with GuzzleHTTP, because is the most simple and organized PHP HTTP client which i know until now.\n\nOk, now let's install and try it.\n\n## :rocket: 5 minutes quick start\n\n:bulb: After your project is cloned, you must have installed the composer on your machine to download all dependencies.\nEntering the command below will begin to download the dependencies:\n\n```\ncomposer install\n```\n\u003cbr\u003e\nWith everything set up, you can run the game using the command below (Remember to use this command on the project folder):\n\n```\nphp artisan game:start\n```\n\n\u003cp\u003eRunning the command, you will be asked for your game credencials:\u003c/p\u003e\n\n\u003cimg src=\"https://i.imgur.com/mU6r1Ll.png\"\u003e\u003cbr\u003e\n\n\n\u003cp\u003eNow you need to choose which \"World\" you want to connect:\u003c/p\u003e\n\n\u003cimg src=\"https://i.imgur.com/heYYMyc.png\"\u003e\u003cbr\u003e\n\n\u003cp\u003ePS: Worlds with \"JOIN\" means you already have an village created.\u003c/p\u003e\n\n\u003cp\u003eAfter the world is selected, you will see your entire village information inside the console.\u003c/p\u003e\n\n\n\u003cimg src=\"https://i.imgur.com/9TNgSsk.png\"\u003e\u003cbr\u003e\n\n\u003cp\u003eThis bot will only work on the brazilian server for now because there is a lot of stuff to do before I release something useful for the global players.\u003c/p\u003e\n\n\n\n## :mailbox_with_mail: License \n\nThis software was created for study purposes only. Feel free to try it out.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhe4rt%2Ftribalwars-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielhe4rt%2Ftribalwars-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhe4rt%2Ftribalwars-bot/lists"}