Im using one of the most recent L2JFrozen revision FYI.
I've been recently having the issue of many trash talking players on a server. As i assume everyone gets at some point. And i'm just trying to cut it directly by simple banning everyone that is being disrespectul.
The thing is, my chat.log file is not recording.
I've set up on developer.propertier file the part where was LogChat = False to true, and even made an attempt to change directly on the source file.
I went to say2.java file (which is the file on this rev that controls all say actions) and found the following line:
if(Config.LOG_CHAT){
final LogRecord record =newLogRecord(Level.INFO, _text);
record.setLoggerName("chat");if(_type == TELL){
record.setParameters(newObject[]{
CHAT_NAMES[_type],"["+ activeChar.getName()+" to "+ _target +"]"});}else{
record.setParameters(newObject[]{
CHAT_NAMES[_type],"["+ activeChar.getName()+"]"});}
_logChat.log(record);}
Since it's not recognizing the Config.LOG_CHAT, i tried simply to replace it to a simple verification like:
if (activeChar.getLevel() > 0 )
then keep everything else the same.
I even changed the permissions on the log folder for users to have full access to create files, but that wasnt it.
And what is even weirder to me, is that GMAudit, karmadrop and some other files are created without any problems.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
dextroy
Hello guys.
Im using one of the most recent L2JFrozen revision FYI.
I've been recently having the issue of many trash talking players on a server. As i assume everyone gets at some point. And i'm just trying to cut it directly by simple banning everyone that is being disrespectul.
The thing is, my chat.log file is not recording.
I've set up on developer.propertier file the part where was LogChat = False to true, and even made an attempt to change directly on the source file.
I went to say2.java file (which is the file on this rev that controls all say actions) and found the following line:
Since it's not recognizing the Config.LOG_CHAT, i tried simply to replace it to a simple verification like:
if (activeChar.getLevel() > 0 )
then keep everything else the same.
I even changed the permissions on the log folder for users to have full access to create files, but that wasnt it.
And what is even weirder to me, is that GMAudit, karmadrop and some other files are created without any problems.
Anyone can help?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.