thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: chatlogger plugin  (Read 83071 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #105 on: August 30, 2010, 10:14:22 PM »
db_table is optional
hour and minutes are when you want to delete old chat entries, not when to log.
« Last Edit: August 31, 2010, 08:45:23 AM by Courgette »

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #106 on: August 31, 2010, 07:35:54 AM »
db_table is optional
hour and minutes are when you want to delete all chat entries, not when to log.
then delete logs if is <set name="max_age">x</set> different by 0?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #107 on: August 31, 2010, 08:45:36 AM »
that's it

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #108 on: September 01, 2010, 06:58:40 PM »
really i am unable!

definitely i'm boring you...
... plugin work; my mistake's i created a new database of name "chatlog" or "chatlog table";
instead i had to exec .sql on b3 database created yet.
 
could it be? XD

then i don't understand. option purge can be 0 (off) or 1 (on) and at time destroy message;
                                       while option max_age?

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #109 on: September 01, 2010, 07:26:23 PM »
after max_age time messages got deleted from database.
This deletion happens daily at the time you choose

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #110 on: September 01, 2010, 07:33:24 PM »
after max_age time messages got deleted from database.
This deletion happens daily at the time you choose
perfect, so purge is correctly for 2 values (0,1).
thank; now set it!

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #111 on: September 25, 2010, 03:01:50 PM »
how can i see message time in database?
what is message type?
thank you! :-)

Offline foxinabox

  • Sr. Member
  • ****
  • Posts: 157
    • Clan ATRS (Atreides)
Re: chatlogger plugin v0.2.0
« Reply #112 on: October 26, 2010, 07:57:25 PM »
Sadly, message time is in seconds only, i think. There is no actual time of say, 1:23 pm CST, it will be like 14809565647 or something crazy like that. If you look at your client table and click a player, there will be two areas displaying time, one is when they joined the database, and the other is timeedit or something, which is the last time a player visited the gameserver.

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #113 on: October 26, 2010, 08:03:28 PM »
Sadly, message time is in seconds only, i think. There is no actual time of say, 1:23 pm CST, it will be like 14809565647 or something crazy like that. If you look at your client table and click a player, there will be two areas displaying time, one is when they joined the database, and the other is timeedit or something, which is the last time a player visited the gameserver.

thank you so much, so can't i understand exactly what does it mean?
np :-)

Offline foxinabox

  • Sr. Member
  • ****
  • Posts: 157
    • Clan ATRS (Atreides)
Re: chatlogger plugin v0.2.0
« Reply #114 on: October 26, 2010, 11:33:24 PM »
thank you so much, so can't i understand exactly what does it mean?
np :-)

I don't bother trying to decipher the time in the database. If i need to see when a player was last on the server, I use the in-game commands, because there you will get actual time.

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #115 on: October 27, 2010, 02:06:30 PM »
I don't bother trying to decipher the time in the database. If i need to see when a player was last on the server, I use the in-game commands, because there you will get actual time.
yeah for this you're right! but do you can decipher the time which he sent the message?
it isn't a problem, but i wanted to know if there is a way.
thank you!

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: chatlogger plugin v0.2.0
« Reply #116 on: October 27, 2010, 02:24:50 PM »
the number you see in database is the date and time as a Unix timestamp

Offline learco

  • Full Member
  • ***
  • Posts: 124
Re: chatlogger plugin v0.2.0
« Reply #117 on: October 27, 2010, 04:44:43 PM »
the number you see in database is the date and time as a Unix timestamp

than you, Courgette! i don't know this thing.
it is a good work to calculate every time. XD

Offline Miramar

  • Sr. Member
  • ****
  • Posts: 200
Re: chatlogger plugin v0.2.0
« Reply #118 on: January 02, 2011, 08:01:06 PM »
is there any progress now on separating the logfiles for each server in echelon?

Offline foxinabox

  • Sr. Member
  • ****
  • Posts: 157
    • Clan ATRS (Atreides)
Re: chatlogger plugin v0.2.0
« Reply #119 on: January 02, 2011, 09:04:04 PM »
I am waiting for a solution also, but mainly I cant even get my logfiles to connect to echelon, and they have the correct db_table and name.

 


Rate this page +1 at Google Search