Jump to content

Chat Logger Format


Recommended Posts

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
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


  • Posts

    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
    • 用于解密、加密和编辑 .u 文件的工具。
    • It's always awesome when you find someone who not only delivers great quality but also does it way ahead of schedule. Makes you feel like you hit the jackpot, right? I'm new around here, just stumbled upon this forum, and seeing posts like yours really gives me hope that there are some real pros hanging out in this community.
    • Dear friends! We have good news to announce that the server that will open in June 1 will be the Main server and every 4 months we will make another season server and integrate ( merge ) it into the main that will always be open..  
  • Topics

×
×
  • Create New...