Jump to content

Recommended Posts

Posted (edited)

Maybe will useful for any L2OFF/L2J developers or admins. Thanks @eressea for info.

 

Line format:

Quote

[TIMESTAMP], [CHAT_TYPE],[SENDER_OBJECT_ID],[RECIEVER_OBJECT_ID],[SENDER_LOC_X],[SENDER_LOC_Y],[SENDER_LOC_Z],[MESSAGE_TEXT],[SENDER_NAME],[RECIEVER_NAME]

 

where,

  1. [TIMESTAMP] - date time in format - 11/18/2018 14:58:19.061. Java format - "MM/dd/yyyy HH:mm:ss.SSS";
  2. [CHAT_TYPE] - integer chat type (starts with one space);
  3. [SENDER_OBJECT_ID] - object ID of sender;
  4. [RECIEVER_OBJECT_ID] - object ID of reciever if it's PM message. Otherwise always 0;
  5. [SENDER_LOC_X] - sender X coordinate;
  6. [SENDER_LOC_Y] - sender Y coordinate;
  7. [SENDER_LOC_Z] - sender Z coordinate;
  8. [MESSAGE_TEXT] - message text with replaced all "," (comma) to " " (space) symbols;
  9. [SENDER_NAME] - the sender real name (case sensetive);
  10. [RECIEVER_NAME] - the reciever real name (case sensetive) and optional. For non PM chats this param "" (NULL). Example: if you wtire the PM message like ["rootware test message.] then will used in log file the real name Rootware.

 

Log example:

Quote

11/18/2018 15:07:17.386, 0,3,0,-100205,241393,-3624,Test message  with symbols. A ab ;',Rootware,
11/18/2018 15:10:04.527, 0,3,0,-100205,241393,-3624,symbols `~!@#$%^&*()-_=+;:'"< .>/?\|,Rootware,
11/18/2018 15:48:33.089, 2,4,20,164261,-112520,-2608,test,Nosferatu,Azure
11/18/2018 15:49:25.761, 2,20,4,-88005,249997,-3592,nosferatu answwer,Azure,Nosferatu
11/18/2018 15:50:08.636, 2,20,4,-88005,249997,-3592,nosferatu test message,Azure,Nosferatu
11/18/2018 15:50:20.636, 2,20,4,-88005,249997,-3592,test message,Azure,Nosferatu

 

Edited by Rootware
  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..