ILLUXNNN

Logging all chat to the database

4 posts in this topic

Hi there,

 

I was wondering if there was a way to log all the chat(direct,side,group, etc) to the database?

Right now its logging it into the serverconsole, but making MYSQL to read trough 120k lines for each restart will stress it too much.


Thanks! :)

  • Like 1

Share this post


Link to post
Share on other sites

I am also looking for this functionality. Does anyone have a functional method of doing this?

 

Note: I am more specifically interested in side chat logging.

Edited by Omen
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

@ILLUXNNN After doing a lot of research, we couldn't find a way to send chat data from Exile (or Arma) directly to MySQL in game. We ended up using BEC and parsing the log files. Iterate each line, insert into the database and then remove the line.

  • Like 1

Share this post


Link to post
Share on other sites

This is possible, but you would need to write it yourself with Visual Studio .NET.  You could use the BattleNet C# library to write an app to monitor the RCON console for chat, parse it and then write it to a Mysql database.  @maca134 used this libaray to create MBRcon as a nice replacement for BEC.

https://github.com/maca134/MBCon

https://github.com/marceldev89/BattleNET

 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.