Bobi Posted February 14, 2015 Posted February 14, 2015 hello i just looking this guild but on acis is not same Class Mastercan someone help ? thx in advance
0 Bobi Posted February 15, 2015 Author Posted February 15, 2015 ah you are so good Working perfectThanks to SweeTs and etniafamily
0 SweeTs Posted February 14, 2015 Posted February 14, 2015 Basically, this Index: aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java =================================================================== --- aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 1) +++ aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 6) @@ -614,4 +614,7 @@ public final boolean checkVillageMaster(PlayerClass pclass) { + if (Config.ALT_GAME_SUBCLASS_EVERYWHERE) + return true; + return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass); } Create config for that.
0 Bobi Posted February 14, 2015 Author Posted February 14, 2015 Basically, this Index: aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java =================================================================== --- aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 1) +++ aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/instance/L2VillageMasterInstance.java (revision 6) @@ -614,4 +614,7 @@ public final boolean checkVillageMaster(PlayerClass pclass) { + if (Config.ALT_GAME_SUBCLASS_EVERYWHERE) + return true; + return checkVillageMasterRace(pclass) && checkVillageMasterTeachType(pclass); } Create config for that. look simple for you but nothing talk to me that :)
0 SweeTs Posted February 14, 2015 Posted February 14, 2015 It's already done, just create your config @ config.java o.O With that check you simply skip the check condition.
0 Bobi Posted February 15, 2015 Author Posted February 15, 2015 It's already done, just create your config @ config.java o.O With that check you simply skip the check condition. if i understand you right i just need add like this in the config.java right? public static boolean ALT_GAME_SUBCLASS_EVERYWHERE;
0 Lioy Posted February 15, 2015 Posted February 15, 2015 if i understand you right i just need add like this in the config.java right? public static boolean ALT_GAME_SUBCLASS_EVERYWHERE; Config is optional, you can just add the return true statement but for sure it's always better to add configs (easy management , change things in server without server restarts if the config's variables are used directly , etc). You need this public static boolean ALT_GAME_SUBCLASS_EVERYWHERE; and then to give this variable a value. ALT_GAME_SUBCLASS_EVERYWHERE = yourPropeties.getProperty("AllowSubclassEverywhere",true); and then in your "yourProperties.properties" file you add AllowSubclassEverywhere = true . Simple enough , if not.. just see how others work.
Question
Bobi
hello i just looking this guild but on acis is not same
Class Master
can someone help ? thx in advance
7 answers to this question
Recommended Posts