So guys i am trying to add a custom to the server and i am using java.util.log.Logger
now i want to make an exception :
Logger.error("Error: could not update database: ", e);
so the Logger.error is not defiened for this type of logger anybody knows what type should i use to make an exception? I have been googling and things like Logger.fatal don't work aswell
And one more question i had this LOGGER.info( "Error updating name for player " + player.getName() + ". Error: " + e); which did not work
and i changed it to this Logger.getLogger("Info").info( "Error updating name for player " + player.getName() + ". Error: " + e); is this ok and will it work i mean the error is gone but does it have the same function?
If you need pictures tell me and i will then edit the post with pictures i hope you can understand what i mean :P
I fixed same problem a while ago... look for an item which does not cause the character to stop walking/running when used and check its skill xml attributes, I think it's most likely the "operate_type" or the "next_action" attributes. First test different "operate_type" parameters.
I can offer this auto-farm with party assist feature, this picture is from L2jServer high five pack. but can adopt to other packs also.
Discord: l2retro
Question
HyperActive
So guys i am trying to add a custom to the server and i am using java.util.log.Logger
now i want to make an exception :
Logger.error("Error: could not update database: ", e);
so the Logger.error is not defiened for this type of logger anybody knows what type should i use to make an exception? I have been googling and things like Logger.fatal don't work aswell
And one more question i had this LOGGER.info( "Error updating name for player " + player.getName() + ". Error: " + e); which did not work
and i changed it to this Logger.getLogger("Info").info( "Error updating name for player " + player.getName() + ". Error: " + e); is this ok and will it work i mean the error is gone but does it have the same function?
If you need pictures tell me and i will then edit the post with pictures i hope you can understand what i mean :P
3 answers to this question
Recommended Posts