Jump to content

Recommended Posts

I have another feature request as well, that might be useful.

Maybe implement the recording of map markers too... Might make it easier for making proper AAR reports and analysis.

Share this post


Link to post
Share on other sites

Thank you for a really nice addon!

 

I don't have the webserver and game server on the same machine, so my setup is like this: OCAP writes the .json files to a local directory and every hour WinSCP is uploading the directory to /data folder on my webserver. I don't see any maps on the webserver, so I wondered if the webserver and game server has to been on the same machine for now?

01/11/2016 8:19 | Appended capture data to capture file.
01/11/2016 8:19 | All tasks complete.
01/11/2016 8:19 | Arguments supplied: {transferLocal;MCC%20Template_906.json;Tanoa;MCC Template;51;http://aar.sasclan.org/;C:/FTP/ocap/}
01/11/2016 8:19 | Parsing arguments...
01/11/2016 8:19 | Done.
01/11/2016 8:19 | Moving MCC%20Template_906.json to C:/FTP/ocap/data/MCC%20Template_906.json...
01/11/2016 8:19 | Done
01/11/2016 8:19 | Sending POST data to http://aar.sasclan.org/data/receive.php
01/11/2016 8:19 | <h1>Security incident detected</h1><p>Your request was blocked.</p>
01/11/2016 8:19 | All tasks complete.

Share this post


Link to post
Share on other sites

We have two different servers. One for webstuff and one gameserver, but I upload my stuff manually since we only run 2-4 games per week on our private server and it works like a charm.

Looks webserver config related to me since you get a custom reply saying the reply was blocked. Check if OCAP contains any of those strings, and if so check what triggers them.

Share this post


Link to post
Share on other sites

Thank you! It was my host's firewall blocking it. The POST data can now be sent without any problems and I can see the map on the list.

Unfortunately, when I try and load the map I get this error: "Error: "data/MCC%20Template_64.json" could not be found" but the file "MCC%20Template_64.json" is located under /data and I've set its file permissions to 755.

As I understand, you upload the files later, but the data to data.db is sent right away?

 

Edit: When I changed the mission name from MCC%20Template.Tanoa to MCC.Tanoa it worked.

  • Like 1

Share this post


Link to post
Share on other sites

Hey,

i'm trying to set it up the same as Bamse, we have one server for Game, ond one for web.

However, when I copy over the json file, the mission doesn't automatically show ofcourse. Now correct me if i'm wrong, but i believe the receive.php has to run in order to add the mission to the db file to show the mission in the list. Can this be down manually? or..??

 

Thnx for the help! :)

Share this post


Link to post
Share on other sites

Running [] call ocap_fnc_exportData; as per the first post triggers the poke of recieve.php and the database update. Nothing should be required to be done except uploading the json-file.

Running it manually might be possible but you'll need to composite your own sql statement with all the needed parameters ... and ... yeah. Getting all the intended mechanics to run properly should be your first choice really ;)

If this doesn't happen, check your OCAP logfile for possible reasons why this might fail.

  • Like 1

Share this post


Link to post
Share on other sites

Thnx for the tip... Missed a trailing '/' :)

now it's working like a charm!

  • Like 1

Share this post


Link to post
Share on other sites

My community is having problem with OCAP, (it do not record anything) here comes .rpt I hope someone can help us :>

 

We have server and website on other machines btw,

 

  Reveal hidden contents

 

And userconfig

 

  Reveal hidden contents

Share this post


Link to post
Share on other sites

Great job with this addon! It is by far the easiest to use AAR. Please add support for Linux though, as that's what we use.

  • Like 1

Share this post


Link to post
Share on other sites

Hi, is the external website export via FTP working ? Because I've tried it last night and it nothing was exported.

Share this post


Link to post
Share on other sites

no, you'll have to transfer the file manually.

the automatic transfer is still WiP

Share this post


Link to post
Share on other sites

Well, that didn't work for me either.. I have transfered my missionname.json file ater I exported it from server, but it still didn't show up in our web database when I uploaded that file. 

Share this post


Link to post
Share on other sites

