Jump to content
  • 0

All Subclass Availabe In One Master - Acis


Question

7 answers to this question

Recommended Posts

  • 0
Posted

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
Posted

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
Posted

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

 

With that check you simply skip the check condition.

  • 0
Posted

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
Posted

 

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.

Guest
This topic is now closed to further replies.


×
×
  • 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