Jump to content
  • 0

Split atcommandlog MySQL Table


Relzz

Question


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  355
  • Reputation:   34
  • Joined:  02/09/12
  • Last Seen:  

There is a way... to split the Normal Users and GM Players atcommmandlog MySQL database? this is because finding what a GM did in a day takes to much.. i mean i know how to use Querys but.. i think would be better if these db were splited

Baad english :( ..

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

You could only log GM @commands and not player @commands.

trunk/conf/groups.conf

<log_commands>
Boolean value. If true then all commands used by the group will be logged to 
atcommandlog. If setting is omitted in a group definition, false is assumed.
Requires 'log_commands' to be enabled in 'conf/log_athena.conf'.

Set log_commands: false for groups which you don't want @commands to be logged.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  355
  • Reputation:   34
  • Joined:  02/09/12
  • Last Seen:  

Okay, thanks!

where i can find all the permisions(?)

i fount it:

see: doc/permissions.txt

thanks xD

Edited by M45T3R
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  547
  • Reputation:   270
  • Joined:  11/08/11
  • Last Seen:  

SELECT
atcommandlog.atcommand_date,
atcommandlog.atcommand_id,
atcommandlog.account_id,
atcommandlog.char_id,
atcommandlog.char_name,
atcommandlog.command,
atcommandlog.map
FROM atcommandlog
LEFT JOIN login ON( atcommandlog.account_id = login.account_id )
WHERE login.group_id > '<insert group id here>';

Should solve your problem. ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...