{"id":21072344,"url":"https://github.com/g0mb4/arma-ws","last_synced_at":"2025-03-14T03:10:23.371Z","repository":{"id":148469522,"uuid":"78042305","full_name":"g0mb4/arma-ws","owner":"g0mb4","description":"This is a simple addon, that will launch a WebSocket server, recieves/sends data between an external WS app and the ARMA engine.","archived":false,"fork":false,"pushed_at":"2020-12-07T17:56:08.000Z","size":62488,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T22:12:29.843Z","etag":null,"topics":["arma3","boost","websocket"],"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/g0mb4.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":"2017-01-04T18:37:43.000Z","updated_at":"2023-07-21T18:45:55.000Z","dependencies_parsed_at":"2023-05-20T06:45:42.362Z","dependency_job_id":null,"html_url":"https://github.com/g0mb4/arma-ws","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/g0mb4%2Farma-ws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g0mb4%2Farma-ws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g0mb4%2Farma-ws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g0mb4%2Farma-ws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g0mb4","download_url":"https://codeload.github.com/g0mb4/arma-ws/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243515569,"owners_count":20303258,"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":["arma3","boost","websocket"],"created_at":"2024-11-19T18:56:12.157Z","updated_at":"2025-03-14T03:10:23.336Z","avatar_url":"https://github.com/g0mb4.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arma-ws v0.4\n\nThis is a simple addon, that will launch a WebSocket server, recieves/sends data between an external WS app and the ARMA engine.\n\nThis mod is basically a .DLL/.SO file.\n\n## Modes\n\n### COMMAND (different commands for clients):\n1.  client sends commands to the server\n2.  ARMA gets the commands from the server\n3.  ARMA executes the commands\n4.  ARMA sends the result back to the server\n5.  server sends the result to the client\n6.  goto 1.\n\n### BROADCAST (same commands for all clients):\n1.  server reads the commands at the start\n2.  ARMA gets the commands from the server\n3.  ARMA executes the commands\n4.  ARMA sends the result back to the server\n5.  server sends the result to all clients\n6.  goto 3.\n\n## Installation\n\n- copy \"example/@arma-ws\" directory to your ARMA root, then add \"@arma-ws\" to the \"-mod\" launch parameter\n- include (and/or modify) the content of the \"example/sqf/*mode*\" directory in your mission\n\ncheck if it's working:\n- launch the \"example/html/*mode*/arma-ws.html\" and you can see your player's coordinates at live\n\n## Configuration\n\nmodify the 'arma-ws.ini'\n\n## Motivation\n\nThis is my first external lib for ARMA and I think it's fun to connect ARMA to the outer world.\n\n## Compilation\n\n### get \"boost\" (http://www.boost.org/users/history/version_1_63_0.html)\n\nset BOOST_ROOT enviromental variable\ne.g.:\n```\nWindows:\nset BOOST_ROOT=n:\\prog\\C++\\prog\\boost_1_63_0\n\nLinux:\nexport BOOST_ROOT=/home/gmb/prog/c++/boost_1_63_0\n```\nset BOOST_LIBRARYDIR enviromental variable\ne.g.:\n```\nWindows:\nset BOOST_LIBRARYDIR=n:\\prog\\C++\\prog\\boost_1_63_0\\lib32-msvc-14.0\n\nLinux:\nexport BOOST_LIBRARYDIR=/home/gmb/prog/c++/boost_1_63_0/stage/lib\n```\n\n### get \"websocketpp\" (https://github.com/zaphoyd/websocketpp)\n\nset WEBSOCKETPP_ROOT enviromental variable\ne.g.:\n```\nWindows:\nset WEBSOCKETPP_ROOT=n:\\prog\\C++\\prog\\websocketpp\n\nLinux:\nexport WEBSOCKETPP_ROOT=/home/gmb/prog/c++/websocketpp\n```\n\nin linux (bash) type:\n```\nalias g++=\"g++ --std=c++0x\"\n```\n\n### Compile\n```\ncd build\ncmake ..\n\nWindows:\nopen the generated arma-ws.sln\n\nLinux:\nmake\n```\n\n## Known errors\n\n- crashes when the game is paused (use -noPause and Alt+Tab NOT Esc)\n\n## Thanks to\n\n- the developers of boost (http://www.boost.org)\n- zaphoyd for the source of websocketpp (https://github.com/zaphoyd/websocketpp)\n- AsYetUnited for the source of extDB2 (https://github.com/AsYetUntitled/extDB2)\n- killzonekid for the beautiful tutorials (http://killzonekid.com)\n\n## License\n\nUse, modify at your will, just please mention me at the end of your README :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg0mb4%2Farma-ws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg0mb4%2Farma-ws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg0mb4%2Farma-ws/lists"}