Jump to content
  • 0

Help All Subclass Availabe In One Master - Acis


Bobi
 Share

Question

7 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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 :)

Link to comment
Share on other sites

  • 0

It's already done, just create your config @ config.java o.O

 

With that check you simply skip the check condition.

Link to comment
Share on other sites

  • 0

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

  • 0

 

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock