Register for your free account! | Forgot your password?

You last visited: Today at 16:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Keep chatlogs ?

Discussion on Keep chatlogs ? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
Keep chatlogs ?

Hello elitepvper's me again,

Is there a way to keep chatlogs of every single player becuase I know a few 5065 server did that to moniter there GM's and players ? any help ?
MonstersAbroad is offline  
Old 05/09/2010, 20:16   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by MonstersAbroad View Post
Hello elitepvper's me again,

Is there a way to keep chatlogs of every single player becuase I know a few 5065 server did that to moniter there GM's and players ? any help ?
Yes it is. Pwnquer source has something like this implented. However is not hard at all.
Just tell me what source you use and I'll try to give a hand.
-impulse- is offline  
Old 05/09/2010, 20:32   #3
 
elite*gold: 0
Join Date: May 2006
Posts: 297
Received Thanks: 58
5165
pintser is offline  
Old 05/09/2010, 22:03   #4
 
LetterX's Avatar
 
elite*gold: 20
Join Date: May 2007
Posts: 1,125
Received Thanks: 332
All you'd need to do is make like a void in the database

like

Code:
 public static void ChatLogs(string From, string To, string Message)
{
  Implement it in your Ini Database maybe in a folder like /ChatLogs/...
  IniFile Ini = new IniFile(DatabaseFolder + "\\ChatLogs\\"+From+"\\"+ Include like the Date...+".ini");
  Ini.Write( blah, From, "blah");
  Ini.Write( blah, To, "Blah");
  Ini.Write(  blah, Message, "blah");
  
}
and then, in PacketProcessor or whatever it's called, for the Message Packet, you add in the ChatLogs void, like "Database.ChatLogs(From, To, Msg);" or if you want only GMs/PMs to be recorded, you'd add in an if statement, like
Code:
if (PlayerFlag >= 2)
{
Database.ChatLogs(From, To, Msg);
}
edit: This isn't source-specific...just to show an example of how simple this is to implement/create.
LetterX is offline  
Reply


Similar Threads Similar Threads
Decrypting chatlogs
08/26/2007 - Conquer Online 2 - 3 Replies
Hi all, I've looked around the forum and have been unable to find any topics related to my question so here it is. Is it possible to decrypt chatlog files / how can this be done and would anyone be willing to make a simple tool to do so or tell me the way they are encrypted / decrypted? The reason I would like them decrypted is so that I can search them straight in windows (easier) and inside conquer it only shows part of the actual chatlogs which makes big chunks impossible to find. ...



All times are GMT +1. The time now is 16:35.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.