Page 1 of 1
SQL 20101111update
Posted: Sun Dec 12, 2010 12:56 pm
by Starter
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision
Number: 4430
L2JDP Revision
Number: 7672
May I ask for what this sql update is for:
Code: Select all
UPDATE `characters` SET `base_class`='126' WHERE `base_class` IN (135,136);
Re: SQL 20101111update
Posted: Sun Dec 12, 2010 1:07 pm
by _DS_
Remove base class inspectors.
Re: SQL 20101111update
Posted: Sun Dec 12, 2010 1:20 pm
by Starter
_DS_ wrote:Remove base class inspectors.
But if I rember right it can be still chosen via the class master as base-class or am I wrong?
Re: SQL 20101111update
Posted: Sun Dec 12, 2010 1:34 pm
by lion
it's fixed in classmaster
Re: SQL 20101111update
Posted: Sun Dec 12, 2010 1:35 pm
by Starter
lion wrote:it's fixed in classmaster
A player showed me a screenshot lateley where he could still choose inspector as a base-class but I will check it myself soon.
Thanks all replys and hopefully I didnt waste your time.^^
Update: Tested it myself and it seems to be really fixed. Wierd..
Update²: Now I know why the player could show me that he could still take the inspector class as base-class. He has the 2 needed subclasses in order to go for the inspector class so its possible to take the class again as base-class. oO
Re: SQL 20101111update
Posted: Sun Dec 12, 2010 5:54 pm
by hanwik
you are right, it isn't fixed properly, should only be available as 3rd subclass, nothing more
Re: SQL 20101111update
Posted: Sun Dec 12, 2010 7:13 pm
by _DS_
You can address questions to Gnacik

My point of view is not changed: classmasters are custom feature and can work in any way we want. If you dont like it - feel free to change.
Re: SQL 20101111update
Posted: Mon Dec 13, 2010 12:20 am
by hanwik
test server helpers are retail feature...
Re: SQL 20101111update
Posted: Mon Dec 13, 2010 7:34 am
by Gnacik
try
Code: Select all
Index: java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java===================================================================--- java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java (wersja 6332)+++ java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java (kopia robocza)@@ -234,7 +234,7 @@ final StringBuilder menu = new StringBuilder(100); for (ClassId cid : ClassId.values()) {- if (cid == ClassId.inspector && player.getTotalSubClasses() < 2)+ if (cid == ClassId.inspector && (!player.isSubClassActive() || player.getTotalSubClasses() < 2)) continue; if (validateClassId(currentClassId, cid) && cid.level() == level) {@@ -292,8 +292,8 @@ final StringBuilder menu = new StringBuilder(100); for (ClassId cid : ClassId.values()) {- if (cid == ClassId.inspector && player.getTotalSubClasses() < 2)- continue; + if (cid == ClassId.inspector && (!player.isSubClassActive() || player.getTotalSubClasses() < 2))+ continue; if (validateClassId(currentClassId, cid)) { StringUtil.append(menu,