Is it possible to write hand history to network folder?

For discussion of the Poker Mavens server module and other administration topics
Post Reply
naked_eskimo
Posts: 123
Joined: Wed Jan 07, 2015 3:51 pm

Is it possible to write hand history to network folder?

Post by naked_eskimo »

I would like to be able to write hand history in real time to a network folder to provide real time backup of the hand history. If my server ever crashed mid game, it would be tough probably to figure out how many chips each player had in the event the server could not be recovered. The hand history would be helpful for that. I have a NAS and would love to be able to write the hand history there in real time.

If not, I can setup a real time folder sync with something like FreefileSync.
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: Is it possible to write hand history to network folder?

Post by Kent Briggs »

You would have to map a drive letter to that network path and point the entire data folder there:

viewtopic.php?f=8&t=3019

A better idea would require a little bit of coding on your end. Use the Callback Event system and trigger the "Hand" event which will call your code each time a hand completes. Fetch that hand with the LogsHandHistory command in the API and save to wherever you want it.
Post Reply