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..
Question
ČυяŞŀŅğ
So here I have one OFFLINE petition.. how does it works? if there is no gms on the list or online , the petition msg will be send into email of the choosen char.
I made it working for my rev , and fixed few bugs. I have only 2 small problems now.. I want to add Config on this system , to send the mail in more than 1 char.. Is this possible? and if Yes what type of Config will do the proper work? public static String ?
And my other problem is , If you register on /gmlist ( list on by admin panel ) After you cant be removed from list xD LIST OFF from admin panel not working after my edits to make it work with offline and mail :D
If gm restart , remove by list is working automatic like it should
I tryed This about configs
String[] propertySplit2 = L2JModSettings.getProperty("GmNamesForOfflinePetition", "name").split(","); for(String gmnames: propertySplit2) { try { GM_NAMES_OFFLINE_PETITION.add(Integer.parseInt(gmnames)); } catch (NumberFormatException nfe) { if (propertySplit2.length > 0) _log.warning("Error in load config."); } }and on take config
But i have error on
The method getIdByName(String) in the type CharNameTable is not applicable for the arguments (List<Integer>)
any idea? :/
Edited by ČυяŞŀŅğ2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now