Hi, I want to thank for a wonderful fashion. But faced with the problem that some of the characters in the above privacy Russian replaced. For example, "й" to "Р№".

Share this post


Link to post
Share on other sites
  On 12/12/2016 at 8:56 PM, Brebera said:

Well, that didn't work for me either.. I have transfered my missionname.json file ater I exported it from server, but it still didn't show up in our web database when I uploaded that file. 

You must register in userconfig site address that he recorded in the database information.

Share this post


Link to post
Share on other sites

I really must thank you guys. Our debriefing has increased in quality by outstanding numbers, thanks to OCAP! Keep going on, you do a great job for milsim communities!

Share this post


Link to post
Share on other sites

Great Mod!!!!

 

I have everything setup and running.

 

My only problem is that in some missions we use ACE and then we get the "kill/hit events report victim as the killer" issue.   Does anyone have a workaround (for a noobie sqf hacjer) that fixes this?

 

Thanks

Eric

Share this post


Link to post
Share on other sites

I just migrated to Windows Server from Linux solely to support this addon. It'll be a great addition to our community! I just hope it's still being developed seeing as mistergoodson hasn't been active in months... I'd love to see some more exciting features!

  • Like 1

Share this post


Link to post
Share on other sites
  On 12/23/2016 at 4:16 AM, eric963 said:

Great Mod!!!!

 

I have everything setup and running.

 

My only problem is that in some missions we use ACE and then we get the "kill/hit events report victim as the killer" issue.   Does anyone have a workaround (for a noobie sqf hacjer) that fixes this?

 

Thanks

Eric

Got it working more or less, but still not perfect. Had a look at ALiVE code and use some of that

 

my fn_eh_killed.sqf:

  Reveal hidden contents

 

be sure to back up the old one ;)

  • Like 1

Share this post


Link to post
Share on other sites

Goodson is studying at the moment... I'm sure he'll be back once he takes a break.

  • Like 1

Share this post


Link to post
Share on other sites

It's working on our server, but we got some issues. ocap_endCaptureOnNoPlayers only exports capture if players aborts. I don't know if that's intentional or not, but when we're ending the scenario in a scripted way (e.g. BIS_fnc_endMissionServer), or by admin command (e.g. #missions), it does not export anything.

 

Also, when the JSON file is writing after a scenario has ended, it stops if you load another scenario on the server and doesn't get exported to the web server. It takes quite a long time to write the whole file, so the risk of someone loading a new scenario and losing the whole capture is pretty large. Maybe the file should be written whilst the scenario is playing to minimize the required server idle time after it ended?

 

Thanks for a splendid AAR system nonetheless.

Share this post


Link to post
Share on other sites

sagentitled, we just issue the following command on the server, once all objectives have been met, but before the mission end.

 

[] spawn ocap_fnc_exportData;

 

Also for anyone using Ares/Achilles, we add this to the server script

 

["3CB", "OCAP: Export Data", { remoteExec ["ocap_fnc_exportData", 2]; "OCAP exporting" remoteExec ["hint", -2]; }] call Ares_fnc_RegisterCustomModule;

 

A Zeus can then start the export by simply dropping the export module on the map.

  • Like 1

Share this post


Link to post
Share on other sites
  On 1/4/2017 at 9:45 AM, lifetap said:

sagentitled, we just issue the following command on the server, once all objectives have been met, but before the mission end.

 

[] spawn ocap_fnc_exportData;

 

 

Yeah, that's the workaround we've had to do by using the admin console, but most aren't aware of this. We have so many scenarios it's impossible to edit all of them and insert that line of code, so I was hoping there would be a global setting for exporting.

Share this post


Link to post
Share on other sites

Web part works correctly when changing ocap_frameCaptureDelay, if you put a 5, while at proigrovanii reduced 5 times. Arma 3 also works to UTF-8, and the windows to UTF-16, thereby encoding does not always fit together, especially with the Cyrillic alphabet playback reduced 5 times. Arma 3 also works to UTF-8, and the windows to UTF-16, thereby encoding does not always fit together, especially with the Cyrillic alphabet.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×