Log Administrator messages in some way

Add your suggestions for improving Poker Mavens
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Log Administrator messages in some way

Post by Raventhon »

Currently the Announce To Table feature outputs chat to the table as Administrator: Message but that message is not saved in hand histories or table chat logs in any way. That should probably not be happening, right?
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Post by Raventhon »

More specifically, we're post-processing the data and have inserted important accounting data in these admin messages and they're not being logged anywhere as far as we can tell.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Post by Kent Briggs »

Do you have "Save player chat" enabled in the Log Settings group?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Post by Kent Briggs »

Also, I assume you are referring to the "RingGamesMessage" and "TournamentsMessage" commands in the API, correct?
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Post by Raventhon »

Kent Briggs wrote:Also, I assume you are referring to the "RingGamesMessage" and "TournamentsMessage" commands in the API, correct?
Yes, we save player chat and can search logs for player chat with no issues. And yes, I'm talking about RingGamesMessage and TournamentsMessage.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Post by Kent Briggs »

Raventhon wrote:Yes, we save player chat and can search logs for player chat with no issues. And yes, I'm talking about RingGamesMessage and TournamentsMessage.
It's working for me. I've got "Save player chat" enabled in the Log Settings and I just ran this API command direct from my browser URL box:

http://127.0.0.1:8087/api?Password=x&Co ... st_Message

and when I go look in the server-side HandHistory file for HH2014-07-27 R1.text, I see the line:

Administrator: "Test_Message"
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Post by Raventhon »

Screenshot of administrator message: http://i.gyazo.com/6fc4334255b31e4b1756cb41959ae2b9.png

Log of hand history:

Hand #1142305-1 - 2014-07-28 00:19:52
Game: NL Hold'em (1500+0) - Blinds 10/20
Site: PokerShibes.com
Table: Admin SNG Test - Table 1
Seat 8: suchflush (1500) - sitting out
Seat 10: Admin (1500)
suchflush has the dealer button
suchflush posts small blind 10
Admin posts big blind 20
** Hole Cards ** [2 players]
suchflush folds
suchflush: "TEST MESSAGE"
Admin: "Test message."
Admin refunded 10
Admin wins Pot (20)
Admin shows [As 3s]
** Deck ** [As 6s 3s Jh]
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Post by Raventhon »

Screenshot of administrator message: http://i.gyazo.com/6fc4334255b31e4b1756cb41959ae2b9.png

Log of hand history:

Hand #1142305-1 - 2014-07-28 00:19:52
Game: NL Hold'em (1500+0) - Blinds 10/20
Site: PokerShibes.com
Table: Admin SNG Test - Table 1
Seat 8: suchflush (1500) - sitting out
Seat 10: Admin (1500)
suchflush has the dealer button
suchflush posts small blind 10
Admin posts big blind 20
** Hole Cards ** [2 players]
suchflush folds
suchflush: "TEST MESSAGE"
Admin: "Test message."
Admin refunded 10
Admin wins Pot (20)
Admin shows [As 3s]
** Deck ** [As 6s 3s Jh]

API information:

>>> mavens.system_get('HistoryChat')
{u'Result': u'Ok', u'Value': u'Yes'}
>>> mavens.tournaments_message('Admin SNG Test', 'TEST MESSAGE')
{u'Result': u'Ok'}
>>> data = mavens.logs_hand_history_data('Admin SNG Test - Table 1', '2014-07-28')
>>> print '\n'.join(l for l in data if 'TEST MESSAGE' in l.upper())
suchflush: "TEST MESSAGE"
Admin: "Test message."
>>>
Raventhon
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Post by Raventhon »

RingGameMessage test:

http://i.gyazo.com/5348a11606d6e57730140e8da21a254f.png

Admin: "Boop boop."
Administrator: "A computerized test message appears!"
Admin: "Huzzah."


It appears to work for Ring Games but not Tournaments.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Post by Kent Briggs »

Raventhon wrote:It appears to work for Ring Games but not Tournaments.
Yup, I should have tested that too. It appears I have the "save" flag turned off by mistake in the tournament call. I will fix that in the next update. Thanks.
Post Reply