Gudsawn 93 Posted September 11, 2016 Operation Capture And Playback (BETA) What is it? OCAP lets you record and replay operations on an interactive (web-based) map. Reveal where the enemy were located. Discover how each group carried out their assaults. See who engaged who, when, and how. Use it simply for fun or as a training tool to see how well your group performs on ops. Features Interactive web-based playback. All you need is a browser. Captures positions of all units and vehicles throughout an operation. Captures events such as shots fired, kills, and hits. Event log displays events as they happened in realtime. Clicking on a unit lets you follow them. Server based capture - no mods required for clients. DownloadDownload via GitHub OCAP is not yet compatible with 64-bit servers. Please wait until a new version is released. ETA: 2018 Credits - 3 Commando Brigade for testing and moral-boosting. - Leaflet - an awesome JS interactive map library. - Maca134 for his tutorial on writing Arma extensions in C#. Changelog & Known Issues Known Issues - Web client was created using Chrome, other browsers (e.g. Firefox) are known to have some compatibility issues. - When using ACE with insta-death off, kill/hit events report victim as the killer. Spoiler Note about 64-bit version of Arma server: OCAP may crash the Arma server after an extended period of capture time. This is due to BI reducing the max size of arrays in the 64-bit update and therefore limiting the number of frames that can be captured in a single session. Once I return from my studies (sometime soon after May/June), I plan on fixing this issue as well as others that have been reported on GitHub. Changelog v0.5.0.1-beta Tiny update to web files. Changes: - 'servers' table (in local database) is cleaned on reinstall. - Hints now shown when common errors encountered (e.g. map not installed). v0.5-beta First public release 32 Share this post Link to post Share on other sites
veles-zv 176 Posted September 11, 2016 wow :O dogu say much good... these are the type of mods which enhance Arma and we always need more. thank you for making this. Share this post Link to post Share on other sites
andy1 71 Posted September 11, 2016 Yay well done on the release Goodson, beautiful mod that has added another side to 3CBs gameplay analysis 1 Share this post Link to post Share on other sites
kremator 1065 Posted September 11, 2016 This would be VERY useful for evaluating large scale AI mods - let them run and then see how they flanked/assaulted/died etc ! Share this post Link to post Share on other sites
gavc 28 Posted September 11, 2016 Great tool - really good for seeing exactly when you screwed up :) Gav 1 Share this post Link to post Share on other sites
maca134 22 Posted September 11, 2016 Nice work, extension look good too ;) Share this post Link to post Share on other sites
ruPal 143 Posted September 11, 2016 Really good thing! Is it server intensive? Any FPS drop? What maps are supported? Share this post Link to post Share on other sites
Gudsawn 93 Posted September 11, 2016 Really good thing! Is it server intensive? Any FPS drop? What maps are supported? Thanks! The server captures a 'frame' every 1 second (by default). Each capture takes ~24ms (<1 fps drop server-side), depending on unit/vehicle count. However, more intensive testing is required, so please let me know what impact on performance OCAP has for you. If you check your server's RPT logs while OCAP is running, it will report the capture time for every 10 frames. Regarding what maps are supported, please see here. New maps can be added upon request. As time goes on, more and more maps will be added (as my group likes to play on a lot of different maps). 3 Share this post Link to post Share on other sites
xxgetbuck123 945 Posted September 12, 2016 Fuck yes! Share this post Link to post Share on other sites
1212PDMCDMPPM 200 Posted September 12, 2016 Great addon !!! :) Is the file export compatible on Windows ? I haven't been able to make OCAP write anything on my disk. Thx ! Share this post Link to post Share on other sites
Gudsawn 93 Posted September 12, 2016 Yes the export is compatible with Windows. In fact, the live web demo runs on a Windows box (our game server). When exporting, OCAP creates a log file in Arma's root folder for you (ocap_log.txt). Open this file and check that it is correctly exporting/transferring the data. You should see something like this: 11/09/2016 12:58 | Capture file not found, creating at Temp\operation_green_hat_624.json... 11/09/2016 12:58 | Done. 11/09/2016 12:58 | Appended capture data to capture file. 11/09/2016 12:58 | All tasks complete. . . . 11/09/2016 12:59 | Moving operation_green_hat_624.json to c:/apache/htdocs/data/operation_green_hat_624.json... 11/09/2016 12:59 | Done Make sure your Arma server has write access to the /data in the OCAP web root (may need to run Arma as Administrator). PM me if you have any more issues ;) Share this post Link to post Share on other sites
Guest Posted September 12, 2016 Release frontpaged on the Armaholic homepage. OCAP - Operation Capture And Playback v0.5 beta Share this post Link to post Share on other sites
eotechh 397 Posted September 12, 2016 Such a little bundle of win. So useful. Good work Goodson! 2 Share this post Link to post Share on other sites
Rall3n 30 Posted September 12, 2016 Looks very nice. @mistergoodson: For that ACE bug, where unit is the killer itself, I would use this method: https://github.com/acemod/ACE3/issues/3790#issuecomment-219654741 1 Share this post Link to post Share on other sites
superogira 12 Posted September 12, 2016 Oh this's cool!!! I will try it. Thank you. Share this post Link to post Share on other sites
Crielaard 435 Posted September 12, 2016 Excellent job! Very usefull! Share this post Link to post Share on other sites
Moon_chilD 200 Posted September 12, 2016 My Unit and I will most likely give it a try on the Weekend. Looking forward to it. The idea sounds just awesome! Looking forward to so more terrains. ^^ Share this post Link to post Share on other sites
phoenix_za 23 Posted September 12, 2016 Thank you for releasing this! We will definitely make use of this for our community! Share this post Link to post Share on other sites
twakkie 57 Posted September 12, 2016 This is really cool, will definitely test it. Is it possible to extend the time for every capture? Share this post Link to post Share on other sites
Bamse 223 Posted September 12, 2016 Tried it, LOVED it. Holy hell this is pretty goddamn near perfect! 1 Share this post Link to post Share on other sites
Gudsawn 93 Posted September 12, 2016 Thanks for the comments guys. I hope you enjoy using it as much as we do ;) @Rall3n: Thanks, this is very useful!Edit: This is really cool, will definitely test it. Is it possible to extend the time for every capture? If you're talking about saving a capture, continue capturing some more, and then saving the capture again - yes this is possible. When you call ocap_fnc_exportData this doesn't actually stop the capturing, but just exports it. So if you called the function again some time later, it would export all previous data plus all new data (as one file). I hope I've understood your question correctly. Share this post Link to post Share on other sites
serjames 357 Posted September 12, 2016 Jamie, have we set it up so other people can create maps ? Just conscious that some units will use maps we never touch. I.e. Is there a way people can prepare their own tileset and email/transfer it to us for inclusion ? Share this post Link to post Share on other sites
Gudsawn 93 Posted September 12, 2016 @Serjames: Yep, I have created a guide on how to create your own tilesets. Arma Tile Creation Guide Share this post Link to post Share on other sites
XianGrim 73 Posted September 12, 2016 I'm getting lost now and feeling silly since it seems like it should be pretty straight forward. Our group runs our server on a dedicated box. I uploaded the mod, moved the DLL file over, changed the userconfig. I'm seeing the JSON file in our TEMP folder. What do we do with file? Obviously I'm missing a step somewhere Share this post Link to post Share on other sites