Skip to content

All Subclass Availabe In One Master - Acis

Featured Replies

hello i just looking this guild but on acis is not same

Class Master
can someone help ? thx in advance

Solved by Bobi

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.

  • Author

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

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

 

With that check you simply skip the check condition.

  • Author

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;

 

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.

Locked

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.