Log Administrator messages in some way

Add your suggestions for improving Poker Mavens

Log Administrator messages in some way

Postby Raventhon » Sun Jul 27, 2014 4:55 am

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

Postby Raventhon » Sun Jul 27, 2014 5:01 am

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.
Raventhon
 
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Postby Kent Briggs » Sun Jul 27, 2014 9:16 am

Do you have "Save player chat" enabled in the Log Settings group?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Postby Kent Briggs » Sun Jul 27, 2014 9:19 am

Also, I assume you are referring to the "RingGamesMessage" and "TournamentsMessage" commands in the API, correct?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Postby Raventhon » Sun Jul 27, 2014 6:55 pm

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.
Raventhon
 
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Postby Kent Briggs » Sun Jul 27, 2014 8:34 pm

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&Command=RingGamesMessage&Name=R1&Message=Test_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"
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Log Administrator messages in some way

Postby Raventhon » Mon Jul 28, 2014 12:25 am

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

Postby Raventhon » Mon Jul 28, 2014 12:27 am

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

Postby Raventhon » Mon Jul 28, 2014 12:32 am

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.
Raventhon
 
Posts: 166
Joined: Thu Mar 20, 2014 3:37 pm

Re: Log Administrator messages in some way

Postby Kent Briggs » Mon Jul 28, 2014 10:38 am

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Next

Return to Wish List

Who is online

Users browsing this forum: No registered users and 1 guest

cron