Log Administrator messages in some way
Log Administrator messages in some way
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?
Re: Log Administrator messages in some way
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.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Log Administrator messages in some way
Do you have "Save player chat" enabled in the Log Settings group?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Log Administrator messages in some way
Also, I assume you are referring to the "RingGamesMessage" and "TournamentsMessage" commands in the API, correct?
Re: Log Administrator messages in some way
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 wrote:Also, I assume you are referring to the "RingGamesMessage" and "TournamentsMessage" commands in the API, correct?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Log Administrator messages in some way
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: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.
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"
Re: Log Administrator messages in some way
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]
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]
Re: Log Administrator messages in some way
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."
>>>
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."
>>>
Re: Log Administrator messages in some way
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.
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.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Log Administrator messages in some way
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.Raventhon wrote:It appears to work for Ring Games but not Tournaments.